:root {
  --red: #d7262b;
  --red-dark: #b21c21;
  --ink: #141414;
  --ink-2: #3d3b38;
  --muted: #6b6762;
  --paper: #ffffff;
  --sand: #f6f3ee;
  --stone: #e8e2d8;
  --line: #e2ddd5;
  --wa: #25d366;
  --wa-dark: #1da851;
  --radius: 14px;
  --wrap: 1180px;
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); margin-bottom: .8em;
}
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 40em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.4em; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s; font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-wa { background: var(--ink); color: #fff; box-shadow: 0 6px 18px rgba(20, 20, 20, .18); }
.btn-wa:hover { background: #2b2a28; }
.btn-wa svg { color: var(--wa); }
.nav a.btn-wa, .nav a.btn-wa:hover { color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { width: 52px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-text strong { font-size: 1.05rem; letter-spacing: .02em; white-space: nowrap; }
.brand-text span { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.nav a:hover { color: var(--red); }
.lang { font-size: .85rem; font-weight: 700; border: 1px solid var(--line); border-radius: 999px; padding: .35em .8em; text-decoration: none; }
.header-wa { padding: .6em 1.05em; font-size: .92rem; }
@media (max-width: 900px) {
  .nav .nav-link { display: none; }
  .brand-text span { display: none; }
}
.lang-short { display: none; }
@media (max-width: 560px) {
  .header-wa { display: none; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .brand img { width: 44px; height: 44px; }
  .brand-text strong { overflow: hidden; text-overflow: ellipsis; }
}

/* Hero */
.hero { padding: 48px 0 56px; background: linear-gradient(180deg, var(--sand) 0%, #fff 100%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.trust { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--ink-2); font-size: .98rem; }
.trust li { display: flex; gap: 10px; align-items: flex-start; }
.trust li::before { content: ""; width: 9px; height: 9px; margin-top: .55em; flex: none; background: var(--red); transform: rotate(45deg); }
.hero-photo { position: relative; }
.hero-photo img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
.hero-badge {
  position: absolute; left: -18px; bottom: 26px; background: #fff; border-radius: 12px;
  padding: 12px 16px; box-shadow: 0 12px 30px rgba(0, 0, 0, .14); font-size: .9rem; max-width: 240px;
}
.hero-badge strong { display: block; font-size: 1rem; }
@media (max-width: 860px) {
  .hero { padding-top: 28px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-photo { order: -1; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .hero-badge { left: 12px; bottom: 12px; }
}

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); color: #fff; }
.bg-ink .lead { color: #d8d4ce; }

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.service .ico { width: 44px; height: 44px; border-radius: 10px; background: #fbe9e9; color: var(--red); display: grid; place-items: center; margin-bottom: 14px; }
.service .ico svg { width: 24px; height: 24px; }
.service p { color: var(--ink-2); margin: 0; font-size: .97rem; }

/* Before / after */
.ba-show { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.ba-slide { margin: 0; }
.ba-slide[hidden] { display: none !important; }
.ba-frame.portrait { max-width: min(100%, 520px); max-height: 78vh; aspect-ratio: 3 / 4; margin: 0 auto; }
.ba-count { font-weight: 700; color: var(--red); letter-spacing: .08em; margin-bottom: .4em; }
.ba-title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .35em; }
.ba-desc { color: var(--ink-2); font-size: 1.05rem; min-height: 3.2em; }
.ba-nav { display: flex; gap: 10px; margin: 18px 0 22px; }
.ba-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.ba-nav button:hover { background: var(--ink); color: #fff; }
.ba-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ba-thumb { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--stone); opacity: .6; transition: opacity .15s; }
.ba-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ba-thumb:hover { opacity: 1; }
.ba-thumb[aria-current="true"] { border-color: var(--red); opacity: 1; }
@media (max-width: 860px) {
  .ba-show { grid-template-columns: 1fr; gap: 18px; }
  .ba-frame.portrait { max-height: 70vh; }
  .ba-thumbs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ba-nav { margin: 12px 0 16px; }
}
.ba-frame {
  position: relative; overflow: hidden; border-radius: var(--radius); --pos: 50%;
  aspect-ratio: 4 / 3; background: var(--stone); touch-action: pan-y; user-select: none;
}
.ba-frame.portrait { aspect-ratio: 3 / 4; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-frame .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); pointer-events: none; }
.ba-handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.ba-tag { position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(20, 20, 20, .78); color: #fff; pointer-events: none; }
.ba-tag.l { left: 12px; }
.ba-tag.r { right: 12px; background: var(--red); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* Gallery rail */
.rail-wrap { position: relative; }
.rail {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 20px;
  padding: 4px 20px 18px; margin: 0 -20px; scrollbar-width: thin; outline: none;
}
.rail-card { flex: 0 0 clamp(250px, 28vw, 340px); margin: 0; scroll-snap-align: start; }
.rail-card a { display: block; border-radius: 12px; overflow: hidden; background: var(--stone); }
.rail-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s; }
.rail-card a:hover img { transform: scale(1.04); }
.rail-card figcaption { margin-top: 10px; font-weight: 600; font-size: .97rem; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.rail-nav { display: flex; gap: 10px; flex: none; margin-bottom: 36px; }
.rail-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.rail-nav button:hover { background: var(--ink); color: #fff; }
.rail-nav button:disabled { opacity: .3; cursor: default; background: #fff; color: var(--ink); }
@media (max-width: 560px) { .rail-card { flex-basis: 78vw; } .rail-nav { display: none; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, .86); }
.lightbox img { max-width: 96vw; max-height: 84vh; border-radius: 8px; }
.lightbox p { color: #fff; text-align: center; margin: 10px 0 0; }
.lightbox button { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.4rem; cursor: pointer; box-shadow: 0 4px 16px rgba(0, 0, 0, .3); z-index: 2; }
.lightbox .lb-close { top: 14px; right: 16px; }
.lightbox .lb-prev, .lightbox .lb-next { top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev { left: 16px; }
.lightbox .lb-next { right: 16px; }
.lightbox .lb-count { color: #bdb8b0; margin-left: 8px; }
.lightbox img { touch-action: pan-y; user-select: none; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.step { padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--red); font-weight: 800; margin-bottom: 14px; }
.step p { color: #d8d4ce; margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* About */
.about { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 44px; align-items: center; }
.about img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; border: 6px solid #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, .15); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; gap: 22px; } .about img { width: 200px; } }

/* Quote builder */
.quote { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 44px; align-items: start; }
@media (max-width: 860px) { .quote { grid-template-columns: 1fr; } }
.qform { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .3); }
.qform fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.qform legend, .qform label.l { display: block; font-weight: 700; margin-bottom: 8px; font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; }
.chip span { display: inline-block; padding: .5em .95em; border-radius: 999px; border: 1.5px solid var(--line); font-size: .92rem; cursor: pointer; background: #fff; }
.chip input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.qform select, .qform textarea, .qform input[type="text"] {
  width: 100%; font: inherit; font-size: 16px; padding: .75em .9em; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
}
.qform textarea { min-height: 110px; resize: vertical; }
.qform .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .qform .row { grid-template-columns: 1fr; } }
.qform .btn { width: 100%; margin-top: 6px; }
.qnote { font-size: .85rem; color: var(--muted); margin: 10px 0 0; }
.contact-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list svg { width: 22px; height: 22px; color: var(--red); flex: none; }
.lang-note { background: #fff7e6; border: 1px solid #f2dfb4; border-radius: 12px; padding: 14px 16px; font-size: .95rem; margin-top: 18px; }

/* Areas + FAQ */
.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.areas li { padding: .45em 1em; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.faq-layout .section-head { margin-bottom: 0; }
.faq details:first-child { padding-top: 6px; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; gap: 20px; } }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; }
.post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card div { padding: 18px 20px 22px; }
.post-card h3 { margin-bottom: .4em; }
.post-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.post-card:hover h3 { color: var(--red); }
.article { max-width: 760px; margin: 0 auto; padding: 40px 20px 20px; }
.article .meta { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.article .cover { border-radius: var(--radius); margin: 0 0 30px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.article h2 { font-size: 1.55rem; margin-top: 1.6em; }
.article h3 { margin-top: 1.4em; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: .45em; }
.article figure { margin: 28px 0; }
.article figure img { border-radius: 12px; }
.article figcaption { color: var(--muted); font-size: .9rem; margin-top: 8px; }
.cta-box { margin: 40px 0 10px; padding: 26px; border-radius: var(--radius); background: var(--sand); border: 1px solid var(--line); }
.cta-box p { margin-bottom: 14px; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: #cfcac3; padding: 48px 0 110px; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .logo-foot { width: 76px; height: 76px; background: #fff; border-radius: 12px; padding: 4px; margin-bottom: 12px; }
.legal { border-top: 1px solid #2c2b29; margin-top: 30px; padding-top: 18px; font-size: .85rem; grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 50; display: flex; align-items: center; gap: 10px;
  background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; padding: 12px 18px 12px 12px;
  border-radius: 999px; border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}
.wa-float svg { width: 30px; height: 30px; color: var(--wa); }
.wa-float:hover { box-shadow: 0 12px 32px rgba(0, 0, 0, .26); }
@media (max-width: 560px) { .wa-float .label { display: none; } .wa-float { padding: 14px; } }

.page-hero { background: var(--sand); padding: 52px 0 36px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.5em; }

section[id] { scroll-margin-top: 72px; }
