/* ==========================================================================
   Pamen Laundry: site styles (Felix, 2026-11-16)
   Tokens come from tokens.css, a verbatim copy of 02 Brand/web-tokens.css
   (copied by tools/build_site.py; edit the brand file, never the copy).
   Rules: semantic tokens only, no raw hex, no hardcoded font sizes.
   The only literal lengths here are 1px hairlines and 2px borders (both
   specified in Brand Guide section 2) and media-query breakpoints
   (custom properties can't be used in media queries).
   Breakpoints: 40rem (640px) tablet, 64rem (1024px) desktop.
   ========================================================================== */

/* ---------- Fonts (self-hosted, Latin + Latin Extended) ---------- */
@font-face {
  font-family: "Fredoka";
  src: url("/assets/fonts/fredoka-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  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: "Fredoka";
  src: url("/assets/fonts/fredoka-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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: "Inter";
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* WCAG 2.4.11: keep focused elements clear of the fixed mobile action bar */
  scroll-padding-top: var(--pl-space-4);
  /* bar height (the ES bar wraps to ~94px at 320px) + room for the focus ring and its offset */
  scroll-padding-bottom: calc(var(--pl-space-24) + var(--pl-space-4));
}

body {
  margin: 0;
  font-family: var(--pl-font-body);
  font-size: var(--pl-text-base);
  font-weight: var(--pl-weight-regular);
  line-height: var(--pl-leading-body);
  color: var(--pl-text);
  background: var(--pl-bg);
  /* room for the fixed mobile action bar (same value as scroll-padding-bottom above) */
  padding-bottom: calc(var(--pl-space-24) + var(--pl-space-4));
}

img, picture { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--pl-font-heading);
  color: var(--pl-heading);
  line-height: var(--pl-leading-tight);
  margin: 0 0 var(--pl-space-4);
  text-wrap: balance;
}
h1 { font-size: var(--pl-text-3xl); font-weight: var(--pl-weight-bold); }
h2 { font-size: var(--pl-text-xl); font-weight: var(--pl-weight-bold); }
h3 { font-size: var(--pl-text-lg); font-weight: var(--pl-weight-semibold); }

p { margin: 0 0 var(--pl-space-4); max-width: var(--pl-measure); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--pl-link);
  text-decoration-thickness: from-font;
  text-underline-offset: 0.15em;
  transition: color var(--pl-duration) var(--pl-ease);
}
a:hover { color: var(--pl-link-hover); }

:focus-visible {
  outline: var(--pl-focus-width) solid var(--pl-focus-ring);
  outline-offset: var(--pl-focus-offset);
}
.on-dark :focus-visible { outline-color: var(--pl-focus-ring-inverse); }

strong { font-weight: var(--pl-weight-bold); }

address { font-style: normal; }

/* keeps phone numbers on one line (QA Minor 3); units/AM-PM use &nbsp; in the generated HTML */
.nowrap { white-space: nowrap; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: var(--pl-space-4);
  top: var(--pl-space-2);
  z-index: 100;
  padding: var(--pl-space-2) var(--pl-space-4);
  background: var(--pl-bg);
  color: var(--pl-link);
  font-weight: var(--pl-weight-semibold);
  border-radius: var(--pl-radius-sm);
  box-shadow: var(--pl-shadow-md);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

.container {
  width: 100%;
  max-width: var(--pl-container);
  margin-inline: auto;
  padding-inline: var(--pl-gutter);
}

.muted { color: var(--pl-text-muted); }
.fine-print { font-size: var(--pl-text-sm); color: var(--pl-text-muted); }

/* ---------- Buttons (pill; Brand Guide section 2) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--pl-space-2);
  min-height: var(--pl-space-12); /* 48px target, well above WCAG 2.5.8 */
  padding: var(--pl-space-2) var(--pl-space-6);
  border: 2px solid transparent;
  border-radius: var(--pl-radius-pill);
  font-family: var(--pl-font-body);
  font-size: var(--pl-text-base);
  font-weight: var(--pl-weight-semibold);
  line-height: var(--pl-leading-tight);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--pl-duration) var(--pl-ease), color var(--pl-duration) var(--pl-ease);
}
.btn--primary { background: var(--pl-btn-primary-bg); color: var(--pl-btn-primary-text); }
.btn--primary:hover { background: var(--pl-btn-primary-bg-hover); color: var(--pl-btn-primary-text); }
.btn--secondary {
  background: var(--pl-btn-secondary-bg);
  color: var(--pl-btn-secondary-text);
  border-color: var(--pl-btn-secondary-border);
}
.btn--secondary:hover { background: var(--pl-btn-secondary-bg-hover); color: var(--pl-btn-secondary-text); }
/* Accent: Call / WhatsApp only, max ONE visible per view */
.btn--accent {
  background: var(--pl-btn-accent-bg);
  color: var(--pl-btn-accent-text);
  border-color: var(--pl-btn-accent-border);
}
.btn--accent:hover { background: var(--pl-btn-accent-bg-hover); color: var(--pl-btn-accent-text); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--pl-space-3); }

/* ---------- Badge and chips ---------- */
/* "Se habla español": live text, not the SVG (Larry's QA note, 2026-11-16) */
.badge-es {
  display: inline-flex;
  align-items: center;
  gap: var(--pl-space-2);
  margin: 0;
  padding: var(--pl-space-1) var(--pl-space-4);
  background: var(--pl-badge-bg);
  color: var(--pl-badge-text);
  border: 2px solid var(--pl-badge-border);
  border-radius: var(--pl-radius-pill);
  font-family: var(--pl-font-heading);
  font-size: var(--pl-text-base);
  font-weight: var(--pl-weight-semibold);
  line-height: var(--pl-leading-body);
  white-space: nowrap;
}

.chip-list { display: flex; flex-wrap: wrap; gap: var(--pl-space-2); margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--pl-space-2);
  padding: var(--pl-space-1) var(--pl-space-4);
  background: var(--pl-bg);
  color: var(--pl-text);
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius-pill);
  font-size: var(--pl-text-sm);
}
.chip--soon {
  background: var(--pl-badge-bg);
  color: var(--pl-badge-text);
  border: 2px solid var(--pl-badge-border);
  font-weight: var(--pl-weight-semibold);
}

/* ---------- Header ---------- */
.site-header { background: var(--pl-bg); border-bottom: 1px solid var(--pl-line); }

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--pl-space-3);
  padding-block: var(--pl-space-3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--pl-space-2);
  color: var(--pl-heading);
  font-family: var(--pl-font-heading);
  font-size: var(--pl-text-lg);
  font-weight: var(--pl-weight-bold);
  line-height: var(--pl-leading-tight);
  text-decoration: none;
}
.brand:hover { color: var(--pl-heading); }
.brand-icon { width: var(--pl-space-12); height: var(--pl-space-12); }
.brand-lockup { display: none; height: var(--pl-logo-header-h); width: auto; }

.header-tools { display: flex; align-items: center; gap: var(--pl-space-3); }
.header-tools .badge-es,
.header-call { display: none; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: var(--pl-space-1);
  padding: var(--pl-space-2) var(--pl-space-4);
  border: 2px solid var(--pl-btn-secondary-border);
  border-radius: var(--pl-radius-pill);
  background: var(--pl-btn-secondary-bg);
  color: var(--pl-btn-secondary-text);
  font-size: var(--pl-text-sm);
  font-weight: var(--pl-weight-semibold);
  line-height: var(--pl-leading-body);
  text-decoration: none;
  white-space: nowrap;
}
.lang-switch:hover { background: var(--pl-btn-secondary-bg-hover); color: var(--pl-btn-secondary-text); }

/* Main nav: a horizontally scrollable strip on mobile (no JS needed), wraps on desktop */
.site-nav ul {
  display: flex;
  gap: var(--pl-space-1);
  margin: 0;
  padding: var(--pl-space-2) var(--pl-space-2) var(--pl-space-3);
  margin-inline: calc(var(--pl-space-2) * -1);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
  /* fade on the right edge hints that the strip scrolls (decorative alpha mask, not a color) */
  -webkit-mask-image: linear-gradient(to right, black calc(100% - var(--pl-space-12)), transparent);
  mask-image: linear-gradient(to right, black calc(100% - var(--pl-space-12)), transparent);
  padding-right: var(--pl-space-12);
  /* WCAG 2.4.11: a link scrolled into view lands clear of the fade zone */
  scroll-padding-inline: var(--pl-space-12);
}
/* WCAG 2.4.11 / 2.4.7: while a nav link has focus, drop the fade so the focused link and ring are fully opaque.
   site.js also scrolls the focused link into view (progressive enhancement). */
.site-nav ul:focus-within { -webkit-mask-image: none; mask-image: none; }
.site-nav a {
  display: block;
  padding: var(--pl-space-2) var(--pl-space-3);
  border-radius: var(--pl-radius-pill);
  color: var(--pl-text);
  font-size: var(--pl-text-sm);
  font-weight: var(--pl-weight-semibold);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { background: var(--pl-bg-soft); color: var(--pl-heading); }
/* Current page: underline + color, so it is not signalled by color alone */
.site-nav a[aria-current="page"] {
  background: var(--pl-bg-soft);
  color: var(--pl-heading);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

@media (max-width: 23.99rem) {
  .brand { font-size: var(--pl-text-base); }
  .brand-icon { width: var(--pl-space-8); height: var(--pl-space-8); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--pl-space-16); }
.section--soft { background: var(--pl-bg-soft); }
.section--tight { padding-block: var(--pl-space-8); }
.section--strong { background: var(--pl-bg-strong); color: var(--pl-text-inverse); }
.section--inverse { background: var(--pl-bg-inverse); color: var(--pl-text-inverse); }
.section--strong h2, .section--strong h3,
.section--inverse h2, .section--inverse h3 { color: var(--pl-heading-inverse); }
.section--strong a:not(.btn) { color: var(--pl-text-inverse); }
.section--inverse a:not(.btn) { color: var(--pl-link-inverse); }

.section-head { margin-bottom: var(--pl-space-8); }
.section-head p { color: var(--pl-text-muted); font-size: var(--pl-text-lg); }
.section--strong .section-head p,
.section--inverse .section-head p { color: var(--pl-text-inverse); }

.lead { font-size: var(--pl-text-lg); }

/* ---------- Home hero ---------- */
.hero {
  background: var(--pl-bg-strong);
  color: var(--pl-text-inverse);
  padding-block: var(--pl-space-12);
}
.hero h1 { color: var(--pl-heading-inverse); }
.hero-grid { display: grid; gap: var(--pl-space-8); align-items: center; }
.hero-copy > * + * { margin-top: var(--pl-space-4); }
.hero-copy h1 { margin-bottom: 0; }
.hero-tagline {
  font-family: var(--pl-font-heading);
  font-size: var(--pl-text-xl);
  font-weight: var(--pl-weight-semibold);
  line-height: var(--pl-leading-tight);
}
.hero-lead { font-size: var(--pl-text-lg); }
.hero-actions { padding-top: var(--pl-space-2); }
.hero-actions--lg { display: none; }
.hero-media picture,
.hero-media img { border-radius: var(--pl-radius-lg); }
.hero-media img { box-shadow: var(--pl-shadow-pop); width: 100%; } /* the ONE pop shadow on the home page */

/* ---------- Sub-page hero ---------- */
.page-hero { background: var(--pl-bg-soft); padding-block: var(--pl-space-12); }
.page-hero h1 { margin-bottom: var(--pl-space-3); }
.page-hero .tagline {
  font-family: var(--pl-font-heading);
  font-size: var(--pl-text-lg);
  font-weight: var(--pl-weight-semibold);
  color: var(--pl-heading);
}

/* ---------- Trust strip ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
  gap: var(--pl-space-4) var(--pl-space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}
.trust li {
  display: flex;
  align-items: center;
  gap: var(--pl-space-3);
  font-weight: var(--pl-weight-semibold);
  line-height: var(--pl-leading-tight);
}
.trust a { font-weight: var(--pl-weight-semibold); }
.icon-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: var(--pl-space-12);
  height: var(--pl-space-12);
  border-radius: var(--pl-radius-pill);
  background: var(--pl-bg);
  color: var(--pl-heading);
  box-shadow: var(--pl-shadow-sm);
}

/* ---------- Cards ---------- */
.cards { display: grid; gap: var(--pl-space-6); grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); }
.card {
  display: flex;
  flex-direction: column;
  gap: var(--pl-space-3);
  padding: var(--pl-space-6);
  background: var(--pl-bg);
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius-md);
  box-shadow: var(--pl-shadow-sm);
}
.card h3 { margin: 0; }
.card p { margin: 0; }
.card .card-link { margin-top: auto; padding-top: var(--pl-space-2); font-weight: var(--pl-weight-semibold); }
.card--soon { background: var(--pl-bg-soft); box-shadow: none; }
.card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--pl-space-2); }
.card-price {
  font-family: var(--pl-font-heading);
  font-size: var(--pl-text-lg);
  font-weight: var(--pl-weight-bold);
  color: var(--pl-heading);
}

/* Machine cards (photo + spec) */
.machines { display: grid; gap: var(--pl-space-6); grid-template-columns: repeat(auto-fill, minmax(min(14rem, 100%), 1fr)); margin: 0; padding: 0; list-style: none; }
.machine {
  display: flex;
  flex-direction: column;
  background: var(--pl-bg);
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius-md);
  overflow: hidden;
  box-shadow: var(--pl-shadow-sm);
}
.machine img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.machine-body { padding: var(--pl-space-4) var(--pl-space-6) var(--pl-space-6); }
.machine-body h3 { margin-bottom: var(--pl-space-1); }
.machine-body p { margin: 0; }

/* ---------- Price tables ---------- */
.price-grid { display: grid; gap: var(--pl-space-8); grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); align-items: start; }
.table-card {
  background: var(--pl-bg);
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius-md);
  overflow: hidden;
}
.price-table { width: 100%; border-collapse: collapse; }
.price-table caption {
  padding: var(--pl-space-4) var(--pl-space-4) var(--pl-space-2);
  text-align: left;
  font-family: var(--pl-font-heading);
  font-size: var(--pl-text-lg);
  font-weight: var(--pl-weight-semibold);
  color: var(--pl-heading);
}
.price-table th, .price-table td {
  padding: var(--pl-space-3) var(--pl-space-4);
  border-top: 1px solid var(--pl-line);
  text-align: left;
  vertical-align: top;
}
.price-table thead th {
  font-size: var(--pl-text-sm);
  font-weight: var(--pl-weight-semibold);
  color: var(--pl-text-muted);
  background: var(--pl-bg-soft);
}
.price-table tbody th { font-weight: var(--pl-weight-regular); width: 50%; }
.price-grid + p { margin-top: var(--pl-space-8); }
.price-table .price { text-align: right; font-weight: var(--pl-weight-bold); white-space: nowrap; }
.price-table .price small {
  display: block;
  font-size: var(--pl-text-sm);
  font-weight: var(--pl-weight-regular);
  color: var(--pl-text-muted);
  white-space: normal;
}

.table-note { margin: 0; padding: var(--pl-space-3) var(--pl-space-4) var(--pl-space-4); border-top: 1px solid var(--pl-line); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: var(--pl-space-6); grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: auto 1fr; gap: var(--pl-space-1) var(--pl-space-4); align-items: start; align-content: start; /* QA R3: heading and text stay together */ }
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--pl-space-12);
  height: var(--pl-space-12);
  border-radius: var(--pl-radius-pill);
  background: var(--pl-btn-primary-bg);
  color: var(--pl-btn-primary-text);
  font-family: var(--pl-font-heading);
  font-size: var(--pl-text-lg);
  font-weight: var(--pl-weight-bold);
}
.steps h3 {
  margin: 0;
  /* QA Minor 4: top-align every heading and centre its FIRST line on the 48px number,
     so a heading that wraps to two lines lines up with its one-line neighbours */
  align-self: start;
  padding-top: max(0px, calc((var(--pl-space-12) - 1lh) / 2));
}
.steps p { margin: 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: var(--pl-space-4); grid-template-columns: repeat(2, 1fr); margin: 0 0 var(--pl-space-8); padding: 0; list-style: none; }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--pl-radius-md); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.gallery figcaption { margin-top: var(--pl-space-2); font-size: var(--pl-text-sm); color: var(--pl-text-muted); }

/* ---------- Split layout (text + photo) ---------- */
.split { display: grid; gap: var(--pl-space-8); align-items: center; }
.split img { border-radius: var(--pl-radius-md); width: 100%; }
.split--top { align-items: start; }

/* ---------- Info list (address / hours) ---------- */
.info { display: grid; gap: var(--pl-space-4); margin: 0 0 var(--pl-space-6); }
.info div { display: grid; gap: var(--pl-space-1); align-content: start; } /* QA Minor 4 */
.info dt { font-size: var(--pl-text-sm); font-weight: var(--pl-weight-semibold); color: var(--pl-text-muted); }
.info dd { margin: 0; overflow-wrap: anywhere; } /* long email address never overflows a narrow column */
.info-card {
  padding: var(--pl-space-6);
  background: var(--pl-bg);
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius-md);
  box-shadow: var(--pl-shadow-md);
}
.info-card h2 { margin-bottom: var(--pl-space-6); }

/* Open / closed status (filled by site.js; hidden without JS) */
.open-status {
  display: inline-flex;
  align-items: center;
  gap: var(--pl-space-2);
  font-weight: var(--pl-weight-semibold);
}
.open-status[hidden] { display: none; }
.open-status::before {
  content: "";
  width: var(--pl-space-3);
  height: var(--pl-space-3);
  border-radius: var(--pl-radius-pill);
  border: 2px solid currentColor;
}
.open-status.is-open { color: var(--pl-success); }
.open-status.is-open::before { background: currentColor; }
.open-status.is-closed { color: var(--pl-text-muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--pl-space-4); max-width: var(--pl-measure); margin: 0; padding: 0; list-style: none; }
.faq-item {
  padding: var(--pl-space-6);
  background: var(--pl-bg);
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius-md);
}
.faq-item h2, .faq-item h3 { font-size: var(--pl-text-lg); font-weight: var(--pl-weight-semibold); margin-bottom: var(--pl-space-2); }

/* ---------- Prose (story page) ---------- */
.prose { max-width: var(--pl-measure); }
.prose h2 { margin-top: var(--pl-space-12); }
.prose h2:first-child { margin-top: 0; }
.name-split { font-family: var(--pl-font-heading); color: var(--pl-heading); font-weight: var(--pl-weight-semibold); }
.name-split strong { font-weight: var(--pl-weight-bold); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pl-bg-inverse); color: var(--pl-text-inverse); padding-block: var(--pl-space-12) var(--pl-space-8); }
.site-footer a { color: var(--pl-link-inverse); }
.site-footer a:hover { color: var(--pl-text-inverse); }
.footer-grid { display: grid; gap: var(--pl-space-8); grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); }
.footer-title {
  margin: 0 0 var(--pl-space-3);
  font-family: var(--pl-font-heading);
  font-size: var(--pl-text-lg);
  font-weight: var(--pl-weight-semibold);
  color: var(--pl-heading-inverse);
}
.footer-brand {
  margin: 0 0 var(--pl-space-2);
  font-family: var(--pl-font-heading);
  font-size: var(--pl-text-xl);
  font-weight: var(--pl-weight-bold);
}
.footer-list { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--pl-space-2); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--pl-space-4);
  margin-top: var(--pl-space-12);
  padding-top: var(--pl-space-6);
  border-top: 1px solid var(--pl-marino-soft);
  font-size: var(--pl-text-sm);
}
.footer-bottom p { margin: 0; }

/* ---------- Mobile action bar (Call / WhatsApp / Directions) ---------- */
.action-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--pl-space-2);
  padding: var(--pl-space-2) var(--pl-space-3) calc(var(--pl-space-2) + env(safe-area-inset-bottom, 0px));
  background: var(--pl-bg);
  border-top: 1px solid var(--pl-line);
  box-shadow: var(--pl-shadow-lg);
}
.action-bar .btn {
  flex-direction: column;
  gap: var(--pl-space-1);
  padding: var(--pl-space-2) var(--pl-space-1);
  font-size: var(--pl-text-sm);
  /* stacked icon + label: a rounded tile reads better than a pill and survives a 2-line wrap at 320px
     (deviation from "buttons are pill-shaped"; flagged to Iris) */
  border-radius: var(--pl-radius-md);
}

/* ---------- 404 ---------- */
.notfound { display: grid; gap: var(--pl-space-12); }

/* ==========================================================================
   Tablet (>= 40rem)
   ========================================================================== */
@media (min-width: 40rem) {
  h2 { font-size: var(--pl-text-2xl); }
  h3 { font-size: var(--pl-text-xl); }
  .faq-item h2, .faq-item h3 { font-size: var(--pl-text-lg); }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .info { grid-template-columns: repeat(2, 1fr); }
  .notfound { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Desktop (>= 64rem)
   ========================================================================== */
@media (min-width: 64rem) {
  body { padding-bottom: 0; }
  html { scroll-padding-bottom: var(--pl-space-4); }
  .action-bar { display: none; }

  .brand-icon, .brand-name { display: none; }
  .brand-lockup { display: block; }
  .header-tools .badge-es { display: inline-flex; }
  .header-call { display: inline-flex; }

  .site-nav ul { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; padding-right: var(--pl-space-2); }
  .site-nav a { font-size: var(--pl-text-base); }

  .section { padding-block: var(--pl-space-24); }
  .hero { padding-block: var(--pl-space-16); }
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: var(--pl-space-12); }
  .hero-badge { display: none; }
  .hero-actions--lg { display: flex; }
  .hero-actions--sm { display: none; }
  .page-hero { padding-block: var(--pl-space-16); }
  .section.section--tight { padding-block: var(--pl-space-12); }

  .split { grid-template-columns: 1fr 1fr; gap: var(--pl-space-12); }
  .split--reverse > :first-child { order: 2; }
}

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

@media print {
  .action-bar, .site-nav, .skip-link, .lang-switch { display: none !important; }
  body { padding-bottom: 0; }
}
