/* ==========================================================================
   Eco Lavandería SC — hoja de estilo de las páginas estáticas
   Blog, servicios, contacto, preguntas frecuentes y nosotros.

   Es CSS propio y no Tailwind compilado a propósito: estas páginas se generan
   después del build de Vite, así que no pueden participar del escaneo de
   clases. A cambio pesan poco y no arrastran el bundle de la portada.
   Los tokens replican `tailwind.config.ts` para que la identidad sea la misma.
   ========================================================================== */

@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-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+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Grotesk Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('/fonts/space-grotesk-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+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Tokens ------------------------------------------------------------ */

:root {
  --bg-base: #0a120e;
  --bg-elevated: #0f1a14;
  --bg-card: #152019;

  --eco-100: #E1F0CE;
  --eco-200: #C3E1A4;
  --eco-300: #A2CE75;
  --eco-400: #85BB50;
  --eco-500: #649A38;
  --eco-600: #4F7C2C;

  --gold: #d4a853;
  --gold-soft: #c9975c;
  --cream: #faf5eb;

  --ink: #f5f1e8;
  --ink-muted: #a3b5a8;
  --ink-dim: #6b8072;

  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);
  --surface: rgba(255, 255, 255, 0.025);
  --surface-hover: rgba(255, 255, 255, 0.045);

  --radius: 18px;
  --radius-lg: 26px;
  --wrap: 1220px;
  --shadow-glow: 0 0 0 1px rgba(212, 168, 83, 0.18), 0 8px 32px -8px rgba(100, 154, 56, 0.35);

  --font-sans: 'Inter Variable', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk Variable', 'Space Grotesk', var(--font-sans);

  color-scheme: dark;
}

/* --- Base -------------------------------------------------------------- */

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--bg-base);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--bg-base);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(100, 154, 56, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(212, 168, 83, 0.07), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--eco-300);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--eco-400);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(100, 154, 56, 0.32);
  color: var(--cream);
}

:focus-visible {
  outline: 2px solid var(--eco-300);
  outline-offset: 3px;
  border-radius: 6px;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-elevated);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--eco-500), var(--gold));
  border-radius: 999px;
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 640px) {
  .wrap {
    padding-inline: 32px;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--eco-500);
  color: var(--bg-base);
  font-weight: 600;
  border-radius: 0 0 12px 0;
}

.skip-link:focus {
  left: 0;
}

/* --- Botones ----------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary {
  background: var(--eco-500);
  color: var(--bg-base);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--eco-400);
  color: var(--bg-base);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(212, 168, 83, 0.35), 0 14px 44px -10px rgba(100, 154, 56, 0.6);
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: rgba(133, 187, 80, 0.55);
  background: var(--surface-hover);
  color: var(--eco-400);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn:active {
  transform: scale(0.985);
}

/* --- Cabecera ---------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 18, 14, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ink);
}

/* El isotipo trae su propio disco blanco: solo necesita el halo de marca. */
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(100, 154, 56, 0.35), 0 6px 20px -6px rgba(100, 154, 56, 0.5);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-name .dot {
  color: var(--eco-400);
}

.nav-list {
  display: none;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--ink-muted);
}

.nav-list a:hover {
  background: var(--surface-hover);
  color: var(--ink);
}

.nav-list a[aria-current='page'] {
  color: var(--eco-300);
  background: rgba(100, 154, 56, 0.12);
}

.nav-cta {
  display: none;
}

.nav-toggle {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.nav-mobile {
  border-top: 1px solid var(--line);
  background: rgba(10, 18, 14, 0.97);
  padding: 12px 20px 22px;
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.nav-mobile a {
  display: block;
  padding: 13px 8px;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--line);
}

.nav-mobile a[aria-current='page'] {
  color: var(--eco-300);
}

@media (min-width: 1000px) {
  .header-inner {
    height: 78px;
  }
  .nav-list {
    display: flex;
  }
  .nav-cta {
    display: inline-flex;
  }
  .nav-toggle,
  .nav-mobile {
    display: none !important;
  }
}

/* --- Piezas comunes ---------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(100, 154, 56, 0.32);
  background: rgba(100, 154, 56, 0.1);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--eco-300);
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--eco-400);
}

.section {
  padding-block: clamp(56px, 8vw, 104px);
}

.section-head {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-head h2 {
  margin-top: 18px;
  font-size: clamp(1.85rem, 1.3rem + 2.2vw, 2.9rem);
}

.section-head p {
  margin-top: 16px;
  color: var(--ink-muted);
  font-size: 1.05rem;
  text-wrap: pretty;
}

.lede {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  color: var(--ink-muted);
  text-wrap: pretty;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 83, 0.45), transparent);
  border: 0;
}

.card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s ease;
}

.card:hover {
  border-color: rgba(100, 154, 56, 0.34);
  background: var(--surface-hover);
}

/* --- Migas de pan ------------------------------------------------------ */

.breadcrumb {
  padding-block: 22px 6px;
  font-size: 13.5px;
  color: var(--ink-dim);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: '/';
  margin-right: 8px;
  color: var(--ink-dim);
  opacity: 0.55;
}

.breadcrumb a {
  color: var(--ink-muted);
}

.breadcrumb a:hover {
  color: var(--eco-300);
}

.breadcrumb [aria-current] {
  color: var(--ink);
}

/* --- Cabecera de página ------------------------------------------------ */

.page-hero {
  padding-block: 34px clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-top: 20px;
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem);
  background: linear-gradient(120deg, var(--ink) 30%, var(--cream) 70%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero .lede {
  margin-top: 20px;
  max-width: 68ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* --- Rejilla de artículos ---------------------------------------------- */

.post-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
}

.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.35s ease, transform 0.35s ease, background 0.35s ease;
}

.post-card:hover {
  border-color: rgba(100, 154, 56, 0.4);
  background: var(--surface-hover);
  transform: translateY(-3px);
}

.post-card-media {
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elevated);
}

.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover .post-card-media img {
  transform: scale(1.035);
}

.post-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.post-card h3 {
  margin-block: 14px 10px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.post-card h3 a {
  color: var(--ink);
}

.post-card h3 a:hover {
  color: var(--eco-300);
}

.post-card p {
  color: var(--ink-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  font-size: 12.5px;
  color: var(--ink-dim);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(100, 154, 56, 0.28);
  background: rgba(100, 154, 56, 0.1);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--eco-300);
}

a.tag:hover {
  border-color: var(--eco-400);
  color: var(--eco-400);
}

/* --- Pilares ----------------------------------------------------------- */

.pillar-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.pillar-card {
  display: block;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  transition: all 0.35s ease;
}

.pillar-card:hover {
  border-color: rgba(212, 168, 83, 0.4);
  background: var(--surface-hover);
  color: var(--ink);
  transform: translateY(-3px);
}

.pillar-card h3 {
  margin-block: 16px 10px;
  font-size: 1.1rem;
}

.pillar-card p {
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.pillar-card .count {
  display: block;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--gold);
  letter-spacing: 0.06em;
}

/* --- Artículo ---------------------------------------------------------- */

.article-layout {
  display: grid;
  gap: 48px;
  padding-block: 42px clamp(56px, 8vw, 96px);
}

@media (min-width: 1060px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 286px;
    align-items: start;
    gap: 64px;
  }
}

.article-header h1 {
  margin-block: 20px 0;
  font-size: clamp(1.95rem, 1.3rem + 2.6vw, 3.05rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-dim);
}

.article-cover {
  margin-block: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

/* Bloque de respuesta directa: lo que extraen los motores de respuesta. */
.answer-box {
  position: relative;
  margin-block: 34px;
  padding: 28px 30px;
  border: 1px solid rgba(100, 154, 56, 0.34);
  border-left: 3px solid var(--eco-400);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(100, 154, 56, 0.11), rgba(212, 168, 83, 0.05));
}

.answer-box h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--eco-300);
}

.answer-box p {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--cream);
  text-wrap: pretty;
}

/* Prosa del artículo */
.prose {
  font-size: 1.045rem;
  line-height: 1.78;
  color: #dfe6e0;
}

.prose > * + * {
  margin-top: 1.35em;
}

.prose h2 {
  margin-top: 2.4em;
  padding-top: 0.5em;
  font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.85rem);
  color: var(--ink);
  scroll-margin-top: 100px;
}

.prose h3 {
  margin-top: 1.9em;
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  color: var(--cream);
  scroll-margin-top: 100px;
}

.prose strong {
  color: var(--ink);
  font-weight: 650;
}

.prose em {
  color: var(--eco-100);
}

.prose a {
  color: var(--eco-300);
  text-decoration: underline;
  text-decoration-color: rgba(162, 206, 117, 0.42);
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

.prose a:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

.prose ul,
.prose ol {
  padding-left: 4px;
}

.prose li {
  position: relative;
  padding-left: 30px;
  margin-top: 0.7em;
}

.prose ul > li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--eco-400);
}

.prose ol {
  counter-reset: step;
}

.prose ol > li {
  counter-increment: step;
}

.prose ol > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.18em;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(100, 154, 56, 0.18);
  border: 1px solid rgba(100, 154, 56, 0.4);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--eco-300);
}

.prose blockquote {
  padding: 20px 26px;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(212, 168, 83, 0.07);
  font-size: 1.06rem;
  color: var(--cream);
}

.prose blockquote p {
  margin: 0;
}

/* --- Tabla de contenidos ----------------------------------------------- */

.toc {
  position: sticky;
  top: 96px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.toc h2 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.toc ol {
  counter-reset: toc;
  font-size: 13.8px;
}

.toc li {
  counter-increment: toc;
}

.toc a {
  display: block;
  padding: 7px 0 7px 26px;
  position: relative;
  color: var(--ink-muted);
  line-height: 1.45;
  border-left: 2px solid transparent;
}

.toc a::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: var(--font-display);
  font-size: 10.5px;
  color: var(--ink-dim);
}

.toc a:hover,
.toc a.is-active {
  color: var(--eco-300);
}

.toc a.is-active::before {
  color: var(--eco-400);
}

.sidebar-cta {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid rgba(212, 168, 83, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(100, 154, 56, 0.14), rgba(212, 168, 83, 0.07));
}

.sidebar-cta h2 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.sidebar-cta p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 18px;
}

/* --- FAQ --------------------------------------------------------------- */

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item[open] {
  border-color: rgba(100, 154, 56, 0.36);
  background: var(--surface-hover);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 21px 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.03rem;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  margin-top: 7px;
  margin-left: auto;
  border-right: 2px solid var(--eco-400);
  border-bottom: 2px solid var(--eco-400);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item .faq-answer {
  padding: 0 24px 22px;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* --- Relacionados y CTA ------------------------------------------------ */

.related {
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.related h2 {
  margin-bottom: 26px;
  font-size: 1.5rem;
}

/* --- Anterior / siguiente dentro del pilar ------------------------------ */

.post-nav {
  display: grid;
  gap: 16px;
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

@media (min-width: 720px) {
  .post-nav {
    grid-template-columns: 1fr 1fr;
  }
}

.post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: all 0.35s ease;
}

.post-nav-item:hover {
  border-color: rgba(100, 154, 56, 0.4);
  background: var(--surface-hover);
}

.post-nav-next {
  text-align: right;
}

.post-nav-label {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eco-300);
}

.post-nav-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.cta-band {
  margin-top: 52px;
  padding: clamp(34px, 5vw, 54px);
  border: 1px solid rgba(212, 168, 83, 0.26);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at top left, rgba(100, 154, 56, 0.2), transparent 62%),
    radial-gradient(ellipse at bottom right, rgba(212, 168, 83, 0.14), transparent 62%),
    var(--bg-elevated);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.3rem);
}

.cta-band p {
  max-width: 58ch;
  margin: 16px auto 0;
  color: var(--ink-muted);
}

.cta-band .hero-actions {
  justify-content: center;
}

/* --- Servicios --------------------------------------------------------- */

.service-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  scroll-margin-top: 100px;
  transition: all 0.35s ease;
}

.service-card:hover {
  border-color: rgba(100, 154, 56, 0.36);
  background: var(--surface-hover);
  transform: translateY(-3px);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(100, 154, 56, 0.26), rgba(212, 168, 83, 0.16));
  border: 1px solid rgba(100, 154, 56, 0.3);
  color: var(--eco-300);
}

.service-card h3 {
  margin-block: 20px 12px;
  font-size: 1.22rem;
}

.service-card > p {
  color: var(--ink-muted);
  font-size: 0.96rem;
}

.service-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.service-includes li {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-muted);
}

/* --- Contacto ---------------------------------------------------------- */

.contact-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: all 0.35s ease;
}

.contact-card:hover {
  border-color: rgba(100, 154, 56, 0.36);
  background: var(--surface-hover);
}

.contact-card h3 {
  margin-block: 18px 10px;
  font-size: 1.12rem;
}

.contact-card p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.contact-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.contact-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  word-break: break-word;
}

.map-frame {
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  aspect-ratio: 16 / 8;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.35) invert(0.92) hue-rotate(160deg) saturate(0.7) brightness(0.95);
}

.hours-table {
  display: grid;
  gap: 2px;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.hours-table > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 22px;
  background: var(--surface);
  font-size: 0.95rem;
}

.hours-table dt {
  color: var(--ink);
  font-weight: 600;
}

.hours-table dd {
  color: var(--ink-muted);
  margin: 0;
}

.hours-table .closed dd {
  color: var(--ink-dim);
}

/* --- Índice / listados de apoyo ---------------------------------------- */

.link-columns {
  display: grid;
  gap: 10px 34px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.link-columns li a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.link-columns li a:hover {
  color: var(--eco-300);
  padding-left: 6px;
}

.stat-row {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin-top: 40px;
}

.stat {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--eco-300);
  line-height: 1.2;
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-muted);
}

/* --- Pie --------------------------------------------------------------- */

.site-footer {
  margin-top: 40px;
  padding-block: 60px 34px;
  border-top: 1px solid var(--line);
  background: rgba(15, 26, 20, 0.55);
}

.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.footer-logo {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(100, 154, 56, 0.35), 0 10px 30px -10px rgba(100, 154, 56, 0.55);
}

.footer-brand-name {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.footer-brand-name .dot {
  color: var(--eco-400);
}

.footer-brand p {
  margin-top: 12px;
  max-width: 34ch;
  color: var(--ink-muted);
  font-size: 0.93rem;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 18px;
}

.footer-links li a,
.footer-contact li,
.footer-hours li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-block: 6px;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.footer-links li a:hover {
  color: var(--eco-300);
}

.footer-contact {
  margin-top: 22px;
}

.footer-contact svg,
.footer-hours svg,
.footer-address svg {
  color: var(--eco-400);
  flex-shrink: 0;
}

.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-style: normal;
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.footer-hours {
  margin-top: 18px;
}

.footer-areas {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.areas-list li {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12.5px;
  color: var(--ink-muted);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-dim);
}

/* --- WhatsApp flotante -------------------------------------------------- */

/* Se apila por encima del lanzador del asistente, que ocupa la esquina. */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 84px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 14px 16px;
  border-radius: 999px;
  background: #25d366;
  color: #06301a;
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: 0 10px 34px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-float:hover {
  color: #06301a;
  transform: translateY(-2px) scale(1.02);
}

@media (max-width: 620px) {
  .wa-float {
    right: 14px;
    bottom: 82px;
    padding: 14px;
  }
  .wa-float-label {
    display: none;
  }
}

/* --- Utilidades -------------------------------------------------------- */

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

.mt-lg {
  margin-top: 44px;
}
