/* Apabal Ltda. — 2026 industrial / B2B front-end (tema claro) */

:root {
  --bg-deep: #f7f5f0;
  --bg-raised: #ece8e0;
  --bg-card: #ffffff;
  --border: rgba(26, 29, 36, 0.1);
  --text: #1a1d26;
  --text-muted: #5a6270;
  --accent: #e8a54b;
  --accent-dim: #c4852e;
  --accent-glow: rgba(232, 165, 75, 0.32);
  /* Plex: estándar en interfaces técnicas / B2B; Condensed en títulos = más presencia sin cursis */
  --font-display: "IBM Plex Sans Condensed", "IBM Plex Sans", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --header-h: 78px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.2, 0.64, 1);
  --glass: rgba(0, 0, 0, 0.03);
  --glass-border: rgba(26, 29, 36, 0.1);
  --header-bg: rgba(255, 255, 255, 0.86);
  --header-bg-scrolled: rgba(255, 255, 255, 0.94);
  --nav-overlay: rgba(255, 255, 255, 0.98);
  --footer-bg: #e3dfd6;
  --shadow-sm: 0 1px 3px rgba(26, 29, 36, 0.06);
  --shadow-md: 0 12px 40px rgba(26, 29, 36, 0.08);
  /* Recorte visual del logo (menos “aire” alrededor del dibujo). Afinar si el PNG cambia */
  --logo-crop-w-mobile: 48px;
  --logo-crop-h-mobile: 48px;
  --logo-crop-w-sm: min(288px, 52vw);
  --logo-crop-h-sm: 54px;
  --logo-crop-w-md: min(308px, 50vw);
  --logo-crop-h-md: 58px;
  --logo-crop-w-lg: min(332px, 46vw);
  --logo-crop-h-lg: 62px;
  /* Misma columna que .container: min(1120px, 100% - 2.5rem) centrada */
  --page-inline: max(1.25rem, calc((100vw - 1120px) / 2));
  /* Escritorio: tira el logotipo un poco más a la izq. (aire en el PNG). Afinar: más negativo = más a la izq. */
  --logo-pull-desktop: -0.875rem;
  /* Aire mínimo junto al borde derecho del viewport (evita que el CTA Contacto quede cortado) */
  --header-pad-right-desktop: max(1rem, env(safe-area-inset-right, 0px));
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  overflow-x: clip;
  /* Anclas #sección: el título no queda bajo el cabezal fijo */
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

/* Espacio para la barra CTA fija en móvil (evita que el pie quede tapado) */
@media (max-width: 900px) {
  body {
    padding-bottom: calc(3.75rem + env(safe-area-inset-bottom, 0px));
  }
}

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

.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #111;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transform: translate(-50%, -120%);
  transition: transform 0.2s var(--ease-out);
}

.skip-link:focus {
  transform: translate(-50%, 0);
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #b8730f;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Cabezal: contenedor fijo + nav hermano (el menú móvil fixed no va dentro del blur) */
.site-head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 var(--page-inline);
  /* Sin backdrop-filter aquí: en WebKit rompe position:fixed del menú móvil (panel altura 0) */
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

/* Escritorio: logo al borde izquierdo; menú a la derecha con un poco de aire para que el CTA no roce el borde */
@media (min-width: 861px) {
  .site-head {
    padding-left: max(0px, env(safe-area-inset-left, 0px));
    padding-right: var(--header-pad-right-desktop);
  }

  .site-head .logo.logo-chip {
    margin-left: var(--logo-pull-desktop);
  }
}

.site-head.is-scrolled {
  border-bottom-color: var(--border);
  background: var(--header-bg-scrolled);
  box-shadow: var(--shadow-sm);
}

.site-header {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  box-shadow: none;
}

.header-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin-inline: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}

a.logo:hover,
a.logo:focus,
a.logo:focus-visible {
  color: var(--text);
  text-decoration: none;
}

.logo:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 4px;
}

.logo-wordmark {
  display: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--text);
  line-height: 1;
}

/* Logo PNG con transparencia (sin fondo blanco forzado en CSS) */
.logo.logo-chip {
  isolation: isolate;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  /* Sin padding izquierdo: la A del marca queda alineada al borde del cabezal */
  padding: 3px 5px 3px 0;
  margin: 0;
  box-shadow: none;
  flex-shrink: 0;
  gap: 0.5rem;
  align-items: center;
}

@media (max-width: 479px) {
  .logo.logo-chip {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    isolation: auto;
  }

  .logo-wordmark {
    display: block;
  }
}

@media (min-width: 480px) {
  .logo-wordmark {
    display: none !important;
  }
}

.logo-picture {
  display: block;
  line-height: 0;
  overflow: hidden;
  /* Caja más pequeña que el PNG: object-fit cover amplía el dibujo y recorta márgenes blancos */
  width: var(--logo-crop-w-mobile);
  height: var(--logo-crop-h-mobile);
}

.logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Recorte hacia la izquierda: el dibujo (A / inicio del logotipo) no queda “centrado” con aire a la izq. */
  object-position: left center;
}

@media (max-width: 479px) {
  .logo-img {
    object-position: center center;
  }
}

@media (min-width: 480px) {
  .logo-picture {
    width: var(--logo-crop-w-sm);
    height: var(--logo-crop-h-sm);
  }
}

@media (min-width: 768px) {
  .logo-picture {
    width: var(--logo-crop-w-md);
    height: var(--logo-crop-h-md);
  }
}

@media (min-width: 1200px) {
  .logo-picture {
    width: var(--logo-crop-w-lg);
    height: var(--logo-crop-h-lg);
  }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  cursor: pointer;
  position: relative;
  /* Por encima del drawer (.site-nav) para que el toque siempre llegue al botón */
  z-index: 40;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  border-radius: 1px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 50%;
  margin-left: -10px;
}

.nav-toggle-bar::before {
  transform: translateY(-7px);
}

.nav-toggle-bar::after {
  transform: translateY(7px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  transform: translateY(0) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  transform: translateY(0) rotate(-45deg);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem 1.75rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
}

.nav-cta {
  padding: 0.5rem 1rem !important;
  border-radius: 999px;
  background: rgba(232, 165, 75, 0.12);
  color: var(--accent) !important;
  border: 1px solid rgba(232, 165, 75, 0.35);
}

.nav-cta:hover {
  background: rgba(232, 165, 75, 0.28);
  color: #a86410 !important;
}

@media (min-width: 861px) {
  .site-nav {
    position: static;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    width: auto;
    height: auto;
    min-height: 0;
    overflow: visible;
    pointer-events: auto;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    z-index: auto;
  }

  .site-nav-backdrop {
    display: none !important;
  }

  .site-nav-panel {
    display: flex;
    align-items: center;
    position: static;
    width: auto;
    height: auto;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    transform: none !important;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.25rem 1.75rem;
    padding: 0;
  }

  .site-nav a {
    display: inline;
    padding: 0.35rem 0;
    border-bottom: none;
    font-size: 0.95rem;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-header {
    overflow: visible;
  }

  /* Capa full screen: backdrop + panel lateral (drawer derecha) */
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    /* Debajo del botón hamburguesa, pero por encima del contenido de la página */
    z-index: 20;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    overflow: hidden;
    pointer-events: none;
  }

  .site-nav.is-open {
    pointer-events: auto;
  }

  .site-nav-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 29, 36, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.32s ease;
  }

  .site-nav.is-open .site-nav-backdrop {
    opacity: 1;
  }

  .site-nav-panel {
    position: relative;
    z-index: 1;
    width: min(300px, 88vw);
    max-width: 100%;
    height: 100%;
    margin: 0;
    padding: 0.5rem 0 1rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    border: 1px solid var(--border);
    border-right: none;
    box-shadow: -16px 0 40px rgba(26, 29, 36, 0.16);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .site-nav.is-open .site-nav-panel {
    transform: translateX(0);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 1.15rem;
  }

  .site-nav a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.1rem;
  }

  .nav-cta {
    margin-top: 1rem;
    text-align: center;
    border-radius: var(--radius-sm);
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 85% 15%, rgba(232, 165, 75, 0.2), transparent 50%),
    radial-gradient(ellipse 100% 80% at 70% 20%, rgba(232, 165, 75, 0.12), transparent 55%),
    radial-gradient(ellipse 80% 60% at 10% 80%, rgba(100, 130, 180, 0.12), transparent 50%),
    linear-gradient(165deg, #faf8f4 0%, #f2ede4 42%, #e8e2d8 100%);
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 29, 36, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 29, 36, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 70%);
  z-index: 0;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 3rem 3.5rem;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-media {
  position: relative;
  max-width: 520px;
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .hero-media {
    margin-inline: 0;
    max-width: none;
  }
}

.hero-media-glow {
  position: absolute;
  inset: -12% -8%;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, var(--accent-glow), transparent 68%);
  filter: blur(28px);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.hero-media-frame {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(232, 165, 75, 0.15) inset,
    var(--shadow-md),
    0 0 60px rgba(232, 165, 75, 0.12);
  z-index: 1;
}

.hero-media-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.7s var(--ease-out);
}

.hero-media:hover .hero-media-img {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .hero-media-img,
  .hero-media:hover .hero-media-img {
    transform: none;
    transition: none;
  }
}

.hero-media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.65rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(0deg, rgba(7, 8, 11, 0.92), transparent);
}

.hero-media-badges {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.hero-badge {
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f5f6f8;
  background: rgba(26, 29, 36, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.hero-badge-accent {
  color: #111;
  background: linear-gradient(145deg, var(--accent), var(--accent-dim));
  border-color: rgba(232, 165, 75, 0.45);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.35rem, 5.2vw, 3.85rem);
  line-height: 1.07;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  max-width: 18ch;
  text-transform: none;
}

.text-gradient {
  background: linear-gradient(120deg, #f0be6e, var(--accent), #c4852e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 2rem;
  max-width: 38rem;
  color: var(--text-muted);
  font-size: 1.125rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(145deg, var(--accent), var(--accent-dim));
  color: #111;
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-primary:hover {
  color: #111;
  box-shadow: 0 12px 40px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: rgba(26, 29, 36, 0.2);
  background: rgba(26, 29, 36, 0.05);
  color: var(--text);
}

.btn-whatsapp {
  color: #fff;
  background: #25d366;
  border: 1px solid #1ebe57;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  color: #fff;
  background: #20bd5a;
  border-color: #20bd5a;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 520px;
  margin: 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border);
}

.hero-stats dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin: 0 0 0.25rem;
}

.hero-stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.hero-stats strong {
  font-weight: 700;
  color: var(--text);
}

@media (max-width: 520px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Trust strip */
.trust-strip {
  padding: 3rem 0;
  border-block: 1px solid var(--border);
  background: var(--bg-raised);
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 800px) {
  .trust-inner {
    grid-template-columns: 1fr;
  }
}

.trust-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.trust-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 0.9rem;
  border: 1px solid rgba(232, 165, 75, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(232, 165, 75, 0.06);
}

.trust-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.trust-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-raised);
}

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.6vw, 2.55rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.section-intro {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-head-wide {
  max-width: min(720px, 100%);
}

/* Showcase / instalaciones (galería ilustrativa) */
.section-showcase {
  padding-block: 5.5rem;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(232, 165, 75, 0.06), transparent 50%),
    var(--bg-deep);
  overflow-x: clip;
  max-width: 100%;
}

.showcase-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .showcase-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(120px, auto);
    gap: 1.25rem;
  }

  .showcase-card-tall {
    grid-column: 1 / 5;
    grid-row: 1 / 3;
  }

  .showcase-card:nth-child(2) {
    grid-column: 5 / 9;
    grid-row: 1;
  }

  .showcase-card:nth-child(3) {
    grid-column: 9 / 13;
    grid-row: 1;
  }

  .showcase-card-wide {
    grid-column: 5 / 13;
    grid-row: 2;
  }

  /* Galería con 2 fotos (_originales) */
  .showcase-grid--duo .showcase-card-tall {
    grid-column: 1 / 5;
    grid-row: 1 / 3;
  }

  .showcase-grid--duo .showcase-card-wide {
    grid-column: 5 / 13;
    grid-row: 1 / 3;
  }
}

/* Galería completa (muro de fotos) */
.photo-wall-head {
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  max-width: 42rem;
}

.photo-wall-heading {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.photo-wall-intro {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.photo-wall-scroll-hint {
  display: none;
}

.photo-wall {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  max-width: 100%;
}

/* Móvil: carrusel horizontal (no ocupa todo el ancho; evita scroll infinito) */
@media (max-width: 767px) {
  .photo-wall-scroll-hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.88rem;
    color: var(--accent);
    font-weight: 500;
  }

  .photo-wall {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.25rem;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.35rem;
    scrollbar-width: thin;
  }

  .photo-wall-item {
    flex: 0 0 min(82vw, 20rem);
    scroll-snap-align: center;
    min-width: 0;
    max-width: 100%;
  }

  .photo-wall-item-tall .photo-wall-figure {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 768px) and (max-width: 999px) {
  .photo-wall {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1000px) {
  .photo-wall {
    grid-template-columns: repeat(3, 1fr);
  }

  .photo-wall-item-tall .photo-wall-figure {
    aspect-ratio: 2 / 3;
  }
}

.photo-wall-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  transition:
    border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    transform 0.45s var(--ease-spring);
}

/* Lightbox: expandir al clic (icono esquina + overlay, estilo galería corporativa) */
.gallery-zoom-trigger {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.gallery-zoom-trigger::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 20, 26, 0.28);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
  pointer-events: none;
}

.gallery-zoom-trigger::after {
  content: "";
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(18, 20, 26, 0.72);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8a54b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.3s var(--ease-out),
    transform 0.3s var(--ease-spring);
  pointer-events: none;
  z-index: 2;
}

.gallery-zoom-trigger:hover::before,
.gallery-zoom-trigger:focus-visible::before {
  opacity: 1;
}

.gallery-zoom-trigger:hover::after,
.gallery-zoom-trigger:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.gallery-zoom-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (hover: none) {
  /* Sin hover: icono discreto (táctil) */
  .gallery-zoom-trigger::after {
    opacity: 0.85;
    transform: none;
  }
}

@media (max-width: 767px) {
  .gallery-zoom-trigger::after {
    top: 0.45rem;
    right: 0.45rem;
    width: 2rem;
    height: 2rem;
    background-size: 0.95rem;
  }

  .photo-wall-cap {
    padding: 2rem 0.75rem 0.75rem;
  }

  .photo-wall-title {
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-zoom-trigger::before,
  .gallery-zoom-trigger::after {
    transition: opacity 0.15s ease;
  }

  .gallery-zoom-trigger:hover::after,
  .gallery-zoom-trigger:focus-visible::after {
    transform: none;
  }
}

.gallery-zoom-trigger img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.showcase-figure,
.photo-wall-figure {
  cursor: pointer;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(18, 20, 26, 0.92);
  backdrop-filter: blur(6px);
}

.photo-lightbox[hidden] {
  display: none;
}

.photo-lightbox-figure {
  margin: 0;
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.photo-lightbox-img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 3rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.photo-lightbox-cap {
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: 0.95rem;
  max-width: 40rem;
  line-height: 1.4;
}

.photo-lightbox-kicker {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.photo-lightbox-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.photo-lightbox-close,
.photo-lightbox-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background 0.2s;
}

.photo-lightbox-close:hover,
.photo-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.photo-lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.5rem;
  line-height: 1;
}

.photo-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 3.25rem;
  font-size: 1.75rem;
  line-height: 1;
}

.photo-lightbox-prev {
  left: 1rem;
}

.photo-lightbox-next {
  right: 1rem;
}

@media (max-width: 599px) {
  .photo-lightbox-nav {
    display: none;
  }
}

.photo-wall-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.photo-wall-item:hover .photo-wall-figure {
  border-color: rgba(232, 165, 75, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(26, 29, 36, 0.1);
}

.photo-wall-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(26, 29, 36, 0.88), transparent);
  color: #fff;
  pointer-events: none;
  z-index: 2;
}

.photo-wall-kicker {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.photo-wall-title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.showcase-card {
  min-height: 0;
}

@media (max-width: 767px) {
  .showcase-figure {
    aspect-ratio: 4 / 3;
    min-height: 0;
    height: auto;
  }
}

.showcase-figure {
  position: relative;
  height: 100%;
  min-height: 220px;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  transition:
    border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    transform 0.45s var(--ease-spring);
}

@media (min-width: 900px) {
  .showcase-card-tall .showcase-figure {
    min-height: 100%;
  }
}

.showcase-card:hover .showcase-figure {
  border-color: rgba(232, 165, 75, 0.45);
  box-shadow:
    0 20px 48px rgba(26, 29, 36, 0.12),
    0 0 0 1px rgba(232, 165, 75, 0.15) inset;
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .showcase-card:hover .showcase-figure {
    transform: none;
    transition: border-color 0.2s ease;
  }
}

.showcase-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out);
}

.showcase-card:hover .showcase-figure img {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .showcase-card:hover .showcase-figure img {
    transform: none;
  }
}

.showcase-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.35rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: linear-gradient(0deg, rgba(7, 8, 11, 0.94) 0%, rgba(7, 8, 11, 0.2) 55%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.showcase-cap-kicker {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.showcase-cap-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #faf9f7;
  line-height: 1.25;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-copy p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.about-copy strong {
  color: var(--text);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}

.timeline li {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.timeline li:last-child {
  border-bottom: 0;
}

.timeline-year {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  font-size: 1rem;
}

.timeline-text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Bento products */
.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 700px) {
  .bento {
    grid-template-columns: 1fr;
  }
}

.bento-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, var(--glass) 0%, var(--bg-card) 40%);
  transition: border-color 0.25s ease, transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.bento-card:hover {
  border-color: rgba(232, 165, 75, 0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.bento-large {
  grid-column: 1 / -1;
  background:
    linear-gradient(145deg, rgba(232, 165, 75, 0.08), transparent 50%),
    var(--bg-card);
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
}

.bento-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.brands-strip {
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-align: center;
}

.brands-label {
  margin: 0 0 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.brands-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
}

.brands-logos li {
  flex: 0 0 auto;
}

.brands-logos img {
  display: block;
  max-height: 42px;
  width: auto;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.3s ease;
}

.brands-logos img:hover {
  filter: grayscale(0%) opacity(1);
}

@media (max-width: 600px) {
  .brands-logos {
    gap: 1.5rem 2rem;
  }

  .brands-logos img {
    max-height: 34px;
  }
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 800px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-panel {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.service-panel-accent {
  border-color: rgba(232, 165, 75, 0.25);
  box-shadow: 0 0 0 1px rgba(232, 165, 75, 0.06) inset;
}

.service-panel h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 1.25rem;
}

.service-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
}

.service-list li {
  margin-bottom: 0.65rem;
}

.service-list strong {
  color: var(--text);
}

.service-footnote {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Casos de éxito (ilustrativos / SEO) */
.cases-lead {
  max-width: 720px;
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.cases-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .cases-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.case-card {
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.case-card-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.case-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

.case-card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  margin-bottom: 0.65rem;
  overflow: hidden;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  padding-right: 2.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  list-style: none;
  position: relative;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--accent-dim);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq-item p {
  margin: 0;
  padding: 1rem 1.25rem 1.2rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.faq-item p a {
  font-weight: 500;
}

/* CTA band */
.section-cta {
  padding: 4.5rem 0;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 120% at 50% 0%, rgba(232, 165, 75, 0.15), transparent 55%),
    var(--bg-deep);
  border-block: 1px solid var(--border);
}

.cta-inner {
  max-width: 560px;
}

.cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 1rem;
}

.cta-text {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
}

/* Contact — tres columnas simétricas en escritorio */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.contact-layout > * {
  min-width: 0;
  min-height: 0;
}

@media (min-width: 801px) and (max-width: 1023px) {
  .contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2rem;
  }

  .contact-form {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
  }

  .contact-layout > * {
    align-self: stretch;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
}

.contact-card {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-card .social-links {
  margin-top: auto;
  padding-top: 1rem;
}

.contact-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 1.25rem;
}

.contact-hours {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-hours strong {
  color: var(--text);
}

.contact-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.contact-list li {
  margin-bottom: 1rem;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-list a {
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-link {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text-muted);
}

.social-link:hover {
  color: var(--accent);
  border-color: rgba(232, 165, 75, 0.4);
}

.contact-map {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Contenedor flexible para que el iframe ocupe el alto restante (columnas igual altura en PC) */
.contact-map-embed {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 220px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-raised);
}

.contact-map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 1023px) {
  .contact-map-embed {
    flex: 0 0 auto;
    min-height: 260px;
    height: 280px;
  }
}

.map-caption {
  flex-shrink: 0;
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.map-caption a {
  font-weight: 600;
}

.contact-form {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.form-hint {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-row {
  margin-bottom: 1.1rem;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: #faf9f7;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: transparent;
}

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

/* Footer */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  background: var(--footer-bg);
}

.footer-inner {
  text-align: center;
}

/* Logo del pie oculto (no se muestra en layout) */
.footer-brand {
  display: none;
}

.footer-logo-wrap {
  overflow: hidden;
  width: min(312px, 88vw);
  height: 64px;
  margin-inline: auto;
  isolation: isolate;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.footer-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

@media (min-width: 768px) {
  .footer-logo-wrap {
    width: min(336px, 90vw);
    height: 74px;
  }
}

@media (max-width: 479px) {
  .footer-logo-wrap {
    background: transparent;
    border: none;
    box-shadow: none;
  }
}

.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}

.footer-line,
.footer-address,
.footer-copy {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-line a {
  color: var(--text-muted);
}

.footer-line a:hover {
  color: var(--accent);
}

.footer-copy {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  opacity: 0.85;
}

.footer-credit {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.75;
}

.footer-credit a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-credit a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Reveal animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s var(--ease-out),
    transform 0.65s var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Barra de contacto rápido — solo vista estrecha */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 24px rgba(26, 29, 36, 0.1);
}

@media (max-width: 900px) {
  .mobile-cta {
    display: grid;
  }
}

.mobile-cta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 3.5rem;
  padding: 0.5rem 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  border-inline-end: 1px solid var(--border);
  transition: color 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-cta-item:last-child {
  border-inline-end: none;
}

.mobile-cta-item:hover,
.mobile-cta-item:focus-visible {
  color: var(--text);
  background: rgba(26, 29, 36, 0.05);
  outline: none;
}

.mobile-cta-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.mobile-cta-item-accent {
  color: #53d769;
}

.mobile-cta-item-accent:hover,
.mobile-cta-item-accent:focus-visible {
  color: #7ae88f;
  background: rgba(37, 211, 102, 0.14);
}

.mobile-cta-svg {
  flex-shrink: 0;
  opacity: 0.95;
}

.mobile-cta-label {
  line-height: 1.1;
  text-align: center;
}
