/* =========================================================================
   COPY ART — DESIGN SYSTEM
   Fuente única de verdad para Inicio, Nosotros, Servicios, Proyectos
   y Contacto. No se debe repetir ningún estilo fuera de este archivo:
   las páginas solo consumen estas variables y clases.

   -------------------------------------------------------------------------
   GUÍA DE FOTOGRAFÍA (para elegir/hacer fotos en toda la web)
   Las imágenes deben transmitir siempre: personas reales, cercanía,
   atención personalizada, procesos de trabajo, detalles de impresión
   y personalización, sonrisas naturales, comercio local. Nunca stock
   frío de oficina ni maquinaria sin personas. Mientras no haya fotos
   propias, cada <img> marcada con PLACEHOLDER debe sustituirse por
   fotografía real de Roser, del local y de los trabajos.

   GUÍA DE TONO DE VOZ (para todo el copy de la web)
   Cercano, natural, profesional, humano, optimista, claro, sin
   tecnicismos. Nunca "Solicita presupuesto", "Somos líderes" o
   "Nuestros servicios" a secas. Sí: "Cuéntanos tu idea",
   "¿Qué podemos hacer por ti?", "Estamos aquí para ayudarte".
   Guía: no diseñamos la web de una copistería, diseñamos la web de
   una persona en la que los clientes confían cuando necesitan una
   solución. La tecnología es el medio; la confianza es el producto.
========================================================================= */

/* =========================================================================
   1. DESIGN TOKENS
========================================================================= */
:root {
  /* --- Color: el azul es el protagonista de marca; los pasteles
         son acentos puntuales que dan vida sin restar protagonismo --- */
  --color-blue: #4FA7E8;
  --color-blue-dark: #3F97D8;
  --color-blue-light: #B9DDF6;
  --color-yellow: #EFD76B;
  --color-green: #B9DDA8;
  --color-coral: #EAA0A0;
  --color-lilac: #D7B8E8;
  --color-cream: ##EFEAE1;
  --color-white: #FAF9F7;
  --color-ink: #444444;
  --color-ink-strong: #2E2E2E;
  --color-ink-soft: #5A5A5A;

  /* --- Tipografía ---
     Poppins lleva el peso de titulares y cuerpo: limpia, geométrica,
     muy legible. Caveat se reserva como acento manuscrito puntual
     (eyebrows, frase de marca, pequeños detalles) para aportar ese
     toque humano y cercano — nunca en párrafos largos, donde una
     script pierde legibilidad. */
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-accent: 'Caveat', cursive;

  --text-xs: 0.8rem;
  --text-sm: 0.9rem;
  --text-base: 1rem;
  --text-md: 1.1rem;
  --text-lg: 1.4rem;
  --text-xl: clamp(1.5rem, 3vw, 2.1rem);
  --text-xxl: clamp(1.9rem, 4.5vw, 2.7rem);

  /* --- Espaciado (escala 4px) --- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 88px;
  --space-10: 120px;

  /* --- Forma --- */
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-pill: 100px;

  /* --- Elevación --- */
  --shadow-soft: 0 12px 30px rgba(68, 68, 68, 0.08);
  --shadow-hover: 0 18px 40px rgba(79, 167, 232, 0.18);

  /* --- Layout --- */
  --container-width: 1180px;
  --section-pad: 88px;
}

@media (min-width: 960px) {
  :root { --section-pad: 120px; }
}

/* =========================================================================
   2. RESET Y BASE
========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--color-ink-strong);
}

p { margin: 0 0 1em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.eyebrow {
  font-family: var(--font-accent);
  font-weight: 600;
  color: var(--color-blue);
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  margin-bottom: var(--space-2);
}
.eyebrow.center { text-align: center; }

/* Frase de marca / firma manuscrita — uso puntual, nunca en párrafos largos */
.signature {
  font-family: var(--font-accent);
  font-weight: 600;
  color: var(--color-blue);
  font-size: 1.6rem;
  line-height: 1.3;
}

/* Frase destacada / cita corta dentro de una sección (Caveat) — para
   mensajes emocionales de cierre, citas de clientes o pequeños detalles
   en CTA. Igual que .signature: nunca para bloques largos de texto. */
.quote-accent {
  font-family: var(--font-accent);
  font-weight: 600;
  color: inherit;
  font-size: 1.5rem;
  line-height: 1.35;
  display: inline-block;
}

.section-title { font-size: var(--text-xl); max-width: 46ch; }
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }
.center { text-align: center; }

.section-lead { color: var(--color-ink-soft); max-width: 56ch; margin: 0 auto var(--space-7); }
.section-lead.center { text-align: center; }

.section { padding: var(--section-pad) 0; }
.section--white { background: var(--color-white); }
.section--cream { background: var(--color-cream); }
.section--blue-light { background: var(--color-blue-light); }
.section--yellow-light { background: color-mix(in srgb, var(--color-yellow) 22%, var(--color-cream)); }
.section--coral-light { background: color-mix(in srgb, var(--color-coral) 20%, var(--color-cream)); }
.section--green-light { background: color-mix(in srgb, var(--color-green) 22%, var(--color-cream)); }
.section--lilac-light { background: color-mix(in srgb, var(--color-lilac) 20%, var(--color-cream)); }

/* =========================================================================
   3. COMPONENTE: BOTONES
   Uso: <a class="btn btn-primary">Texto</a>
   Variantes de tamaño: btn-small / (por defecto) / btn-large
========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-base);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-blue);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); background: var(--color-blue-dark); }

.btn-ghost {
  background: white;
  color: var(--color-ink);
  border: 2px solid var(--color-blue-light);
}
.btn-ghost:hover { background: var(--color-blue-light); transform: translateY(-2px); }

.btn-text {
  background: none;
  border: none;
  color: var(--color-blue);
  font-weight: 600;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
}
.btn-text:hover { border-bottom-color: var(--color-blue); }

.btn-small { padding: 10px 20px; font-size: var(--text-sm); }
.btn-large { padding: 18px 36px; font-size: var(--text-md); }

/* =========================================================================
   4. COMPONENTE: TARJETAS
   4a. Tarjeta de pilar de marca (feature-card) — usada en
       "Una forma diferente de ayudarte"
   4b. Tarjeta de servicio (service-card)
   4c. Tarjeta de proyecto (project-card / gallery-item)
   4d. Tarjeta de reseña (review-card)
========================================================================= */

/* --- 4a. Feature card --- */
.feature-card {
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.feature-card h3 { font-size: var(--text-md); margin-bottom: 0.4em; }
.feature-card p { color: var(--color-ink-soft); margin: 0; font-size: 0.96rem; }
.feature-icon { display: inline-flex; font-size: 1.5rem; margin-bottom: var(--space-4); }

/* Fondos pastel de acento — solo aquí se permite superficie de color plano,
   y siempre en tono muy suave (mezclado con blanco) */
.card-blue   { background: var(--color-blue-light); }
.card-yellow { background: color-mix(in srgb, var(--color-yellow) 45%, white); }
.card-green  { background: color-mix(in srgb, var(--color-green) 45%, white); }
.card-coral  { background: color-mix(in srgb, var(--color-coral) 40%, white); }
.card-lilac  { background: color-mix(in srgb, var(--color-lilac) 40%, white); }

/* --- 4b. Service card --- */
.service-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-soft);
  border-top: 4px solid var(--color-blue-light);
  transition: transform 0.25s ease, border-color 0.25s ease;
  display: block;
}
.service-card:hover { transform: translateY(-4px); border-top-color: var(--color-blue); }
.service-icon { font-size: 1.7rem; display: inline-flex; margin-bottom: var(--space-3); }
.service-card h3 { font-size: 1.05rem; margin-bottom: 0.3em; }
.service-card p { color: var(--color-ink-soft); font-size: 0.94rem; margin: 0; }

/* --- 4c. Project / gallery card --- */
.project-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover img { transform: scale(1.05); }
.project-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(0deg, rgba(46,46,46,0.75), transparent);
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 600;
}

/* --- 4d. Review card --- */
.review-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-soft);
}
.review-stars { color: var(--color-yellow); letter-spacing: 2px; margin-bottom: var(--space-3); filter: saturate(1.4); }
.review-text { font-style: italic; color: #4A4A4A; }
.review-author { font-weight: 700; font-size: 0.88rem; color: var(--color-blue); margin: 0; }

/* Grids reutilizables para conjuntos de tarjetas */
.grid-2, .grid-3, .grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================================================
   5. COMPONENTE: CABECERA (HEADER)
   Sticky, idéntica en las 5 páginas. Se marca el enlace activo con
   la clase .is-current en el <a> correspondiente.
========================================================================= */
.site-header{
    position:sticky;
    top:0;
    z-index:100;
    background:var(--color-blue);
    box-shadow:0 3px 12px rgba(0,0,0,.12);
    border:none;
}
.header-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
    min-height:92px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-ink-strong);
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--color-blue);
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 700;
}
.main-nav{

    flex:1;

    display:flex;

    justify-content:center;

}

.main-nav ul{

    display:flex;

    gap:34px;

}
.main-nav a {
  font-weight: 600;
  font-size: var(--text-sm);
  position: relative;
  display: inline-flex;
  align-items: center;
  color:white;
  gap: 6px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-yellow);
  transition: width 0.25s ease;
}
.main-nav a:hover::after,
.main-nav a.is-current::after { width: 100%; }
.main-nav a.is-current { color: var(--color-yellow-light); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.header-actions .btn-primary{
    background:white;
    color:#2E2E2E;
}

.header-actions .btn-primary:hover{
    background:var(--color-yellow);
}

.lang-switch {
  display: flex; align-items: center; gap: 6px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  color:white;
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}
.lang-option { color:white; transition: color 0.2s ease; }
.lang-option.active { color: var(--color-yellow); }
.lang-sep { color: #CBD5D9; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span { width: 24px; height: 2px; background: white; border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }

@media (max-width: 959px) {
  .main-nav {
    position: fixed; top: 68px; left: 0; right: 0;
    background: var(--color-blue);
    box-shadow: var(--shadow-soft);
    padding: 24px;
    transform: translateY(-140%);
    transition: transform 0.3s ease;
    z-index: 90;
  }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 18px; align-items: center; }
  .header-actions .btn-small { display: none; }
  .menu-toggle { display: flex; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* =========================================================================
   6. COMPONENTE: CTA (banner emocional a pantalla completa)
========================================================================= */
.cta-banner {
  position: relative;
  padding: 0;
  min-height: 55vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.cta-banner-media { position: absolute; inset: 0; }
.cta-banner-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(46,46,46,0.78) 0%, rgba(79,167,232,0.55) 100%);
}
.cta-banner-content { position: relative; z-index: 2; padding: 90px 24px; color: var(--color-white); max-width: 640px; }
.cta-banner-content h2 { color: var(--color-white); font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.cta-banner-content p { color: rgba(255,255,255,0.9); font-size: var(--text-md); }

/* =========================================================================
   7. COMPONENTE: FOOTER
========================================================================= */
.site-footer { background: var(--color-ink-strong); color: rgba(255,255,255,0.8); padding: 36px 0; font-size: var(--text-sm); }
.footer-inner { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); color: var(--color-white); font-weight: 600; }
.footer-info { font-style: normal; }
.footer-copy { margin: 0; opacity: 0.7; font-size: var(--text-xs); }

/* --- Footer completo: columnas con enlaces, horario y dirección --- */
.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.footer-col h3 {
  font-family: var(--font-display);
  color: var(--color-white);
  font-size: 0.95rem;
  margin: 0 0 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: rgba(255,255,255,0.75); font-size: 0.88rem; }
.footer-col a:hover { color: var(--color-white); }
.footer-col p { margin: 0 0 4px; font-size: 0.88rem; color: rgba(255,255,255,0.75); }
.footer-col-brand .footer-brand-name { font-family: var(--font-display); font-weight: 600; color: var(--color-white); font-size: 1.15rem; }
.footer-col-brand .signature { display: block; color: var(--color-blue-light); margin-top: 12px; font-size: 1.2rem; }

.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: var(--color-white);
  transition: background 0.2s ease;
}
.footer-social a:hover { background: var(--color-blue); }
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem;
}
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,0.6); }
.footer-legal a:hover { color: var(--color-white); }

@media (min-width: 720px) {
  .footer-columns { grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 24px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* Utilidades para CTA con más de un botón/enlace (p. ej. botón + enlace de WhatsApp) */
.cta-banner-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 8px; }
.cta-whatsapp-link { color: var(--color-white); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cta-whatsapp-link:hover { opacity: 0.85; }

.btn-whatsapp {
  background: #25D366;
  border-color: #25D366;
  color: #FFFFFF;
}
.btn-whatsapp:hover {
  background: #blue-dark;
  border-color: #1EBE5A;
}

.logo-img { display: block; }

/* =========================================================================
   8. COMPONENTE: FORMULARIO (para la futura página Contacto)
========================================================================= */
.form-field { margin-bottom: var(--space-5); }
.form-field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
  color: var(--color-ink-strong);
}
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: 14px 16px;
  border: 2px solid var(--color-blue-light);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-ink);
  transition: border-color 0.2s ease;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--color-blue); outline: none; }
.form-field textarea { resize: vertical; min-height: 140px; }

/* =========================================================================
   10. COMPONENTE: CHIP / BADGE
   Etiquetas pequeñas y discretas — reconocimientos, categorías, filtros.
   Nunca gritan: fondo pastel muy suave, texto corto.
========================================================================= */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-ink-soft);
  box-shadow: var(--shadow-soft);
}
.chip-blue   { background: var(--color-blue-light); color: var(--color-ink-strong); }
.chip-yellow { background: color-mix(in srgb, var(--color-yellow) 55%, white); color: var(--color-ink-strong); }
.chip-green  { background: color-mix(in srgb, var(--color-green) 55%, white); color: var(--color-ink-strong); }
.chip-coral  { background: color-mix(in srgb, var(--color-coral) 50%, white); color: var(--color-ink-strong); }
.chip-lilac  { background: color-mix(in srgb, var(--color-lilac) 50%, white); color: var(--color-ink-strong); }

.chip-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Chip de filtro interactivo (botón) — usado en listados filtrables como Proyectos */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: var(--space-6) 0 var(--space-3); }
.filter-chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-blue-light);
  background: var(--color-white);
  color: var(--color-ink-soft);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.filter-chip:hover { border-color: var(--color-blue); }
.filter-chip.is-active { background: var(--color-blue); border-color: var(--color-blue); color: var(--color-white); }

/* Chip interactivo de filtro (listados: Proyectos y futuros catálogos) */
.chip-filter {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-blue-light);
  background: var(--color-white);
  color: var(--color-ink);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.chip-filter:hover { background: var(--color-blue-light); }
.chip-filter.is-active { background: var(--color-blue); border-color: var(--color-blue); color: var(--color-white); }

/* =========================================================================
   12. COMPONENTE: EXPLICACIÓN DE SERVICIO
   Bloque ampliable — cada servicio de la web (aquí, y en el futuro en
   su propia página individual) usa esta misma estructura: título,
   y tres mini-respuestas fijas (qué es / para quién / cómo ayudamos).
   El color de acento del borde superior rota entre los 5 tonos de marca.
========================================================================= */
.service-explainer {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  border-top: 5px solid var(--color-blue-light);
  scroll-margin-top: 90px;
}
.service-explainer-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: var(--space-5);
}
.service-explainer-icon {
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-cream);
  flex-shrink: 0;
}
.service-explainer h2, .service-explainer h3 { font-size: var(--text-md); margin: 0; }
.service-explainer .service-text { color: var(--color-ink-soft); max-width: 52ch; }

.service-answers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: var(--space-5);
}
@media (min-width: 720px) {
  .service-answers { grid-template-columns: repeat(3, 1fr); }
}
.service-answer .answer-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-blue);
  margin-bottom: 6px;
}
.service-answer p { margin: 0; color: var(--color-ink-soft); font-size: 0.94rem; }

/* Rotación de acento por posición (1 a 5, se repite en el 6º-7º-8º servicio) */
.service-explainer:nth-of-type(5n+1) { border-top-color: var(--color-blue); }
.service-explainer:nth-of-type(5n+2) { border-top-color: var(--color-yellow); }
.service-explainer:nth-of-type(5n+3) { border-top-color: var(--color-green); }
.service-explainer:nth-of-type(5n+4) { border-top-color: var(--color-coral); }
.service-explainer:nth-of-type(5n+5) { border-top-color: var(--color-lilac); }

/* =========================================================================
   14. COMPONENTE: ESCAPARATE DE SERVICIO (foto + texto)
   La fotografía pesa tanto como el texto — pensado como escaparate
   digital. Bloques alternos, ampliable a futuras páginas individuales
   por servicio (cada .service-showcase podría ser el bloque central
   de esa página).
========================================================================= */
.service-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: var(--space-7) 0;
  border-bottom: 1px solid rgba(68,68,68,0.08);
  scroll-margin-top: 90px;
}
.service-showcase:last-child { border-bottom: none; }
.service-showcase-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.service-showcase-text .service-hook {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-md);
  color: var(--color-ink-strong);
  margin-bottom: 0.3em;
}
.service-showcase-text h3 { font-size: var(--text-lg); margin-bottom: 0.4em; }
.service-showcase-text p.service-text { color: var(--color-ink-soft); max-width: 52ch; }

@media (min-width: 860px) {
  .service-showcase {
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: center;
  }
  .service-showcase-media img { height: 340px; }
  .service-showcase.is-reverse .service-showcase-media { order: 2; }
  .service-showcase.is-reverse .service-showcase-text { order: 1; }
}

/* =========================================================================
   16. COMPONENTE: HISTORIA DE PROYECTO (mosaico de fotos + texto)
   Pensado para Proyectos: cada historia combina resultado + proceso/
   detalle en un pequeño mosaico, con el mismo peso visual que el texto.
========================================================================= */
.story-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: var(--space-7) 0;
  border-bottom: 1px solid rgba(68,68,68,0.08);
}
.story-block:last-child { border-bottom: none; }

.story-media-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.story-media-mosaic img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.story-media-mosaic .media-main { grid-column: 1 / 3; height: 220px; }
.story-media-mosaic .media-detail { height: 140px; }

.story-text .story-category {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-blue);
  margin-bottom: 6px;
}
.story-text .story-hook {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  color: var(--color-ink-soft);
  margin-bottom: 0.5em;
}
.story-text h3 { font-size: var(--text-lg); margin-bottom: 0.4em; }
.story-text p.story-narrative { color: var(--color-ink-soft); max-width: 52ch; margin: 0; }

@media (min-width: 860px) {
  .story-block {
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
  }
  .story-block.is-reverse .story-media-mosaic { order: 2; }
  .story-block.is-reverse .story-text { order: 1; }
  .story-media-mosaic .media-main { height: 320px; }
  .story-media-mosaic .media-detail { height: 200px; }
}

/* =========================================================================
   17. UTILIDADES DE MOVIMIENTO
========================================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Utilidad genérica para ocultar elementos (p. ej. resultados de un filtro) */
.is-hidden { display: none !important; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.deco-blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.85; }
.blob-yellow { background: var(--color-yellow); animation: float 7s ease-in-out infinite; }
.blob-coral  { background: var(--color-coral); animation: float 9s ease-in-out infinite reverse; }


/* =========================================================================
   ENLACES DE CONTACTO
========================================================================= */

a.direct-contact-note {
  display: inline-block;
  color: var(--color-ink-soft);
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 10px;
  text-decoration: none;
  transition: color .2s ease, text-decoration .2s ease;
}

a.direct-contact-note:hover {
  color: var(--color-blue);
  text-decoration: underline;
}

/* =========================================================================
   18. COMPONENTE: HERO PARTIDO (foto a un lado, texto al otro)
   Reutilizado en Nosotros, Servicios, Proyectos y Contacto.
========================================================================= */
.split-hero { padding: 40px 0 var(--space-7); }
.split-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
.split-hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border-bottom-right-radius: 120px;
}
.split-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}
.split-hero-text .eyebrow { color: var(--color-blue); }
.split-hero-text h1 { font-size: var(--text-xxl); margin-bottom: 0.35em; }
.split-hero-text p.hero-lead { color: var(--color-ink-soft); font-size: 1.05rem; max-width: 52ch; margin-bottom: 0.8em; }
.split-hero-text .quote-accent { font-size: 1.4rem; }

@media (min-width: 860px) {
  .split-hero-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .split-hero-media { border-bottom-right-radius: 200px; }
}

/* =========================================================================
   19. COMPONENTE: ICONOS CIRCULARES DE LÍNEA
========================================================================= */
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 16px;
  color: var(--color-ink-strong);
}
.icon-circle svg { width: 28px; height: 28px; }
.icon-circle.icon-blue { background: var(--color-blue-light); }
.icon-circle.icon-yellow { background: color-mix(in srgb, var(--color-yellow) 45%, white); }
.icon-circle.icon-green { background: color-mix(in srgb, var(--color-green) 45%, white); }
.icon-circle.icon-coral { background: color-mix(in srgb, var(--color-coral) 40%, white); }
.icon-circle.icon-lilac { background: color-mix(in srgb, var(--color-lilac) 40%, white); }
.icon-circle.icon-white { background: var(--color-white); }
.icon-circle.icon-sm { width: 44px; height: 44px; box-shadow: var(--shadow-soft); }
.icon-circle.icon-sm svg { width: 20px; height: 20px; }

/* =========================================================================
   20. COMPONENTE: TIRA DE VALORES (resumen compacto de 4 iconos)
========================================================================= */
.value-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 32px 0;
}
.value-strip-item { display: flex; align-items: center; gap: 12px; }
.value-strip-item h3 { font-size: 0.95rem; margin: 0; }
.value-strip-item p { font-size: 0.82rem; color: var(--color-ink-soft); margin: 0; }
@media (min-width: 720px) { .value-strip { grid-template-columns: repeat(4, 1fr); } }

/* =========================================================================
   21. COMPONENTE: BANNER DE AYUDA (caja de color + texto/botón + foto)
========================================================================= */
.help-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
.help-banner-text { padding: 36px 32px; }
.help-banner-text h2 { font-size: var(--text-xl); margin-bottom: 0.4em; }
.help-banner-text p { color: var(--color-ink-strong); opacity: 0.85; max-width: 42ch; margin: 0 0 14px; }
.help-banner-text .quote-accent { display: block; margin-top: 10px; font-size: 1.2rem; }
.help-banner-media img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
@media (min-width: 860px) { .help-banner { grid-template-columns: 1.1fr 1fr; } }

/* =========================================================================
   22. COMPONENTE: PASOS DE PROCESO (numerados, con icono)
========================================================================= */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}
.process-step { text-align: center; position: relative; }
.process-step .step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--color-blue); color: var(--color-white);
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem;
  margin-bottom: 10px;
}
.process-step h3 { font-size: 1rem; margin-bottom: 0.3em; }
.process-step p { font-size: 0.88rem; color: var(--color-ink-soft); margin: 0; }
@media (min-width: 720px) { .process-steps { grid-template-columns: repeat(4, 1fr); } }

/* =========================================================================
   23. COMPONENTE: TARJETA DE SERVICIO CON FOTO (grid 3 columnas)
========================================================================= */
.service-photo-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.service-photo-card h3 { font-size: 1.05rem; margin-bottom: 0.35em; }
.service-photo-card p { color: var(--color-ink-soft); font-size: 0.9rem; margin-bottom: 16px; }
.service-photo-card .service-photo-thumb {
  width: 100%; height: 230px; object-fit: cover;
  border-radius: var(--radius-md);
}

/* =========================================================================
   24. COMPONENTE: TARJETA DE PROYECTO (foto + etiqueta + texto)
========================================================================= */
.project-card-v2 {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.project-card-v2 img { width: 100%; height: 190px; object-fit: cover; }
.project-card-v2-body { padding: 18px 20px 22px; }
.project-card-v2 .chip { margin-bottom: 10px; font-size: 0.75rem; padding: 5px 12px; box-shadow: none; }
.project-card-v2 h3 { font-size: 1rem; margin-bottom: 0.3em; }
.project-card-v2 p { color: var(--color-ink-soft); font-size: 0.88rem; margin: 0; }

/* =========================================================================
   25. COMPONENTE: TARJETAS DE CONTACTO (fila de 4)
========================================================================= */
.contact-info-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}
.contact-info-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: var(--shadow-soft);
}
.contact-info-card h3 { font-size: 1rem; margin-bottom: 8px; }
.contact-info-card p { font-size: 0.9rem; color: var(--color-ink-soft); margin: 0 0 4px; }
.contact-info-card a.info-link { color: var(--color-blue); font-weight: 600; font-size: 0.88rem; }
.contact-info-card .info-social { display: flex; gap: 10px; margin-top: 10px; }
.contact-info-card .info-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--color-cream); color: var(--color-ink-strong);
}
.contact-info-card .info-social svg { width: 16px; height: 16px; }
@media (min-width: 720px) { .contact-info-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-info-row { grid-template-columns: repeat(4, 1fr); } }

/* =========================================================================
   26. MAPA CON FOTO SUPERPUESTA (Contacto)
========================================================================= */
.map-with-caption { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.map-with-caption iframe { width: 100%; height: 300px; border: 0; display: block; }
.map-caption {
  display: flex; align-items: center; gap: 14px;
  background: var(--color-white); padding: 16px 18px;
}
.map-caption img { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.map-caption p { margin: 0; font-size: 0.85rem; color: var(--color-ink-soft); }
.map-caption .quote-accent { display: block; font-size: 1.1rem; margin-top: 4px; }

/* =========================================================================
   27. FORMULARIO — ampliaciones (archivo adjunto y checkbox)
========================================================================= */
.form-field-file {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--color-ink-soft);
  margin-bottom: var(--space-4);
}
.form-field-file input[type="file"] { font-size: 0.82rem; max-width: 100%; min-width: 0; flex: 1; }
.form-field-checkbox { display: flex; align-items: flex-start; gap: 10px; margin-bottom: var(--space-4); font-size: 0.85rem; color: var(--color-ink-soft); }
.form-field-checkbox input { margin-top: 3px; }
.form-required-note { font-size: 0.78rem; color: var(--color-ink-soft); margin-top: var(--space-2); }

/* =========================================================================
   28. COMPONENTE: "QUIÉN HAY DETRÁS" (foto + texto, breve y humano)
========================================================================= */
.who-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.who-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.who-text .quote-accent { display: block; margin-top: 16px; font-size: 1.3rem; }
@media (min-width: 860px) {
  .who-inner { grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
}

/* =========================================================================
   29. COMPONENTE: "LO QUE HACEMOS" — mosaico de comunidad
========================================================================= */
.community-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}
@media (min-width: 640px) { .community-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .community-grid { grid-template-columns: repeat(3, 1fr); } }

.community-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border-bottom: 4px solid var(--color-blue-light);
}
.community-card img { width: 100%; height: 170px; object-fit: cover; display: block; }
.community-card-body { padding: 0 22px 24px; position: relative; }
.community-card .icon-circle {
  position: relative;
  margin-top: -30px;
  margin-bottom: 12px;
  border: 4px solid var(--color-white);
}
.community-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.community-card p { color: var(--color-ink-soft); font-size: 0.9rem; margin: 0; }

.community-card.accent-blue   { border-bottom-color: var(--color-blue); }
.community-card.accent-yellow { border-bottom-color: var(--color-yellow); }
.community-card.accent-green  { border-bottom-color: var(--color-green); }
.community-card.accent-coral  { border-bottom-color: var(--color-coral); }
.community-card.accent-lilac  { border-bottom-color: var(--color-lilac); }

/* --- Barra de cierre de "Lo que hacemos" --- */
.community-closing {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
  background: var(--color-blue-light);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-top: 40px;
}
.community-closing-left { display: flex; align-items: center; gap: 14px; }
.community-closing-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  object-fit: cover; border: 3px solid var(--color-white);
  box-shadow: var(--shadow-soft); flex-shrink: 0;
}
.community-closing .quote-accent { font-size: 1.25rem; }
.community-closing-right p { margin: 0; font-size: 0.95rem; }
.community-closing-right a { color: var(--color-blue); font-weight: 700; }

@media (min-width: 860px) {
  .community-closing { flex-direction: row; justify-content: space-between; text-align: left; gap: 32px; }
  .community-closing-right { border-left: 1px solid rgba(46,46,46,0.1); padding-left: 32px; }
}
