/* ============================================
   Paleta llantaspormayoreo.com
   Negro header, naranja acción, amarillo logo, grises
   ============================================ */

:root {
  /* Paleta principal */
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-orange: #FF5C00;
  --color-orange-dark: #E05200;
  --color-yellow: #FDD100;
  --color-gray-light: #F0F0F0;
  --color-gray-border: #E0E0E0;
  --color-gray-mid: #AAAAAA;
  --color-gray-dark: #888888;
  --color-gray-oxford: #4A4A4A;
  --color-text: #1a1a1a;

  /* Compatibilidad / alias */
  --ormak-white: var(--color-white);
  --ormak-black: var(--color-text);
  --ormak-red: var(--color-orange);
  --ormak-red-light: #FF7A33;
  --ormak-red-dark: var(--color-orange-dark);
  --ormak-grey: var(--color-gray-dark);
  --ormak-grey-light: var(--color-gray-border);
  --ormak-grey-bg: var(--color-gray-light);

  --bg: var(--color-white);
  --bg-secondary: var(--color-gray-light);
  --bg-card: var(--color-white);
  --surface: var(--color-white);
  --line: var(--color-gray-border);
  --line-strong: var(--color-gray-border);
  --text: var(--color-text);
  --text-secondary: var(--color-gray-dark);
  --muted: var(--color-gray-mid);
  --gold: var(--color-orange);
  --gold-light: var(--color-orange);
  --gold-dark: var(--color-orange-dark);
  --champagne: var(--color-orange);
  --accent: var(--color-orange);
  --accent-hover: var(--color-orange-dark);
  --primary: var(--color-orange);
  --primary-light: #FF7A33;
  --primary-dark: var(--color-orange-dark);
  --logo-yellow: var(--color-yellow);
  --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);
  --header-height: 120px;
}

/* 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 {
  scroll-padding-top: var(--header-height, 110px);
  height: 100%;
  overflow-x: hidden;
}
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;
  height: 100%;
  overflow: hidden;
  position: relative;
  overflow-x: hidden;
}
.site-content-scroll {
  position: absolute;
  top: var(--header-height, 110px);
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

/* Scrollbar (#ff9900) */
.site-content-scroll {
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #ff9900 rgba(0, 0, 0, 0.15);
}
.site-content-scroll::-webkit-scrollbar {
  width: 10px;
}
.site-content-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.08);
}
.site-content-scroll::-webkit-scrollbar-thumb {
  background-color: #ff9900;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.08);
}
.site-content-scroll::-webkit-scrollbar-thumb:hover {
  background-color: #e67300;
}
/* Misma barra cuando el scroll es del documento (sin .site-content-scroll) */
html {
  scrollbar-width: thin;
  scrollbar-color: #ff9900 rgba(0, 0, 0, 0.15);
}
html::-webkit-scrollbar {
  width: 10px;
}
html::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.08);
}
html::-webkit-scrollbar-thumb {
  background-color: #ff9900;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.08);
}
html::-webkit-scrollbar-thumb:hover {
  background-color: #e67300;
}
/* Fallback: páginas sin wrapper de scroll (p. ej. login) */
body:not(:has(.site-content-scroll)) {
  overflow: auto;
  padding-top: var(--header-height, 110px);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); min-width: 0; box-sizing: border-box; }
.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; min-width: 0; }
.page-cotizacion .section { padding-top: 48px; }

/* ----- Wrapper superior: franja + header (ancho completo, fijo arriba) ----- */
.site-top-wrapper {
  width: 100%;
  max-width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  overflow: visible;
}
/* ----- Barra superior contacto (ancho completo) ----- */
.top-contact-bar {
  width: 100%;
  height: 34px;
  background: #000;
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.2;
}
/* Contenedor editorial: mismo ancho que el menú, sin padding lateral */
.top-contact-bar .top-bar-wrapper {
  max-width: none;
  margin: 0;
  padding: 0 16px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: 34px;
}
.top-contact-bar .top-bar-inner {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.top-bar-contact {
  color: #fff;
  min-width: 0;
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.top-bar-contact a {
  color: #fff;
  text-decoration: none;
}
.top-bar-contact a:hover { color: rgba(255,255,255,0.9); }
.top-bar-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Buscador animado (header superior) */
.top-bar-search {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.top-bar-search-toggle {
  height: 34px;
  width: auto;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px 0 10px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.top-bar-search-toggle:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.24);
  transform: translateY(-1px);
}
.top-bar-search-form {
  margin-left: 8px;
  width: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transition: width 0.25s ease, opacity 0.18s ease;
}
.top-bar-search--open .top-bar-search-form {
  width: 260px;
  opacity: 1;
  pointer-events: auto;
}
.top-bar-search-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  border-radius: 999px;
  padding: 9px 12px;
  outline: none;
}
.top-bar-search-input::placeholder {
  color: rgba(255,255,255,0.7);
}

.top-bar-search-label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.95);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .top-bar-search--open .top-bar-search-form { width: 160px; }
  .top-bar-search-label { display: none; }
  .top-bar-search-toggle { width: 34px; padding: 0; gap: 0; }
}
.top-bar-login-dropdown { position: relative; }
.top-bar-login-btn {
  background: none;
  border: none;
  color: #fff;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0 2px;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.top-bar-login-btn:hover { color: rgba(255,255,255,0.9); }
.top-bar-login-btn .fa-chevron-down { font-size: 0.65em; transition: transform 0.2s ease; }
.top-bar-login-dropdown.open .top-bar-login-btn .fa-chevron-down { transform: rotate(180deg); }
.top-bar-login-dropdown-panel {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  min-width: 220px;
  max-width: min(320px, calc(100vw - 24px));
  background: #fff;
  color: #1a1a1a;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  padding: 16px;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.top-bar-login-dropdown.open .top-bar-login-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.top-bar-login-dropdown-panel h4 { margin: 0 0 4px; font-size: 0.9rem; color: var(--ormak-grey); white-space: normal; word-wrap: break-word; }
.top-bar-login-dropdown-panel p { margin: 0 0 10px; font-size: 0.8rem; color: var(--ormak-grey); white-space: normal; word-wrap: break-word; }
.top-bar-login-dropdown-panel a {
  display: inline-block;
  color: var(--ormak-red);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
  padding: 4px 8px;
  margin-left: -8px;
  margin-right: -8px;
  border-radius: 4px;
}
.top-bar-login-dropdown-panel a:link,
.top-bar-login-dropdown-panel a:visited { color: var(--color-orange); }
.top-bar-login-dropdown-panel a:hover {
  color: var(--color-orange-dark);
  text-decoration: underline;
  background-color: rgba(255, 92, 0, 0.12);
}
.top-bar-login-dropdown-panel a i { margin-right: 6px; opacity: 0.9; }
.top-bar-login-dropdown-panel hr { border: none; border-top: 1px solid var(--line); margin: 12px 0; }
.top-bar-bell {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0;
  font-size: inherit;
  transition: color 0.2s ease;
}
.top-bar-bell:hover { color: rgba(255,255,255,0.9); }
.top-bar-cart {
  color: #fff;
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}
.top-bar-cart:hover { color: rgba(255,255,255,0.9); }
.top-bar-badge {
  position: absolute;
  top: -5px;
  right: -6px;
  min-width: 14px;
  height: 14px;
  background: var(--color-orange);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}
.top-bar-badge-login { background: var(--color-orange); }
.top-bar-right a { color: #fff; transition: color 0.2s ease; }
.top-bar-right a:hover { color: rgba(255,255,255,0.9); }
@media (max-width: 900px) {
  .top-bar-contact { display: none; }
  .top-bar-inner { justify-content: center; }
}
@media (max-width: 640px) {
  .top-contact-bar { height: auto; min-height: 28px; font-size: 0.75rem; padding: 6px 0; overflow: visible; }
  .top-contact-bar .top-bar-wrapper { min-height: 28px; padding: 0 20px; overflow: visible; }
  .top-bar-inner { overflow: visible; }
  .top-bar-login-dropdown { position: relative; }
  /* En móvil el panel se ancla a la derecha de la pantalla para verse completo */
  .top-bar-login-dropdown-panel {
    position: fixed;
    top: 36px;
    right: 20px;
    left: auto;
    bottom: auto;
    margin: 0;
    min-width: 0;
    width: max-content;
    max-width: calc(100vw - 40px);
    transform: translateY(-8px);
  }
  .top-bar-login-dropdown.open .top-bar-login-dropdown-panel {
    transform: translateY(0);
  }
  .top-bar-login-btn span:not(.top-bar-badge) { max-width: 0; overflow: hidden; opacity: 0; }
  .top-bar-login-btn { padding: 4px 8px; }
  :root { --header-height: 100px; --gutter: 20px; }
  .site-header .nav { padding: 13px 20px; }
  .logo-img { height: 42px; }
  .promo-banner-inner { flex-direction: column; gap: 8px; padding: 0 12px; }
  .promo-item { font-size: 0.85rem; text-align: center; white-space: normal; }
  .promo-item span { white-space: normal; word-wrap: break-word; overflow-wrap: break-word; }
}

/* ----- Header (ancho completo) — Gris oxford con nav blanco ----- */
.site-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-gray-oxford);
  transition: all 0.3s ease;
}
.site-header.scrolled {
  background: var(--color-gray-oxford);
}
.site-header .nav {
  max-width: none;
  margin: 0;
  padding: 15px 16px;
  width: 100%;
  box-sizing: border-box;
}

/* Asegura que el contenido del header no cree márgenes laterales inesperados */
.llantrac-nav {
  width: 100%;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  min-width: 0;
}
.logo:hover { transform: scale(1.02); }
.logo-img {
  height: 52px;
  width: auto;
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  object-position: center;
  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.85rem;
  padding: 8px 10px;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
}
.nav-links a i { margin-right: 8px; opacity: 0.8; }
/* Header negro: enlaces blancos */
.site-header .nav-links a,
.site-header .nav-dropdown-btn {
  color: var(--color-white);
}
.site-header .nav-links a:hover,
.site-header .nav-dropdown-btn:hover {
  color: var(--color-yellow);
  background: rgba(255,255,255,0.08);
}
.site-header .nav-links a i,
.site-header .nav-dropdown-btn i { color: inherit; opacity: 0.95; }
.site-header .logo-img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.site-header .logo a:hover .logo-img {
  filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(5deg);
  transform: scale(1.03);
}
.llantrac-nav .logo a {
  display: flex;
  align-items: center;
  padding: 4px 0;
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
}
.llantrac-nav .logo a:hover {
  box-shadow: 0 0 24px rgba(253,209,0,0.2);
}
/* Botón Outlet sobrio (sin degradado) */
.btn-outlet {
  background: #ff9900 !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  padding: 9px 18px !important;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(255,153,0,0.35), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: visible;
}
.btn-outlet::before {
  display: none;
}
.btn-outlet:hover {
  color: #fff !important;
  background: #ff6600 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,102,0,0.45), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-outlet:hover::before { display: none; }
.btn-outlet i { color: inherit !important; transition: transform 0.25s ease; }
.btn-outlet:hover i { transform: scale(1.1); }

/* ----- 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; }

/* Botones del menú high-tech: Cotización (glass) + Crea tu cuenta (gradiente) */
.nav-buttons { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.llantrac-nav .btn-cotizacion {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 9px 16px;
  background: rgba(255,255,255,0.08);
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.llantrac-nav .btn-cotizacion:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
  color: var(--color-white);
  box-shadow: 0 0 24px rgba(255,255,255,0.12);
  transform: translateY(-1px);
}
.llantrac-nav .btn-registro {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 9px 18px;
  background: #ff3300;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(255,51,0,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.llantrac-nav .btn-registro:hover {
  background: #ff6600;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,102,0,0.45), inset 0 1px 0 rgba(255,255,255,0.18);
}
/* En páginas sin header negro, restaurar estilo claro */
.site-header:not(:has(.llantrac-nav)) .btn-cotizacion {
  background: #fff;
  color: #374151;
  border-color: var(--line-strong);
}
.site-header:not(:has(.llantrac-nav)) .btn-cotizacion:hover {
  background: var(--bg-secondary);
  border-color: var(--ormak-grey);
  color: var(--text);
}
.site-header:not(:has(.llantrac-nav)) .btn-registro {
  background: var(--color-orange);
  color: #fff;
}
.site-header:not(:has(.llantrac-nav)) .btn-registro:hover {
  background: var(--color-orange-dark);
  color: #fff;
}

/* ----- 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: visible;
}
.hero > :first-child {
  margin-top: 0;
  min-width: 0;
  padding-left: 24px;
  padding-right: 24px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.hero .hero-card { min-width: 0; }
.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.15;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  color: var(--text);
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.75;
  margin: 0 0 32px;
  max-width: 560px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.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(196, 30, 58, 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; }

/* ----- Banner de promociones ----- */
.promo-banner {
  background: linear-gradient(to bottom, #7a7a7a 0%, #9a9a9a 50%, #b0b0b0 100%);
  color: #fff;
  padding: 24px 0 20px;
  margin-top: 24px;
  margin-bottom: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.promo-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  min-width: 0;
}
.promo-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.2s;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}
.promo-item span { white-space: normal; word-wrap: break-word; overflow-wrap: break-word; }
.promo-item:hover {
  background: linear-gradient(to top, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.3) 100%);
  color: #fff;
  transform: translateY(-1px);
}
.promo-item i {
  font-size: 1.1rem;
  opacity: 0.95;
}
.promo-item--primary {
  background: linear-gradient(to top, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.25) 100%);
  font-weight: 600;
}
.promo-item--primary:hover {
  background: linear-gradient(to top, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.35) 100%);
}

/* ----- Servicios (servicios.html) ----- */
.servicio-card {
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.servicio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.servicio-card h3 { margin-top: 12px; }
.servicio-card h3 i { display: none; }
.servicio-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--ormak-red) 0%, var(--ormak-red-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

/* ----- Proceso de envío (servicios.html) ----- */
@media (max-width: 700px) {
  .proceso-envio-pasos { flex-direction: column !important; align-items: stretch !important; }
  .proceso-flecha { transform: rotate(90deg) !important; }
  .proceso-paso { max-width: none !important; min-width: 0 !important; }
}

/* 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(196, 30, 58, 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-section .container { min-width: 0; }
.brands-slider {
  position: relative;
  overflow: hidden;
  min-width: 0;
  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-container { padding: 0 20px; }
  .tire-search-row {
    flex-direction: column;
    align-items: stretch;
  }
  .tire-search-select { min-height: 48px; }
  .tire-search-btn { width: 100%; }
}

/* Buscador compacto en página de llantas */
.tire-search-inline {
  background: var(--bg-secondary);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.tire-search-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.tire-search-block--compact .tire-search-form--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.tire-search-block--compact .tire-search-select {
  min-height: 40px;
  padding: 8px 32px 8px 12px;
  font-size: 0.875rem;
  background: #fff;
}
.tire-search-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.tire-search-btn--sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}
.tire-search-hint {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.tire-search-hint a {
  color: var(--primary);
  text-decoration: underline;
}
.tire-search-hint a:hover { color: var(--color-orange-dark); }
@media (max-width: 768px) {
  .tire-search-inner { grid-template-columns: 1fr; }
}

/* 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(--ormak-red);
  border-bottom: 1px solid var(--ormak-red);
}
.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: #000000;
  border-top: 1px solid var(--ormak-grey);
  padding: 80px 0 32px;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  font-size: 0.82rem;
}
.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;
  min-width: 0;
  gap: 24px;
}
.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: 36px;
  height: 36px;
  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: 0.9rem;
  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;
  /* Mismo logo que el header: se muestra en blanco sobre fondo oscuro del footer */
  filter: brightness(0) invert(1);
}
.footer-brand p {
  margin: 16px 0 0;
  line-height: 1.7;
  font-size: 0.68rem;
  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", system-ui, sans-serif;
  color: var(--ormak-white);
  font-weight: 700;
  font-size: 0.78rem;
}
.footer-col h4 i { margin-right: 8px; color: var(--ormak-red); }
.footer-links a {
  display: block;
  position: relative;
  color: rgba(255, 255, 255, 0.75);
  margin: 8px 0;
  font-size: 0.68rem;
  text-decoration: none;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: #ff9900;
  transition: width 0.3s ease;
}
.footer-links a:hover {
  color: var(--ormak-white);
}
.footer-links a:hover::after {
  width: 100%;
}
.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.68rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-legal {
  color: var(--ormak-red-light);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  padding-bottom: 3px;
}
.footer-legal i { opacity: 0.9; }
.footer-legal::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: #ff9900;
  transition: width 0.3s ease;
}
.footer-legal:hover {
  color: var(--ormak-white);
}
.footer-legal:hover::after {
  width: 100%;
}
.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.63rem; line-height: 1.4; color: rgba(255, 255, 255, 0.75); display: block; }
.footer-address i { margin-right: 6px; opacity: 0.6; }

@media (prefers-reduced-motion: reduce) {
  .footer-links a::after,
  .footer-legal::after {
    transition: none;
  }
}

/* ----- 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(196, 30, 58, 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;
  min-width: 0;
  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: #a91c33; color: #f5f5f5; }
.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: #a91c33; color: #f5f5f5; }
.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(196, 30, 58, 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(196, 30, 58, 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; }

/* ----- Menú responsivo móvil ----- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover {
  background: var(--bg-secondary);
  border-color: var(--primary);
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.active .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-mobile-overlay[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}
.nav-mobile-panel {
  position: absolute;
  top: var(--header-height, 90px);
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  max-width: 100%;
  height: calc(100vh - var(--header-height, 90px));
  background: var(--bg);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 24px 24px 32px;
}
.nav-mobile-overlay[aria-hidden="false"] .nav-mobile-panel {
  transform: translateX(0);
}
.nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile-links a {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.nav-mobile-links a:hover {
  background: var(--bg-secondary);
  color: var(--primary);
}
.nav-mobile-links a i,
.nav-mobile-links .icon-volante {
  margin-right: 12px;
  opacity: 0.9;
  color: var(--primary);
}
.nav-mobile-buttons {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.nav-mobile-buttons .btn {
  justify-content: center;
}
body.nav-mobile-open {
  overflow: hidden;
}

/* 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: 0; }
  .brand-slide { width: 160px; height: 80px; }
  .hero::before { width: 100%; height: 40%; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav .nav-buttons { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile-overlay { display: block; }
  .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); }
  .site-content-scroll { display: flex; flex-direction: column; }
  .promo-banner { order: -3; }
  .hero { order: -2; }
  .tire-search-section { order: -1; }
  .brands-slider-section { order: 0; }
}
@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: 0; }
  .hero .title { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .brands-slider-section { padding: 28px 0 52px; }
  .brands-slider::before, .brands-slider::after { width: 24px; }
  .brands-slider-track { gap: 10px; padding: 12px 6px; }
  .brand-slide { width: 110px; height: 58px; padding: 8px 10px; border-radius: 12px; }
  .brand-slide img { max-height: 28px; }
  .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; }
  .tire-search-row { flex-wrap: wrap; }
  .tire-search-row .tire-search-select { min-width: 0; flex: 1 1 120px; }
  .tire-search-row .tire-search-btn { flex: 1 1 100%; }
}
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .container { padding: 0 16px; }
  .hero .title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .top-contact-bar .top-bar-wrapper { padding: 0 16px; }
  .site-header .nav { padding: 8px 16px; }
  .tire-search-container { padding: 0 16px; }
  .brand-slide { width: 90px; height: 50px; padding: 6px 8px; }
  .brand-slide img { max-height: 24px; }
}
@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; }
}
