@layer reset, base, layout, components, utilities;

:root {
  /* Palette — soft-luxe: warm tan/champagne + sage + deep green */
  --bg: #FFFFFF;
  --bg-soft: #F7F1EC;          /* warm off-white section band / cards */
  --tan: #C09C88;             /* warm tan/champagne — hero, CTA, testimonial bg */
  --tan-light: #D7B19B;       /* lighter champagne */
  --tan-soft: #EDE0D6;        /* very light tan wash */
  --sage: #A7CFC4;            /* soft sage/mint — "Serviciile noastre" bg */
  --sage-deep: #8FBFB2;       /* deeper sage for borders/hover on sage */
  --green: #205B4F;           /* deep green accent — buttons, links, details */
  --green-dark: #18473D;      /* hover/darker green */
  --green-soft: #E4EFEB;      /* very light green wash */
  --ink: #161513;             /* near-black text */
  --ink-2: #5b5751;
  --ink-3: #8b857d;
  --line: #E7DFD7;            /* warm hairline border */

  /* Type — Work Sans headings, Inter body */
  --font-head: 'Work Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  /* Geometry */
  --r: 6px;
  --r-lg: 12px;
  --header-h: 76px;

  /* Shadows — subtle layered, warm-tinted */
  --sh-1: 0 1px 3px rgba(60,45,35,.06), 0 1px 2px rgba(60,45,35,.04);
  --sh-2: 0 10px 30px rgba(60,45,35,.12);
}

@layer reset {
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  body { min-height: 100%; }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
  input, select, textarea { font: inherit; color: inherit; }
  ul { list-style: none; }
  :focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: var(--r); }
  [id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
}

@layer base {
  body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    font-size: 1rem;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; color: var(--ink); letter-spacing: -.01em; }
  h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 500; }
  h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 500; }
  h3 { font-size: 1.15rem; font-weight: 600; }
  p { color: var(--ink-2); }
  strong { color: var(--ink); font-weight: 600; }
  .tnum { font-variant-numeric: tabular-nums; }
}

@layer layout {
  .wrap { width: min(1180px, 92%); margin-inline: auto; }
  .wrap-narrow { width: min(820px, 92%); margin-inline: auto; }
  .sec { padding: clamp(3rem, 6vw, 5rem) 0; }
  .sec--soft { background: var(--bg-soft); }
  .sec-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
  .sec-head .eyebrow { margin-bottom: .7rem; }
  .sec-head p { margin-top: .8rem; }
  .lead { font-size: clamp(1rem, 1.8vw, 1.12rem); color: var(--ink-2); }
}

@layer components {
  /* ---- Eyebrow ---- */
  .eyebrow { display: inline-block; font-weight: 600; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--green); }

  /* ---- Buttons (uppercase, letter-spaced, calm) ---- */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding: .95rem 1.7rem; border-radius: var(--r); transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; white-space: nowrap; line-height: 1.1; }
  .btn svg { flex: none; }
  /* primary = deep green */
  .btn-primary { background: var(--green); color: #fff; }
  .btn-primary:hover { background: var(--green-dark); }
  /* tan = champagne fill, dark ink text (hero CTA — high contrast, warm accent) */
  .btn-tan { background: var(--tan-light); color: var(--green-dark); box-shadow: 0 8px 24px rgba(0,0,0,.22); }
  .btn-tan:hover { background: #e6c4ac; }
  .btn-outline { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
  .btn-outline:hover { background: var(--ink); color: #fff; }
  .btn-light { background: #fff; color: var(--green); }
  .btn-light:hover { background: var(--green-soft); }
  /* outline-on-dark (for tan/green backgrounds) */
  .btn-ghost { border: 1px solid rgba(255,255,255,.6); color: #fff; background: transparent; }
  .btn-ghost:hover { background: #fff; color: var(--green); border-color: #fff; }
  .btn-wa { border: 1px solid #25D366; color: #1a8f48; background: #fff; }
  .btn-wa:hover { background: #25D366; color: #fff; }
  .btn-block { width: 100%; }
  .btn-lg { padding: 1.05rem 2rem; font-size: .82rem; }

  .link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 600; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
  .link-arrow svg { transition: transform .2s ease; }
  .link-arrow:hover { color: var(--green-dark); }
  .link-arrow:hover svg { transform: translateX(3px); }

  /* ---- Header (over hero — transparent; sticky white on inner pages) ---- */
  .header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; }
  .header.is-solid { position: sticky; background: #fff; border-bottom: 1px solid var(--line); }
  .header-in { display: flex; align-items: center; gap: 1.2rem; min-height: var(--header-h); }

  .brand { display: inline-flex; align-items: center; gap: .65rem; flex: none; }
  .brand-mark { width: 42px; height: 42px; flex: none; display: block; color: #fff; }
  .brand-mark svg { width: 100%; height: 100%; display: block; }
  .brand-name { font-family: var(--font-head); font-weight: 500; font-size: 1.3rem; letter-spacing: .04em; color: #fff; line-height: 1.05; }
  .brand-name small { display: block; font-family: var(--font-body); font-size: .58rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; opacity: .8; margin-top: 2px; }
  /* solid header → dark brand */
  .header.is-solid .brand-mark { color: var(--green); }
  .header.is-solid .brand-name { color: var(--ink); }
  .header.is-solid .brand-name small { color: var(--ink-3); opacity: 1; }

  .nav { display: flex; align-items: center; gap: 1.7rem; margin-left: auto; }
  .nav a { font-family: var(--font-head); font-weight: 500; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.92); padding: .3rem 0; transition: color .18s ease; position: relative; }
  .nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1.5px; background: currentColor; transition: right .22s ease; }
  .nav a:hover, .nav a.active { color: #fff; }
  .nav a:hover::after, .nav a.active::after { right: 0; }
  .header.is-solid .nav a { color: var(--ink-2); }
  .header.is-solid .nav a:hover, .header.is-solid .nav a.active { color: var(--green); }

  .header-cta { display: flex; align-items: center; gap: 1rem; margin-left: 1.3rem; }
  .hdr-social { display: inline-flex; gap: .55rem; }
  .hdr-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); color: #fff; display: grid; place-items: center; transition: background .18s ease, color .18s ease, border-color .18s ease; }
  .hdr-social a:hover { background: #fff; color: var(--green); border-color: #fff; }
  .hdr-social svg { width: 15px; height: 15px; }
  .header.is-solid .hdr-social a { border-color: var(--line); color: var(--ink-2); }
  .header.is-solid .hdr-social a:hover { background: var(--green); color: #fff; border-color: var(--green); }

  .burger { display: none; width: 46px; height: 46px; border-radius: var(--r); align-items: center; justify-content: center; color: #fff; flex: none; margin-right: -8px; }
  .header.is-solid .burger { color: var(--ink); }
  .burger svg { width: 28px; height: 28px; }
  .burger .ic-close { display: none; }
  body.menu-open .burger .ic-open { display: none; }
  body.menu-open .burger .ic-close { display: block; }

  /* Mobile menu panel */
  .mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: #fff; transform: translateY(-100%); opacity: 0; visibility: hidden; transition: transform .3s ease, opacity .3s ease, visibility .3s; display: flex; flex-direction: column; padding: 1.8rem 0 2.5rem; overflow-y: auto; }
  body.menu-open .mobile-menu { transform: translateY(0); opacity: 1; visibility: visible; }
  .mobile-menu .wrap { display: flex; flex-direction: column; }
  .mobile-menu nav { display: flex; flex-direction: column; }
  .mobile-menu nav a { font-family: var(--font-head); font-size: 1.05rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .mobile-menu nav a.active { color: var(--green); }
  .mobile-menu .mm-foot { margin-top: 1.8rem; display: flex; flex-direction: column; gap: .9rem; }
  .mm-phone { font-family: var(--font-head); font-size: 1.5rem; color: var(--green); font-weight: 500; text-align: center; }
  .mm-social { display: flex; justify-content: center; gap: .8rem; margin-top: 1rem; }
  .mm-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-2); display: grid; place-items: center; }
  .mm-social a:hover { background: var(--green); color: #fff; border-color: var(--green); }
  .mm-social svg { width: 18px; height: 18px; }

  /* ---- Hero (full-bleed photo + deep elegant overlay → strong contrast) ---- */
  .hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; min-height: clamp(560px, 88vh, 820px); display: flex; align-items: center; padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 4rem)); padding-bottom: clamp(3.5rem, 8vw, 6rem); background: var(--green-dark); }
  .hero-bg { position: absolute; inset: 0; z-index: -2; }
  .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
  /* Overlay: warm-to-deep-green wash, darker at left where text sits — keeps it luxe, not muddy */
  .hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
    background:
      linear-gradient(98deg, rgba(20,38,33,.86) 0%, rgba(24,45,39,.66) 42%, rgba(32,60,52,.30) 70%, rgba(40,72,62,.12) 100%),
      linear-gradient(180deg, rgba(18,34,30,.55) 0%, rgba(18,34,30,.10) 30%, rgba(18,34,30,.30) 100%);
  }
  .hero-in { position: relative; z-index: 1; width: min(1180px, 92%); margin-inline: auto; }
  .hero-copy { max-width: 600px; }
  .hero .eyebrow { color: var(--sage); letter-spacing: .28em; }
  .hero h1 { color: #fff; font-weight: 500; font-size: clamp(2.7rem, 6.4vw, 4.6rem); line-height: 1.02; margin-top: 1.1rem; letter-spacing: -.015em; text-shadow: 0 2px 24px rgba(10,22,18,.45); }
  .hero-sub { color: rgba(255,255,255,.94); font-size: clamp(1.02rem, 1.8vw, 1.18rem); line-height: 1.65; margin-top: 1.5rem; max-width: 48ch; text-shadow: 0 1px 12px rgba(10,22,18,.4); }
  .hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
  /* trust row under CTAs */
  .hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.8rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.18); }
  .hero-meta .hm { display: flex; align-items: center; gap: .6rem; color: rgba(255,255,255,.9); font-size: .92rem; }
  .hero-meta .hm svg { width: 18px; height: 18px; color: var(--sage); flex: none; }
  .hero-meta .hm b { font-family: var(--font-head); font-weight: 600; color: #fff; }

  /* ---- Wavy white SVG divider ---- */
  .wave-divider { position: relative; z-index: 2; line-height: 0; margin-top: -1px; background: #fff; }
  .wave-divider svg { display: block; width: 100%; height: clamp(40px, 6vw, 80px); }
  .wave-divider.on-sage { background: var(--sage); }
  .wave-divider.flip svg { transform: rotate(180deg); }

  /* ---- Intro split (heading left + numbered list right) ---- */
  .intro-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
  .intro-left .eyebrow { margin-bottom: .8rem; }
  .intro-left h2 { margin-bottom: 1.2rem; }
  .intro-left p { font-size: 1.02rem; }
  .intro-left p + p { margin-top: 1rem; }
  .num-list { display: flex; flex-direction: column; }
  .num-item { display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
  .num-item:last-child { border-bottom: 1px solid var(--line); }
  .num-item .num { font-family: var(--font-head); font-size: .8rem; font-weight: 600; color: var(--tan); letter-spacing: .1em; padding-top: .25rem; }
  .num-item h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .4rem; }
  .num-item p { font-size: .94rem; }

  /* ---- Booking band (deep green) ---- */
  .booking { background: var(--green); color: #fff; text-align: center; }
  .booking-in { padding: clamp(3rem, 6vw, 4.5rem) 0; }
  .booking .eyebrow { color: rgba(255,255,255,.7); }
  .booking h2 { color: #fff; max-width: 18ch; margin: .9rem auto 1.4rem; font-size: clamp(1.9rem, 4vw, 2.8rem); }
  .booking .book-phone { font-size: 1.05rem; color: rgba(255,255,255,.92); margin-bottom: 1.8rem; }
  .booking .book-phone a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

  /* ---- Serviciile noastre (sage bg, 2x2 cards) ---- */
  .services-sage { background: var(--sage); color: var(--ink); }
  .services-sage .sec-head h2, .services-sage .sec-head p { color: var(--ink); }
  .grid-2x2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
  .svc-card { background: transparent; }
  .svc-card .svc-no { font-family: var(--font-head); font-size: .76rem; font-weight: 600; letter-spacing: .14em; color: var(--green); margin-bottom: .6rem; }
  .svc-card h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 500; text-transform: uppercase; letter-spacing: .03em; margin-bottom: .7rem; }
  .svc-card p { color: #3a4540; font-size: .96rem; margin-bottom: 1rem; }
  .svc-card .svc-price { display: block; font-family: var(--font-head); font-weight: 600; color: var(--green); margin-bottom: 1rem; font-size: 1.02rem; }
  .svc-card .svc-price span { font-weight: 400; color: #3a4540; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }

  /* ---- Service cards with image (homepage strip / servicii) ---- */
  .grid-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
  .scard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
  .scard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
  .scard-media { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft); }
  .scard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
  .scard:hover .scard-media img { transform: scale(1.04); }
  .scard-body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
  .scard h3 { font-size: 1.2rem; font-weight: 500; }
  .scard p { font-size: .93rem; flex: 1; }
  .scard .link-arrow { margin-top: .3rem; }

  /* ---- Testimonial (tan bg) ---- */
  .testi-band { background: var(--tan); color: #fff; }
  .testi-band-in { padding: clamp(3.5rem, 7vw, 6rem) 0; text-align: center; }
  .grid-testi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; max-width: 1000px; margin: 0 auto; }
  .grid-testi.single { grid-template-columns: 1fr; max-width: 720px; }
  .testi { text-align: center; }
  .testi .quote-mark { font-family: var(--font-head); font-size: 3rem; line-height: 1; color: rgba(255,255,255,.45); margin-bottom: .5rem; }
  .testi blockquote { font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.6; color: #fff; font-weight: 400; }
  .testi .who { margin-top: 1.4rem; }
  .testi .who b { display: block; font-family: var(--font-head); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .92rem; }
  .testi .who span { font-size: .85rem; color: rgba(255,255,255,.8); }
  .testi-stars { display: inline-flex; gap: 2px; margin-bottom: 1.2rem; }
  .testi-stars svg { width: 18px; height: 18px; color: #fff; }

  /* ---- Mini gallery teaser ---- */
  .gallery-teaser { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .gt-item { aspect-ratio: 1/1; overflow: hidden; border-radius: var(--r); background: var(--bg-soft); }
  .gt-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
  .gt-item:hover img { transform: scale(1.06); }

  /* ---- Page header (inner pages) ---- */
  .page-head { background: var(--tan); color: #fff; padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 3.5rem)); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
  .page-head .eyebrow { color: rgba(255,255,255,.85); margin-bottom: .6rem; }
  .page-head h1 { color: #fff; }
  .crumb { font-size: .8rem; color: rgba(255,255,255,.8); margin-bottom: .6rem; letter-spacing: .04em; }
  .crumb a { color: rgba(255,255,255,.8); }
  .crumb a:hover { color: #fff; }
  .crumb span { color: #fff; }
  .page-head .lead { margin-top: .9rem; max-width: 60ch; color: rgba(255,255,255,.92); }

  /* ---- Servicii page sections ---- */
  .svc-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
  .svc-section.reverse .svc-section-media { order: 2; }
  .svc-section-media { border-radius: var(--r-lg); overflow: hidden; }
  .svc-section-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
  .svc-section h2 { margin-bottom: .4rem; }
  .svc-section .svc-tag { font-size: 1.02rem; color: var(--ink-2); margin-bottom: 1.4rem; }
  .svc-sub-list { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 1.6rem; }
  .svc-sub-list li { display: flex; gap: .8rem; align-items: flex-start; }
  .svc-sub-list .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-top: .55rem; }
  .svc-sub-list b { display: block; color: var(--ink); font-weight: 600; font-family: var(--font-head); }
  .svc-sub-list span { font-size: .92rem; color: var(--ink-2); }

  /* ---- Prices ---- */
  .price-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.6rem; }
  .price-tab { padding: .7rem 1.4rem; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-head); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); background: #fff; transition: all .15s ease; }
  .price-tab.active { background: var(--green); color: #fff; border-color: var(--green); }
  .price-panel { display: none; }
  .price-panel.active { display: block; }
  .price-table { max-width: 760px; margin: 0 auto; }
  .price-group + .price-group { margin-top: 2.6rem; }
  .price-group h3 { font-size: 1.3rem; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; padding-bottom: .9rem; border-bottom: 2px solid var(--tan); margin-bottom: .4rem; color: var(--green); }
  .price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
  .price-row .pr-name { font-weight: 500; color: var(--ink); }
  .price-row .pr-name small { display: block; font-weight: 400; font-size: .85rem; color: var(--ink-3); margin-top: .15rem; }
  .price-row .pr-dots { flex: 1; border-bottom: 1px dotted var(--line); margin: 0 .3rem .35rem; min-width: 1rem; }
  .price-row .pr-price { font-family: var(--font-head); font-weight: 600; color: var(--green); white-space: nowrap; }
  .price-note { text-align: center; font-size: .88rem; color: var(--ink-3); margin-top: 2rem; max-width: 600px; margin-inline: auto; }
  .price-group-cta { text-align: center; margin-top: 1.6rem; }

  /* ---- Gallery ---- */
  .gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.4rem; }
  .gallery-filter { padding: .6rem 1.3rem; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-head); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); background: #fff; transition: all .15s ease; }
  .gallery-filter.active { background: var(--green); color: #fff; border-color: var(--green); }
  .gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .gphoto { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--r-lg); cursor: pointer; background: var(--bg-soft); }
  .gphoto img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
  .gphoto:hover img { transform: scale(1.05); }
  .gphoto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22,21,19,.4), transparent 50%); opacity: 0; transition: opacity .25s ease; }
  .gphoto:hover::after { opacity: 1; }
  .gphoto .gcap { position: absolute; left: 1rem; bottom: 1rem; z-index: 1; color: #fff; font-family: var(--font-head); font-size: .82rem; font-weight: 500; letter-spacing: .04em; opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; }
  .gphoto:hover .gcap { opacity: 1; transform: translateY(0); }
  .gphoto.is-hidden { display: none; }

  /* Lightbox */
  .lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(22,21,19,.92); display: none; align-items: center; justify-content: center; padding: 1.5rem; }
  .lightbox.open { display: flex; }
  .lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--r); object-fit: contain; }
  .lightbox-close { position: absolute; top: 1.2rem; right: 1.2rem; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
  .lightbox-close:hover { background: rgba(255,255,255,.25); }
  .lightbox-close svg { width: 24px; height: 24px; }

  /* ---- Forms ---- */
  .form { display: flex; flex-direction: column; gap: 1rem; }
  .field { display: flex; flex-direction: column; gap: .4rem; }
  .field label { font-size: .85rem; font-weight: 500; color: var(--ink); }
  .field input, .field select, .field textarea { width: 100%; padding: .8rem .95rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
  .field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
  .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(32,91,79,.14); }
  .field textarea { resize: vertical; min-height: 120px; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--ink-2); }
  .consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); flex: none; cursor: pointer; }
  .consent a { color: var(--green); text-decoration: underline; }

  /* ---- Contact page 2-col ---- */
  .contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 3rem); align-items: start; }
  .form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--sh-1); }
  .info-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2rem); }
  .info-row { display: flex; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .info-row:first-child { padding-top: 0; }
  .info-row:last-child { border-bottom: none; }
  .info-row .ii { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
  .info-row .ii svg { width: 20px; height: 20px; }
  .info-row .il { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
  .info-row .iv { font-weight: 500; color: var(--ink); }
  .info-row .iv a { color: var(--green); font-weight: 600; }
  .info-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.4rem; }

  /* ---- Map (modern framed embed) ---- */
  .mapframe { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-2); width: 100%; }
  .mapframe iframe { width: 100%; height: 400px; border: 0; display: block; }

  /* ---- CTA band (deep green) ---- */
  .cta-band { background: var(--green); color: #fff; }
  .cta-band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
  .cta-band h2 { color: #fff; max-width: 22ch; }
  .cta-band p { color: rgba(255,255,255,.85); margin-top: .5rem; }
  .cta-band-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

  /* ---- Floating WhatsApp ---- */
  .wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(37,211,102,.45); transition: transform .18s ease; }
  .wa-float:hover { transform: scale(1.06); }
  .wa-float svg { width: 30px; height: 30px; }

  /* ---- Footer (light) ---- */
  .footer { background: var(--bg-soft); color: var(--ink-2); padding: clamp(3rem, 5vw, 4rem) 0 1.5rem; border-top: 1px solid var(--line); }
  .footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 2.5rem; }
  .footer-brand { display: inline-flex; align-items: center; gap: .6rem; }
  .footer-brand .brand-mark { width: 38px; height: 38px; color: var(--green); flex: none; }
  .footer-brand .brand-name { font-family: var(--font-head); font-weight: 500; font-size: 1.25rem; letter-spacing: .04em; color: var(--ink); }
  .footer-desc { font-size: .92rem; margin: 1rem 0; max-width: 30ch; color: var(--ink-2); }
  .footer-social { display: inline-flex; gap: .6rem; }
  .footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-2); display: grid; place-items: center; transition: background .18s ease, color .18s ease, border-color .18s ease; }
  .footer-social a:hover { background: var(--green); color: #fff; border-color: var(--green); }
  .footer-social svg { width: 17px; height: 17px; }
  .footer h4 { font-family: var(--font-head); color: var(--ink); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 600; }
  .footer-col a { display: block; font-size: .92rem; margin: .5rem 0; transition: color .18s ease; color: var(--ink-2); }
  .footer-col a:hover { color: var(--green); }
  .footer-nap { font-size: .92rem; line-height: 1.95; }
  .footer-nap a { color: var(--ink-2); }
  .footer-nap a:hover { color: var(--green); }
  .footer-orar { font-size: .92rem; line-height: 1.95; color: var(--ink-2); }
  /* ---- ANPC official banners (real images, white rounded box) ---- */
  .footer-anpc { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
  .anpc-banner { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; box-shadow: var(--sh-1); transition: box-shadow .18s ease, transform .18s ease; }
  .anpc-banner:hover { box-shadow: var(--sh-2); transform: translateY(-1px); }
  .anpc-banner img { height: 38px; width: auto; display: block; }
  .footer-legal { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; font-size: .82rem; }
  .footer-legal-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
  .footer-legal-links a:hover { color: var(--green); }
  .footer-credit a { color: var(--green); font-weight: 600; }
  .footer-credit a:hover { color: var(--green-dark); }
}

@layer utilities {
  .mt-1 { margin-top: 1rem; }
  .mt-2 { margin-top: 2rem; }
  .center { text-align: center; }
  .muted { color: var(--ink-2); }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
  .sec-cta { text-align: center; margin-top: 2.6rem; }

  /* Reveal on scroll — only hidden once JS confirms it can animate.
     Without JS (or before init) content stays fully visible (no FOUC, a11y-safe). */
  .js-anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js-anim .reveal.in { opacity: 1; transform: none; }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid-services { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav, .hdr-social { display: none; }
  .burger { display: flex; }
  .header-cta { margin-left: auto; gap: 0; }
  .intro-split { grid-template-columns: 1fr; gap: 2rem; }
  .svc-section, .svc-section.reverse { grid-template-columns: 1fr; gap: 1.6rem; }
  .svc-section.reverse .svc-section-media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-band-in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  /* On narrow screens, deepen the overlay overall so text stays crisp over any photo */
  .hero { min-height: clamp(520px, 86vh, 680px); }
  .hero::before { background:
      linear-gradient(180deg, rgba(18,34,30,.55) 0%, rgba(20,38,33,.62) 55%, rgba(18,34,30,.82) 100%),
      linear-gradient(98deg, rgba(20,38,33,.55) 0%, rgba(24,45,39,.35) 100%); }
  .hero-meta { gap: .7rem 1.4rem; }
}

@media (max-width: 620px) {
  .grid-2x2 { grid-template-columns: 1fr; gap: 1.8rem; }
  .grid-services { grid-template-columns: 1fr; }
  .grid-testi, .grid-testi.single { grid-template-columns: 1fr; gap: 2.4rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-teaser { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 1.8rem; }
  .field-row { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  /* Equal-height full-width controls (52px) — line-height centers input text */
  .hero-actions .btn, .info-actions .btn, .cta-band-actions .btn, .booking .btn { width: 100%; height: 52px; line-height: 1.1; }
  .info-actions, .cta-band-actions { width: 100%; flex-direction: column; }
  .field input, .field select { height: 52px; line-height: normal; }
  .price-tabs, .gallery-filters { gap: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .scard:hover, .gphoto:hover img, .gt-item:hover img, .scard:hover .scard-media img { transform: none; }
  .reveal { opacity: 1; transform: none; }
}

/* Discreet back-to-agency button (added by RTR) */
.rtr-back{position:fixed;left:16px;bottom:18px;z-index:70;display:inline-flex;align-items:center;gap:.35rem;background:rgba(18,18,18,.72);color:#fff;font-size:12px;font-weight:500;line-height:1;padding:.5rem .8rem;border-radius:999px;box-shadow:0 4px 14px rgba(0,0,0,.22);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);transition:background .18s ease,transform .18s ease;text-decoration:none}
.rtr-back:hover{background:rgba(18,18,18,.92);transform:translateY(-1px)}
@media(max-width:560px){.rtr-back{left:12px;bottom:14px;font-size:11px;padding:.45rem .7rem}}
@media(prefers-reduced-motion:reduce){.rtr-back:hover{transform:none}}

/* fouc-reveal */
body { opacity: 1; }
