:root {
    color-scheme: light;
    --paper: #f7f5f0;
    --white: #fffdfa;
    --ink: #20262b;
    --muted: #555854;
    --brick: #b14332;
    --brick-dark: #903426;
    --line: #dcd5cc;
    --frame: 1320px;
    --gutter: clamp(1.25rem, 4.4vw, 4.5rem);
    --section-space: clamp(3rem, 6.2vw, 6rem);
    --header-height: 129px;
    scroll-padding-top: var(--header-height);
    font-family: "Segoe UI", system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.045em; }
h2 { font-size: clamp(2.1rem, 4vw, 3.8rem); font-weight: 750; }
h3 { font-size: 1.45rem; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brick); outline-offset: 4px; }
[id] { scroll-margin-top: 1rem; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1em; height: 1em; fill: currentColor; display: inline-block; flex: 0 0 auto; }
.frame { width: min(calc(100% - 2 * var(--gutter)), var(--frame)); margin-inline: auto; }

.skip-link {
    position: absolute;
    z-index: 5;
    top: .5rem;
    left: .5rem;
    padding: .55rem .85rem;
    transform: translateY(-150%);
    background: var(--ink);
    color: var(--white);
}
.skip-link:focus { transform: none; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 3;
    background: rgb(255 253 250 / .92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgb(20 25 29 / .38); }
.header-contact { background: var(--ink); color: var(--white); }
.header-contact-inner { display: flex; justify-content: flex-end; align-items: stretch; gap: clamp(.7rem, 2vw, 1.75rem); }
.header-contact-inner a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: .875rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}
.header-contact-inner a:hover { color: #ffa48f; text-decoration: underline; text-underline-offset: .2em; }
.header-contact-inner a:focus-visible { outline-color: #ffa48f; outline-offset: -2px; }
.header-contact .icon-whatsapp { color: #7be3a9; }
.header-inner {
    min-height: 92px;
    padding-block: .4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.2rem;
}
.brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    transition: transform .18s ease, opacity .18s ease;
}
.brand:hover { transform: scale(1.02); }
.brand img { width: 215px; height: auto; }
.site-nav { display: flex; gap: clamp(.1rem, .4vw, .32rem); align-items: center; }
.site-nav > a:not(.button) {
    display: inline-flex;
    align-items: center;
    padding: .44rem .56rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 650;
    font-size: .855rem;
    white-space: nowrap;
    color: var(--ink);
    transition: background-color .18s ease, color .18s ease;
}
.site-nav > a:not(.button):hover {
    background: rgb(177 67 50 / .12);
    color: var(--brick-dark);
    text-decoration: none;
}
.site-nav > a:not(.button)[aria-current="page"] {
    background: var(--ink);
    color: var(--white);
    text-decoration: none;
}
.site-nav > a:not(.button)[aria-current="page"]:hover {
    background: var(--brick);
    color: #fff;
}
.site-nav > .button {
    min-height: 40px;
    padding: .48rem 1.05rem;
    border-radius: 6px;
    margin-left: .3rem;
}
button.menu-toggle { display: none; }

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .65rem 1.05rem;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: .94rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: background-color .18s, color .18s, border-color .18s;
}
.button-primary { color: #fff; background: var(--brick); }
.button-primary:hover { background: var(--brick-dark); }
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover { background: #101518; }
.button-whatsapp { color: #fff; background: #146b43; }
.button-whatsapp:hover { background: #0e5132; }
.button-outline { color: var(--ink); background: transparent; border-color: #a9a59e; }
.button-outline:hover { border-color: var(--ink); background: var(--white); }

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
    align-items: stretch;
    margin-top: clamp(1.25rem, 3vw, 2.5rem);
    border: 1px solid #343a3f;
    border-radius: 12px;
    overflow: hidden;
    background:
        linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px),
        linear-gradient(135deg, #171d22 0%, #222930 100%);
    background-size: 44px 44px, 44px 44px, auto;
    box-shadow: 0 22px 54px rgb(18 23 28 / .16);
    color: var(--white);
}
.hero-copy {
    padding: clamp(2rem, 4.8vw, 4.5rem) clamp(1.4rem, 3.2vw, 3.2rem);
    align-self: center;
}
.hero-pills {
    list-style: none;
    margin: 1.35rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .95rem;
}
.hero-pills li {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .84rem;
    font-weight: 600;
    color: #efe8e0;
}
.hero-pills .icon { color: #ffa48f; font-size: 1em; }
.eyebrow {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: 1.25rem;
    color: var(--brick-dark);
    font-size: .875rem;
    font-weight: 750;
}
.eyebrow::before { content: ""; width: 1.4rem; height: 2px; background: currentColor; flex: 0 0 auto; }
.hero .eyebrow { color: #ffa48f; }
.hero h1 {
    font-size: clamp(2.65rem, 4.7vw, 5rem);
    font-weight: 775;
    line-height: .99;
    letter-spacing: -.065em;
}
.hero h1 span { color: #ffa48f; }
.hero-description { max-width: 29rem; margin-top: 1.4rem; color: #e6dfd7; font-size: clamp(1.05rem, 1.45vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.9rem; }
.hero .button-outline { color: var(--white); border-color: #9d9b95; }
.hero .button-outline:hover { background: var(--white); color: var(--ink); }
.hero-carousel { min-width: 0; display: grid; grid-template-rows: 1fr auto; background: #14191d; }
.hero-stage { position: relative; min-height: clamp(355px, 37vw, 590px); overflow: hidden; touch-action: pan-y; background: #111518; }
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.025);
    transition: opacity .48s ease, transform .65s ease, visibility .48s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transform: scale(1); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.stage-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgb(255 255 255 / .3);
    background: rgb(18 23 28 / .58);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    transform: translateY(-50%);
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease, opacity .18s ease;
}
.stage-arrow-prev { left: .85rem; }
.stage-arrow-next { right: .85rem; }
.stage-arrow .icon { font-size: 22px; }
.stage-arrow:hover:not(:disabled) {
    background: rgb(177 67 50 / .92);
    border-color: rgb(255 255 255 / .55);
    transform: translateY(-50%) scale(1.06);
}
.stage-arrow:disabled { opacity: 0; pointer-events: none; }
.hero-counter {
    position: absolute;
    top: .85rem;
    right: .85rem;
    z-index: 2;
    padding: .25rem .65rem;
    border-radius: 999px;
    border: 1px solid rgb(255 255 255 / .22);
    background: rgb(18 23 28 / .62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #f2ede7;
    font-size: .78rem;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
}
.hero-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    padding: .75rem 1rem;
    border-top: 1px solid rgb(255 255 255 / .12);
    background: #14191d;
}
.hero-caption { color: #f2ede7; font-size: clamp(.84rem, 1.1vw, .94rem); font-weight: 600; }
.hero-controls, .hero-selectors { display: flex; gap: .4rem; align-items: center; }
.carousel-button, .hero-selectors button {
    color: #fff;
    background: #23292e;
    border: 1px solid #596066;
    border-radius: 5px;
    transition: background-color .18s ease, border-color .18s ease, opacity .18s ease;
}
.carousel-button { min-width: 44px; height: 40px; padding-inline: .6rem; font-size: .82rem; font-weight: 650; }
.carousel-button:hover { background: #363e44; border-color: #8a9299; }
.hero-selectors button { width: clamp(46px, 4.2vw, 64px); height: 40px; padding: 2px; opacity: .72; overflow: hidden; }
.hero-selectors button:hover { opacity: 1; }
.hero-selectors button[aria-pressed="true"] { opacity: 1; border: 2px solid #ffa48f; }
.hero-selectors img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.hero-carousel :focus-visible { outline-color: #ffa48f; outline-offset: 2px; }

.hero-full {
    background: var(--paper);
    color: var(--ink);
}
.hero-full-stage {
    min-height: clamp(500px, 68vh, 680px);
    display: flex;
    align-items: center;
    background: #d9d3ca;
}
.hero-full-stage .hero-slide img {
    object-position: center 46%;
}
.hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgb(247 245 240 / .32) 0%, transparent 48%, transparent 100%);
}
.hero-full-content {
    position: relative;
    z-index: 2;
    padding-block: clamp(2.5rem, 6vw, 4.5rem);
    padding-inline: clamp(2.6rem, 4.5vw, 4rem);
}
.hero-full-copy { max-width: 31.5rem; }
.hero-glass-card {
    padding: clamp(1.5rem, 3vw, 2.35rem);
    border-radius: 16px;
    background: rgb(255 253 250 / .88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgb(255 255 255 / .82);
    box-shadow: 0 20px 50px rgb(20 25 29 / .16);
    color: var(--ink);
}
.hero-full-copy .eyebrow { color: var(--brick-dark); margin-bottom: .85rem; }
.hero-full-copy h1 {
    font-size: clamp(2.05rem, 3.6vw, 3.35rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.04em;
    color: var(--ink);
}
.hero-full-copy h1 span { color: var(--brick); }
.hero-full-copy .hero-description {
    margin-top: .95rem;
    color: #3f464c;
    font-size: clamp(.95rem, 1.18vw, 1.05rem);
    max-width: 28rem;
}
.hero-full-copy .hero-pills { margin-top: 1.05rem; }
.hero-full-copy .hero-pills li { color: var(--ink); font-size: .82rem; }
.hero-full-copy .hero-pills .icon { color: var(--brick); }
.hero-full-copy .hero-actions { margin-top: 1.35rem; }
.hero-full-copy .button { border-radius: 6px; }
.hero-full-copy .button-outline {
    color: var(--ink);
    background: rgb(255 255 255 / .75);
    border-color: #b7b0a6;
}
.hero-full-copy .button-outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.hero-full-bar {
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.hero-toolbar-wide {
    border-top: 0;
    padding-inline: 0;
    background: transparent;
}
.hero-full-bar .hero-caption { color: var(--ink); }
.hero-full-bar .carousel-button {
    color: var(--ink);
    background: var(--paper);
    border-color: var(--line);
}
.hero-full-bar .carousel-button:hover {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
}
.hero-full-bar .hero-selectors button {
    background: var(--paper);
    border-color: var(--line);
    opacity: .78;
}
.hero-full-bar .hero-selectors button:hover { opacity: 1; }
.hero-full-bar .hero-selectors button[aria-pressed="true"] {
    opacity: 1;
    border: 2px solid var(--brick);
}

.rail-section { padding-block: var(--section-space); }
.rail-section-muted { background: #efeae1; }
.rail-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin-bottom: 1.75rem;
}
.rail-head .eyebrow { margin-bottom: .55rem; }
.rail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; }
.rail-controls { display: inline-flex; gap: .4rem; }
.rail-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.rail-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.rail-btn .icon { font-size: 20px; }
.collection-rail {
    display: flex;
    gap: clamp(.9rem, 1.8vw, 1.45rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: .5rem;
    scrollbar-width: thin;
    scrollbar-color: #c5bbb0 transparent;
}
.rail-item {
    flex: 0 0 clamp(270px, 31%, 380px);
    scroll-snap-align: start;
}

.section-heading-center {
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 42rem;
    margin-inline: auto;
    margin-bottom: 2rem;
}
.section-heading-center .eyebrow { justify-content: center; }
.advantage-link-card { text-decoration: none; color: inherit; display: block; }
.advantage-link-card:hover h3 { color: var(--brick-dark); }

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(1.75rem, 6vw, 6rem);
    padding-block: var(--section-space);
    border-bottom: 1px solid var(--line);
}
.about-copy p { max-width: 39rem; margin-top: .95rem; color: var(--muted); }
.about-actions { margin-top: 1.4rem; }
.about-visual img { width: 100%; aspect-ratio: 1.75; object-fit: cover; object-position: center 32%; background: #ddd5ca; border-radius: 8px; }
.about-visual figcaption { margin-top: .45rem; font-size: .875rem; color: var(--muted); }

.page-hero {
    padding-block: clamp(2.8rem, 6vw, 4.75rem);
    color: var(--white);
    background:
        linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px),
        linear-gradient(135deg, #171d22 0%, #222930 100%);
    background-size: 40px 40px, 40px 40px, auto;
    border-bottom: 1px solid rgb(255 164 143 / .28);
}
.page-hero .eyebrow { color: #ffa48f; margin-bottom: .65rem; }
.page-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); font-weight: 775; }
.page-hero-lead { max-width: 40rem; margin-top: .95rem; color: #dfd8d0; font-size: clamp(1rem, 1.4vw, 1.16rem); }
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.25rem;
    font-size: .84rem;
    color: #bfb8b0;
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: #ffa48f; font-weight: 650; }

.about-section { padding-block: var(--section-space); }
.about-section-muted { background: #efeae1; }
.about-story-head { max-width: 48rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.about-story-head .eyebrow, .about-prose .eyebrow { margin-bottom: .6rem; }
.about-lead { margin-top: 1rem; font-size: clamp(1.04rem, 1.35vw, 1.16rem); font-weight: 500; color: var(--ink); line-height: 1.6; }
.about-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.75rem, 5vw, 4.5rem); align-items: center; }
.about-prose p:not(.eyebrow):not(.about-lead) { margin-top: .95rem; color: var(--muted); }
.about-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line);
    box-shadow: 0 16px 36px rgb(20 25 29 / .1);
    background: #ddd5ca;
}
.about-media figcaption { margin-top: .5rem; font-size: .84rem; color: var(--muted); }

.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.6rem); }
.capability-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: clamp(1.25rem, 2.4vw, 1.85rem);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.capability-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgb(20 25 29 / .07); border-color: #c7bdb1; }
.capability-card h3 { margin-top: .35rem; font-size: 1.2rem; }
.capability-card p { margin-top: .6rem; font-size: .94rem; color: var(--muted); }

.model-specs {
    list-style: none;
    margin: 0 0 1.15rem;
    padding: .75rem 0 0;
    width: 100%;
    border-top: 1px solid var(--line);
    display: grid;
    gap: .35rem;
    font-size: .88rem;
    color: var(--muted);
}
.model-specs strong { color: var(--ink); font-weight: 650; }
.model-card-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: auto; width: 100%; }
.model-card-actions .button { min-height: 42px; padding: .5rem .85rem; font-size: .86rem; flex: 1 1 auto; }
.model-media-wrap { aspect-ratio: 1.55; }
.model-media-btn {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    text-align: left;
    cursor: zoom-in;
    background: #ddd5ca;
}
.card-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .3s ease;
}
.card-slide.is-active { opacity: 1; }
.card-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgb(255 255 255 / .3);
    background: rgb(18 23 28 / .62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    transition: background-color .18s ease, transform .18s ease;
}
.card-nav:hover { background: var(--brick); transform: translateY(-50%) scale(1.06); }
.card-nav-prev { left: .55rem; }
.card-nav-next { right: .55rem; }
.card-nav .icon { font-size: 16px; }
.card-dots {
    position: absolute;
    left: .75rem;
    bottom: .75rem;
    z-index: 2;
    display: flex;
    gap: .35rem;
}
.card-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgb(255 255 255 / .5);
    transition: width .2s ease, background-color .2s ease;
}
.card-dot.is-active { width: 20px; background: #fff; }

.tech-spec-table { margin: 1.5rem 0 0; border-top: 1px solid var(--line); }
.tech-spec-table > div {
    display: flex;
    justify-content: space-between;
    gap: .75rem 1.5rem;
    padding-block: .85rem;
    border-bottom: 1px solid var(--line);
    font-size: .94rem;
}
.tech-spec-table dt { font-weight: 700; color: var(--ink); flex: 0 0 auto; }
.tech-spec-table dd { margin: 0; color: var(--muted); text-align: right; }

.production-checklist { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .65rem; }
.production-checklist li { display: flex; align-items: center; gap: .55rem; font-weight: 650; color: var(--ink); font-size: .95rem; }
.production-checklist .icon { color: var(--brick); font-size: 1.05em; }
.production-hero-media { position: relative; }
.production-float-badge {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: .9rem 1.1rem;
    border-radius: 10px;
    background: rgb(20 25 29 / .9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgb(255 255 255 / .14);
    color: #fff;
    display: grid;
    gap: .2rem;
}
.production-float-badge span { font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: #ffa48f; }
.production-float-badge strong { font-size: .92rem; font-weight: 650; }
.media-count-badge {
    position: absolute;
    right: .75rem;
    bottom: .75rem;
    padding: .24rem .62rem;
    border-radius: 999px;
    background: rgb(20 25 29 / .8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgb(255 255 255 / .22);
    color: #fff;
    font-size: .74rem;
    font-weight: 650;
}
.model-dialog .dialog-heading h2 { font-size: clamp(1rem, 1.7vw, 1.3rem); line-height: 1.25; }
.model-dialog-meta { margin-top: .2rem; font-size: .84rem; color: var(--muted); }
.model-dialog-caption { margin-top: .7rem; font-size: .92rem; font-weight: 600; color: var(--ink); text-align: center; }
.model-lightbox-thumbs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .75rem;
}
.model-lightbox-thumbs button {
    width: 68px;
    height: 48px;
    padding: 2px;
    border: 2px solid transparent;
    border-radius: 5px;
    background: var(--paper);
    overflow: hidden;
    opacity: .68;
    transition: opacity .18s ease, border-color .18s ease;
}
.model-lightbox-thumbs button:hover { opacity: 1; }
.model-lightbox-thumbs button[aria-pressed="true"] { opacity: 1; border-color: var(--brick); }
.model-lightbox-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.model-dialog-right { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }

.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.5rem); }
.guide-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: clamp(1.2rem, 2.2vw, 1.7rem);
}
.guide-card h3 { font-size: 1.15rem; line-height: 1.25; }
.guide-card p { margin-top: .6rem; font-size: .94rem; color: var(--muted); }

.ref-link-card { text-decoration: none; color: inherit; }
.ref-link-card .photo-caption-title { padding: 0; font-size: 1.15rem; line-height: 1.25; font-weight: 700; }
.ref-link-card:hover .photo-caption-title { color: var(--brick-dark); }

.tech-list { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.tech-card {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}
.tech-media { background: #ddd5ca; }
.tech-media img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.tech-media-diagram {
    background: #fff;
    padding: clamp(.75rem, 2vw, 1.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--line);
}
.tech-media-diagram img {
    min-height: 0;
    max-height: 460px;
    object-fit: contain;
}
.tech-card-reverse .tech-media-diagram { order: 2; border-right: 0; border-left: 1px solid var(--line); }
.tech-diagram-frame img {
    aspect-ratio: auto;
    object-fit: contain;
    background: #fff;
    padding: .75rem;
}
.tech-body { padding: clamp(1.25rem, 3vw, 2.25rem); display: flex; flex-direction: column; justify-content: center; }
.tech-body h3 { margin-top: .25rem; font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
.tech-body > p { margin-top: .6rem; color: var(--muted); }
.tech-layers { margin: 1.1rem 0 0; padding: 0 0 0 1.25rem; display: grid; gap: .5rem; font-size: .94rem; color: var(--ink); }
.tech-layers li::marker { color: var(--brick); font-weight: 750; }

.blog-meta { font-size: .78rem; font-weight: 650; color: var(--muted); margin-bottom: .35rem; }
.blog-title-link { text-decoration: none; }
.blog-title-link:hover { color: var(--brick-dark); }
.blog-card .solution-media { display: block; }
.blog-article { max-width: 52rem; }
.blog-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.blog-body { margin-top: 1.75rem; display: grid; gap: 1.1rem; font-size: 1.04rem; line-height: 1.72; color: var(--ink); }
.blog-article-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .75rem; }

.faq-shell { max-width: 50rem; margin-inline: auto; }
.faq-groups { display: grid; gap: clamp(2.2rem, 4.5vw, 3.25rem); }
.faq-group-title {
    font-size: .84rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brick);
    margin-bottom: 1rem;
}
.faq-card-list { display: grid; gap: .75rem; }
.faq-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-card[open] { border-color: #c7bdb1; box-shadow: 0 10px 26px rgb(20 25 29 / .06); }
.faq-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    cursor: pointer;
    list-style: none;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ink);
}
.faq-card summary::-webkit-details-marker { display: none; }
.faq-card summary::after {
    content: "+";
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--paper);
    color: var(--brick);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .22s ease, background-color .2s ease, color .2s ease;
}
.faq-card[open] summary::after {
    transform: rotate(45deg);
    background: var(--brick);
    color: #fff;
}
.faq-card > p {
    padding: 0 1.35rem 1.3rem;
    color: var(--muted);
    line-height: 1.68;
}

.contact-page-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-sidebar > p, .contact-form-panel > p { margin-top: .65rem; color: var(--muted); }
.contact-info-cards { display: grid; gap: .9rem; margin-top: 1.4rem; }
.contact-info-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.15rem 1.25rem;
    display: grid;
    gap: .55rem;
    justify-items: start;
}
.contact-info-card h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.contact-info-card p { font-size: .92rem; color: var(--muted); }
.contact-big-link { color: var(--brick-dark); font-size: 1.3rem; font-weight: 750; text-decoration: none; }
.contact-big-link:hover { text-decoration: underline; }
.contact-trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin-top: 1.15rem; }
.contact-trust-item { background: #efeae1; border-radius: 8px; padding: 1rem 1.1rem; }
.contact-trust-item h3 { font-size: 1rem; }
.contact-trust-item p { margin-top: .35rem; font-size: .86rem; color: var(--muted); }
.contact-form-panel .project-form { margin-top: 1.25rem; border-radius: 8px; }
.contact-map-lg { height: clamp(320px, 34vw, 460px); border-radius: 10px; }

.solutions, .projects, .gallery, .faq, .contact, .advantages { padding-block: var(--section-space); }
.projects { background: #efeae1; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: .8rem 2rem; margin-bottom: 1.65rem; }
.section-heading .eyebrow { margin-bottom: .55rem; }
.section-heading p { color: var(--muted); max-width: 28rem; }
.solution-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 2.2vw, 1.9rem); }
.solution-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.solution-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgb(20 25 29 / .08); border-color: #c7bdb1; }
.solution-media { position: relative; overflow: hidden; background: #ddd5ca; }
.solution-media > img { width: 100%; aspect-ratio: 1.55; object-fit: cover; transition: transform .35s ease; }
.solution-card:hover .solution-media > img { transform: scale(1.03); }
.moduler-yapi .solution-media > img { object-position: center 54%; }
.celik-konstruksiyon .solution-media > img { object-position: center 55%; }
.card-badge {
    position: absolute;
    left: .75rem;
    top: .75rem;
    padding: .24rem .6rem;
    border-radius: 999px;
    background: rgb(23 29 34 / .78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-size: .74rem;
    font-weight: 650;
    letter-spacing: .02em;
}
.card-content { padding: clamp(1.1rem, 2.2vw, 1.7rem); display: flex; flex: 1; flex-direction: column; align-items: start; }
.card-index {
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .08em;
    color: var(--brick);
    margin-bottom: .35rem;
}
.card-content p { color: var(--muted); margin: .65rem 0 1rem; }

.showcase-band {
    position: relative;
    overflow: hidden;
    padding-block: clamp(3.5rem, 6.5vw, 6.5rem);
    background:
        linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px),
        linear-gradient(135deg, #161b20 0%, #20272d 100%);
    background-size: 48px 48px, 48px 48px, auto;
    color: var(--white);
}
.showcase-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.showcase-copy .eyebrow { color: #ffa48f; }
.showcase-copy p:not(.eyebrow) { margin-top: 1rem; color: #ddd6ce; max-width: 32rem; }
.showcase-checks { list-style: none; margin: 1.5rem 0 1.8rem; padding: 0; display: grid; gap: .65rem; }
.showcase-checks li { display: flex; align-items: center; gap: .55rem; font-weight: 600; color: #f5f0ea; font-size: .95rem; }
.showcase-checks .icon { color: #ffa48f; font-size: 1.05em; }
.compare-widget figcaption { margin-top: .7rem; font-size: .84rem; color: #c7c0b7; }
.compare-frame {
    --compare-pos: 50%;
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgb(255 164 143 / .35);
    box-shadow: 0 24px 56px rgb(0 0 0 / .45);
    cursor: ew-resize;
    user-select: none;
    touch-action: pan-y;
    background: #111518;
}
.compare-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare-before { clip-path: inset(0 calc(100% - var(--compare-pos)) 0 0); }
.compare-tag {
    position: absolute;
    top: .85rem;
    z-index: 2;
    padding: .26rem .65rem;
    border-radius: 6px;
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
    pointer-events: none;
}
.compare-tag-before { left: .85rem; background: rgb(18 23 28 / .72); backdrop-filter: blur(6px); color: #fff; }
.compare-tag-after { right: .85rem; background: rgb(177 67 50 / .9); backdrop-filter: blur(6px); color: #fff; }
.compare-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--compare-pos);
    width: 2px;
    background: #fff;
    box-shadow: 0 0 12px rgb(0 0 0 / .45);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 2;
}
.compare-handle {
    position: absolute;
    top: 50%;
    left: var(--compare-pos);
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid var(--brick);
    background: #fff;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgb(0 0 0 / .38);
    cursor: ew-resize;
}
.compare-handle .icon { font-size: 20px; }

.advantage-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.85rem, 1.8vw, 1.5rem); }
.advantage-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: clamp(1.2rem, 2.2vw, 1.65rem);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.advantage-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgb(20 25 29 / .07); border-color: #c7bdb1; }
.advantage-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--ink);
    color: #ffa48f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
}
.advantage-icon .icon { font-size: 24px; }
.advantage-card h3 { font-size: 1.12rem; line-height: 1.25; }
.advantage-card p { margin-top: .55rem; font-size: .92rem; color: var(--muted); }

.cta-banner-wrap { padding-bottom: var(--section-space); }
.cta-banner {
    position: relative;
    overflow: hidden;
    padding: clamp(2.4rem, 5.2vw, 4.25rem) clamp(1.4rem, 4vw, 3rem);
    border-radius: 16px;
    border: 1px solid rgb(255 255 255 / .09);
    text-align: center;
    color: #fff;
    background:
        radial-gradient(640px 280px at 85% 0%, rgb(177 67 50 / .24), transparent 68%),
        radial-gradient(520px 240px at 12% 100%, rgb(255 164 143 / .12), transparent 65%),
        linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px),
        linear-gradient(135deg, #13181d 0%, #1d242b 58%, #151b21 100%);
    background-size: auto, auto, 42px 42px, 42px 42px, auto;
    box-shadow: 0 24px 54px rgb(16 21 26 / .24);
}
.cta-banner h2 { font-size: clamp(1.75rem, 3.4vw, 2.85rem); color: #fff; }
.cta-banner p { max-width: 34rem; margin: .85rem auto 0; color: #cfd5db; }
.cta-banner-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.75rem; }
.cta-banner .button-dark {
    background: var(--brick);
    color: #fff;
    border-color: rgb(255 255 255 / .12);
    border-radius: 6px;
}
.cta-banner .button-dark:hover { background: var(--brick-dark); }
.cta-banner .button-whatsapp { border-radius: 6px; }
.text-button {
    color: var(--brick-dark);
    background: none;
    border: 0;
    padding: .35rem 0;
    min-height: 44px;
    margin-top: auto;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .25em;
}
.text-button:hover { color: var(--ink); }
html:not(.js) .text-button { display: none; }

.gallery-dialog {
    width: min(940px, calc(100% - 2rem));
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    padding: clamp(.9rem, 2.4vw, 1.75rem);
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
}
.gallery-dialog::backdrop { background: rgb(21 25 28 / .78); }
body:has(.gallery-dialog[open]) { overflow: hidden; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.dialog-heading h2 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); line-height: 1.2; }
#photo-dialog .dialog-heading h2 {
    font-size: clamp(.95rem, 1.5vw, 1.15rem);
    font-weight: 650;
    letter-spacing: -.015em;
    line-height: 1.3;
}
.gallery-dialog > p { margin-block: .85rem 1.25rem; color: var(--muted); }
.dialog-images { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; align-items: start; }
.dialog-images img { width: 100%; max-height: 55vh; object-fit: contain; background: var(--paper); border-radius: 4px; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.4rem; }
.gallery-filters button { min-height: 42px; border: 1px solid var(--line); border-radius: 6px; padding: .4rem .85rem; background: var(--white); color: var(--ink); font-size: .9rem; font-weight: 650; }
.gallery-filters button:hover { border-color: var(--brick); }
.gallery-filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.7rem, 1.4vw, 1.25rem); }
.photo-link {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.photo-link:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgb(20 25 29 / .08); border-color: #c8bfb4; }
.photo-link img { width: 100%; aspect-ratio: 1.5; object-fit: cover; transition: transform .3s ease, filter .2s ease; background: #ddd5ca; }
.photo-link img[src$="/ahsap-cephe.webp"] { object-position: center 29%; }
.photo-link:hover img { filter: brightness(1.04); }
.photo-caption {
    padding: .5rem .65rem;
    font-size: clamp(.76rem, .95vw, .85rem);
    line-height: 1.35;
    font-weight: 600;
    color: var(--ink);
}
.photo-link:hover .photo-caption { color: var(--brick-dark); }
.photo-viewer { position: relative; margin-top: .85rem; border-radius: 6px; overflow: hidden; background: #14191d; }
.photo-stage { display: block; position: relative; width: 100%; padding: 0; border: 0; background: #14191d; touch-action: pan-y; }
.photo-stage:disabled { cursor: default; }
.photo-preview { width: 100%; height: min(62dvh, 520px); object-fit: contain; }
.photo-toolbar { display: flex; align-items: center; justify-content: space-between; gap: .4rem; margin-top: .8rem; }
.photo-position { font-size: .88rem; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.photo-toolbar button:disabled { opacity: .45; cursor: default; }
.gallery-videos { margin-top: clamp(2rem, 5vw, 4rem); }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.video-grid figure { background: var(--white); border: 1px solid var(--line); }
.video-grid video { width: 100%; display: block; aspect-ratio: 16/9; object-fit: contain; background: #171c20; }
.video-grid figcaption { padding: .85rem 1rem; font-weight: 650; }

.process { background: var(--ink); color: var(--white); }
.process-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 8vw, 8rem); padding-block: clamp(3rem, 6vw, 6rem); }
.process-intro p { max-width: 26rem; margin-top: 1rem; color: #e1dbd3; }
.process-steps { margin: 0; padding: 0; list-style: none; }
.process-steps li { padding: 1rem 0 1rem 1.1rem; border-top: 1px solid #596065; position: relative; }
.process-steps li::before { content: ""; position: absolute; left: 0; top: 1.43rem; width: .4rem; height: .4rem; background: #e87965; }
.process-steps li:last-child { border-bottom: 1px solid #596065; }
.process-steps p { color: #e1dbd3; margin-top: .4rem; }

.faq, .contact-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 6vw, 6rem); align-items: start; }
.faq-list { border-bottom: 1px solid var(--line); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem .2rem;
    cursor: pointer;
    list-style: none;
    font-size: 1.06rem;
    font-weight: 700;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: "";
    width: .55rem;
    height: .55rem;
    margin-right: .3rem;
    transform: rotate(45deg);
    border: solid var(--brick-dark);
    border-width: 0 2px 2px 0;
    flex: 0 0 auto;
}
.faq-list details[open] summary::after { transform: rotate(225deg); }
.faq-list details > p { padding: 0 .2rem 1rem; color: var(--muted); }
.contact { background: #efeae1; }
.contact-inner p { margin-top: .7rem; color: var(--muted); }
.contact address { display: grid; gap: .35rem; margin: 1.2rem 0 1rem; color: var(--muted); font-style: normal; }
.contact address a { justify-self: start; color: var(--brick-dark); font-size: 1.4rem; font-weight: 700; text-underline-offset: .2em; }
.contact-link { display: inline-flex; align-items: center; gap: .45em; }
.contact-link .icon { font-size: 1.1em; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.contact-map { display: block; width: 100%; height: clamp(290px, 29vw, 410px); border: 1px solid var(--line); background: var(--white); }

.fixed-contact {
    position: fixed;
    z-index: 4;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(22px, env(safe-area-inset-bottom));
    display: grid;
    gap: 12px;
}
.fixed-contact a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgb(0 0 0 / .24);
    color: #fff;
    text-decoration: none;
}
.fixed-contact a:hover { filter: brightness(1.12); }
.fixed-contact .icon { font-size: 27px; }
.fixed-contact span { display: none; }
.fixed-contact-phone { background: var(--ink); }
.fixed-contact-whatsapp { background: #146b43; }

.project { display: grid; grid-template-columns: 1fr 1.15fr; align-items: start; gap: clamp(2rem, 8vw, 8rem); padding-block: clamp(3rem, 6vw, 6rem); }
.project-intro img { margin-bottom: 1rem; }
.project-intro p { max-width: 27rem; margin-top: 1rem; color: var(--muted); }
.project-form { display: grid; gap: 1rem; background: var(--white); border: 1px solid var(--line); padding: clamp(1rem, 3vw, 2rem); }
.project-form label { display: grid; gap: .35rem; font-weight: 650; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.field-row label { min-width: 0; }
.project-form :is(input, select, textarea) {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: .55rem .75rem;
    color: var(--ink);
    background-color: var(--paper);
    border: 1px solid #a9a59e;
    border-radius: 3px;
    font-weight: 400;
}
.project-form select {
    appearance: none;
    padding-right: 2.3rem;
    background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
    background-position: right 1.25rem center, right .94rem center;
    background-size: .32rem .32rem;
    background-repeat: no-repeat;
}
.project-form textarea { resize: vertical; }
.project-form button { justify-self: start; }
.project-result { display: grid; gap: .65rem; }
.form-status { color: var(--muted); font-size: .9rem; }
.form-status:empty { display: none; }

.error-page { padding-block: clamp(4rem, 10vw, 8rem); max-width: 44rem; }
.error-page h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.error-page > p:not(.eyebrow) { margin-block: 1rem 1.75rem; color: var(--muted); font-size: 1.05rem; }

.site-footer { background: #14191d; color: #e1dbd3; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
    padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.75rem, 3.5vw, 2.5rem);
}
.footer-brand img { width: 205px; height: auto; }
.footer-brand p { margin-top: 1rem; max-width: 22rem; font-size: .9rem; color: #b9b3ab; }
.footer-col h3 {
    font-size: .82rem;
    font-weight: 750;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #ffa48f;
    margin-bottom: .9rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .9rem; color: #cfc9c1; }
.footer-col a:not(.button) { text-decoration: none; transition: color .18s ease; }
.footer-col a:not(.button):hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.footer-cta { margin-top: 1rem; }
.footer-bottom {
    padding-block: 1.15rem;
    border-top: 1px solid rgb(255 255 255 / .1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    font-size: .84rem;
    color: #a59f97;
}

@media (max-width: 1180px) {
    :root { --header-height: 122px; }
    .header-inner { min-height: 76px; flex-wrap: wrap; gap: 0 1rem; }
    .brand img { width: 175px; }
    .js .menu-toggle { display: inline-flex; min-height: 44px; }
    .site-nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .4rem .6rem;
        max-height: calc(100dvh - var(--header-height));
        overflow: auto;
        padding: .65rem .15rem .9rem;
        border-top: 1px solid var(--line);
    }
    .site-nav > a:not(.button) { min-height: 44px; display: flex; align-items: center; white-space: normal; }
    .site-nav > .button { grid-column: 1 / -1; justify-self: start; margin-left: 0; margin-top: .25rem; }
    .js .site-nav:not(.is-open) { display: none; }
    .advantage-grid, .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
    :root {
        --contact-bar-height: calc(62px + env(safe-area-inset-bottom));
        scroll-padding-bottom: var(--contact-bar-height);
    }
    body { padding-bottom: var(--contact-bar-height); }
    .fixed-contact {
        inset: auto 0 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        padding-bottom: env(safe-area-inset-bottom);
        background: var(--white);
        border-top: 1px solid var(--line);
        box-shadow: 0 -4px 16px rgb(0 0 0 / .12);
    }
    .fixed-contact a { width: auto; height: 61px; gap: .6rem; border-radius: 0; box-shadow: none; font-weight: 750; }
    .fixed-contact .icon { font-size: 22px; }
    .fixed-contact span { display: inline; }
    .fixed-contact a:focus-visible { outline-offset: -5px; }
    .fixed-contact a.fixed-contact-phone { color: var(--ink); background: var(--white); }
    .fixed-contact-whatsapp:focus-visible { outline-color: #fff; }
    .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .showcase-inner, .tech-card, .contact-page-grid { grid-template-columns: minmax(0, 1fr); }
    .tech-media-diagram, .tech-card-reverse .tech-media-diagram { order: 0; border-right: 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 940px) {
    .hero { grid-template-columns: 47fr 53fr; }
    .hero-stage { min-height: 340px; }
    .section-heading { align-items: start; flex-direction: column; }
}

@media (max-width: 690px) {
    .header-contact-inner { justify-content: space-between; }
    .hero { grid-template-columns: minmax(0, 1fr); border-radius: 8px; }
    .hero-copy { padding: 1.75rem 1.2rem; }
    .hero h1 { font-size: clamp(2.4rem, 9vw, 3.5rem); }
    .hero-stage { min-height: 0; aspect-ratio: 1.35; }
    .hero-full-stage { min-height: 460px; aspect-ratio: auto; align-items: flex-end; }
    .hero-full-content { padding-block: 11rem 1.25rem; padding-inline: 0; }
    .hero-glass-card { padding: 1.25rem; border-radius: 12px; }
    .hero-full-copy h1 { font-size: clamp(1.8rem, 7.2vw, 2.45rem); }
    .hero-scrim { background: linear-gradient(180deg, transparent 0%, rgb(247 245 240 / .28) 100%); }
    .rail-item { flex: 0 0 82%; }
    .stage-arrow { width: 38px; height: 38px; }
    .stage-arrow-prev { left: .55rem; }
    .stage-arrow-next { right: .55rem; }
    .stage-arrow .icon { font-size: 19px; }
    .hero-counter { top: .55rem; right: .55rem; font-size: .74rem; padding: .2rem .55rem; }
    .hero-toolbar { padding: .65rem .75rem; }
    .hero-description, .hero-actions { margin-top: 1rem; }
    .solution-grid, .process-inner, .project, .about, .about-split, .faq, .contact-inner, .advantage-grid, .capability-grid, .guide-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .about-split-reverse .about-media { order: 2; }
    .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
    .photo-caption { padding: .42rem .52rem; font-size: .76rem; }
    .video-grid { grid-template-columns: minmax(0, 1fr); }
    .compare-handle { width: 40px; height: 40px; }
}

@media (max-width: 420px) {
    .field-row, .dialog-images, .contact-trust-row { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .button, .photo-link, .photo-link img, .hero-slide, .stage-arrow, .solution-card, .solution-media > img, .advantage-card, .gallery-showcase-card, .gallery-showcase-media img { transition: none; }
    .hero-slide { transform: none; }
}

/* Gallery Showcase Page */
.gallery-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.gallery-showcase-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgb(24 27 30 / .04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.gallery-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgb(24 27 30 / .1);
    border-color: rgb(180 74 42 / .38);
}

.gallery-showcase-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--surface-alt);
}

.gallery-showcase-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.gallery-showcase-card:hover .gallery-showcase-media img {
    transform: scale(1.04);
}

.gallery-showcase-body {
    padding: .9rem 1.05rem 1rem;
}

.gallery-showcase-body h3 {
    margin: 0;
    font-size: .96rem;
    font-weight: 700;
    line-height: 1.38;
    color: var(--ink);
}

@media (max-width: 980px) {
    .gallery-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
    .gallery-showcase-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Footer Cookie Link */
.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .85rem 1.25rem;
}

.footer-cookie-btn {
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    opacity: .88;
}

.footer-cookie-btn:hover {
    opacity: 1;
    color: #fff;
}

/* Cookie Consent Banner & Modal */
.cookie-banner {
    position: fixed;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 95;
    width: min(440px, calc(100vw - 2.5rem));
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.2rem 1.25rem;
    box-shadow: 0 20px 44px rgb(24 27 30 / .18);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner-head {
    margin-bottom: .5rem;
}

.cookie-pill {
    display: inline-flex;
    align-items: center;
    padding: .2rem .6rem;
    border-radius: 999px;
    background: rgb(180 74 42 / .12);
    color: var(--accent-strong);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin: 0;
}

.cookie-banner-text {
    margin: 0 0 1rem;
    font-size: .88rem;
    line-height: 1.55;
    color: var(--muted);
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
}

.cookie-banner-actions .button {
    min-height: 38px;
    padding: .45rem .9rem;
    font-size: .84rem;
}

.cookie-link-btn {
    background: none;
    border: 0;
    padding: .35rem .4rem;
    font: inherit;
    font-size: .84rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.cookie-link-btn:hover {
    color: var(--ink);
}

.cookie-dialog {
    width: min(600px, calc(100vw - 2rem));
    max-height: calc(100dvh - 2rem);
    margin: auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 24px 60px rgb(16 19 23 / .28);
    overflow: hidden;
}

.cookie-dialog::backdrop {
    background: rgb(16 19 23 / .58);
    backdrop-filter: blur(4px);
}

.cookie-dialog-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.4rem 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--surface-alt);
}

.cookie-dialog-head h2 {
    margin: .35rem 0 0;
    font-size: 1.25rem;
    line-height: 1.25;
}

.cookie-dialog-body {
    padding: 1.25rem 1.4rem;
    max-height: 60dvh;
    overflow-y: auto;
    display: grid;
    gap: .9rem;
}

.cookie-dialog-lead {
    margin: 0 0 .25rem;
    font-size: .92rem;
    line-height: 1.6;
    color: var(--muted);
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: .95rem 1.05rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
}

.cookie-option-info h3 {
    margin: 0 0 .25rem;
    font-size: .96rem;
    font-weight: 700;
    color: var(--ink);
}

.cookie-option-info p {
    margin: 0;
    font-size: .84rem;
    line-height: 1.5;
    color: var(--muted);
}

.cookie-switch {
    position: relative;
    display: inline-block;
    flex: 0 0 46px;
    width: 46px;
    height: 26px;
    margin-top: .15rem;
    cursor: pointer;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    inset: 0;
    background: #c8c4bc;
    border-radius: 999px;
    transition: background .2s ease;
}

.cookie-slider::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgb(0 0 0 / .22);
    transition: transform .2s ease;
}

.cookie-switch input:checked + .cookie-slider {
    background: var(--accent);
}

.cookie-switch input:checked + .cookie-slider::before {
    transform: translateX(20px);
}

.cookie-switch input:disabled + .cookie-slider {
    background: var(--ink);
    opacity: .72;
    cursor: not-allowed;
}

.cookie-dialog-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .6rem;
    padding: 1rem 1.4rem;
    border-top: 1px solid var(--line);
    background: var(--surface-alt);
}

.cookie-dialog-footer .button {
    min-height: 40px;
    padding: .5rem 1rem;
    font-size: .86rem;
}

@media (max-width: 690px) {
    .cookie-banner {
        left: .75rem;
        right: .75rem;
        bottom: 5.2rem;
        width: auto;
    }
    .cookie-dialog-footer {
        justify-content: stretch;
    }
    .cookie-dialog-footer .button {
        flex: 1 1 100%;
    }
}
