
/* Template scaffolding — page layout and web-scale sizing only; every color,
   font, radius and shadow comes from ../../styles.css. The voice is the
   deck's, re-derived for a scrolling page: the grid SHOWS — 2px
   rules draw the structure — red is spent as a mark, and its one field
   moment is the poster close (the deck's divider logic: the red page sets
   nothing small).

   THE RHYTHM: a 28px leading unit (17px Archivo body at ~1.65), 14px
   half-step; line-heights and block margins in unit multiples, heads
   cap-trimmed, ?baselines/B to review. The deck's seat-pinning relaxes to
   per-block discipline on a fluid page. The system's own interface
   components (nav, buttons, inputs) keep their styles.css leading — the
   rhythm governs the page's text, not the controls.

   THE LANDING LAWS (shared by all six systems' landing templates):
   #1 display headers break per sentence (.line spans); #2 the landing
   advertises an invented product played straight — modernist's is Takt,
   timetables that run like Switzerland; #3 spacing is cluster-scoped
   (display leading ratio-governed ≈1.06 for Archivo's tight caps — the
   display-block lattice exemption — tight single-unit gaps inside a text
   cluster, the air between sections); #4 no hero eyebrow — the nav brand
   names the product.

   Optical left alignment: the deck's measured Archivo 800 value carries
   verbatim (-0.058em where caps lead a display line; em-scaled). */
:root {
  --leading: 28px;
  --half: 14px;
  --edge: clamp(20px, 5vw, 72px);
  --measure: 58ch;
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; text-wrap: pretty; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--edge); }
/* the component demo pads the masthead with its own spacing; on the page the
   masthead's contents take the page gutter and sit on the wrap's text axis
   (padding-only — full-width paint such as a masthead rule is untouched) */
.nav { padding-block: 16px; padding-inline: max(var(--edge), calc((100% - 1200px) / 2 + var(--edge))); }
.nav a { white-space: nowrap; }
.nav a[aria-current='location'] { color: var(--color-accent); } /* in-page anchor, not
   a page link — 'location' is the truthful value; carry the component's active ink */
@media (max-width: 480px) { .nav a { display: none; } } /* phone width: the nav
   keeps brand + the one action (layout-only — the component's look is
   untouched); the full link row's min-content crosses narrow-phone widths */

/* — drawn structure: the 2px rule is the section seam (the deck's header
   band as page grammar; rules span the content column, solid — this system
   does not fade its rules) — */
.rule2 { height: 2px; border: 0; margin: 0; background: var(--color-divider); }

/* — kicker (deck grammar: uppercase, tabular, accent; no hanging dash —
   modernist marks are squares, and they belong to lists, not labels) — */
.kicker {
  display: block; font-size: 13px; line-height: var(--half);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-accent-700); /* accent-colored SMALL text takes the deep step —
     6.4:1, where the base accent measures 3.8:1 (a large-text value; the
     deck's kickers are 24px, this one is 13px) */
  font-feature-settings: "tnum" 1;
  margin: 0 0 calc(var(--leading) - var(--half));
}

/* — hero — */
.hero { padding: calc(4 * var(--leading)) 0 calc(3 * var(--leading)); }
.display {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: clamp(42px, 6.2vw, 84px);
  line-height: clamp(44.5px, 6.57vw, 89px); /* law #3: ratio-governed ≈1.06 —
     Archivo's 800 sits tight and all-cap-height; the display-block lattice
     exemption (no 14px step is both tighter than the old look and clear) */
  letter-spacing: -0.02em; margin: 0;
  margin-left: -0.058em; /* optical left alignment — the deck's measured Archivo 800 value */
  text-box: trim-both cap alphabetic;
}
.display .line { display: block; } /* law #1: one sentence per line */
.hero .sub { font-size: 17px; line-height: var(--leading); max-width: var(--measure);
  margin: calc(1.5 * var(--leading) - 1cap) 0 0;
  text-box: trim-both cap alphabetic; } /* 1.5 units: clears the display's descenders with cluster-tight air (law #3) */
.hero .row { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--leading); }

/* — stat row (in-grammar: red stays a MARK on the light ground — the stat
   numerals take the accent at display size, ≥3:1 as large text per the
   system's own accent rule; the red FIELD is reserved for the close) — */
.stats { padding: calc(2.5 * var(--leading)) 0; }
.stats .grid { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: calc(1.5 * var(--leading)) var(--leading); }
.stat-num { font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: clamp(34px, 3.4vw, 48px); line-height: calc(2 * var(--leading));
  color: var(--color-accent); /* display figures stay proportional — the deck's figure policy */
  margin: 0; margin-left: -0.045em; /* digits lead — the deck's "0"-population value */
  text-box: trim-both cap alphabetic; }
.stat-label { font-size: 13px; line-height: var(--half); letter-spacing: 0.08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 70%, transparent); /* small-text ink on the
     light ground: 70% measures 5.8:1 (the deck's 55% furniture mix is a
     24px large-text convention — at 13px the 4.5:1 bar applies, and 55%
     measures only 3.7:1 here) */
  margin: var(--half) 0 0; }

/* — feature rows (the deck's ruled-toc grammar: 2px rules ON the seams,
   red square marks hanging at the numbers — drawn structure, no cards) — */
.features { padding: calc(2 * var(--leading)) 0 calc(1.5 * var(--leading)); }
.feature { display: grid; grid-template-columns: minmax(56px, 90px) minmax(0, 380px) minmax(0, 1fr);
  gap: var(--half) clamp(24px, 4vw, 64px); align-items: baseline;
  padding: var(--leading) 0; }
.feature + .feature { border-top: 2px solid var(--color-divider); } /* the ruled seam — solid, the system's weight */
.f-head { display: flex; flex-direction: column; gap: var(--half); }
.f-ico { width: 38px; height: 38px; color: var(--color-accent); stroke-width: 1.75; }
.f-num { position: relative; font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 15px; line-height: var(--leading); color: var(--color-text);
  font-feature-settings: "tnum" 1; margin: 0; text-box: trim-both cap alphabetic; }
.f-num::before { content: ""; position: absolute; left: -24px; top: calc(0.5cap - 5px);
  width: 10px; height: 10px; background: var(--color-accent); } /* the deck's 10px red square,
     hanging left of the number's axis — at narrow widths the gutter folds it away */
@media (max-width: 1280px) { .f-num::before { display: none; } }
.f-title { font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 24px; line-height: var(--leading); letter-spacing: -0.01em;
  margin: 0; text-box: trim-both cap alphabetic; }
.f-copy { font-size: 15.5px; line-height: var(--leading); margin: 0;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
  max-width: 52ch; text-box: trim-both cap alphabetic; }

/* — imagery split (grayscale photograph — the system prints in black and
   white; the box pins the bundled asset's 951×665 ratio so swaps
   cover-crop into the same frame) — */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--leading) clamp(24px, 5vw, 96px); align-items: center;
  padding: calc(2 * var(--leading)) 0 calc(3 * var(--leading)); }
.split-title { font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 32px; line-height: calc(1.5 * var(--leading)); letter-spacing: -0.015em;
  margin: 0; text-box: trim-both cap alphabetic; }
.split-copy .note { font-size: 15.5px; line-height: var(--leading);
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
  margin: calc(var(--leading) - 1cap) 0 0; max-width: 48ch; text-box: trim-both cap alphabetic; }
.split-figure { margin: 0; }
.split-figure image-slot { width: 100%; aspect-ratio: 951 / 665; }

/* — process steps (ruled cells, big accent numerals) — */
.steps-sec { padding: calc(3 * var(--leading)) 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(1.5 * var(--leading)) clamp(24px, 4vw, 72px); }
.step { border-top: 2px solid var(--color-divider); padding-top: var(--leading); }
.step-num { font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 34px; line-height: var(--leading); color: var(--color-accent);
  font-feature-settings: "tnum" 1; margin: 0; }
.step-title { font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 20px; line-height: var(--leading); letter-spacing: -0.01em; margin: var(--half) 0 0; }
.step-copy { font-size: 15px; line-height: var(--leading); margin: var(--half) 0 0;
  color: color-mix(in srgb, var(--color-text) 78%, transparent); }

/* — team (ruled cells, grayscale portraits) — */
.team-sec { padding: calc(3 * var(--leading)) 0; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: calc(1.5 * var(--leading)) clamp(24px, 4vw, 72px); margin-top: var(--leading); }
.member { border-top: 2px solid var(--color-divider); padding-top: var(--leading);
  display: grid; grid-template-columns: 132px 1fr; gap: var(--leading); align-items: start; }
.member figure { margin: 0; }
.member image-slot { width: 100%; aspect-ratio: 1; }
.m-role { font-size: 12px; line-height: var(--half); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-accent-700); margin: 0 0 var(--half); }
.m-name { font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 20px; line-height: var(--leading); letter-spacing: -0.01em; margin: 0; }
.m-bio { font-size: 14.5px; line-height: calc(var(--leading) - 6px); margin: var(--half) 0 0;
  color: color-mix(in srgb, var(--color-text) 78%, transparent); }

/* — contact (details + form on the left, grayscale map on the right) — */
.contact { padding: calc(3 * var(--leading)) 0; display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: calc(1.5 * var(--leading)) clamp(24px, 5vw, 96px); }
.c-row { border-top: 2px solid var(--color-divider); padding: var(--half) 0; display: grid; grid-template-columns: 110px 1fr; gap: var(--half); }
.c-label { font-size: 12px; line-height: var(--leading); letter-spacing: 0.08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 70%, transparent); margin: 0; }
.c-val { font-size: 15.5px; line-height: var(--leading); margin: 0; }
.c-val a { color: var(--color-text); text-decoration-color: var(--color-accent); }
.c-val a:hover { color: var(--color-accent-700); }
.c-form { margin-top: calc(1.5 * var(--leading)); display: grid; gap: var(--leading); }
.c-form textarea.input { resize: vertical; min-height: calc(3 * var(--leading)); }
.map-figure { margin: 0; }
.map-figure iframe { display: block; width: 100%; aspect-ratio: 4 / 3.4; border: 0; }

/* — FAQ (ruled seams, native details/summary) — */
.faq { padding: calc(3 * var(--leading)) 0 calc(3.5 * var(--leading)); }
.faq details { border-top: 2px solid var(--color-divider); }
.faq details:last-of-type { border-bottom: 2px solid var(--color-divider); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; justify-content: space-between; gap: var(--leading);
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 20px; line-height: var(--leading); letter-spacing: -0.01em;
  padding: var(--leading) 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--color-accent); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--color-accent-700); }
.faq .a { font-size: 15.5px; line-height: var(--leading); margin: 0 0 var(--leading);
  color: color-mix(in srgb, var(--color-text) 78%, transparent); max-width: var(--measure); }

/* — quote (hanging punctuation, the deck's measured Archivo advances) — */
.quote { padding: calc(2.5 * var(--leading)) 0 calc(3.5 * var(--leading)); }
.quote blockquote {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: clamp(24px, 2.6vw, 34px); line-height: calc(1.5 * var(--leading));
  letter-spacing: -0.015em; max-width: 32ch; margin: 0;
  text-indent: -0.496em; /* hang the opening “ (the deck's measured advance in the 800) */
  text-box: trim-both cap alphabetic;
}
.quote figcaption { font-size: 15.5px; line-height: var(--leading);
  color: color-mix(in srgb, var(--color-text) 70%, transparent); /* 5.8:1 — see .stat-label */
  margin: calc(2 * var(--leading) - 1cap) 0 0; /* two grid units below the quote's
     last baseline — one reads as part of the quote block; the attribution needs air */
  text-indent: -1.209em; /* hang the leading em-dash + space (measured in the Regular) */
  text-box: trim-both cap alphabetic; }

@media (max-width: 720px) {
  /* the phone gutter (--edge bottoms out at 20px) is narrower than the hung
     marks' measured advances, so a hung “ or em-dash would press into or past
     the viewport edge — seat the quote flush below this width; the hang
     returns with the wider gutter */
  .quote blockquote, .quote figcaption { text-indent: 0; }
}

/* — the red poster close (the deck's divider logic: the accent's one field
   moment, type reversed to the paper token). COPY on the red is
   display-grade only — paper display type measures 3.8:1, the deck
   dividers' own derivation. The one small element is the ghost button, a
   CONTROL: paper-on-red measures the same 3.8:1, which meets the system's
   documented interface-chrome bar (the readme tunes the accent pair to at
   least 3:1 — "enough for icons, large text and interface chrome, not for
   body copy") — the same bar the system's own accent-filled primary button
   label rides everywhere. */
.close { position: relative; background: var(--color-accent); color: var(--color-bg); }
.close::before { content: ""; position: absolute; inset: 0;
  background: url("../uploads/slide1.jpg") center/cover no-repeat; mix-blend-mode: multiply; opacity: .55; }
.close .wrap { position: relative; }
.close .wrap { padding-top: calc(3 * var(--leading)); padding-bottom: calc(3 * var(--leading)); }
.close h3 { font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: clamp(34px, 4.2vw, 56px); line-height: clamp(36px, 4.45vw, 59.4px); /* ≈1.06 —
     display-grade, so it carries the display-block lattice exemption (the
     rhythm probe excludes .display and .close h3 alike) */
  letter-spacing: -0.015em; margin: 0; margin-left: -0.058em;
  text-box: trim-both cap alphabetic; }
.close h3 .line { display: block; }
.close .row { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: calc(1.5 * var(--leading)); }
.close .btn-ghost { color: var(--color-bg); border-color: var(--color-bg); } /* paper outline on the red field */
footer { padding: calc(2 * var(--leading)) 0; font-size: 13px; line-height: var(--leading);
  color: color-mix(in srgb, var(--color-text) 70%, transparent); /* 5.8:1 — see .stat-label */ }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: var(--leading) clamp(24px, 4vw, 72px); padding-bottom: calc(1.5 * var(--leading)); }
.footer-grid h4 { font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text);
  margin: 0 0 var(--half); }
.footer-grid p, .footer-grid li { margin: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-grid a { color: inherit; text-decoration-color: var(--color-accent); }
.footer-grid a:hover { color: var(--color-accent-700); }
.footer-brand { font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 16px; color: var(--color-text); margin: 0 0 var(--half); }
.footer-note { border-top: 2px solid var(--color-divider); padding-top: var(--leading); margin: 0; }

/* — responsive collapse — */
/* the feature grid's fixed-max columns (160 + 420 + gaps) crush the copy
   column in the tablet band, so it collapses earlier than the page */
@media (max-width: 880px) {
  .feature { grid-template-columns: 1fr; gap: var(--half); }
  .f-copy { max-width: var(--measure); }
  .steps { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero { padding-top: calc(2.5 * var(--leading)); }
  .stats .grid { grid-template-columns: repeat(2, 1fr); justify-content: start; }
  .split { grid-template-columns: 1fr; }
  .split-figure { order: -1; }
}

/* — brand adaptation — eubecentini.com palette: bordó accent, navy ink bands — */
:root {
  --color-accent: #93302d;
  --color-accent-400: #b6524c;
  --color-accent-600: #7e2825;
  --color-accent-700: #691f1d;
  --brand-ink: #262838;
  --paper: #f3f2f2;
  --accent-on-dark: #d98a84;
}
.nav { background: var(--brand-ink); }
.nav .nav-brand { color: var(--paper); }
.nav a { color: color-mix(in srgb, var(--paper) 80%, transparent); }
.nav a:hover { color: var(--paper); }
.nav a[aria-current='location'] { color: var(--accent-on-dark); }

.hero-band { position: relative; background: #3c100e; color: var(--paper); overflow: hidden; }
.hero-band .bg { position: absolute; inset: 0; margin: 0; }
.hero-band .bg image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-band .bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(40,10,8,.93), rgba(40,10,8,.42)); }
.hero-band .wrap { position: relative; }
.hero-band .sub { color: color-mix(in srgb, var(--paper) 85%, transparent); }
.hero-band .btn-ghost { color: var(--paper); border-color: var(--paper); }

.split-band { background: var(--brand-ink); color: var(--paper); }
.split-band .kicker { color: var(--accent-on-dark); }
.split-band .note { color: color-mix(in srgb, var(--paper) 80%, transparent); }

.footer-band { background: var(--brand-ink); }
.footer-band footer { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.footer-band .footer-grid h4, .footer-band .footer-brand { color: var(--paper); }
.footer-band .footer-note { border-top-color: color-mix(in srgb, var(--paper) 25%, transparent); }
.footer-band a { text-decoration-color: var(--accent-on-dark); }
.footer-band a:hover { color: var(--paper); }

/* — buttons: brand restyle — rounded, centered, weighted; WhatsApp in green — */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 8px; border: 0; cursor: pointer;
  font-family: var(--font-heading); font-weight: 700; font-size: 15px; letter-spacing: .01em;
  text-decoration: none; line-height: 1.2; text-align: center;
  transition: background-color .15s ease, transform .1s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--color-accent); color: #fff; box-shadow: 0 4px 14px rgba(147,48,45,.30); }
.btn-primary:hover { background: var(--color-accent-600); color: #fff; }
.btn-ghost { background: transparent; border: 2px solid currentColor; }
.btn-wa { background: #1da851; color: #fff; box-shadow: 0 4px 14px rgba(29,168,81,.30); }
.btn-wa:hover { background: #188f44; color: #fff; }
.btn .wa-ic { width: 18px; height: 18px; flex: none; }
.nav .btn { padding: 11px 18px; font-size: 14px; }
.nav-brand img { height: 46px; display: block; }

/* — SEO prose under the services — */
.seo-note { border-top: 2px solid var(--color-divider); padding-top: var(--leading); margin-top: var(--leading); }
.seo-note p { font-size: 14.5px; line-height: 22px; max-width: 78ch; margin: 0 0 var(--half);
  color: color-mix(in srgb, var(--color-text) 68%, transparent); }

/* — Google reviews slider — */
.reviews { padding: calc(2.5 * var(--leading)) 0; }
.rev-track { display: flex; gap: var(--leading); overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; margin-top: var(--leading); }
.rev-track::-webkit-scrollbar { display: none; }
.rev-card { flex: 0 0 min(340px, 85%); scroll-snap-align: start; background: #fff;
  border: 1px solid var(--color-neutral-300); border-radius: 10px; padding: var(--leading);
  box-shadow: 0 2px 10px rgba(32,30,29,.06); }
.rev-stars { color: #fbbc04; font-size: 16px; letter-spacing: 2px; margin: 0 0 var(--half); }
.rev-text { font-size: 14.5px; line-height: 22px; margin: 0; color: color-mix(in srgb, var(--color-text) 85%, transparent); }
.rev-name { font-family: var(--font-heading); font-weight: 700; font-size: 14px; margin: var(--half) 0 0; }
.rev-src { font-size: 12px; color: color-mix(in srgb, var(--color-text) 60%, transparent); margin: 2px 0 0; }
.rev-nav { display: flex; gap: 8px; margin-top: var(--leading); }
.rev-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--color-neutral-400);
  background: #fff; cursor: pointer; font-size: 17px; line-height: 1; display: inline-flex;
  align-items: center; justify-content: center; color: var(--color-text); }
.rev-btn:hover { background: var(--color-neutral-200); }

/* — form restyle — */
.c-form .field label { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 70%, transparent); margin: 0 0 6px; }
.c-form .input { width: 100%; box-sizing: border-box; padding: 12px 14px; font: inherit; font-size: 15px;
  color: var(--color-text); background: #fff; border: 1.5px solid var(--color-neutral-400); border-radius: 8px; }
.c-form .input:focus { outline: none; border-color: var(--color-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 15%, transparent); }

/* — floating WhatsApp — */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 999; width: 58px; height: 58px;
  border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center;
  justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.28); transition: background .15s, transform .15s; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { background: #1da851; transform: scale(1.06); color: #fff; }

/* Review aid: the 28px rhythm drawn as hairlines — debug chrome, toggled by
   ?baselines or the B key, never part of the look. */
body[data-baselines] { position: relative; }
body[data-baselines]::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(to bottom,
      color-mix(in srgb, var(--color-accent) 35%, transparent) 0 1px,
      transparent 1px var(--leading)),
    repeating-linear-gradient(to bottom,
      transparent 0 var(--half),
      color-mix(in srgb, var(--color-accent) 16%, transparent) var(--half) calc(var(--half) + 1px),
      transparent calc(var(--half) + 1px) var(--leading));
}
