/* =============================================================
   CtrlZ — Shiny Gray (graphite + chrome) front-end stylesheet
   ============================================================= */

:root {
    --bg:          #0E0F12;
    --surface:     #17181C;
    --surface-2:   #1E2024;
    --surface-3:   #25272C;
    --border:      #24252A;
    --border-soft: #1A1B1F;
    --text:        #EDEDEF;
    --text-dim:    #9AA0A6;
    --text-mute:   #5A5C63;

    --chrome-1:    #E6E8EC;
    --chrome-2:    #C2C6CC;
    --chrome-3:    #9AA0A6;
    --chrome-4:    #6E7278;
    --accent-grad: linear-gradient(135deg, var(--chrome-1) 0%, var(--chrome-3) 55%, var(--chrome-4) 100%);
    --accent-grad-soft: linear-gradient(135deg, rgba(230,232,236,0.18), rgba(154,160,166,0.08));
    --whatsapp:    #25D366;
    --whatsapp-hi: #1EBD5A;

    --radius-sm:   6px;
    --radius-md:   12px;
    --radius-lg:   18px;
    --radius-xl:   24px;
    --radius-pill: 999px;

    --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    --container:   1200px;
    --gutter:      clamp(20px, 4vw, 40px);
    --section-pad: clamp(72px, 12vw, 140px);

    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.35);
    --shadow-chrome: 0 8px 32px rgba(230, 232, 236, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(194, 198, 204, 0.06), transparent 60%),
        radial-gradient(900px 500px at 10% 110%, rgba(194, 198, 204, 0.04), transparent 60%);
    z-index: 0;
}

img { max-width: 100%; display: block; }

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s var(--ease-out);
}

button { font-family: inherit; }

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin: 0;
}

p { margin: 0; }

/* =============================================================
   Chrome text + eyebrow helpers
   ============================================================= */
.chrome-text {
    background: linear-gradient(135deg, #FFFFFF 0%, #D2D6DC 45%, #9AA0A6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.eyebrow {
    display: inline-block;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--surface);
}

/* =============================================================
   Layout containers
   ============================================================= */
.section-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    position: relative;
    z-index: 1;
}

section {
    padding: var(--section-pad) 0;
    position: relative;
    z-index: 1;
}

.section-head {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: clamp(32px, 5vw, 56px);
}

.section-title {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    margin-bottom: 16px;
}

.section-intro {
    color: var(--text-dim);
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.7;
}

/* =============================================================
   Buttons
   ============================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
                background 0.25s var(--ease-out), color 0.25s var(--ease-out),
                border-color 0.25s var(--ease-out);
    will-change: transform;
    white-space: nowrap;
}

.btn span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn i { font-size: 0.95em; }

.btn--primary {
    background: var(--accent-grad);
    color: #14151A;
    border-color: rgba(230, 232, 236, 0.9);
    box-shadow: var(--shadow-chrome), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(230, 232, 236, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.btn--ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn--ghost:hover {
    background: var(--surface-2);
    border-color: var(--chrome-3);
    color: var(--chrome-1);
}

.btn--whatsapp {
    background: var(--whatsapp);
    color: #072817;
    border-color: var(--whatsapp);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.18);
}

.btn--whatsapp:hover {
    background: var(--whatsapp-hi);
    transform: translateY(-2px);
}

/* =============================================================
   Preloader
   ============================================================= */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.preloader__word {
    display: flex;
    gap: 4px;
    overflow: hidden;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--chrome-1);
}

.preloader__word .letter {
    display: inline-block;
    transform: translateY(110%);
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.preloader__bar {
    position: relative;
    width: min(320px, 60vw);
    height: 2px;
    background: var(--border);
    overflow: hidden;
    transform-origin: left center;
    transform: scaleX(0);
}

.preloader__bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-grad);
}

/* =============================================================
   Top bar ticker
   ============================================================= */
.top-bar {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid var(--border-soft);
    background: var(--bg);
    display: flex;
    align-items: center;
    min-height: 40px;
}

.top-bar__ticker-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
}

.ticker {
    display: inline-flex;
    gap: 40px;
    white-space: nowrap;
    padding-left: var(--gutter);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-mute);
    will-change: transform;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
}

.ticker-item::after {
    content: '·';
    margin-left: 40px;
    color: var(--border);
}

.top-bar__social {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 var(--gutter);
    border-left: 1px solid var(--border-soft);
    align-self: stretch;
}

.top-bar__social a {
    color: var(--text-mute);
    font-size: 13px;
    transition: color 0.2s var(--ease-out);
}

.top-bar__social a:hover { color: var(--chrome-1); }

/* =============================================================
   Navbar
   ============================================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(14, 15, 18, 0.78);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid var(--border-soft);
}

.navbar__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.02em;
    color: var(--text);
}

.logo__mark {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--accent-grad);
    color: #14151A;
    font-size: 13px;
    box-shadow: var(--shadow-chrome), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.logo__text { display: inline-flex; align-items: baseline; }

.nav-links {
    display: flex;
    gap: 28px;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 2px;
    position: relative;
    transition: color 0.2s var(--ease-out);
}

.nav-links a.is-active,
.nav-links a:hover { color: var(--chrome-1); }

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 1px;
    background: var(--accent-grad);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }

.nav-cta { padding: 10px 18px; font-size: 14px; }

.hamburger {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    padding: 0;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.hamburger span {
    width: 16px;
    height: 1.5px;
    background: var(--chrome-1);
    transition: transform 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}

body.nav-open .hamburger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
body.nav-open .hamburger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* =============================================================
   Hero
   ============================================================= */
.hero {
    padding-top: clamp(56px, 8vw, 96px);
    padding-bottom: clamp(72px, 10vw, 120px);
    overflow: hidden;
}

.hero__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__copy > * + * { margin-top: 20px; }

.hero__title {
    font-size: clamp(2.4rem, 5.2vw, 4.2rem);
    letter-spacing: -0.035em;
    line-height: 1.04;
}

.hero__subtitle {
    color: var(--text-dim);
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    max-width: 540px;
    line-height: 1.7;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero__meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 8px;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--surface);
    font-size: 13px;
    color: var(--text-dim);
    transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.meta-pill:hover { border-color: var(--chrome-3); color: var(--chrome-1); }

.meta-pill--whatsapp i { color: var(--whatsapp); }

/* Hero visual — chrome rings + core */
.hero__visual {
    position: relative;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
}

.chrome-stage {
    position: relative;
    width: min(100%, 520px);
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
}

.chrome-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    border-radius: 50%;
    border: 1px solid transparent;
    background:
        linear-gradient(var(--bg), var(--bg)) padding-box,
        conic-gradient(from 160deg, var(--chrome-4), var(--chrome-1), var(--chrome-4), #4A4D52, var(--chrome-2), var(--chrome-4)) border-box;
    pointer-events: none;
    transform-origin: center;
}

.chrome-ring--1 { width: 96%; height: 96%; border-width: 1px; opacity: 0.55; animation: chrome-rotate 28s linear infinite; }
.chrome-ring--2 { width: 70%; height: 70%; border-width: 1px; opacity: 0.75; animation: chrome-rotate-rev 22s linear infinite; }
.chrome-ring--3 { width: 46%; height: 46%; border-width: 1.5px; opacity: 0.9; animation: chrome-rotate 16s linear infinite; }

@keyframes chrome-rotate {
    from { rotate: 0deg; }
    to   { rotate: 360deg; }
}

@keyframes chrome-rotate-rev {
    from { rotate: 0deg; }
    to   { rotate: -360deg; }
}

.chrome-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 62%;
    height: 62%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.45), transparent 55%),
        radial-gradient(circle at 65% 70%, rgba(154, 160, 166, 0.35), transparent 60%),
        linear-gradient(135deg, #2A2D32 0%, #15171A 60%, #0A0B0E 100%);
    filter: blur(8px);
    opacity: 0.9;
}

.chrome-core {
    position: relative;
    z-index: 2;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--accent-grad);
    color: #14151A;
    font-size: 42px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.55),
        inset 0 2px 6px rgba(255, 255, 255, 0.6),
        inset 0 -4px 10px rgba(0, 0, 0, 0.25);
}

/* =============================================================
   Services
   ============================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 24px);
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 36px);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-grad-soft);
    opacity: 0;
    transition: opacity 0.3s var(--ease-out);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--chrome-3);
    background: var(--surface-2);
}

.service-card:hover::before { opacity: 1; }

.service-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--accent-grad);
    color: #14151A;
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-chrome), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

.service-card__title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.service-card__text {
    color: var(--text-dim);
    line-height: 1.65;
    font-size: 15px;
    position: relative;
    z-index: 1;
}

/* =============================================================
   Pricing
   ============================================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 24px);
    align-items: stretch;
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(28px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--chrome-3);
    box-shadow: var(--shadow-soft);
}

.pricing-card.is-popular {
    background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
    border: 1px solid transparent;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(230, 232, 236, 0.35);
    transform: translateY(-6px);
}

.pricing-card.is-popular::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--accent-grad);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.pricing-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: var(--accent-grad);
    color: #14151A;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    box-shadow: var(--shadow-chrome);
    white-space: nowrap;
}

.pricing-card__head { margin-bottom: 20px; }

.pricing-card__name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 0.14em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.pricing-card__currency {
    font-size: 1.2rem;
    color: var(--text-dim);
    font-weight: 600;
}

.pricing-card__amount {
    font-size: clamp(2.4rem, 3.8vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.pricing-card__old {
    color: var(--text-mute);
    font-size: 13px;
    margin-top: 4px;
    text-decoration: line-through;
}

.pricing-card__features {
    flex: 1;
    padding: 20px 0;
    border-top: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.55;
}

.pricing-card__features i {
    color: var(--chrome-1);
    font-size: 11px;
    margin-top: 6px;
    flex-shrink: 0;
}

.pricing-card__cta {
    margin-top: 24px;
    width: 100%;
}

/* =============================================================
   Portfolio
   ============================================================= */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 24px);
}

.portfolio-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.portfolio-card:hover {
    transform: translateY(-4px);
    border-color: var(--chrome-3);
}

.portfolio-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.portfolio-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-2);
    position: relative;
}

.portfolio-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

.portfolio-card:hover .portfolio-card__media img { transform: scale(1.05); }

.portfolio-card__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
    color: var(--text-mute);
    font-size: 40px;
}

.portfolio-card__info {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.portfolio-card__cat {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--chrome-3);
}

.portfolio-card__title {
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.portfolio-card__desc {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.55;
}

/* =============================================================
   Contact CTA
   ============================================================= */
.contact {
    position: relative;
    background:
        radial-gradient(600px 260px at 50% 100%, rgba(230, 232, 236, 0.06), transparent 60%),
        linear-gradient(180deg, var(--bg), var(--surface) 100%);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.contact__inner {
    text-align: center;
    max-width: 720px;
}

.contact__title {
    font-size: clamp(2rem, 4.4vw, 3.2rem);
    margin-bottom: 16px;
}

.contact__text {
    color: var(--text-dim);
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    margin-bottom: 28px;
    line-height: 1.7;
}

.contact__cta {
    display: inline-flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

/* =============================================================
   Footer signature
   ============================================================= */
.footer-signature {
    padding: clamp(48px, 8vw, 96px) var(--gutter) clamp(32px, 6vw, 64px);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-signature svg {
    width: 100%;
    max-width: 600px;
    height: 140px;
    margin: 0 auto 16px;
    display: block;
}

.footer-signature svg path {
    fill: none;
    stroke: var(--chrome-2);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-signature__text {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: var(--text-dim);
    font-weight: 500;
}

/* =============================================================
   Footer
   ============================================================= */
.footer {
    border-top: 1px solid var(--border-soft);
    background: var(--bg);
    padding: clamp(56px, 8vw, 96px) 0 32px;
    position: relative;
    z-index: 1;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: clamp(24px, 4vw, 56px);
}

.footer__brand .logo { margin-bottom: 16px; }

.footer__blurb {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.7;
    max-width: 340px;
    margin-bottom: 20px;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 14px;
    transition: all 0.2s var(--ease-out);
}

.footer__social a:hover {
    color: var(--chrome-1);
    border-color: var(--chrome-3);
    transform: translateY(-2px);
}

.footer__col h4 {
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--chrome-1);
    margin-bottom: 18px;
}

.footer__col ul { display: flex; flex-direction: column; gap: 10px; }

.footer__col a,
.footer__col span {
    color: var(--text-dim);
    font-size: 14px;
    transition: color 0.2s var(--ease-out);
}

.footer__col a:hover { color: var(--chrome-1); }

.ssm-badge {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    align-items: flex-start;
}

.ssm-badge i { color: var(--chrome-1); margin-top: 2px; }

.ssm-badge__label,
.ssm-badge__name {
    display: block;
    font-size: 11px;
    color: var(--text-mute);
    letter-spacing: 0.06em;
}

.ssm-badge__name {
    color: var(--text);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer__bottom {
    margin-top: clamp(40px, 6vw, 64px);
    padding-top: 24px;
    border-top: 1px solid var(--border-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--text-mute);
    font-size: 13px;
}

.footer__bottom i { color: #E4555A; }

/* =============================================================
   splitText accent words
   ============================================================= */
.hero__title .is-accent,
.section-title .is-accent,
.contact__title .is-accent {
    background: linear-gradient(135deg, #FFFFFF 0%, #D2D6DC 45%, #9AA0A6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 1024px) {
    .services-grid,
    .pricing-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__copy { display: flex; flex-direction: column; align-items: center; }
    .hero__copy > * + * { margin-top: 20px; }
    .hero__subtitle { margin-left: auto; margin-right: auto; }
    .hero__cta,
    .hero__meta { justify-content: center; }

    .hero__visual {
        width: min(420px, 100%);
        max-width: none;
        margin: 0 auto;
    }

    .footer__inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    /* Drop backdrop-filter so the fixed mobile drawer escapes the navbar's
       containing block (Chromium treats backdrop-filter as a containing block
       for fixed descendants). */
    .navbar {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(14, 15, 18, 0.96);
    }

    .top-bar__social { display: none; }
    .top-bar { min-height: 32px; }
    .top-bar__ticker-wrap { height: 32px; }
    .ticker { font-size: 11px; gap: 28px; }
    .ticker-item::after { margin-left: 28px; }

    .navbar__inner { padding: 12px var(--gutter); gap: 12px; }
    .nav-cta { display: none; }
    .hamburger {
        display: inline-flex;
        position: relative;
        z-index: 70; /* above the open drawer so users can tap to close */
    }

    /* When the drawer is open, lift the whole navbar above the backdrop so the
       hamburger (its child) is actually clickable to close. */
    body.nav-open .navbar { z-index: 80; }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        height: 100vh;
        height: 100dvh;
        width: min(320px, 86vw);
        background: var(--surface);
        border-left: 1px solid var(--border);
        flex-direction: column;
        justify-content: flex-start;
        padding: 88px 28px 32px;
        gap: 4px;
        transform: translateX(100%);
        transition: transform 0.3s var(--ease-out);
        z-index: 60;
        overflow-y: auto;
        box-shadow: -20px 0 40px rgba(0, 0, 0, 0.4);
    }

    .nav-links li { width: 100%; }

    .nav-links a {
        display: block;
        font-size: 17px;
        font-weight: 500;
        padding: 14px 4px;
        border-bottom: 1px solid var(--border-soft);
        width: 100%;
    }

    /* Disable underline animation in mobile drawer (looks awkward stacked) */
    .nav-links a::after { display: none; }
    .nav-links a.is-active { color: var(--chrome-1); }

    body.nav-open { overflow: hidden; }

    body.nav-open .nav-links { transform: translateX(0); }

    body.nav-open::after {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        z-index: 55;
    }

    /* Layout collapses */
    .services-grid,
    .pricing-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.is-popular { transform: none; }
    .pricing-card { padding: 28px 24px; }

    .hero { padding-top: clamp(36px, 8vw, 64px); }
    .hero__title { font-size: clamp(2rem, 9vw, 2.6rem); }
    .hero__subtitle { font-size: 1rem; }

    section { padding: clamp(56px, 14vw, 96px) 0; }

    .footer__inner {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer__bottom { justify-content: center; text-align: center; }

    .footer-signature svg { height: 96px; }
}

@media (max-width: 480px) {
    .hero__cta { width: 100%; flex-direction: column; }
    .hero__cta .btn,
    .contact__cta .btn { width: 100%; }
    .contact__cta { width: 100%; flex-direction: column; }

    .hero__title { font-size: clamp(1.9rem, 9.5vw, 2.4rem); }
    .hero__visual { width: min(320px, 80vw); }

    .chrome-core { width: 96px; height: 96px; font-size: 32px; }

    .navbar__inner { padding: 12px 16px; }
    .top-bar__ticker-wrap { padding-left: 0; }
    .ticker { padding-left: 16px; }

    .pricing-card__amount { font-size: 2.2rem; }
    .pricing-card__features { padding: 16px 0; }
}

/* =============================================================
   Reduced motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .preloader { display: none; }
}
