/* =========================================================
   HERR ALUM NACJR — PREMIUM UI
   ========================================================= */

:root {
    --ink: #0b1118;
    --ink-soft: #151e27;
    --paper: #f7f6f2;
    --paper-2: #efeee9;
    --white: #ffffff;
    --line: rgba(11, 17, 24, .12);
    --line-light: rgba(255, 255, 255, .15);
    --muted: #6c747d;
    --muted-light: #aeb6bd;
    --accent: #c7a66a;
    --accent-dark: #a9884f;
    --radius: 18px;
    --radius-sm: 12px;
    --heading: "Manrope", sans-serif;
    --body: "DM Sans", sans-serif;
    --shadow: 0 24px 70px rgba(11, 17, 24, .12);
    --transition: 260ms cubic-bezier(.2,.7,.2,1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--paper);
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    border: 0;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.site-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .025;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

::selection {
    color: var(--white);
    background: var(--ink);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow.light {
    color: #e4c98f;
}

.eyebrow-line {
    width: 28px;
    height: 1px;
    background: currentColor;
}

.section {
    padding: 120px 0;
}

.section-dark {
    background: var(--ink);
    color: var(--white);
}

.section-soft {
    background: var(--paper-2);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 58px;
}

.section-head > p {
    max-width: 370px;
    margin: 0;
    color: var(--muted);
}

.light-head > p {
    color: var(--muted-light);
}

.section-head h2,
.reviews-heading h2,
.intro-copy h2,
.calculator-intro h2,
.final-cta h2,
.faq-grid h2 {
    margin: 0;
    font-family: var(--heading);
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: .98;
}

.section-head h2 em,
.reviews-heading h2 em,
.intro-copy h2 em,
.calculator-intro h2 em,
.final-cta h2 em,
.faq-grid h2 em {
    color: var(--muted);
    font-style: normal;
    font-weight: 500;
}

.light-head h2 {
    color: var(--white);
}

.light-head h2 em,
.calculator-intro h2 em,
.final-cta h2 em {
    color: #77818a;
}

.section-note {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 5px;
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
}

.text-link:hover {
    gap: 15px;
    color: var(--accent-dark);
    border-color: var(--accent-dark);
}

/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    color: var(--white);
    background: rgba(11, 17, 24, .08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    transition: var(--transition);
}

.navbar.scrolled {
    color: var(--ink);
    background: rgba(247, 246, 242, .92);
    border-color: var(--line);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 35px rgba(11,17,24,.06);
}

.nav-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.brand img {
    width: 76px;
    max-height: 58px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 27px;
}

.nav-menu > a:not(.nav-cta) {
    position: relative;
    padding: 10px 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
}

.nav-menu > a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: var(--transition);
}

.nav-menu > a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 17px;
    color: var(--ink);
    background: var(--white);
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    transition: var(--transition);
}

.navbar.scrolled .nav-cta {
    color: var(--white);
    background: var(--ink);
}

.nav-cta:hover {
    transform: translateY(-2px);
    background: var(--accent);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    margin: 5px auto;
    background: currentColor;
    transition: var(--transition);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 900px;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .82;
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5,8,11,.92) 0%, rgba(5,8,11,.62) 42%, rgba(5,8,11,.12) 100%),
        linear-gradient(0deg, rgba(5,8,11,.82) 0%, transparent 42%, rgba(5,8,11,.16) 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image:
        linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 100px 100px;
    mask-image: linear-gradient(to right, black, transparent 75%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    min-height: 100svh;
    padding-top: 160px;
    padding-bottom: 90px;
    display: flex;
    align-items: center;
}

.hero-copy {
    width: min(760px, 75%);
}

.hero-copy h1 {
    margin: 0;
    font-family: var(--heading);
    font-size: clamp(56px, 7.6vw, 108px);
    font-weight: 700;
    letter-spacing: -.075em;
    line-height: .88;
}

.hero-copy h1 span {
    display: block;
    color: #dfc48b;
}

.hero-lead {
    max-width: 590px;
    margin: 30px 0 0;
    color: rgba(255,255,255,.75);
    font-size: 18px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 36px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 48px;
    padding: 13px 21px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .01em;
    cursor: pointer;
    transition: var(--transition);
}

.btn span {
    font-size: 16px;
}

.btn-primary {
    color: var(--ink);
    background: var(--accent);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: #e1c78f;
    box-shadow: 0 16px 40px rgba(199,166,106,.2);
}

.btn-ghost {
    color: var(--white);
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.04);
}

.btn-ghost:hover {
    border-color: rgba(255,255,255,.6);
    background: rgba(255,255,255,.1);
}

.btn-dark {
    color: var(--white);
    background: var(--ink);
}

.btn-dark:hover {
    transform: translateY(-2px);
    background: #27313a;
}

.btn-light {
    color: var(--ink);
    background: #e7e5de;
}

.btn-light:hover {
    background: var(--white);
}

.btn-large {
    min-height: 58px;
    padding: 16px 25px;
}

.hero-side {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-35%);
    width: 180px;
}

.hero-side-card {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,.2);
}

.hero-side-card:last-child {
    border-bottom: 1px solid rgba(255,255,255,.2);
}

.hero-side-number {
    font-family: var(--heading);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.06em;
}

.hero-side-label {
    color: rgba(255,255,255,.58);
    font-size: 9px;
    line-height: 1.35;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.hero-bottom {
    position: absolute;
    right: 24px;
    bottom: 34px;
    left: 24px;
    display: flex;
    align-items: flex-end;
    gap: 46px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.18);
}

.hero-trust {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.hero-trust > span {
    color: #d5b97d;
    font-family: var(--heading);
    font-size: 10px;
}

.hero-trust p {
    margin: 0;
    color: rgba(255,255,255,.62);
    font-size: 10px;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.hero-scroll {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.65);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.hero-scroll b {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
}

/* =========================================================
   BRANDS
   ========================================================= */

.brands-strip {
    background: #0e151d;
    color: #9ca5ad;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.brands-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 45px;
}

.brands-label {
    color: #69737c;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .16em;
    white-space: nowrap;
}

.brands-list {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brands-list span {
    font-family: var(--heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

/* =========================================================
   INTRO
   ========================================================= */

.intro-section {
    background: var(--paper);
}

.intro-grid {
    display: grid;
    grid-template-columns: 150px 1fr 390px;
    gap: 65px;
    align-items: start;
}

.section-kicker {
    padding-top: 8px;
}

.section-kicker > span {
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 700;
}

.section-kicker p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.intro-copy h2 {
    max-width: 650px;
    font-size: clamp(40px, 5vw, 65px);
}

.intro-copy > p {
    max-width: 580px;
    margin: 30px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 54px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
}

.stat strong {
    display: block;
    font-family: var(--heading);
    font-size: 34px;
    letter-spacing: -.05em;
}

.stat span {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.intro-image {
    position: relative;
    margin-top: 80px;
}

.intro-image img {
    width: 100%;
    aspect-ratio: .82;
    object-fit: cover;
    filter: saturate(.82);
}

.image-caption {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 15px;
    color: var(--white);
    background: rgba(11,17,24,.78);
    backdrop-filter: blur(10px);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.image-caption b {
    color: var(--accent);
    font-size: 17px;
}

/* =========================================================
   SERVICES
   ========================================================= */

.services-section {
    position: relative;
}

.services-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .25;
    pointer-events: none;
    background: radial-gradient(circle at 85% 20%, rgba(199,166,106,.14), transparent 28%);
}

.services-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.service-card {
    overflow: hidden;
    background: #151e27;
    border: 1px solid rgba(255,255,255,.08);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: rgba(199,166,106,.38);
}

.service-image {
    position: relative;
    height: 330px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.78);
    transition: transform 700ms cubic-bezier(.2,.7,.2,1);
}

.service-card:hover .service-image img {
    transform: scale(1.06);
}

.service-index {
    position: absolute;
    top: 18px;
    left: 18px;
    color: rgba(255,255,255,.8);
    font-size: 10px;
    letter-spacing: .1em;
}

.service-badge {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 7px 10px;
    color: var(--ink);
    background: var(--accent);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.service-content {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
}

.service-tag {
    color: #d6bb82;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .15em;
}

.service-content h3 {
    margin: 9px 0 0;
    font-family: var(--heading);
    font-size: 25px;
    letter-spacing: -.04em;
}

.service-content p {
    margin: 20px 0;
    color: #8d969f;
    font-size: 13px;
    line-height: 1.7;
}

.service-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 15px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.service-link span {
    color: var(--accent);
    font-size: 16px;
}

/* =========================================================
   PROMOTIONS
   ========================================================= */

.promotions-section {
    background: var(--paper);
}

.promo-card {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    min-height: 530px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
}

.promo-visual {
    position: relative;
    min-height: 530px;
    overflow: hidden;
}

.promo-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.8);
}

.promo-visual-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 38px;
    color: var(--white);
    background: linear-gradient(0deg, rgba(5,8,11,.78), transparent 65%);
}

.promo-month {
    width: fit-content;
    margin-bottom: 16px;
    padding: 7px 10px;
    color: var(--ink);
    background: var(--accent);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
}

.promo-visual-overlay strong {
    font-family: var(--heading);
    font-size: clamp(35px, 4vw, 55px);
    letter-spacing: -.06em;
    line-height: .98;
}

.promo-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 55px;
}

.promo-topline {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.promo-pill {
    color: var(--accent-dark);
}

.promo-content h3 {
    max-width: 470px;
    margin: 0;
    font-family: var(--heading);
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -.055em;
    line-height: 1.05;
}

.promo-content > p {
    max-width: 480px;
    margin: 22px 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.check-list {
    display: grid;
    gap: 10px;
    margin: 26px 0 30px;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
}

.check-list li span {
    color: var(--accent-dark);
    font-weight: 800;
}

/* =========================================================
   CALCULATOR
   ========================================================= */

.calculator-section {
    position: relative;
    overflow: hidden;
}

.calculator-section::after {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    right: -300px;
    bottom: -300px;
    border: 1px solid rgba(199,166,106,.14);
    border-radius: 50%;
    box-shadow: 0 0 0 100px rgba(199,166,106,.025), 0 0 0 200px rgba(199,166,106,.018);
}

.calculator-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 90px;
    align-items: center;
}

.calculator-intro h2 {
    color: var(--white);
}

.calculator-intro > p {
    max-width: 480px;
    margin: 28px 0 0;
    color: #8c969f;
    line-height: 1.8;
}

.calculator-note {
    max-width: 480px;
    display: flex;
    gap: 12px;
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.1);
}

.calculator-note span {
    display: grid;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    place-items: center;
    color: var(--accent);
    border: 1px solid rgba(199,166,106,.4);
    border-radius: 50%;
    font-size: 11px;
}

.calculator-note p {
    margin: 0;
    color: #707b85;
    font-size: 11px;
    line-height: 1.6;
}

.calculator-card {
    padding: 35px;
    color: var(--ink);
    background: var(--paper);
    box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

.calculator-progress {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto;
    align-items: center;
    gap: 8px;
    margin-bottom: 42px;
}

.calculator-progress span {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    color: #a1a5a7;
    border: 1px solid #d5d4cf;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 700;
}

.calculator-progress span.active {
    color: var(--white);
    border-color: var(--ink);
    background: var(--ink);
}

.calculator-progress i {
    height: 1px;
    background: #d8d6d0;
}

.calc-step {
    display: none;
}

.calc-step.active {
    display: block;
    animation: calcIn .35s ease both;
}

@keyframes calcIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.calc-label {
    display: block;
    margin-bottom: 7px;
    color: var(--accent-dark);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.calc-step h3 {
    margin: 0 0 25px;
    font-family: var(--heading);
    font-size: 30px;
    letter-spacing: -.045em;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.calc-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 80px;
    padding: 15px;
    border: 1px solid #d8d6d0;
    cursor: pointer;
    transition: var(--transition);
}

.calc-option:hover,
.calc-option:has(input:checked) {
    border-color: var(--ink);
    background: var(--white);
    box-shadow: 0 10px 25px rgba(11,17,24,.06);
}

.calc-option input,
.finish-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-icon {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    color: var(--accent-dark);
    background: #e7e2d8;
    font-size: 16px;
}

.calc-option span:last-child {
    font-size: 12px;
    font-weight: 700;
}

.calc-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 25px;
}

.measure-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.measure-grid label {
    display: block;
}

.measure-grid label > span {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.measure-grid input {
    width: 100%;
    height: 54px;
    padding: 0 15px;
    color: var(--ink);
    border: 1px solid #d8d6d0;
    outline: 0;
    background: var(--white);
}

.measure-grid input:focus {
    border-color: var(--ink);
}

.calc-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding: 16px;
    background: #e9e6de;
}

.calc-area span {
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.calc-area strong {
    font-family: var(--heading);
    font-size: 20px;
    letter-spacing: -.04em;
}

.finish-list {
    display: grid;
    gap: 8px;
}

.finish-option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px;
    border: 1px solid #d8d6d0;
    cursor: pointer;
    transition: var(--transition);
}

.finish-option:hover,
.finish-option:has(input:checked) {
    border-color: var(--ink);
    background: var(--white);
}

.finish-option span {
    display: grid;
    gap: 3px;
}

.finish-option strong {
    font-size: 12px;
}

.finish-option small {
    color: var(--muted);
    font-size: 10px;
}

.finish-option b {
    color: var(--accent-dark);
    font-size: 10px;
}

.calc-result {
    display: none;
    text-align: center;
    animation: calcIn .35s ease both;
}

.calc-result.show {
    display: block;
}

.result-label {
    color: var(--accent-dark);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .16em;
}

.result-price {
    margin: 12px 0;
    font-family: var(--heading);
    font-size: clamp(38px, 6vw, 62px);
    font-weight: 700;
    letter-spacing: -.06em;
    line-height: 1;
}

.calc-result p {
    margin: 0 auto;
    max-width: 430px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.result-divider {
    height: 1px;
    margin: 27px 0;
    background: var(--line);
}

.result-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* =========================================================
   PROJECTS
   ========================================================= */

.projects-editorial {
    display: grid;
    grid-template-columns: 1.35fr .8fr .95fr;
    grid-template-rows: 285px 285px;
    gap: 12px;
}

.project {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--ink);
}

.project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.75);
    transition: transform 700ms cubic-bezier(.2,.7,.2,1), filter 500ms ease;
}

.project:hover img {
    transform: scale(1.055);
    filter: saturate(1);
}

.project-large {
    grid-row: 1 / 3;
}

.project-tall {
    grid-row: 1 / 3;
}

.project-wide {
    grid-column: 2 / 4;
}

.project-meta {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    padding: 30px 20px 18px;
    color: var(--white);
    background: linear-gradient(0deg, rgba(5,8,11,.75), transparent);
}

.project-meta span {
    color: rgba(255,255,255,.6);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.project-meta strong {
    font-family: var(--heading);
    font-size: 14px;
}

/* =========================================================
   REVIEWS
   ========================================================= */

.reviews-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 45px;
}

.reviews-heading h2 {
    max-width: 700px;
}

.reviews-mark {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviews-mark > span {
    color: var(--accent-dark);
    font-size: 31px;
}

.reviews-mark p {
    margin: 0;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.elfsight-wrap {
    min-height: 180px;
    padding: 5px 0;
}

/* =========================================================
   PROCESS
   ========================================================= */

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.process-step {
    min-height: 270px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px 25px;
    border-right: 1px solid var(--line);
}

.process-step:first-child {
    border-left: 1px solid var(--line);
}

.process-step > span {
    color: var(--accent-dark);
    font-family: var(--heading);
    font-size: 11px;
    font-weight: 700;
}

.process-step h3 {
    margin: 0 0 10px;
    font-family: var(--heading);
    font-size: 21px;
    letter-spacing: -.04em;
}

.process-step p {
    max-width: 230px;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

/* =========================================================
   FAQ
   ========================================================= */

.faq-grid {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 100px;
}

.faq-intro {
    max-width: 350px;
    margin: 28px 0 22px;
    color: var(--muted);
    font-size: 14px;
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--heading);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.02em;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary span {
    color: var(--accent-dark);
    font-size: 22px;
    font-weight: 400;
    transition: var(--transition);
}

.faq-list details[open] summary span {
    transform: rotate(45deg);
}

.faq-list details p {
    max-width: 680px;
    margin: -7px 0 24px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

/* =========================================================
   FINAL CTA
   ========================================================= */

.final-cta {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
}

.final-cta::before {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    top: -400px;
    right: -100px;
    border: 1px solid rgba(199,166,106,.2);
    border-radius: 50%;
    box-shadow: 0 0 0 100px rgba(199,166,106,.035), 0 0 0 200px rgba(199,166,106,.025);
}

.final-cta-inner {
    position: relative;
    z-index: 1;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.final-cta h2 {
    color: var(--white);
    font-size: clamp(45px, 6vw, 80px);
}

.final-cta-action {
    max-width: 310px;
}

.final-cta-action p {
    margin: 0 0 25px;
    color: #8d969f;
    line-height: 1.7;
}

/* =========================================================
   CONTACT + FOOTER
   ========================================================= */

.contact-bar {
    background: #151e27;
    color: var(--white);
}

.contact-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.contact-bar-grid > div {
    min-height: 170px;
    padding: 35px 25px;
    border-right: 1px solid rgba(255,255,255,.08);
}

.contact-bar-grid > div:first-child {
    border-left: 1px solid rgba(255,255,255,.08);
}

.contact-bar span {
    display: block;
    margin-bottom: 15px;
    color: #7e8992;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .15em;
}

.contact-bar a {
    font-family: var(--heading);
    font-size: 19px;
    letter-spacing: -.03em;
}

.contact-bar a:hover {
    color: var(--accent);
}

.contact-bar p {
    margin: 0;
    color: #9aa3ab;
    font-size: 12px;
    line-height: 1.7;
}

.footer {
    color: #69737d;
    background: #0b1118;
}

.footer-inner {
    min-height: 105px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.footer-brand img {
    width: 60px;
    max-height: 46px;
    object-fit: contain;
}

.footer-inner p {
    margin: 0;
    font-size: 10px;
}

.footer-links {
    display: flex;
    gap: 18px;
    font-size: 10px;
}

.footer-links a:hover {
    color: var(--white);
}

/* =========================================================
   WHATSAPP
   ========================================================= */

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px 10px 10px;
    color: var(--white);
    background: #101a20;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    box-shadow: 0 15px 40px rgba(0,0,0,.2);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-4px);
    border-color: rgba(199,166,106,.45);
}

.wa-icon {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    color: var(--ink);
    background: var(--accent);
    border-radius: 50%;
    font-size: 17px;
}

.wa-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
}

/* =========================================================
   LIGHTBOX
   ========================================================= */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    visibility: hidden;
    opacity: 0;
    background: rgba(4,7,10,.96);
    transition: var(--transition);
}

.lightbox.active {
    visibility: visible;
    opacity: 1;
}

.lightbox img {
    max-width: min(1100px, 90vw);
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    color: var(--white);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    cursor: pointer;
}

.lightbox-close {
    top: 25px;
    right: 25px;
    font-size: 25px;
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

.lightbox-caption {
    position: absolute;
    right: 0;
    bottom: 20px;
    left: 0;
    margin: 0;
    color: rgba(255,255,255,.7);
    text-align: center;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .14em;
}

/* =========================================================
   REVEAL
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay {
    transition-delay: 110ms;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
    .nav-menu {
        gap: 18px;
    }

    .intro-grid {
        grid-template-columns: 90px 1fr 310px;
        gap: 35px;
    }

    .hero-side {
        right: 20px;
    }

    .calculator-grid {
        gap: 45px;
    }
}

@media (max-width: 900px) {
    .container {
        width: min(100% - 34px, 700px);
    }

    .section {
        padding: 85px 0;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 86px;
        right: 0;
        bottom: 0;
        width: min(360px, 100%);
        padding: 30px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        color: var(--ink);
        background: var(--paper);
        border-left: 1px solid var(--line);
        transform: translateX(100%);
        transition: var(--transition);
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-menu > a:not(.nav-cta) {
        padding: 16px 0;
        border-bottom: 1px solid var(--line);
    }

    .nav-cta {
        margin-top: 15px;
        justify-content: center;
        color: var(--white) !important;
        background: var(--ink) !important;
    }

    .hero-copy {
        width: 90%;
    }

    .hero-side {
        display: none;
    }

    .hero-bottom {
        gap: 20px;
    }

    .hero-trust:nth-child(3) {
        display: none;
    }

    .intro-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section-kicker {
        grid-column: 1 / -1;
    }

    .intro-image {
        margin-top: 0;
    }

    .services-grid,
    .process-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-image {
        height: 280px;
    }

    .promo-card {
        grid-template-columns: 1fr;
    }

    .promo-visual {
        min-height: 430px;
    }

    .calculator-grid {
        grid-template-columns: 1fr;
    }

    .projects-editorial {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 310px 230px 230px;
    }

    .project-large {
        grid-row: 1 / 3;
    }

    .project-tall {
        grid-row: 2 / 4;
    }

    .project-wide {
        grid-column: auto;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .final-cta-inner {
        min-height: 400px;
    }

    .contact-bar-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .container {
        width: calc(100% - 30px);
    }

    .section {
        padding: 72px 0;
    }

    .section-head,
    .reviews-heading,
    .final-cta-inner {
        display: block;
    }

    .section-head > p,
    .reviews-mark,
    .final-cta-action {
        margin-top: 25px;
    }

    .section-head h2,
    .reviews-heading h2 {
        font-size: 43px;
    }

    .hero {
        min-height: 820px;
    }

    .hero-inner {
        padding-top: 135px;
        padding-bottom: 130px;
        align-items: flex-start;
    }

    .hero-copy {
        width: 100%;
    }

    .hero-copy h1 {
        font-size: clamp(49px, 16vw, 76px);
    }

    .hero-lead {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-bottom {
        right: 0;
        bottom: 25px;
        left: 0;
        gap: 15px;
    }

    .hero-trust:nth-child(2) {
        display: none;
    }

    .hero-scroll {
        margin-left: auto;
    }

    .brands-inner {
        display: block;
        padding: 22px 0;
    }

    .brands-label {
        display: block;
        margin-bottom: 18px;
    }

    .brands-list {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 13px 22px;
    }

    .brands-list span {
        font-size: 10px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .section-kicker {
        grid-column: auto;
    }

    .intro-image {
        margin-top: 10px;
    }

    .stats-row {
        gap: 12px;
    }

    .stat strong {
        font-size: 26px;
    }

    .stat span {
        font-size: 9px;
    }

    .services-grid,
    .process-grid,
    .option-grid {
        grid-template-columns: 1fr;
    }

    .service-image {
        height: 250px;
    }

    .promo-visual {
        min-height: 360px;
    }

    .promo-content {
        padding: 30px 24px;
    }

    .promo-topline {
        display: block;
    }

    .promo-topline > span:last-child {
        display: block;
        margin-top: 7px;
    }

    .calculator-card {
        padding: 24px 18px;
    }

    .calc-step h3 {
        font-size: 26px;
    }

    .measure-grid {
        grid-template-columns: 1fr;
    }

    .calc-actions {
        justify-content: stretch;
    }

    .calc-actions .btn {
        flex: 1;
    }

    .result-actions {
        flex-direction: column;
    }

    .result-actions .btn {
        width: 100%;
    }

    .projects-editorial {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 250px);
    }

    .project-large,
    .project-tall,
    .project-wide {
        grid-row: auto;
        grid-column: auto;
    }

    .process-step {
        min-height: 210px;
        border-left: 1px solid var(--line) !important;
    }

    .faq-list summary {
        font-size: 15px;
    }

    .final-cta-inner {
        min-height: 470px;
    }

    .final-cta h2 {
        font-size: 48px;
    }

    .contact-bar-grid {
        grid-template-columns: 1fr;
    }

    .contact-bar-grid > div {
        min-height: auto;
        border-left: 1px solid rgba(255,255,255,.08);
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .footer-inner {
        min-height: 170px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
    }

    .lightbox {
        padding: 40px 15px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* =========================================================
   PROJECTS PAGE — PORTFOLIO PREMIUM
   Componentes exclusivos de proyectos.html.
   No redefine navbar, buttons, footer ni lightbox globales.
   ========================================================= */

body.projects-page {
    background: var(--paper);
}

.projects-hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--ink);
    color: var(--white);
}

.projects-hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.projects-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
}

.projects-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7,13,24,.84) 0%, rgba(7,13,24,.54) 45%, rgba(7,13,24,.14) 100%),
        linear-gradient(0deg, rgba(7,13,24,.80) 0%, rgba(7,13,24,.05) 62%);
}

.projects-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 155px 0 72px;
}

.projects-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: #e4c98f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.projects-eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.projects-hero h1 {
    max-width: 900px;
    margin: 0;
    font-family: var(--heading);
    font-size: clamp(50px, 7vw, 96px);
    font-weight: 700;
    letter-spacing: -.075em;
    line-height: .9;
}

.projects-hero-copy {
    max-width: 650px;
    margin: 28px 0 0;
    color: rgba(255,255,255,.74);
    font-size: 17px;
    line-height: 1.7;
}

.projects-hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.18);
}

.projects-hero-stat {
    display: flex;
    align-items: center;
    gap: 13px;
    color: rgba(255,255,255,.62);
    font-size: 10px;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.projects-hero-stat strong {
    color: #dfc48b;
    font-family: var(--heading);
    font-size: 30px;
    letter-spacing: -.06em;
}

.projects-scroll {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.68);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.projects-scroll i {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
}

.projects-intro {
    padding: 105px 0 50px;
    background: var(--paper);
}

.projects-intro-grid {
    display: grid;
    grid-template-columns: minmax(280px,.8fr) minmax(360px,1.2fr);
    gap: 90px;
    align-items: end;
}

.projects-kicker {
    margin: 0 0 14px;
    color: var(--accent-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.projects-intro h2 {
    max-width: 650px;
    margin: 0;
    font-family: var(--heading);
    font-size: clamp(40px, 5vw, 65px);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: .98;
}

.projects-intro-grid > p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

.projects-gallery-section {
    padding: 40px 0 120px;
    background: var(--paper);
}

.projects-gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

.project-card {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    background: var(--ink);
    isolation: isolate;
    cursor: pointer;
}

.project-card:nth-child(1),
.project-card:nth-child(6) {
    grid-column: span 7;
}

.project-card:nth-child(2),
.project-card:nth-child(3),
.project-card:nth-child(4),
.project-card:nth-child(5) {
    grid-column: span 5;
}

.project-card:nth-child(n+7) {
    grid-column: span 4;
    min-height: 390px;
}

.project-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.78);
    transition: transform 700ms cubic-bezier(.2,.7,.2,1), filter 500ms ease;
}

.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(7,13,24,0) 25%, rgba(7,13,24,.82) 100%);
    transition: opacity 400ms ease;
}

.project-card:hover img {
    transform: scale(1.055);
    filter: saturate(1);
}

.project-card:hover::after {
    opacity: .95;
}

.project-card-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 30px 28px 25px;
    color: var(--white);
    transform: translateY(7px);
    transition: transform 400ms ease;
    display: none;
}

.project-card:hover .project-card-content {
    transform: translateY(0);
}

.project-number {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 11px;
    color: rgba(255,255,255,.68);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.project-number::after {
    content: "";
    width: 28px;
    height: 1px;
    background: rgba(255,255,255,.38);
}

.project-card h3 {
    margin: 0;
    color: var(--white);
    font-family: var(--heading);
    font-size: clamp(21px, 2.3vw, 31px);
    letter-spacing: -.045em;
    line-height: 1.05;
}

.project-card p {
    max-width: 480px;
    margin: 8px 0 0;
    color: rgba(255,255,255,.70);
    font-size: 12px;
    line-height: 1.55;
}

.project-open {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--white);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.project-card:hover .project-open {
    transform: scale(1.05) rotate(-7deg);
    background: rgba(255,255,255,.15);
}

.projects-cta {
    position: relative;
    overflow: hidden;
    padding: 105px 0;
    color: var(--white);
    background: var(--ink);
}

.projects-cta::before {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    right: -250px;
    top: -320px;
    border: 1px solid rgba(199,166,106,.16);
    border-radius: 50%;
    box-shadow: 0 0 0 100px rgba(199,166,106,.025), 0 0 0 200px rgba(199,166,106,.015);
}

.projects-cta-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.projects-cta-kicker {
    margin: 0 0 14px;
    color: #d5b97d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.projects-cta h2 {
    max-width: 760px;
    margin: 0;
    color: var(--white);
    font-family: var(--heading);
    font-size: clamp(40px, 5vw, 68px);
    letter-spacing: -.055em;
    line-height: .98;
}

.projects-cta-grid > div > p:last-child {
    max-width: 620px;
    margin: 22px 0 0;
    color: #8c969f;
    font-size: 14px;
    line-height: 1.8;
}

.projects-cta-grid .btn {
    white-space: nowrap;
}

@media (max-width: 980px) {
    .projects-hero {
        min-height: 680px;
    }

    .projects-hero-content {
        padding-top: 135px;
        padding-bottom: 55px;
    }

    .projects-intro-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .projects-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .project-card,
    .project-card:nth-child(1),
    .project-card:nth-child(2),
    .project-card:nth-child(3),
    .project-card:nth-child(4),
    .project-card:nth-child(5),
    .project-card:nth-child(6),
    .project-card:nth-child(n+7) {
        grid-column: span 1;
        min-height: 390px;
    }

    .project-card:nth-child(1),
    .project-card:nth-child(6) {
        grid-column: span 2;
    }

    .projects-cta-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 620px) {
    .projects-hero {
        min-height: 760px;
    }

    .projects-hero-content {
        padding-top: 130px;
        padding-bottom: 35px;
    }

    .projects-hero h1 {
        font-size: clamp(48px, 15vw, 75px);
    }

    .projects-hero-copy {
        font-size: 15px;
    }

    .projects-hero-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .projects-scroll {
        display: none;
    }

    .projects-intro {
        padding: 70px 0 30px;
    }

    .projects-intro-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .projects-gallery-section {
        padding: 30px 0 75px;
    }

    .projects-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .project-card,
    .project-card:nth-child(1),
    .project-card:nth-child(2),
    .project-card:nth-child(3),
    .project-card:nth-child(4),
    .project-card:nth-child(5),
    .project-card:nth-child(6),
    .project-card:nth-child(n+7) {
        grid-column: span 1;
        min-height: 420px;
    }

    .project-card-content {
        padding: 25px 22px 22px;
    }

    .projects-cta {
        padding: 75px 0;
    }

    .projects-cta-grid .btn {
        width: 100%;
    }
}


/* =========================================================
   PROJECTS — CARRUSEL HORIZONTAL
   Solo reemplaza la composición visual de la galería.
   El resto del sitio conserva sus estilos originales.
   ========================================================= */

.projects-editorial {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 18px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(11,17,24,.28) transparent;
    -webkit-overflow-scrolling: touch;
}

.projects-editorial::-webkit-scrollbar {
    height: 5px;
}

.projects-editorial::-webkit-scrollbar-track {
    background: transparent;
}

.projects-editorial::-webkit-scrollbar-thumb {
    background: rgba(11,17,24,.25);
    border-radius: 999px;
}

.projects-editorial .project {
    position: relative;
    flex: 0 0 calc((100% - 42px) / 4);
    aspect-ratio: 4 / 3;
    min-width: 0;
    height: auto;
    grid-row: auto !important;
    grid-column: auto !important;
    scroll-snap-align: start;
    border-radius: 2px;
}

.projects-editorial .project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projects-editorial .project::after {
    content: "↗";
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--white);
    background: rgba(11,17,24,.55);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    font-size: 14px;
    opacity: 0;
    transform: translateY(-5px);
    transition: var(--transition);
    pointer-events: none;
}

.projects-editorial .project:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.projects-editorial .project-meta {
    padding: 55px 18px 16px;
}

.projects-editorial .project-meta strong {
    font-size: 13px;
}

/* En escritorio dejamos ver parte de la siguiente tarjeta para sugerir
   visualmente que la galería continúa. */
@media (min-width: 901px) {
    .projects-editorial .project {
        flex-basis: calc((100% - 28px) / 3.35);
    }
}

@media (max-width: 900px) {
    .projects-editorial {
        display: flex;
        grid-template-columns: none;
        grid-template-rows: none;
    }

    .projects-editorial .project {
        flex: 0 0 calc((100% - 14px) / 2.15);
    }
}

@media (max-width: 620px) {
    .projects-editorial {
        gap: 12px;
        padding-bottom: 15px;
    }

    .projects-editorial .project {
        flex: 0 0 86%;
        aspect-ratio: 1.12 / 1;
    }

    .projects-editorial .project::after {
        opacity: 1;
        transform: none;
    }
}
