:root {
    --ink: #14161a;
    --cream: #f3f0e8;
    --cream-2: #e7e2d6;
    --paper: #faf8f3;
    --muted: #5f5a52;
    --line: rgba(20, 22, 26, 0.1);
    --night: #101216;
    --night-2: #1a1d23;
    --soft: #b7b1a6;
    --amber: #e39b12;
    --amber-2: #c9840b;
    --whatsapp: #1f7a4d;
    --danger: #9d2c2c;
    --header: 76px;
    --shadow: 0 18px 50px rgba(16, 18, 22, 0.12);
    --serif: "Barlow Condensed", "Arial Narrow", sans-serif;
    --sans: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
::selection { background: var(--amber); color: #1a1203; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.skip {
    position: absolute;
    left: 12px;
    top: -40px;
    background: var(--amber);
    color: #1a1203;
    padding: 8px 12px;
    z-index: 100;
}
.skip:focus { top: 12px; }

.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.icon { width: 28px; height: 28px; display: block; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--header);
    color: #f6f3ec;
    background: rgba(16, 18, 22, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
}
body.has-hero .site-header {
    position: absolute;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent);
    border-bottom-color: transparent;
}
body.has-hero .site-header.is-solid,
body.has-hero .site-header.is-open {
    position: fixed;
    background: rgba(16, 18, 22, 0.94);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}
.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 28px;
}
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; min-width: max-content; }
.brand img { height: 46px; width: auto; }
.brand-mark { font-family: var(--serif); font-size: 32px; font-weight: 700; letter-spacing: 0.08em; }
.brand-sub { margin-top: 3px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 600; color: rgba(246, 243, 236, 0.82); }
.nav a:hover, .nav a.is-active { color: white; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
    display: none;
    margin-left: auto;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: transparent;
    color: white;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: #1a1203; }
.btn-amber:hover { background: #f0ad2a; }
.btn-line { background: transparent; color: white; border-color: rgba(255, 255, 255, 0.4); }
.btn-line:hover { background: white; color: var(--ink); }
.btn-whatsapp { background: var(--whatsapp); color: white; }
.btn-whatsapp:hover { background: #17643f; }
.btn-dark { background: var(--night); color: white; }
.btn-dark:hover { background: #000; }
.btn-small { min-height: 42px; padding: 0 14px; letter-spacing: 0.06em; }

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    color: white;
    background: var(--night);
    overflow: hidden;
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 12, 14, 0.88) 0%, rgba(10, 12, 14, 0.62) 46%, rgba(10, 12, 14, 0.15) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 120px 0 84px; max-width: 760px; }
.eyebrow, .kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    color: var(--amber);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.eyebrow::before, .kicker::before { content: ""; width: 28px; height: 2px; background: var(--amber); }
.hero h1 {
    margin: 0;
    max-width: 11em;
    font-family: var(--serif);
    font-size: clamp(3.3rem, 7vw, 6.4rem);
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: -0.015em;
}
.hero-lead { max-width: 460px; margin: 22px 0 0; color: rgba(255, 255, 255, 0.82); font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.section { padding: 88px 0; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section h2, .page-hero h1, .prose h2 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 0.95;
}
.section h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
.section-head p, .lead { color: var(--muted); font-size: 1.05rem; margin: 14px 0 0; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-card {
    display: flex;
    flex-direction: column;
    min-height: 280px;
    padding: 22px;
    background: var(--paper);
    border: 1px solid var(--line);
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.service-card .idx { font-family: var(--serif); color: var(--amber-2); letter-spacing: 0.08em; }
.service-card .icon { margin: 28px 0 auto auto; }
.service-card h3 { margin: 18px 0 8px; font-family: var(--serif); font-size: 1.8rem; font-weight: 600; line-height: 1; }
.service-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.service-card .more { margin-top: 18px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; }
.service-card:hover { background: var(--night); color: white; transform: translateY(-4px); }
.service-card:hover p { color: var(--soft); }
.service-card:hover .idx { color: var(--amber); }

.why { background: var(--night); color: white; }
.why .lead { color: var(--soft); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.why-item { padding: 28px 22px 8px 0; border-right: 1px solid rgba(255, 255, 255, 0.1); }
.why-item:last-child { border-right: 0; padding-right: 0; }
.why-item .icon { color: var(--amber); }
.why-item h3 { margin: 18px 0 8px; font-family: var(--serif); font-size: 1.8rem; font-weight: 600; line-height: 1; }
.why-item p { margin: 0; color: var(--soft); }

.ops-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 240px; gap: 12px; }
.ops-grid a:first-child { grid-row: span 2; }
.shot {
    position: relative;
    display: block;
    overflow: hidden;
    background: #ccc;
    min-height: 180px;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.shot:hover img { transform: scale(1.04); }
.shot span {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: fit-content;
    max-width: calc(100% - 24px);
    padding: 6px 10px;
    background: rgba(16, 18, 22, 0.78);
    color: white;
    font-size: 13px;
}

.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-photo figcaption {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: var(--amber);
    color: #1a1203;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.about-copy .btn { margin-top: 8px; }
.prose p { margin: 0 0 14px; }
.prose p:last-child { margin-bottom: 0; }

.cta { position: relative; color: white; overflow: hidden; background: var(--night); }
.cta-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 12, 14, 0.9), rgba(10, 12, 14, 0.55)); }
.cta .container { position: relative; z-index: 1; padding: 88px 0; }
.cta h2 { font-size: clamp(2.8rem, 6vw, 5rem); max-width: 10em; }
.cta .lead { color: rgba(255, 255, 255, 0.8); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.site-footer { background: #0c0d10; color: #d9d3c8; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr 1fr; gap: 32px; }
.site-footer h2 { margin: 0 0 12px; font-family: var(--serif); font-size: 1.7rem; color: white; font-weight: 600; }
.site-footer a { text-decoration: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 8px; }
.site-footer .muted, .fine { color: var(--soft); }
.footer-base { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; color: var(--soft); }

.mobile-bar { display: none; }

.page-hero { background: var(--night); color: white; padding: 54px 0 42px; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); max-width: 12em; }
.page-hero .lead { color: var(--soft); max-width: 560px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; color: var(--soft); font-size: 13px; }
.crumbs a { color: white; text-decoration: none; }

.service-list { display: grid; gap: 18px; }
.service-row {
    display: grid;
    grid-template-columns: 280px 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    text-decoration: none;
}
.service-row img, .service-row .ph { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--cream-2); display: grid; place-items: center; }
.service-row h2 { font-size: 2.3rem; }
.service-row p { margin: 8px 0 0; color: var(--muted); }

.detail { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.detail-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 22px; }
.aside { position: sticky; top: 96px; background: var(--night); color: white; padding: 22px; }
.aside p { color: var(--soft); }
.aside .btn { width: 100%; margin-top: 10px; }
.other-links { margin-top: 28px; }
.other-links a { display: block; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 650; }
.other-links a:hover { color: var(--amber-2); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filter-bar button {
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
}
.filter-bar button.is-active, .filter-bar button:hover { background: var(--night); color: white; border-color: var(--night); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-grid .shot { aspect-ratio: 4/3; }
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.photo-strip img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 36px; }
.contact-card { background: var(--night); color: white; padding: 28px; }
.contact-card a { color: white; }
.contact-card .row { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.contact-card .row strong { display: block; color: var(--amber); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; font-weight: 700; }
.field input, .field textarea, .field select {
    width: 100%;
    border: 1px solid var(--line);
    background: white;
    padding: 12px 14px;
    border-radius: 6px;
    color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.contact-map { min-height: 100%; background: var(--cream-2); }
.map-frame { display: block; width: 100%; height: 100%; min-height: 520px; border: 0; background: var(--cream-2); }
.alert { padding: 12px 14px; margin-bottom: 16px; border-radius: 6px; }
.alert-ok { background: #e5f4ea; color: #145232; }
.alert-bad { background: #fdeceb; color: var(--danger); }
.alert ul { margin: 0; padding-left: 18px; }

dialog.lightbox {
    width: min(1100px, calc(100% - 24px));
    border: 0;
    padding: 0;
    background: transparent;
    color: white;
}
dialog.lightbox::backdrop { background: rgba(8, 9, 11, 0.88); }
.lightbox-figure { margin: 0; }
.lightbox-figure img { width: 100%; max-height: 78vh; object-fit: contain; background: #000; }
.lightbox-figure figcaption { padding: 10px 2px 0; }
.lightbox-nav { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.lightbox-nav button {
    min-height: 42px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: 0;
    cursor: pointer;
}

@media (max-width: 980px) {
    .service-grid, .why-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
    .why-item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-right: 0; }
    .ops-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
    .ops-grid a:first-child { grid-row: auto; grid-column: 1 / -1; min-height: 240px; }
    .about-grid, .detail, .contact-grid, .service-row { grid-template-columns: 1fr; }
    .aside { position: static; }
    .gallery-grid, .photo-strip { grid-template-columns: 1fr 1fr; }
    .service-row .btn { justify-self: start; }
}

@media (max-width: 860px) {
    .container { width: min(1160px, calc(100% - 28px)); }
    .nav-toggle { display: inline-flex; }
    .header-actions { display: none; }
    .nav {
        display: none;
        position: fixed;
        z-index: 45;
        inset: var(--header) 0 64px 0;
        margin: 0;
        padding: 18px 22px 28px;
        background: #101216;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        overflow: auto;
    }
    .site-header.is-open { z-index: 70; }
.site-header.is-open .nav { display: flex; z-index: 71; background: #101216; }
    .nav a { font-size: 1.6rem; font-family: var(--serif); font-weight: 600; color: white; padding: 8px 0; }
    .header-inner { gap: 12px; }
    .hero { min-height: calc(100svh - 58px); }
    .hero-shade { background: linear-gradient(180deg, rgba(8, 10, 12, 0.28) 0%, rgba(8, 10, 12, 0.12) 42%, rgba(8, 10, 12, 0.78) 100%); }
    .hero-media { object-position: center 30%; }
    .hero-content { padding: 92px 0 36px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn, .cta-actions .btn { width: 100%; }
    .map-frame { min-height: 380px; }
    .hero h1 { font-size: clamp(2.8rem, 12vw, 4.2rem); }
    .section { padding: 56px 0; }
    .service-grid, .why-grid, .footer-grid, .gallery-grid, .photo-strip, .ops-grid { grid-template-columns: 1fr; }
    .ops-grid a:first-child { grid-column: auto; }
    .footer-base { flex-direction: column; }
    .mobile-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 50;
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding-bottom: env(safe-area-inset-bottom);
    }
    .mobile-bar a {
        min-height: 58px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: 0.08em;
    }
    .mobile-bar .call { background: var(--amber); color: #1a1203; }
    .mobile-bar .wa { background: var(--whatsapp); color: white; }
    body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
    body.nav-lock { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
