/* =============================================================
   MFES.GE — Component Styles
   Covers: Header, Hero, Services, Products, Why, News,
           Login, Contact, Footer
   ============================================================= */

/* ════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-nav);
    height: var(--header-h);
    background: rgba(248,249,248,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur-base) var(--ease-std),
                box-shadow var(--dur-base) var(--ease-std),
                background var(--dur-base) var(--ease-std);
}

.site-header.scrolled {
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
    background: rgba(248,249,248,.98);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: var(--space-8);
}

/* Nav */
.main-nav { display: flex; }

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav-link {
    display: block;
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: var(--color-graphite-light);
    border-radius: var(--radius-md);
    transition: color var(--dur-fast), background var(--dur-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 16px;
    height: 2px;
    background: var(--color-sage);
    border-radius: 1px;
    transition: transform var(--dur-fast) var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-graphite);
    background: var(--color-surface-alt);
}

.nav-link:hover::after,
.nav-link.active::after { transform: translateX(-50%) scaleX(1); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: var(--space-3); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: var(--space-2);
    border-radius: var(--radius-md);
    background: var(--color-surface-alt);
    cursor: pointer;
    transition: background var(--dur-fast);
}

.hamburger:hover { background: var(--color-border); }

.hamburger-line {
    display: block;
    height: 2px;
    background: var(--color-graphite);
    border-radius: 1px;
    transition: transform var(--dur-base) var(--ease-out),
                opacity   var(--dur-base),
                width     var(--dur-base);
    width: 100%;
}

.hamburger.open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero {
    min-height: calc(100svh - var(--header-h));
    display: flex;
    align-items: center;
    padding-block: var(--space-16);
    background: var(--color-surface);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 70% 40%, rgba(107,170,125,.07) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(247,147,30,.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    position: relative;
}

/* Content */
.hero-content { display: flex; flex-direction: column; gap: var(--space-6); }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    font-weight: var(--fw-semi);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-graphite-light);
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    width: fit-content;
    animation: fadeUp var(--dur-slow) var(--ease-std) both;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-sage);
    animation: pulse-glow 2s infinite;
}

.hero-heading {
    font-size: clamp(var(--text-4xl), 5.5vw, var(--text-6xl));
    font-weight: var(--fw-bold);
    line-height: var(--leading-tight);
    color: var(--color-graphite);
    letter-spacing: -0.03em;
    animation: fadeUp var(--dur-slow) var(--ease-std) 100ms both;
}

.hero-subheading {
    font-size: clamp(var(--text-base), 1.6vw, var(--text-xl));
    color: var(--color-text-secondary);
    line-height: var(--leading-base);
    animation: fadeUp var(--dur-slow) var(--ease-std) 180ms both;
}

.hero-actions {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    animation: fadeUp var(--dur-slow) var(--ease-std) 260ms both;
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
    animation: fadeUp var(--dur-slow) var(--ease-std) 340ms both;
}

.stat { display: flex; flex-direction: column; gap: 2px; }

.stat-value {
    font-size: var(--text-2xl);
    font-weight: var(--fw-bold);
    color: var(--color-graphite);
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    font-weight: var(--fw-medium);
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--color-border);
    flex-shrink: 0;
}

/* Visual */
.hero-visual {
    position: relative;
    animation: fadeIn var(--dur-slow) var(--ease-std) 200ms both;
}

.hero-illustration {
    position: relative;
    width: 100%;
}

.hero-svg {
    width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: -1;
}

.hero-orb--green {
    width: 300px;
    height: 300px;
    background: rgba(107,170,125,.18);
    top: -40px;
    right: -40px;
    animation: float 8s ease-in-out infinite;
}

.hero-orb--orange {
    width: 200px;
    height: 200px;
    background: rgba(247,147,30,.12);
    bottom: 20px;
    left: 10%;
    animation: float 7s ease-in-out infinite reverse;
}

/* Scroll cue */
.hero-scroll-cue {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--color-border), transparent);
    margin-inline: auto;
    animation: fadeIn 1s 1s both;
}

/* ════════════════════════════════════════════════════════════
   SERVICES
   ════════════════════════════════════════════════════════════ */
.services { background: var(--color-bg); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-6);
}

.service-card {
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    transition: border-color var(--dur-base) var(--ease-std),
                box-shadow  var(--dur-base) var(--ease-std),
                transform   var(--dur-base) var(--ease-std);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-sage), transparent);
    opacity: 0;
    transition: opacity var(--dur-base);
}

.service-card:hover {
    border-color: var(--color-sage);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-card:hover::before { opacity: 1; }

.service-card__icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    background: var(--color-sage-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-sage);
    transition: background var(--dur-base), color var(--dur-base);
    flex-shrink: 0;
}

.service-card__icon-wrap svg { width: 24px; height: 24px; }

.service-card:hover .service-card__icon-wrap {
    background: var(--color-sage);
    color: #fff;
}

.service-card__title {
    font-size: var(--text-lg);
    font-weight: var(--fw-semi);
    color: var(--color-graphite);
}

.service-card__desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: var(--leading-base);
    flex: 1;
}

.service-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.service-tag {
    font-size: var(--text-xs);
    font-weight: var(--fw-medium);
    color: var(--color-graphite-light);
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    padding: 3px var(--space-3);
    border-radius: var(--radius-full);
}

/* ════════════════════════════════════════════════════════════
   PRODUCTS
   ════════════════════════════════════════════════════════════ */
.products { background: var(--color-surface); }

.products-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
    gap: var(--space-8);
}

.product-card {
    background: var(--color-bg);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--dur-base) var(--ease-std),
                transform  var(--dur-base) var(--ease-std),
                border-color var(--dur-base);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--color-graphite);
}

.product-card__screenshot {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-screenshot-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--color-surface-alt), var(--color-border));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-screenshot-placeholder::after {
    content: attr(data-title);
    font-size: var(--text-2xl);
    font-weight: var(--fw-bold);
    color: var(--color-graphite-light);
    opacity: .3;
    letter-spacing: -0.02em;
}

.product-card__body {
    padding: var(--space-6) var(--space-8) var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    flex: 1;
}

.product-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.product-card__title {
    font-size: var(--text-xl);
    font-weight: var(--fw-bold);
    color: var(--color-graphite);
    font-family: var(--font-mono);
}

.product-status {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-xs);
    font-weight: var(--fw-semi);
    color: var(--color-sage);
    background: var(--color-sage-muted);
    padding: 3px var(--space-3);
    border-radius: var(--radius-full);
}

.product-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-sage);
}

.product-card__tagline {
    font-size: var(--text-sm);
    font-weight: var(--fw-semi);
    color: var(--color-graphite-light);
}

.product-card__desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: var(--leading-base);
    flex: 1;
}

.product-card__tags { display: flex; gap: var(--space-2); flex-wrap: wrap; }

.product-tag {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 2px var(--space-3);
    border-radius: var(--radius-full);
}

.product-card__footer {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
    margin-top: auto;
}

/* ════════════════════════════════════════════════════════════
   WHY MFES
   ════════════════════════════════════════════════════════════ */
.why-mfes { background: var(--color-bg); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.why-card {
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    transition: box-shadow var(--dur-base) var(--ease-std),
                transform  var(--dur-base) var(--ease-std);
}

.why-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.why-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-card__icon svg { width: 22px; height: 22px; }

.why-card__icon--green { background: var(--color-sage-muted); color: var(--color-sage); }
.why-card__icon--orange { background: var(--color-orange-muted); color: var(--color-orange); }

.why-card__title {
    font-size: var(--text-lg);
    font-weight: var(--fw-semi);
    color: var(--color-graphite);
}

.why-card__text {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: var(--leading-base);
    flex: 1;
}

/* Highlight card */
.why-card--highlight {
    background: var(--color-graphite);
    border-color: var(--color-graphite);
    justify-content: center;
    align-items: flex-start;
    grid-column: 3;
}

.why-highlight-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.why-highlight-number {
    font-size: clamp(var(--text-5xl), 5vw, 5rem);
    font-weight: var(--fw-bold);
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1;
}

.why-highlight-number span { color: var(--color-orange); }

.why-highlight-label {
    font-size: var(--text-sm);
    color: rgba(255,255,255,.65);
    line-height: var(--leading-base);
}

/* ════════════════════════════════════════════════════════════
   NEWS
   ════════════════════════════════════════════════════════════ */
.news { background: var(--color-surface); }

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-6);
}

.news-card {
    background: var(--color-bg);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--dur-base) var(--ease-std),
                transform  var(--dur-base) var(--ease-std);
}

.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.news-card__image-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--color-surface-alt), var(--color-border));
    position: relative;
    overflow: hidden;
}

.news-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease-std);
}

.news-card:hover .news-card__image { transform: scale(1.04); }

.news-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-img-placeholder svg { width: 48px; height: 48px; color: var(--color-border-dark); }

.news-card__body {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    flex: 1;
}

.news-card__meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.news-category {
    font-size: var(--text-xs);
    font-weight: var(--fw-semi);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--color-sage);
    background: var(--color-sage-muted);
    padding: 2px var(--space-3);
    border-radius: var(--radius-full);
}

.news-date, .news-read-time {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

.news-card__title {
    font-size: var(--text-base);
    font-weight: var(--fw-semi);
    color: var(--color-graphite);
    line-height: var(--leading-snug);
    transition: color var(--dur-fast);
}

.news-card:hover .news-card__title { color: var(--color-sage); }

.news-card__excerpt {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: var(--leading-base);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-card__footer {
    padding: var(--space-4) var(--space-6);
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.news-author {
    font-size: var(--text-xs);
    font-weight: var(--fw-medium);
    color: var(--color-text-muted);
}

.news-read-link {
    font-size: var(--text-sm);
    font-weight: var(--fw-semi);
    color: var(--color-sage);
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    transition: gap var(--dur-fast);
}

.news-read-link:hover { gap: var(--space-2); }

/* ════════════════════════════════════════════════════════════
   LOGIN / CLIENT PORTAL
   ════════════════════════════════════════════════════════════ */
.login-portal {
    background: var(--color-bg);
}

.login-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: start;
}

.login-card {
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-md);
}

.login-card__title {
    font-size: var(--text-2xl);
    font-weight: var(--fw-bold);
    color: var(--color-graphite);
    margin-bottom: var(--space-8);
}

.auth-providers {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    width: 100%;
    padding: var(--space-3) var(--space-5);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    background: var(--color-surface);
    color: var(--color-graphite);
    cursor: pointer;
    transition: all var(--dur-fast) var(--ease-std);
}

.auth-btn:hover {
    border-color: var(--color-border-dark);
    background: var(--color-surface-alt);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.auth-btn__icon { width: 20px; height: 20px; flex-shrink: 0; }

.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-block: var(--space-6);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

.auth-form { display: flex; flex-direction: column; gap: var(--space-5); }

.input-wrap { position: relative; }

.input-wrap .form-input { padding-right: var(--space-10); }

.toggle-password {
    position: absolute;
    right: var(--space-3);
    top: 50%;
    transform: translateY(-50%);
    padding: var(--space-1);
    color: var(--color-text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: color var(--dur-fast);
}

.toggle-password:hover { color: var(--color-graphite); }
.toggle-password svg { width: 18px; height: 18px; }

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    cursor: pointer;
    color: var(--color-text-secondary);
}

.checkbox-label input { width: 15px; height: 15px; accent-color: var(--color-sage); }

.link-muted  { font-size: var(--text-sm); color: var(--color-text-muted);  transition: color var(--dur-fast); }
.link-accent { font-weight: var(--fw-medium); color: var(--color-sage); transition: color var(--dur-fast); }
.link-muted:hover, .link-accent:hover { color: var(--color-graphite); }

.auth-footer-text {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

/* Portal features */
.portal-features {
    padding: var(--space-2) 0;
}

.portal-features__title {
    font-size: var(--text-2xl);
    font-weight: var(--fw-bold);
    color: var(--color-graphite);
    margin-bottom: var(--space-8);
}

.portal-feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.portal-feature {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.portal-feature__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-sage);
    flex-shrink: 0;
}

.portal-feature__icon svg { width: 20px; height: 20px; }

.portal-feature strong {
    display: block;
    font-size: var(--text-base);
    font-weight: var(--fw-semi);
    color: var(--color-graphite);
    margin-bottom: var(--space-1);
}

.portal-feature p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: var(--leading-base);
}

/* ════════════════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════════════════ */
.contact { background: var(--color-surface); }

.contact-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-12);
    align-items: start;
}

.contact-form-wrap {
    background: var(--color-bg);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
}

.contact-form { display: flex; flex-direction: column; gap: var(--space-5); }

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    padding-top: var(--space-4);
}

.contact-info-block {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    background: var(--color-sage-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-sage);
    flex-shrink: 0;
}

.contact-info-icon svg { width: 20px; height: 20px; }

.contact-info-block strong {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--fw-semi);
    color: var(--color-graphite);
    margin-bottom: 2px;
}

.contact-info-block span,
.contact-link {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    display: block;
}

.contact-link:hover { color: var(--color-sage); }

.contact-social {
    display: flex;
    gap: var(--space-3);
    padding-top: var(--space-2);
}

.map-placeholder {
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-xl);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface-alt);
    margin-top: var(--space-2);
}

.map-placeholder__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    color: var(--color-text-muted);
}

.map-placeholder__inner svg { width: 36px; height: 36px; }

.map-placeholder__inner p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--color-graphite);
    color: rgba(255,255,255,.7);
    padding-top: var(--space-20);
    padding-bottom: var(--space-8);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-12);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.footer-tagline {
    font-size: var(--text-sm);
    color: rgba(255,255,255,.55);
    line-height: var(--leading-base);
    max-width: 260px;
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-nav__title {
    font-size: var(--text-xs);
    font-weight: var(--fw-semi);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    margin-bottom: var(--space-5);
}

.footer-nav ul { display: flex; flex-direction: column; gap: var(--space-3); }

.footer-nav a {
    font-size: var(--text-sm);
    color: rgba(255,255,255,.6);
    transition: color var(--dur-fast);
}

.footer-nav a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-8);
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-copy {
    font-size: var(--text-sm);
    color: rgba(255,255,255,.4);
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    font-size: var(--text-sm);
    color: rgba(255,255,255,.4);
    transition: color var(--dur-fast);
}

.footer-legal a:hover { color: rgba(255,255,255,.8); }
