/* ============================================
   ORMAK LLANTAS Y RINES — Paleta del logo
   Blanco, negro, rojo, gris
   ============================================ */

:root {
  /* Paleta logo ORMAK */
  --ormak-white: #FFFFFF;
  --ormak-black: #1a1a1a;
  --ormak-red: #C41E3A;
  --ormak-red-light: #E53935;
  --ormak-red-dark: #9A1B1D;
  --ormak-grey: #6B7280;
  --ormak-grey-light: #E5E7EB;
  --ormak-grey-bg: #F5F5F5;

  --bg: var(--ormak-white);
  --bg-secondary: var(--ormak-grey-bg);
  --bg-card: var(--ormak-white);
  --surface: var(--ormak-white);
  --line: var(--ormak-grey-light);
  --line-strong: #D1D5DB;
  --text: var(--ormak-black);
  --text-secondary: var(--ormak-grey);
  --muted: #9CA3AF;
  --gold: var(--ormak-red);
  --gold-light: var(--ormak-red-light);
  --gold-dark: var(--ormak-red-dark);
  --champagne: var(--ormak-red);
  --accent: var(--ormak-red);
  --accent-hover: var(--ormak-red-light);
  --primary: var(--ormak-red);
  --primary-light: var(--ormak-red-light);
  --max: 1280px;
  --gutter: 32px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.15);
}

/* Icono volante/llantas (reemplazo visual de fa-tire) */
.icon-volante {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  margin-right: 0.35em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 3v2m0 14v2M3 12h2m14 0h2'/%3E%3Cpath d='M5.64 5.64l1.42 1.42m9.88 9.88l1.42 1.42M5.64 18.36l1.42-1.42m9.88-9.88l1.42-1.42'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}
.nav-links .icon-volante { margin-right: 0.4em; }
.site-footer .icon-volante { filter: brightness(0) invert(1); }

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: 1.2fr 0.8fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.section { padding: 100px 0; position: relative; }
.page-cotizacion .section { padding-top: 48px; }

/* ----- Barra superior contacto ----- */
.top-contact-bar {
  height: 36px;
  background: var(--ormak-grey-bg);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.top-contact-bar .container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.top-contact-bar .top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--ormak-grey);
  font-size: 0.8125rem;
}
.top-bar-social {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.top-bar-social a {
  color: var(--text-secondary);
  transition: color 0.2s ease, transform 0.2s ease;
}
.top-bar-social a:hover {
  color: var(--ormak-red);
  transform: translateY(-1px);
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: var(--shadow-md);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease;
}
.logo:hover { transform: scale(1.02); }
.logo-img {
  height: 52px;
  width: auto;
  filter: brightness(1.05);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 10px 18px;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}
.nav-links a:hover {
  color: var(--text);
  background: var(--bg-secondary);
  color: var(--ormak-red);
}
.nav-links a i { margin-right: 8px; opacity: 0.8; color: var(--ormak-red); }

/* ----- Botones ----- */
.btn {
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--ormak-red-dark) 0%, var(--ormak-red) 50%, var(--ormak-red-light) 100%);
  color: var(--ormak-white);
  box-shadow: 0 4px 16px rgba(196, 30, 58, 0.35);
  border: 1px solid rgba(196, 30, 58, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 30, 58, 0.45);
  background: linear-gradient(135deg, var(--ormak-red) 0%, var(--ormak-red-light) 100%);
  color: var(--ormak-white);
}
.btn-secondary {
  background: transparent;
  color: var(--ormak-red);
  border: 2px solid var(--ormak-red);
}
.btn-secondary:hover {
  background: rgba(196, 30, 58, 0.08);
  color: var(--ormak-red-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover {
  background: var(--bg-secondary);
  border-color: var(--ormak-red);
  color: var(--ormak-red);
}
.btn-sm { padding: 10px 18px; font-size: 0.875rem; }

/* ----- Hero ----- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  padding: 36px 0 72px;
  min-height: auto;
  overflow: hidden;
}
.hero > :first-child { margin-top: -150px; }
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: radial-gradient(ellipse 80% 70% at 70% 50%, rgba(196, 30, 58, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--ormak-red);
  font-weight: 600;
  margin-bottom: 12px;
  display: inline-block;
}
.title {
  font-family: "Inter", system-ui;
  font-weight: 700;
  line-height: 1.1;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  color: var(--text);
}
.subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.75;
  margin: 0 0 32px;
  max-width: 560px;
}
.cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}
.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(255, 51, 0, 0.25);
}
.hero-card h3 {
  font-family: "Inter", system-ui;
  margin: 0 0 12px;
  font-size: 1.5rem;
  color: var(--text);
  font-weight: 700;
}
.hero-card h3 i { color: var(--gold); margin-right: 8px; }
.hero-card p {
  color: var(--text-secondary);
  margin: 0 0 24px;
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* Slideshow / imagen hero secundaria — se ajusta al tamaño de la imagen */
.flyer-slideshow {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: inherit;
  width: fit-content;
  max-width: 100%;
}
.flyer-slideshow-slides { position: relative; }
.flyer-slide {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  vertical-align: top;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.flyer-slide.active { opacity: 1; z-index: 1; }
.flyer-squares {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(5, 1fr);
  pointer-events: none;
  z-index: 2;
}
.flyer-squares .sq {
  background-size: 800% 500%;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  transition: opacity 0.35s ease;
}
.flyer-squares .sq.out { opacity: 0; }

.caption { color: var(--muted); font-size: 0.875rem; margin-top: 12px; }

/* Cards genéricas */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 51, 0, 0.2);
}
.card h3 {
  margin: 0 0 12px;
  font-family: "Inter", system-ui;
  font-size: 1.25rem;
  color: var(--text);
  font-weight: 700;
}
.card h3 i { margin-right: 8px; color: var(--gold); }
.card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.9375rem;
}
.card-cta {
  margin-top: 1.25rem !important;
  margin-bottom: 0 !important;
}
.card-cta .btn { text-decoration: none; }

/* Línea de acento */
.accent-line {
  height: 3px;
  width: 72px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 24px 0 32px;
}

.metric {
  display: flex;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}
.metric strong { font-family: "Inter"; font-size: 1.75rem; color: var(--gold); }
.metric span { color: var(--text-secondary); font-size: 0.9375rem; }

/* ----- Slider de marcas ----- */
.brands-slider-section {
  padding: 42px 0 72px;
  background:
    radial-gradient(1200px 240px at 50% -30%, rgba(196, 30, 58, 0.08) 0%, rgba(196, 30, 58, 0) 65%),
    linear-gradient(180deg, rgba(246, 248, 252, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
}
.brands-slider {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  padding: 6px;
}
.brands-slider::before,
.brands-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 84px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.brands-slider::before {
  left: 0;
  background: linear-gradient(90deg, rgba(251, 252, 255, 1) 0%, rgba(251, 252, 255, 0) 100%);
}
.brands-slider::after {
  right: 0;
  background: linear-gradient(270deg, rgba(251, 252, 255, 1) 0%, rgba(251, 252, 255, 0) 100%);
}
.brands-slider-track {
  --brands-duration: 28s;
  display: flex;
  align-items: center;
  width: max-content;
  gap: 22px;
  padding: 18px 14px;
  animation: brands-marquee var(--brands-duration) linear infinite;
  will-change: transform;
}
.brands-slider:hover .brands-slider-track { animation-play-state: paused; }
.brand-slide {
  position: relative;
  flex: 0 0 auto;
  width: 184px;
  height: 90px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #ffffff 0%, #f5f7fb 100%);
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}
.brand-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 70%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
  pointer-events: none;
}
.brand-slide:hover {
  transform: translateY(-3px);
  background: linear-gradient(145deg, #ffffff 0%, #f9fafc 100%);
  border-color: rgba(196, 30, 58, 0.25);
  box-shadow: 0 14px 28px rgba(196, 30, 58, 0.13);
}
.brand-slide:hover::before {
  transform: translateX(120%);
}
.brand-slide img {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.78;
  transition: filter 0.28s ease, opacity 0.28s ease, transform 0.28s ease;
}
.brand-slide:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.06);
}
.brands-slider-loading {
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  padding: 6px 12px;
}
.brands-slider-section--hidden { display: none; }

@keyframes brands-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ----- Buscador de llantas (fondo fibra de carbono) ----- */
.tire-search-section {
  --carbon-base: #1a1d21;
  --carbon-line: rgba(255, 255, 255, 0.035);
  background: var(--carbon-base);
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      var(--carbon-line) 2px,
      var(--carbon-line) 3px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 2px,
      var(--carbon-line) 2px,
      var(--carbon-line) 3px
    ),
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
  background-size: 100% 100%, 100% 100%, 100% 100%;
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.tire-search-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 1px,
    rgba(0, 0, 0, 0.15) 1px,
    rgba(0, 0, 0, 0.15) 2px
  );
  background-size: 4px 4px;
  pointer-events: none;
  opacity: 0.6;
}
.tire-search-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}
.tire-search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.tire-search-block {
  width: 100%;
}
.tire-search-title {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ormak-white);
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}
.tire-search-form {
  width: 100%;
}
.tire-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.tire-search-select {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 10px 36px 10px 14px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--ormak-black);
  background: var(--ormak-white);
  border: 1px solid var(--ormak-grey-light);
  border-radius: var(--radius);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 5l4 4 4-4' fill='%236B7280'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tire-search-select:hover,
.tire-search-select:focus {
  border-color: var(--ormak-grey);
  outline: none;
  box-shadow: 0 0 0 2px rgba(196, 30, 58, 0.2);
}
.tire-search-select option {
  color: var(--ormak-black);
  background: var(--ormak-white);
}
.tire-search-btn {
  flex-shrink: 0;
  padding: 12px 24px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ormak-white);
  background: var(--ormak-red-dark);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.tire-search-btn:hover {
  background: var(--ormak-red);
  transform: translateY(-1px);
}
@media (max-width: 1024px) {
  .tire-search-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 640px) {
  .tire-search-section { padding: 40px 0; }
  .tire-search-row {
    flex-direction: column;
    align-items: stretch;
  }
  .tire-search-select { min-height: 48px; }
  .tire-search-btn { width: 100%; }
}

/* Parallax */
.parallax {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.5), rgba(10, 10, 11, 0.88));
}
.parallax-content {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}
.parallax-title {
  font-family: "Inter", system-ui;
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin: 0;
  color: #fff;
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: var(--ormak-black);
  border-top: 1px solid var(--ormak-grey);
  padding: 80px 0 32px;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 30, 58, 0.2), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr 1fr;
  gap: 48px;
}
.footer-brand .footer-social-links {
  display: flex;
  gap: 16px;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.footer-brand .footer-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  transition: all 0.2s ease;
}
.footer-brand .footer-social-links a:hover {
  background: var(--ormak-red);
  color: var(--ormak-white);
  border-color: var(--ormak-red);
  transform: translateY(-2px);
}
.footer-brand .logo-img { margin-bottom: 12px; }
.footer-brand p {
  margin: 16px 0 0;
  line-height: 1.7;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer-tarjetas { margin-top: 1.5rem; max-width: 180px; height: auto; display: block; }
.footer-col h4 {
  margin: 0 0 20px;
  font-family: "Inter";
  color: var(--ormak-white);
  font-weight: 700;
  font-size: 0.94rem;
}
.footer-col h4 i { margin-right: 8px; color: var(--ormak-red); }
.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  margin: 8px 0;
  font-size: 0.82rem;
  transition: all 0.2s ease;
}
.footer-links a:hover { color: var(--ormak-white); padding-left: 4px; }
.footer-brand p { color: rgba(255, 255, 255, 0.7); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-legal {
  color: var(--ormak-red-light);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-legal:hover { color: var(--ormak-white); }
.icon { margin-right: 8px; opacity: 0.8; }
.card h3 i { margin-right: 8px; }
.btn i { margin-right: 6px; }
.footer-links i { margin-right: 6px; opacity: 0.6; }
.footer-address { font-size: 0.76rem; line-height: 1.4; color: rgba(255, 255, 255, 0.75); display: block; }
.footer-address i { margin-right: 6px; opacity: 0.6; }

/* ----- Mapa de sucursales (Instaladores) ----- */
.sucursales-layout {
  display: flex;
  gap: var(--gutter);
  align-items: stretch;
  flex-wrap: wrap;
}
.sucursales-list { padding: 1.25rem 1.5rem; }
.sucursales-ul { list-style: none; margin: 0; padding: 0; }
.sucursal-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.sucursal-item:last-child { border-bottom: none; }
.sucursal-item strong { display: block; margin-bottom: 0.25rem; color: var(--text); }
.sucursal-item strong i { margin-right: 0.35rem; color: var(--primary); }
.sucursal-item p { margin: 0 0 0.5rem; font-size: 0.95rem; color: var(--text-secondary); line-height: 1.4; }
.sucursal-link {
  font-size: 0.9rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.sucursal-link:hover { text-decoration: underline; color: var(--primary-light); }
.sucursales-map-wrap { min-height: 400px; }
.sucursales-map {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: var(--radius);
}
@media (max-width: 900px) {
  .sucursales-layout { flex-direction: column; }
  .sucursales-list { flex: none; }
}

/* ----- Formularios ----- */
input, textarea, select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.15);
}
input::placeholder, textarea::placeholder { color: var(--muted); }
label {
  display: block;
  margin: 14px 0 6px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.875rem;
}
button[type="submit"], button.btn-submit {
  padding: 14px 24px;
  border-radius: var(--radius);
  border: none;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--ormak-white);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}
button[type="submit"]:hover, button.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 51, 0, 0.4);
}

/* Quote form */
.quote-form { margin-top: 24px; display: flex; flex-direction: column; }
.quote-form__intro {
  padding: 12px 16px;
  margin-bottom: 4px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}
.quote-form__actions { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.quote-submit { justify-content: center; gap: 10px; }
.quote-form.is-submitting .quote-submit { opacity: 0.7; pointer-events: none; }
.quote-status { min-height: 20px; margin: 0; font-size: 0.95rem; color: var(--text-secondary); }
.quote-status.success { color: #22c55e; }
.quote-status.error { color: #ef4444; }
.form-honeypot { position: absolute; left: -5000px; height: 0; overflow: hidden; opacity: 0; }

/* Schedule section */
.schedule-section {
  background: var(--bg-secondary);
  padding-top: 96px;
  padding-bottom: 96px;
}
.schedule-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}
.schedule-title { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 20px; }
.schedule-subtitle { margin-bottom: 32px; max-width: 560px; }
.schedule-points {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.schedule-points li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.6; }
.schedule-points i { color: var(--gold); margin-top: 2px; }
.schedule-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(196, 30, 58, 0.08);
  border: 1px solid rgba(196, 30, 58, 0.2);
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.schedule-note i { color: var(--gold); margin-top: 3px; }
.schedule-form { gap: 0; }
.schedule-form label:first-of-type { margin-top: 0; }
.schedule-form label { margin-top: 18px; }
.schedule-datetime {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}
.schedule-datetime label { margin-top: 0; }

/* Process diagram (soluciones) */
.process-portada-wrap {
  width: 100%;
  max-width: 698px;
  height: 369px;
  margin-top: 32px;
  padding: 24px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-sizing: border-box;
}
.process-portada-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 0;
}
.process-box-step {
  --i: 0;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: scale(0.85) translateY(8px);
  animation: processBoxStepIn 0.5s ease forwards;
  animation-delay: calc(var(--i) * 0.1s);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.process-box-step:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.process-box-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--ormak-white);
  border-radius: 10px;
  font-size: 1rem;
}
.process-box-label {
  font-family: "Inter";
  font-weight: 700;
  font-size: 0.6875rem;
  color: var(--text);
  text-align: center;
  line-height: 1.2;
}
.process-box-arrow {
  --i: 0;
  flex-shrink: 0;
  width: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  opacity: 0;
  animation: processBoxArrowIn 0.4s ease forwards;
  animation-delay: calc((var(--i) + 1) * 0.1s);
}
.process-box-arrow i { font-size: 0.625rem; }
@keyframes processBoxStepIn {
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes processBoxArrowIn { to { opacity: 1; } }

/* UI/UX block (nosotros) */
.uiux-block {
  margin-top: 48px;
  padding: 40px 32px 48px;
  background: var(--bg-secondary);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(280px, 1.4fr);
  gap: 40px;
  align-items: start;
}
.uiux-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.uiux-image { width: 100%; height: auto; display: block; object-fit: cover; }
.uiux-content { min-width: 0; }
.uiux-title {
  margin: 0 0 16px;
  font-family: "Inter";
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
}
.uiux-excerpt {
  margin: 0 0 32px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
  max-width: 720px;
}
.uiux-icons { display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: flex-start; }
.uiux-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 100px;
}
.uiux-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--ormak-white);
  border-radius: 12px;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}
.uiux-icon-item span:last-child {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

/* Process (soluciones página) */
.process-wrap {
  margin-bottom: 56px;
  padding: 40px 24px 48px;
  background: var(--bg-secondary);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.process-title {
  margin: 0 0 32px;
  font-family: "Inter";
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-secondary);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.process-diagram {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 100%;
}
.process-step {
  --i: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  max-width: 160px;
  padding: 20px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(20px);
  animation: processStepIn 0.6s ease forwards;
  animation-delay: calc(var(--i) * 0.12s);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.process-step-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--ormak-white);
  border-radius: 12px;
  font-size: 1.25rem;
}
.process-step-label {
  font-family: "Inter";
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text);
  margin-bottom: 4px;
}
.process-step-desc { font-size: 0.75rem; color: var(--text-secondary); text-align: center; line-height: 1.4; }
.process-arrow {
  display: flex;
  align-items: center;
  padding: 0 8px;
  color: var(--gold);
  opacity: 0;
  animation: processArrowIn 0.5s ease forwards;
  animation-delay: calc((var(--i, 0) + 1) * 0.12s);
}
@keyframes processStepIn { to { opacity: 1; transform: translateY(0); } }
@keyframes processArrowIn { to { opacity: 1; } }

/* ----- Product grid (showroom / highlights) ----- */
.highlights-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}
.highlights-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.prod-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.prod-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(196, 30, 58, 0.3);
  transform: translateY(-6px);
}
.prod-card-link { display: block; text-decoration: none; color: inherit; flex: 1; min-height: 0; }
.prod-card-image {
  aspect-ratio: 16 / 10;
  background: var(--bg-secondary);
  overflow: hidden;
}
.prod-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease-out;
}
.prod-card:hover .prod-card-image img { transform: scale(1.08); }
.prod-card-body { padding: 1.25rem 1.25rem 1rem; }
.prod-card-tag {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--ormak-white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}
.prod-card-tag--eworking { background: #2d2d2d; color: var(--gold); border: 1px solid var(--gold); }
.prod-card-tag--ebusiness { background: #1e3a5f; color: #93c5fd; }
.prod-card-tag--emarketing { background: #4a1c1c; color: #fca5a5; }
.prod-card-tag--elearning { background: #1e3d2e; color: #86efac; }
.prod-card-tag--ecommerce { background: var(--gold-dark); color: var(--gold-light); }
.prod-card-tag--ebranding { background: #1e293b; color: #94a3b8; }
.prod-card-tag--emedialab { background: #3d2a4a; color: #e9d5ff; }
.prod-card-tag--runflat { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: #fff; }
.prod-card-tag--suv { background: #1e3a5f; color: #93c5fd; }
.prod-card-title {
  font-family: "Inter";
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prod-card-price { font-size: 0.9375rem; font-weight: 700; color: var(--gold); }
.prod-card-actions {
  padding: 0 1.25rem 1.25rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.prod-card-actions .btn { flex: 1; min-width: 0; justify-content: center; font-size: 0.8125rem; padding: 0.5rem 0.75rem; }
.prod-card-buttons-wrap { padding: 0 1.25rem 1rem; }
.prod-card-ver-detalles,
.prod-card-ver-demo {
  display: block;
  width: 100%;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  box-sizing: border-box;
}
.prod-card-ver-detalles {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  margin-bottom: 0.5rem;
}
.prod-card-ver-detalles:hover { background: rgba(255, 255, 255, 0.12); color: var(--gold); }
.prod-card-ver-demo {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--line);
}
.prod-card-ver-demo:hover { background: rgba(196, 30, 58, 0.1); color: var(--primary); border-color: var(--primary); }

/* Product cards (productos.css style) */
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--gold), transparent, var(--gold-dark));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(196, 30, 58, 0.2);
  border-color: var(--gold);
}
.product-card:hover::before { opacity: 1; }
.product-image {
  width: 100%;
  height: 280px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-image img { transform: scale(1.08); }
.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--ormak-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
}
.product-quick-view {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 24px;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.9);
  backdrop-filter: blur(10px);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid var(--gold);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
}
.product-card:hover .product-quick-view {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.product-quick-view:hover {
  background: var(--gold);
  color: var(--ormak-white);
}
.product-header { padding: 20px 24px 16px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.product-id { font-size: 0.75rem; color: var(--muted); font-weight: 600; letter-spacing: 0.05em; margin-bottom: 6px; }
.product-category {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--ormak-white);
  white-space: nowrap;
  letter-spacing: 0.05em;
}
.product-content { padding: 0 24px 24px; flex: 1; display: flex; flex-direction: column; }
.product-title {
  font-family: "Inter";
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.3;
}
.product-card:hover .product-title { color: var(--gold); }
.product-description {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0 0 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-pricing {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: auto;
}
.pricing-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 16px;
}
.pricing-options { display: flex; flex-direction: column; gap: 10px; }
.pricing-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--bg-secondary);
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.pricing-option:hover {
  background: var(--surface);
  border-color: var(--gold);
  transform: translateX(4px);
}
.pricing-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--ormak-white);
}
.pricing-name { font-weight: 600; color: var(--text); font-size: 0.9375rem; margin: 0 0 2px; }
.pricing-price { font-family: "Inter"; font-size: 1.5rem; font-weight: 700; color: var(--gold); }
.product-cta { margin-top: 20px; display: flex; gap: 10px; }
.product-btn {
  flex: 1;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}
.product-btn:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--ormak-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 30, 58, 0.3);
}
.product-btn-primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--ormak-white);
  border-color: transparent;
}
.product-btn-primary:hover {
  box-shadow: 0 8px 24px rgba(255, 51, 0, 0.4);
  transform: translateY(-3px);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-content { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.lightbox-close:hover {
  background: var(--gold);
  color: var(--ormak-white);
  border-color: var(--gold);
}

/* Showroom toolbar */
.showroom-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: var(--bg-secondary);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
}
.showroom-search input {
  padding: 12px 16px 12px 44px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}
.showroom-search input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.15); }
.showroom-menu a {
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-secondary);
}
.showroom-menu a:hover,
.showroom-menu a.active {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--ormak-white);
  border-color: var(--gold);
}

/* Product detail (producto.html) */
.producto-hero-image {
  cursor: zoom-in;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.producto-hero-image img { transition: transform 0.4s ease; }
.producto-hero-image:hover img { transform: scale(1.08); }

/* Product detail cards */
.product-detail-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.product-detail-card:hover { border-color: var(--gold); }
.product-detail-pdf:hover { background: var(--gold); color: var(--ormak-white); border-color: var(--gold); }
.product-detail-toggle:hover {
  background: var(--gold);
  color: var(--ormak-white);
  border-color: var(--gold);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-secondary);
  color: var(--text);
  padding: 20px var(--gutter);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  border-top: 1px solid var(--line);
  transform: translateY(0);
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.cookie-banner.cookie-banner--hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner-text { margin: 0; font-size: 0.9375rem; line-height: 1.5; flex: 1; min-width: 280px; }
.cookie-banner-text i { margin-right: 8px; color: var(--gold); }
.cookie-banner-link { color: var(--gold); text-decoration: underline; }
.cookie-banner-link:hover { color: var(--ormak-red-light); }

/* WhatsApp widget */
.whatsapp-widget {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 1200;
  font-family: inherit;
}
.whatsapp-button {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25d366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}
.whatsapp-button:hover {
  transform: scale(1.08);
  background: #20ba5a;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}
.whatsapp-button svg { width: 34px; height: 34px; color: #fff; position: relative; z-index: 2; }
.button-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.5;
  animation: buttonPulse 2s infinite;
}
.notification-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--bg);
}
.whatsapp-chat {
  position: absolute;
  right: 0;
  bottom: 88px;
  width: 360px;
  max-height: 520px;
  background: #fff;
  border-radius: 16px 16px 28px 28px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.whatsapp-widget.active .whatsapp-chat {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.chat-header {
  background: #25d366;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  flex-shrink: 0;
}
.chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-avatar svg {
  width: 26px;
  height: 26px;
  color: #fff;
}
.chat-avatar .avatar-pulse {
  display: none;
}
.chat-info {
  flex: 1;
  min-width: 0;
}
.chat-info h4 { margin: 0 0 4px; font-size: 1rem; color: #fff; font-weight: 700; }
.chat-status { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.9); }
.chat-header .chat-close {
  margin-left: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}
.chat-header .chat-close:hover {
  background: rgba(255, 255, 255, 0.2);
  opacity: 0.95;
}
.chat-header .chat-close:active {
  transform: scale(0.95);
}
.chat-header .chat-close svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  flex-shrink: 0;
}
.chat-messages {
  padding: 20px;
  max-height: 280px;
  overflow-y: auto;
  background: #fff;
}
.message {
  margin-bottom: 8px;
}
.message-received .message-bubble {
  border-radius: 16px 16px 16px 4px;
}
.message-bubble {
  background: #fff;
  padding: 14px 16px;
  border-radius: 16px 16px 16px 4px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.message-bubble p { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: #1f2937; }
.message-bubble p + p { margin-top: 6px; }
.message-time {
  display: block;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 4px;
}
.chat-footer {
  padding: 16px 20px 20px;
  background: #fff;
  border-top: none;
  flex-shrink: 0;
}
.chat-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  background: #25d366;
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  border: none;
}
.chat-button:hover { background: #20ba5a; transform: translateY(-1px); color: #fff; }
.chat-button svg { width: 22px; height: 22px; flex-shrink: 0; display: block; }
.chat-button .fa-whatsapp { font-size: 1.2rem; flex-shrink: 0; }
@keyframes buttonPulse {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 0; }
  100% { transform: scale(1); opacity: 0.6; }
}
@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  right: 32px;
  bottom: 112px;
  z-index: 1100;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--ormak-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(255, 51, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
  cursor: pointer;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: 0 12px 32px rgba(196, 30, 58, 0.5);
}
.scroll-top svg { width: 22px; height: 22px; }

/* Responsive */
@media (max-width: 980px) {
  .schedule-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 40px 0 72px; }
  .hero > :first-child { margin-top: -80px; }
  .brand-slide { width: 160px; height: 80px; }
  .hero::before { width: 100%; height: 40%; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 80px 0; }
  .title { font-size: clamp(2.5rem, 6vw, 4rem); }
  .process-portada-diagram { flex-wrap: wrap; justify-content: center; gap: 12px 8px; }
  .process-box-step { width: 90px; height: 90px; }
  .process-box-arrow { transform: rotate(90deg); }
}
@media (max-width: 768px) {
  .whatsapp-widget { right: 20px; bottom: 20px; }
  .whatsapp-button { width: 58px; height: 58px; }
  .whatsapp-chat { width: calc(100vw - 40px); max-width: 360px; bottom: 92px; }
  .scroll-top { right: 20px; bottom: 100px; width: 48px; height: 48px; }
  .uiux-block { grid-template-columns: 1fr; }
  .process-diagram { flex-direction: column; gap: 12px; }
  .process-arrow { transform: rotate(90deg); }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero { padding: 28px 0 56px; }
  .hero > :first-child { margin-top: -40px; }
  .brands-slider-section { padding: 28px 0 52px; }
  .brands-slider::before, .brands-slider::after { width: 32px; }
  .brands-slider-track { gap: 12px; padding: 14px 8px; }
  .brand-slide { width: 128px; height: 68px; padding: 10px 12px; border-radius: 14px; }
  .brand-slide img { max-height: 34px; }
  .cta { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .prod-grid { grid-template-columns: 1fr; }
}
@media (min-width: 640px) {
  .quote-form__actions { flex-direction: row; align-items: center; justify-content: space-between; }
  .quote-status { flex: 1; }
  .quote-submit { width: auto; }
}
