/* =========================================================
   RECREANDO — Sistema de diseño
   Paleta original conservada + tokens derivados
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  /* --- Paleta original (conservada) --- */
  --bg-base: #3a3a5a;
  --bg-deep: #222236;
  --pink: #de1f6f;
  --pink-dark: #a11851;

  /* --- Colores del isotipo (usados como sistema de categorías) --- */
  --c-blue: #062e63;
  --c-orange: #e98329;
  --c-lime: #aebb22;
  --c-green: #077f54;
  --c-cyan: #0aa3bf;

  /* --- Derivados para profundidad, sin salir de la familia --- */
  --bg-elevated: #2b2b46;
  --bg-elevated-2: #33334f;
  --line: rgba(255, 255, 255, 0.09);

  --ink: #ffffff;
  --muted: #cfcfcf;
  --muted-2: #9a9ab2;

  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --container: 1180px;
  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.35);
  --shadow-tight: 0 8px 20px rgba(0, 0, 0, 0.3);

  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* --- Reset --- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; border: none; background: none; cursor: pointer; }

body {
  background: var(--bg-base);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main { flex: 1; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-cyan);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--pink);
  display: inline-block;
}

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

.section {
  padding: 100px 0;
}

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

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-top: 14px; }

/* --- Botones --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.btn-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 10px 30px rgba(222, 31, 111, 0.35);
}
.btn-primary:hover { background: var(--pink-dark); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(161, 24, 81, 0.4); }

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--pink); background: rgba(222, 31, 111, 0.08); transform: translateY(-3px); }

.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--c-cyan);
  outline-offset: 3px;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(34, 34, 54, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, padding 0.3s ease;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.logo-img { height: 38px; width: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  position: relative;
  padding: 10px 14px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  color: var(--muted);
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-link:hover { color: var(--ink); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--ink); }

.nav-link-button {
  background: var(--pink);
  color: #fff !important;
  padding: 10px 22px;
  font-weight: 600;
}
.nav-link-button::after { display: none; }
.nav-link-button:hover { background: var(--pink-dark); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.menu-toggle:hover { background: rgba(255, 255, 255, 0.06); }

.menu-toggle .bar {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 4px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Menú lateral móvil --- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 20, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 600;
}
.nav-overlay.active { opacity: 1; pointer-events: auto; }

.side-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: var(--bg-deep);
  padding: 90px 24px 40px;
  transition: right 0.35s var(--ease);
  z-index: 700;
  border-left: 1px solid var(--line);
}
.side-menu.active { right: 0; }

.close-btn {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.6rem;
  color: #fff;
}
.close-btn:hover { background: rgba(255, 255, 255, 0.08); }

.side-menu-list { display: flex; flex-direction: column; gap: 6px; }
.side-menu-list .nav-link { padding: 14px 14px; font-size: 1rem; }
.side-menu-list .nav-link-button { text-align: center; margin-top: 10px; }

/* =========================================================
   FIRMA VISUAL — cinta multicolor
   ========================================================= */
.ribbon-signature {
  width: 100%;
  height: auto;
  display: block;
}

.ribbon-divider {
  width: 100%;
  height: 6px;
  margin: 0;
  background: linear-gradient(90deg,
    var(--c-blue) 0 16.6%,
    var(--pink) 16.6% 33.2%,
    var(--c-orange) 33.2% 49.8%,
    var(--c-lime) 49.8% 66.4%,
    var(--c-green) 66.4% 83%,
    var(--c-cyan) 83% 100%);
  opacity: 0.85;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 90px 24px 60px;
  text-align: center;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  max-width: 160vw;
  height: 500px;
  background: radial-gradient(closest-side, rgba(222, 31, 111, 0.28), transparent 70%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  margin-bottom: 20px;
}

.hero h1 .accent { color: var(--pink); }

.hero-lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-ribbon-wrap { max-width: 480px; margin: 0 auto; opacity: 0.9; }

/* =========================================================
   STATS
   ========================================================= */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  padding: 40px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.stat {
  text-align: center;
  padding: 24px 12px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}

.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--c-cyan);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 6px;
}

/* =========================================================
   SERVICIOS — bento grid
   ========================================================= */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.bento-card {
  grid-column: span 3;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bento-card.wide { grid-column: span 6; display: flex; align-items: center; gap: 32px; }
.bento-card.tall { grid-column: span 2; }
.bento-card.mid { grid-column: span 4; }

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(222, 31, 111, 0.4);
}

.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.bento-icon svg { width: 26px; height: 26px; }

.bento-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.bento-card p { color: var(--muted); font-size: 0.95rem; }

/* =========================================================
   POR QUÉ ELEGIRNOS — pilares con los colores del isotipo
   ========================================================= */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.pillar {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--pillar-color, var(--pink));
}

.pillar-mark {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--pillar-color, var(--pink));
  font-size: 0.9rem;
}

.pillar h4 { font-size: 1.02rem; margin-bottom: 6px; }
.pillar p { color: var(--muted); font-size: 0.92rem; }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-deep));
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  border: 1px solid var(--line);
}
.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.cta-banner p { color: var(--muted); margin-bottom: 30px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: 50px 24px 26px;
  margin-top: auto;
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
}

.footer-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 12px; max-width: 300px; }

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-cyan);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; }

.footer-social { display: flex; gap: 10px; margin-top: 6px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-elevated);
  transition: background 0.25s ease, transform 0.25s ease;
}
.footer-social a:hover { background: var(--pink); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted-2);
}
.footer-bottom a { color: var(--muted-2); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* =========================================================
   WHATSAPP FLOTANTE
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  z-index: 400;
  animation: float-bob 3s ease-in-out infinite;
  transition: transform 0.25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =========================================================
   QUIÉNES SOMOS
   ========================================================= */
.slider-shell {
  max-width: 720px;
  margin: 0 auto 20px;
}

.image-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  cursor: grab;
  aspect-ratio: 16 / 10;
}
.image-slider:active { cursor: grabbing; }

.slides { display: flex; height: 100%; }
.slides img {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.slider-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--line);
  transition: background 0.25s ease, transform 0.25s ease;
}
.slider-dot.active { background: var(--pink); transform: scale(1.2); }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background 0.2s ease;
}
.slider-arrow:hover { background: rgba(222, 31, 111, 0.8); }
.slider-arrow.prev { left: 14px; }
.slider-arrow.next { right: 14px; }

.about-copy {
  max-width: 720px;
  margin: 40px auto 0;
  text-align: center;
}
.about-copy .lede { font-size: 1.2rem; font-style: italic; color: var(--muted); margin-bottom: 20px; }
.about-copy p { color: var(--muted); font-size: 1.02rem; }

/* --- Timeline (historia real, orden cronológico) --- */
.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding-left: 30px;
  border-left: 2px solid var(--line);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--tl-color, var(--pink));
  box-shadow: 0 0 0 4px var(--bg-base);
}

.timeline-year {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--tl-color, var(--pink));
  font-size: 0.95rem;
}
.timeline-item h4 { margin: 6px 0 6px; font-size: 1.1rem; }
.timeline-item p { color: var(--muted); font-size: 0.95rem; }

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

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  text-align: left;
  font-weight: 600;
  font-size: 1.02rem;
  color: #fff;
}

.faq-question .plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
  font-family: var(--font-mono);
}

.faq-item.active .faq-question .plus { transform: rotate(45deg); background: var(--pink); border-color: var(--pink); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--muted);
  font-size: 0.96rem;
  padding: 0 4px;
}
.faq-item.active .faq-answer { max-height: 300px; padding: 0 4px 20px; }

/* =========================================================
   EVENTOS
   ========================================================= */
.category-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: var(--font-mono);
}
.legend-dot { width: 9px; height: 9px; border-radius: 50%; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}

.filter-chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s ease;
  background: transparent;
}
.filter-chip:hover { border-color: var(--pink); color: #fff; }
.filter-chip.active { background: var(--pink); border-color: var(--pink); color: #fff; }

.filter-select {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: #fff;
  font-size: 0.88rem;
  font-family: var(--font-body);
}

.filter-meta {
  text-align: center;
  color: var(--muted-2);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  margin-bottom: 36px;
}

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

.event-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.event-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }

.event-card.is-hidden { display: none; }

.event-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.event-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.event-card:hover .event-media img { transform: scale(1.06); }

.event-tag {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 5px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--tag-color, var(--pink));
}

.event-year {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0,0,0,0.5);
}

.event-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.event-body h3 { font-size: 1.1rem; margin-bottom: 10px; }
.event-body p { color: var(--muted); font-size: 0.92rem; flex: 1; }

.event-status {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.event-status::before { content: '●'; color: var(--c-green); font-size: 0.6rem; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  grid-column: 1 / -1;
}

/* =========================================================
   CLIENTES — marquee
   ========================================================= */
.marquee-wrap {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee-scroll 42s linear infinite;
}
.marquee-track.reverse { animation-direction: reverse; animation-duration: 50s; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-logo {
  flex-shrink: 0;
  width: 150px;
  height: 90px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.marquee-logo img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* =========================================================
   COTIZAR — formulario
   ========================================================= */
.quote-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
}

.quote-form {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  gap: 20px;
}

.form-row { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--muted); }
.field .req { color: var(--pink); }

.field input, .field select, .field textarea {
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--pink);
}
.field textarea { resize: vertical; min-height: 110px; }

.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e05555; }
.field-error { font-size: 0.8rem; color: #ff8080; min-height: 16px; }

.hp-field { position: absolute; left: -9999px; opacity: 0; }

.form-msg {
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.9rem;
  display: none;
}
.form-msg.show { display: block; }
.form-msg.success { background: rgba(7, 127, 84, 0.18); border: 1px solid var(--c-green); color: #b7f0d9; }
.form-msg.error { background: rgba(224, 85, 85, 0.15); border: 1px solid #e05555; color: #ffbcbc; }

.quote-side { display: flex; flex-direction: column; gap: 20px; }

.hours-card, .contact-card-new {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.hours-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.hours-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }
.hours-row:last-child { border-bottom: none; }
.hours-row strong { color: #fff; }

.contact-links { display: flex; flex-direction: column; gap: 12px; }
.contact-link-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  text-decoration: none;
  color: #fff;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.contact-link-item:hover { border-color: var(--pink); transform: translateX(4px); }
.contact-link-item .icon-box {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-link-item .icon-box svg { width: 18px; height: 18px; }

/* =========================================================
   AVISO LEGAL
   ========================================================= */
.legal-shell {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 60px 44px;
}
.legal-shell h1 { text-align: center; margin-bottom: 40px; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.legal-shell section { margin-bottom: 30px; }
.legal-shell section:last-child { margin-bottom: 0; }
.legal-shell h3 { color: var(--c-cyan); font-size: 1.1rem; margin-bottom: 10px; }
.legal-shell p { color: var(--muted); font-size: 0.96rem; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .nav-list { display: none; }
  .menu-toggle { display: flex; }
  .bento-card, .bento-card.wide, .bento-card.mid { grid-column: span 6; }
  .bento-card.tall { grid-column: span 3; }
  .quote-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 70px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .bento-card.wide { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}

/* =========================================================
   MOVIMIENTO REDUCIDO
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
}

/* =========================================================
   SCROLLBAR
   ========================================================= */
* { scrollbar-color: var(--pink) var(--bg-deep); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background-color: var(--pink); border: 2px solid var(--bg-deep); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background-color: var(--pink-dark); }
