/* HomeMaster Pro — hydraulic tile (baldosa hidráulica) identity.
   Type: Sofia Sans Extra Condensed (display) + Sofia Sans (text). OFL. */

/* ------------------------------------------------------------ fonts */
@font-face { font-family: "Sofia Sans Extra Condensed"; font-style: normal; font-display: swap; font-weight: 1 1000;
  src: url("../fonts/sofia-sans-extra-condensed-cyrillic-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Sofia Sans Extra Condensed"; font-style: normal; font-display: swap; font-weight: 1 1000;
  src: url("../fonts/sofia-sans-extra-condensed-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Sofia Sans Extra Condensed"; font-style: normal; font-display: swap; font-weight: 1 1000;
  src: url("../fonts/sofia-sans-extra-condensed-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Sofia Sans Extra Condensed"; font-style: normal; font-display: swap; font-weight: 1 1000;
  src: url("../fonts/sofia-sans-extra-condensed-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: "Sofia Sans"; font-style: normal; font-display: swap; font-weight: 1 1000;
  src: url("../fonts/sofia-sans-cyrillic-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Sofia Sans"; font-style: normal; font-display: swap; font-weight: 1 1000;
  src: url("../fonts/sofia-sans-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Sofia Sans"; font-style: normal; font-display: swap; font-weight: 1 1000;
  src: url("../fonts/sofia-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Sofia Sans"; font-style: normal; font-display: swap; font-weight: 1 1000;
  src: url("../fonts/sofia-sans-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ------------------------------------------------------------ tokens */
:root {
  --ink: #14213D;
  --ink-2: #3D4A6B;
  --cobalt: #1E4FD8;
  --cobalt-deep: #163BA8;
  --saffron: #FFB703;
  --saffron-deep: #F0A500;
  --pimenton: #F2542D;
  --glaze: #EEF3FF;
  --glaze-2: #DCE6FF;
  --grout: #D6DEEC;
  --line: #C3CEE2;
  --white: #FFFFFF;
  --error: #B3261E;
  --success: #17804A;
  --wa: #128C7E;
  --wa-bright: #25D366;

  --font-display: "Sofia Sans Extra Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Sofia Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 120px);
  --header-h: 68px;
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (min-width: 960px) { html { scroll-padding-top: calc(var(--header-h) + 16px); } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 720px) { body { font-size: 1.0625rem; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--cobalt); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--cobalt-deep); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1; letter-spacing: -0.005em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
input, select, textarea, button { font: inherit; color: inherit; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -64px; z-index: 100; padding: 10px 16px; border-radius: 6px; background: var(--ink); color: var(--white); font-weight: 700; }
.skip:focus { top: 12px; color: var(--white); }
.i { width: 1.25em; height: 1.25em; flex: none; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 22px;
  border: 2px solid transparent; border-radius: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; line-height: 1; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.btn-primary { background: var(--saffron); color: var(--ink); }
.btn-primary:hover { background: var(--saffron-deep); color: var(--ink); }
.btn-wa, .btn-secondary { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-wa:hover, .btn-secondary:hover { background: var(--glaze); color: var(--ink); }
.btn .i-wa { color: var(--wa); }
.btn-block { width: 100%; }

/* ------------------------------------------------------------ header */
.site-header { position: relative; z-index: 20; background: var(--white); border-bottom: 1px solid var(--grout); }
@media (min-width: 960px) { .site-header { position: sticky; top: 0; } }
.header-row { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 38px; height: 38px; border-radius: 6px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; }
.brand-line { margin-top: 3px; font-size: 0.8125rem; color: var(--ink-2); white-space: nowrap; }
.brand-name { white-space: nowrap; }
@media (max-width: 439px) {
  .brand-line { display: none; }
  .header-row { gap: 12px; }
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 1.375rem; }
  .header-actions { gap: 6px; }
  .lang a { padding: 7px; }
}
.main-nav { display: none; }
@media (min-width: 1100px) {
  .main-nav { display: flex; gap: 22px; }
  .main-nav a { color: var(--ink); font-weight: 600; font-size: 0.9375rem; text-decoration: none; }
  .main-nav a:hover { color: var(--cobalt); }
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang a { padding: 7px 9px; color: var(--ink-2); font-weight: 700; font-size: 0.8125rem; line-height: 1; text-decoration: none; }
.lang a + a { border-left: 1.5px solid var(--line); }
.lang a:hover { background: var(--glaze); color: var(--ink); }
.lang a[aria-current] { background: var(--ink); color: var(--white); }
.header-call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; color: var(--cobalt); font-weight: 700; text-decoration: none; }
.header-call-number { display: none; }
@media (min-width: 720px) { .header-call-number { display: inline; } }

/* ------------------------------------------------------------ hero */
.hero { padding-block: clamp(20px, 4vw, 64px) var(--section); }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero-copy h1 { font-size: clamp(3rem, 1.6rem + 5.6vw, 6rem); line-height: 0.92; max-width: 11em; }
.hero-lead { max-width: 46ch; margin-top: 20px; color: var(--ink-2); font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.trust li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.9375rem; }
.trust .i { color: var(--cobalt); }
@media (min-width: 600px) { .trust { grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px 26px; } }

.tile-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; order: -1; background: var(--grout); border-radius: 4px; }
.tile-wall .tile { width: 100%; height: auto; aspect-ratio: 1; border-radius: 2px; }
@media (max-width: 599px) {
  .tile-wall { grid-template-columns: repeat(6, 1fr); gap: 3px; padding: 3px; }
  .tile-wall .tile:nth-child(n + 13) { display: none; }
}
@media (min-width: 600px) and (max-width: 959px) { .tile-wall .tile:nth-child(n + 9) { display: none; } }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.12fr 0.88fr; gap: 64px; }
  .tile-wall { order: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .tile-wall .tile { animation: lay 0.5s cubic-bezier(0.2, 0.75, 0.25, 1) both; }
  .tile-wall .tile:nth-child(1) { animation-delay: 0.05s; }
  .tile-wall .tile:nth-child(2) { animation-delay: 0.11s; }
  .tile-wall .tile:nth-child(3) { animation-delay: 0.17s; }
  .tile-wall .tile:nth-child(4) { animation-delay: 0.23s; }
  .tile-wall .tile:nth-child(5) { animation-delay: 0.29s; }
  .tile-wall .tile:nth-child(6) { animation-delay: 0.35s; }
  .tile-wall .tile:nth-child(7) { animation-delay: 0.41s; }
  .tile-wall .tile:nth-child(8) { animation-delay: 0.47s; }
  .tile-wall .tile:nth-child(9) { animation-delay: 0.53s; }
  .tile-wall .tile:nth-child(10) { animation-delay: 0.59s; }
  .tile-wall .tile:nth-child(11) { animation-delay: 0.65s; }
  .tile-wall .tile:nth-child(12) { animation-delay: 0.71s; }
  .tile-wall .tile:nth-child(13) { animation-delay: 0.77s; }
  .tile-wall .tile:nth-child(14) { animation-delay: 0.83s; }
  .tile-wall .tile:nth-child(15) { animation-delay: 0.89s; }
  .tile-wall .tile:nth-child(16) { animation-delay: 1.1s; }
}
@keyframes lay {
  from { opacity: 0; transform: translateY(-20px) rotate(-4deg) scale(1.05); }
  55% { opacity: 1; }
  to { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ sections */
.section { padding-block: var(--section); }
.section h2 { font-size: clamp(2.5rem, 1.7rem + 3vw, 4.25rem); }
.section-head { display: grid; gap: 14px; margin-bottom: 40px; }
.section-head p { max-width: 44ch; color: var(--ink-2); font-size: 1.125rem; }
@media (min-width: 900px) { .section-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; } }

/* ------------------------------------------------------------ services: a tiled wall */
.services { background: var(--glaze); }
.service-grid { display: grid; gap: 4px; margin: 0; padding: 4px; list-style: none; background: var(--grout); border-radius: 4px; }
.service { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 22px; overflow: hidden; background: var(--white); border-radius: 2px; }
.service::after { content: ""; position: absolute; top: 0; right: 0; width: 60px; height: 60px; background: radial-gradient(circle at 100% 0, var(--glaze-2) 0 59px, transparent 60px); pointer-events: none; }
.service-icon { width: 34px; height: 34px; color: var(--cobalt); stroke-width: 1.75; }
.service h3 { margin-top: 6px; font-size: 1.875rem; }
.service p { flex: 1; color: var(--ink-2); }
.service-ask { align-self: flex-start; margin-top: 4px; font-weight: 700; }
@media (max-width: 559px) {
  .service { display: grid; grid-template-columns: 34px 1fr; column-gap: 16px; row-gap: 6px; padding: 20px 18px; }
  .service-icon { grid-row: 1 / span 3; }
  .service h3 { margin-top: 2px; font-size: 1.625rem; }
}
@media (min-width: 560px) and (max-width: 899px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service:last-child { grid-column: 1 / -1; }
}
@media (min-width: 900px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }

.rental { display: grid; gap: 16px 24px; align-items: center; margin-top: 28px; padding: 28px; background: var(--ink); color: var(--white); border-radius: 4px; }
.rental-icon { width: 40px; height: 40px; color: var(--saffron); }
.rental h3 { font-size: 1.875rem; }
.rental p { max-width: 62ch; margin-top: 6px; color: #C9D2EA; }
.rental .btn-secondary { background: transparent; color: var(--white); border-color: var(--white); }
.rental .btn-secondary:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.rental .i-wa { color: var(--wa-bright); }
@media (min-width: 900px) { .rental { grid-template-columns: auto 1fr auto; padding: 28px 36px; } }

/* ------------------------------------------------------------ process: a tape measure */
.process h2 { margin-bottom: 52px; }
.tape { position: relative; display: grid; gap: 30px; margin: 0; padding: 4px 0 0 80px; list-style: none; }
.tape::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 58px; border-radius: 4px;
  background:
    repeating-linear-gradient(180deg, var(--ink) 0 2px, transparent 2px 100px) 0 0 / 22px 100% no-repeat,
    repeating-linear-gradient(180deg, var(--ink) 0 1px, transparent 1px 10px) 0 0 / 11px 100% no-repeat,
    var(--saffron);
}
.tape::after { content: ""; position: absolute; left: 0; top: -12px; width: 58px; height: 14px; background: var(--ink); border-radius: 3px 3px 0 0; }
.tape-step { position: relative; }
.tape-num { position: absolute; left: -80px; top: -4px; width: 58px; padding-left: 14px; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 2.75rem; line-height: 1; color: var(--ink); }
.tape-step h3 { font-size: 1.75rem; }
.tape-step p { max-width: 36ch; margin-top: 8px; color: var(--ink-2); }
@media (min-width: 900px) {
  .tape { grid-template-columns: repeat(4, 1fr); gap: 36px; padding: 96px 0 0; }
  .tape::before {
    right: 0; bottom: auto; width: auto; height: 64px;
    background:
      repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 100px) 0 0 / 100% 22px no-repeat,
      repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 10px) 0 0 / 100% 11px no-repeat,
      var(--saffron);
  }
  .tape::after { left: -14px; top: 0; width: 16px; height: 64px; border-radius: 3px 0 0 3px; }
  .tape-num { left: 0; top: -74px; width: auto; padding-left: 12px; text-align: left; font-size: 2.875rem; }
}

/* ------------------------------------------------------------ before / after */
.process + .work { padding-top: 0; }
.work-grid { display: grid; gap: 32px; }
.work-copy p { margin-top: 14px; color: var(--ink-2); font-size: 1.125rem; }
@media (min-width: 960px) { .work-grid { grid-template-columns: 0.7fr 1.3fr; align-items: center; gap: 56px; } }
.ba { margin: 0; }
.ba-frame { --pos: 50%; position: relative; aspect-ratio: 800 / 520; overflow: hidden; background: var(--grout); border-radius: 4px; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--white); pointer-events: none; }
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px;
  border: 3px solid var(--white); border-radius: 50%;
  background: var(--saffron) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314213D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6-6 6 6 6'/%3E%3Cpath d='m15 6 6 6-6 6'/%3E%3C/svg%3E") center / 24px no-repeat;
}
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.ba-frame:has(.ba-range:focus-visible) { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.ba-tag { position: absolute; top: 14px; padding: 6px 10px; border-radius: 6px; font-weight: 700; font-size: 0.875rem; line-height: 1.2; pointer-events: none; }
.ba-tag-before { left: 14px; background: var(--ink); color: var(--white); }
.ba-tag-after { right: 14px; background: var(--saffron); color: var(--ink); }
.ba figcaption { margin-top: 12px; color: var(--ink-2); font-size: 0.875rem; }

/* ------------------------------------------------------------ faq */
.faq { background: var(--glaze); }
.faq-grid { display: grid; gap: 28px; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.125rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--cobalt); }
.faq-chevron { color: var(--cobalt); transition: transform 0.2s ease; }
.faq-list details[open] .faq-chevron { transform: rotate(180deg); }
.faq-list details p { max-width: 62ch; padding: 0 0 22px; color: var(--ink-2); }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
  .faq h2 { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ------------------------------------------------------------ contact + form */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.35fr 0.65fr; gap: 56px; align-items: start; } }
.contact-lead { margin-top: 14px; color: var(--ink-2); font-size: 1.125rem; }
.lead-form { display: grid; gap: 18px 20px; margin-top: 32px; }
@media (min-width: 640px) { .lead-form { grid-template-columns: 1fr 1fr; } .field-wide { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field > label, .field legend { font-weight: 700; font-size: 0.9375rem; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 2px solid var(--line); border-radius: 8px; background: var(--white);
}
.field textarea { min-height: 124px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E4FD8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 20px no-repeat;
}
.field :is(input, select, textarea):focus-visible { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px var(--glaze-2); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 0.875rem; font-weight: 600; }
.field-error:empty { display: none; }
.field-hint { color: var(--ink-2); font-size: 0.875rem; }
.is-prefilled { animation: prefilled 1.4s ease; }
@keyframes prefilled { 0%, 45% { border-color: var(--saffron); box-shadow: 0 0 0 4px rgba(255, 183, 3, 0.45); } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; }
.chips legend { width: 100%; margin-bottom: 8px; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 2px solid var(--line); border-radius: 999px; font-weight: 600; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }

.check { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--cobalt); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { color: var(--error); font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-info { color: var(--ink-2); }
.form-success { margin-top: 32px; padding: 28px; border: 2px solid var(--success); border-radius: 4px; background: #F1FAF5; }
.form-success:focus { outline: none; }
.success-icon { width: 40px; height: 40px; color: var(--success); }
.form-success h3 { margin-top: 12px; font-size: 2rem; }
.form-success p { margin: 8px 0 20px; }

.contact-card { display: grid; gap: 20px; padding: 28px; background: var(--glaze); border-radius: 4px; }
.contact-card h3 { font-size: 1.875rem; }
.contact-list { display: grid; gap: 14px; margin: 0; }
.contact-list div { display: grid; gap: 2px; }
.contact-list dt { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 0.875rem; font-weight: 600; }
.contact-list dt .i { width: 18px; height: 18px; color: var(--cobalt); }
.contact-list dt .i-wa { color: var(--wa); }
.contact-list dd { margin: 0 0 0 26px; font-weight: 700; font-size: 1.0625rem; }
.contact-list dd a { color: var(--ink); text-decoration: none; }
.contact-list dd a:hover { color: var(--cobalt); text-decoration: underline; }
.contact-qr { display: none; }
@media (min-width: 960px) {
  .contact-qr { display: flex; align-items: center; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
  .contact-qr img { width: 112px; height: 112px; padding: 6px; background: var(--white); border-radius: 4px; }
  .contact-qr p { color: var(--ink-2); font-size: 0.875rem; }
}

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--ink); color: #D5DCEE; }
.cenefa { display: flex; gap: 3px; padding: 3px 0; overflow: hidden; background: #0E1830; }
.cenefa-tile { flex: none; width: 36px; height: 36px; }
.footer-grid { display: grid; gap: 28px; padding-block: 48px 40px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } .footer-copy { grid-column: 1 / -1; } }
.footer-name { color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; line-height: 1; }
.footer-brand p + p { margin-top: 8px; }
.site-footer a { color: var(--white); }
.footer-links { display: grid; gap: 10px; align-content: start; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-copy { padding-top: 20px; border-top: 1px solid #2A3A63; color: #9AA6C4; font-size: 0.875rem; }

/* ------------------------------------------------------------ mobile action bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr 1fr 1.25fr;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--ink);
}
.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 60px; color: var(--white); font-weight: 700; font-size: 0.8125rem; text-decoration: none; }
.mobile-bar .i { width: 22px; height: 22px; }
.mobile-bar .i-wa { color: var(--wa-bright); }
.mobile-bar .mobile-bar-quote { background: var(--saffron); color: var(--ink); }
@media (max-width: 959px) { body:has(.mobile-bar) { padding-bottom: calc(60px + env(safe-area-inset-bottom)); } }
@media (min-width: 960px) { .mobile-bar { display: none; } }

/* ------------------------------------------------------------ legal pages */
.legal { padding-block: 56px 96px; }
.legal-wrap { max-width: 760px; }
.legal h1 { margin-bottom: 24px; font-size: clamp(2.75rem, 2rem + 2.4vw, 4rem); }
.legal h2 { margin: 36px 0 12px; font-size: 1.75rem; }
.legal p, .legal li { max-width: 70ch; color: var(--ink-2); }
.legal ul { display: grid; gap: 6px; padding-left: 1.2em; }

/* ------------------------------------------------------------ 404 */
.nf { display: grid; place-items: center; min-height: 100vh; padding: 48px 0; }
.nf .wrap { display: grid; gap: 28px; max-width: 720px; }
.nf-tiles { display: flex; gap: 4px; }
.nf-tiles .tile { width: 56px; height: 56px; border-radius: 2px; }
.nf-gap { width: 56px; height: 56px; border: 2px dashed var(--line); border-radius: 2px; }
.nf-block h2 { font-size: 2.25rem; }
.nf-block p { margin: 8px 0 16px; color: var(--ink-2); }
.nf-block + .nf-block { padding-top: 24px; border-top: 1px solid var(--grout); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
