/* Bootstrap 5 — Mapear variables a la paleta Wooden House */
:root {
  --bs-primary:          #8b7355;
  --bs-primary-rgb:      139, 115, 85;
  --bs-link-color:       #c9a96e;
  --bs-link-hover-color: #8b7355;
  --bs-body-color:       #e0e0e0;
  --bs-body-bg:          #1a1a1a;
  --bs-body-font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --bs-body-line-height: 1.6;
  --bs-border-color:     #3d3d3d;
  --bs-focus-ring-color: rgba(139, 115, 85, 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { overflow-x: hidden; width: 100%; }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #1a1a1a;
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

/* Neutralizar colores de Bootstrap Reboot */
a { color: inherit; text-decoration: none; }
p { margin-bottom: 0; }
h1, h2, h3, h4, h5, h6 { margin-bottom: 0; }

img, video { max-width: 100%; height: auto; }

/* ── Header Navigation ───────────────────────────────────────────── */
.header-nav {
  background: #2d2d2d;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: #8b7355;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

/* Enlace simple del nav */
.nav-link-item {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link-item:hover { color: #c9a96e; }

/* Mantener compatibilidad con <a> directas en nav */
.nav-links > a:not(.cart-icon) {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}
.nav-links > a:not(.cart-icon):hover { color: #c9a96e; }

/* ── Dropdown "Inicio" ──────────────────────────────────────────── */
.nav-item { position: relative; }

.nav-dropdown-btn {
  background: none;
  border: none;
  color: #e0e0e0;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
  white-space: nowrap;
  font-family: inherit;
}
.nav-dropdown-btn:hover { color: #c9a96e; }

.nav-chevron {
  font-size: 10px;
  transition: transform 0.22s ease;
  margin-top: 1px;
}

/* Desktop: abrir con hover o con clase .open (teclado) */
@media (min-width: 901px) {
  /* Puente invisible que cubre el gap entre botón y panel
     para que el hover no se corte al bajar el cursor */
  .nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 20px;
  }
  .nav-dropdown:hover .nav-dropdown-btn,
  .nav-dropdown.open  .nav-dropdown-btn { color: #c9a96e; }

  .nav-dropdown:hover .nav-chevron,
  .nav-dropdown.open  .nav-chevron { transform: rotate(180deg); }

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown.open  .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}

/* Panel del dropdown */
.dropdown-menu {
  display: block !important; /* Sobreescribir display:none de Bootstrap — se oculta via opacity/visibility */
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #272727;
  border: 1px solid rgba(139,115,85,0.25);
  border-radius: 14px;
  padding: 8px;
  min-width: 190px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
}

/* Triángulo indicador */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid rgba(139,115,85,0.3);
}
.dropdown-menu::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #272727;
}

/* Ítems del dropdown */
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  color: #c0c0c0;
  text-decoration: none;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.dropdown-item i {
  width: 16px;
  text-align: center;
  color: #8b7355;
  font-size: 13px;
  flex-shrink: 0;
}
.dropdown-item:hover {
  background: rgba(139,115,85,0.15);
  color: #c9a96e;
}
.dropdown-item:hover i { color: #c9a96e; }

/* ── Separador dentro de dropdowns ─────────────────────────────── */
.dropdown-divider {
  height: 1px;
  background: rgba(139,115,85,0.2);
  margin: 4px 8px;
}

/* ── Dropdown "Mi cuenta" — alineado a la derecha en desktop ───── */
@media (min-width: 901px) {
  .cuenta-dropdown .dropdown-menu {
    left: auto;
    right: 0;
    transform: translateY(-8px);
  }
  .cuenta-dropdown .dropdown-menu::before { left: auto; right: 18px; }
  .cuenta-dropdown .dropdown-menu::after  { left: auto; right: 19px; }

  .cuenta-dropdown:hover .dropdown-menu,
  .cuenta-dropdown.open  .dropdown-menu {
    transform: translateY(0);
  }
}

.login-btn {
  background: #8b7355;
  color: white !important;
  padding: 10px 25px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.login-btn:hover {
  background: #a0865f !important;
  transform: scale(1.05);
}

.cart-icon {
  position: relative;
  text-decoration: none;
  font-size: 24px;
  color: #fff;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: red;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
}

/* Botón hamburguesa */
.menu-toggle {
  display: none;
  background: transparent;
  border: 2px solid #3d3d3d;
  color: #e0e0e0;
  font-size: 22px;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: .3s;
}

.menu-toggle:hover {
  border-color: #8b7355;
  color: #8b7355;
}

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, #3d3010 0%, #2e2415 35%, #242424 70%, #262628 100%);
  padding: 100px 40px 90px;
  text-align: center;
  border-bottom: 3px solid #8b7355;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(139,115,85,0.22) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 56px);
  color: #c9a96e;
  margin-bottom: 15px;
  text-shadow: 0 2px 20px rgba(139,115,85,0.4);
  letter-spacing: 4px;
  font-weight: 900;
}

.hero .tagline {
  color: #c0b090;
  font-size: clamp(16px, 3.5vw, 22px);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn-primary {
  background: #8b7355;
  color: white;
  padding: 15px 35px;
  border-radius: 10px;
  border: none;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: #a0865f;
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(139,115,85,0.5);
}

.btn-secondary {
  background: transparent;
  color: #8b7355;
  padding: 15px 35px;
  border-radius: 10px;
  border: 2px solid #8b7355;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: #8b7355;
  color: white;
  transform: translateY(-3px);
}

/* ── Container ───────────────────────────────────────────────────── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px;
}

.section-title {
  color: #8b7355;
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: #8b7355;
}

/* ── About ───────────────────────────────────────────────────────── */
.about-box {
  background: linear-gradient(135deg, #2d2d2d 0%, #3d3d3d 100%);
  padding: 50px 40px;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 60px;
  border: 2px solid #4a4a4a;
}

.about-box h2 { color: #8b7355; font-size: 32px; margin-bottom: 20px; }

.about-box p {
  color: #e0e0e0;
  font-size: 18px;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 20px;
}

/* ── Services ────────────────────────────────────────────────────── */
.service-card {
  background: #2d2d2d;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 2px solid #3d3d3d;
  transition: all 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(139,115,85,0.3);
  border-color: #8b7355;
}

.service-icon { font-size: 60px; margin-bottom: 20px; }
.service-card h3 { color: #8b7355; margin-bottom: 15px; font-size: 22px; }
.service-card p { color: #a0a0a0; line-height: 1.7; }

/* ── Reasons ─────────────────────────────────────────────────────── */
.reason-card {
  background: #2d2d2d;
  padding: 30px;
  border-radius: 12px;
  border-left: 4px solid #8b7355;
  transition: all 0.3s;
}

.reason-card:hover { background: #3d3d3d; transform: translateX(5px); }

.reason-card h4 {
  color: #8b7355;
  margin-bottom: 10px;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  text-align: center;
}

.reason-card p { color: #a0a0a0; font-size: 15px; text-align: center; }

/* ── Process ─────────────────────────────────────────────────────── */
.process-step {
  background: #2d2d2d;
  padding: 30px 25px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  border: 2px solid #3d3d3d;
  transition: all 0.3s;
}

.process-step:hover { border-color: #8b7355; transform: translateY(-5px); }

.process-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #8b7355;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 22px;
  color: white;
  border: 4px solid #1a1a1a;
}

.process-step h4 { color: #8b7355; margin-bottom: 10px; margin-top: 15px; font-size: 18px; }
.process-step p { color: #a0a0a0; font-size: 14px; }

/* ── Work Gallery / Videos ───────────────────────────────────────── */
.work-card {
  background: #2d2d2d;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s;
  border: 2px solid #3d3d3d;
}

.work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(139,115,85,0.3);
  border-color: #8b7355;
}

/* ── Video Card ──────────────────────────────────────────────────── */
.video-card {
  position: relative;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.video-card video {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  border-radius: 13px;
  display: block;
  background: #1a1a1a;
  transition: filter 0.3s;
}

/* ── DESKTOP: sin botón, solo dim al hover ───────────────────────── */
@media (hover: hover) and (pointer: fine) {
  .video-card .video-play-btn {
    display: none !important;
  }
  .video-card:hover video {
    filter: brightness(0.75);
  }
  .video-card.playing video {
    filter: brightness(1);
  }
}

/* ── MÓVIL / TABLET: botón play transparente ─────────────────────── */
@media (hover: none), (pointer: coarse) {
  /* Botón play circular transparente centrado */
  .video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: opacity 0.3s, transform 0.2s;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
  }

  .video-play-btn svg {
    width: 26px;
    height: 26px;
    fill: rgba(255, 255, 255, 0.9);
    /* Offset visual para centrar el triángulo */
    margin-left: 4px;
  }

  /* Cuando está reproduciendo: ocultar el botón */
  .video-card.playing .video-play-btn {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
  }

  /* Hint "toca para reproducir" */
  .video-card:not(.playing)::after {
    content: '🎬 Toca para reproducir';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 12px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 2;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
}

/* ── CTA Section ─────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #8b7355 0%, #a0865f 100%);
  padding: 60px 40px;
  border-radius: 20px;
  text-align: center;
  margin-bottom: 60px;
  box-shadow: 0 10px 40px rgba(139,115,85,0.4);
}

.cta-section h2 { color: white; font-size: 36px; margin-bottom: 15px; }
.cta-section p { color: rgba(255,255,255,0.9); font-size: 18px; margin-bottom: 30px; }

.cta-buttons .btn-primary { background: white; color: #8b7355; }
.cta-buttons .btn-primary:hover { background: #f5f5f5; }
.cta-buttons .btn-secondary { border-color: white; color: white; }
.cta-buttons .btn-secondary:hover { background: white; color: #8b7355; }

/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq-section { margin-bottom: 60px; }

.faq-item {
  background: #2d2d2d;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #3d3d3d;
  transition: all 0.3s;
}

.faq-item:hover { border-color: #8b7355; }

.faq-question {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #e0e0e0;
  gap: 12px;
}

.faq-icon { transition: transform 0.3s; color: #8b7355; }
.faq-item.active .faq-icon { transform: rotate(180deg); }

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s;
  color: #a0a0a0;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding: 20px 25px;
  max-height: 500px;
}

/* ── Contact ─────────────────────────────────────────────────────── */
.contact-card {
  background: #2d2d2d;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid #3d3d3d;
  transition: all 0.3s;
}

.contact-card:hover { border-color: #8b7355; transform: translateY(-5px); }
.contact-icon { font-size: 16px; margin-bottom: 15px; }
.contact-card h4 { color: #8b7355; margin-bottom: 10px; font-size: 20px; }
.contact-card p { color: #e0e0e0; font-size: 16px; margin-bottom: 5px; }
.contact-card small { color: #666; font-size: 13px; }
.contact-card a { color: #e0e0e0; text-decoration: none; }
.contact-card a:hover { color: #8b7355; }

/* ── Map ─────────────────────────────────────────────────────────── */
.map-section {
  background: #2d2d2d;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 60px;
  border: 2px solid #3d3d3d;
}

.map-section h2 { color: #8b7355; font-size: 28px; margin-bottom: 15px; }
.map-section p { color: #a0a0a0; margin-bottom: 25px; }

/* ── Social ──────────────────────────────────────────────────────── */
.social-section {
  text-align: center;
  padding: 40px;
  background: #2d2d2d;
  border-radius: 15px;
  margin-bottom: 60px;
}

.social-section h3 { color: #8b7355; font-size: 24px; margin-bottom: 20px; }

.social-link {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 32px;
  color: white;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.social-link:hover::before { width: 100%; height: 100%; }

.social-link:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

.social-link.facebook { background: linear-gradient(135deg, #1877f2, #0c63d4); }
.social-link.facebook:hover { background: linear-gradient(135deg, #0c63d4, #084a9e); }

.social-link.instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.instagram:hover {
  background: linear-gradient(135deg, #dc2743 0%, #cc2366 50%, #bc1888 100%);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.social-link.whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  animation: pulse 2s infinite;
}

.social-link.whatsapp:hover {
  background: linear-gradient(135deg, #128c7e, #075e54);
  animation: none;
}

.social-link.tiktok { background: linear-gradient(135deg, #010101, #2f2f2f); }
.social-link.tiktok:hover { background: linear-gradient(135deg, #2f2f2f, #010101); }

/* ── Footer ──────────────────────────────────────────────────────── */
.footer {
  background: #2d2d2d;
  padding: 40px;
  text-align: center;
  border-top: 3px solid #8b7355;
}

.footer p { color: #666; font-size: 14px; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .header-nav { padding: 10px 16px; flex-wrap: nowrap; }

  .hero { padding: 50px 20px; }
  .container { padding: 30px 16px; }
  .about-box { padding: 28px 16px; }
  .about-box h2 { font-size: 22px; }
  .about-box p { font-size: 15px; }

  .service-card { padding: 20px 16px; }
  .service-icon { font-size: 44px; margin-bottom: 12px; }
  .service-card h3 { font-size: 18px; margin-bottom: 10px; }

  .reason-card { padding: 20px 16px; }
  .reason-card h4 { font-size: 17px; }

  .process-step { padding: 24px 16px 18px; }
  .process-number { width: 38px; height: 38px; font-size: 18px; }

  .cta-section { padding: 32px 16px; }
  .cta-section h2 { font-size: 24px; }
  .cta-section p { font-size: 15px; }

  .quick-actions-section { padding: 14px 16px 18px; }
  .quick-action-card { padding: 12px 14px; gap: 10px; }
  .qa-icon { width: 38px; height: 38px; font-size: 17px; }
  .qa-title { font-size: 13px; }
  .qa-sub { font-size: 11px; }
}

@media (max-width: 640px) {
  .hero { padding: 36px 14px 30px; }
  .container { padding: 20px 12px; }
  .section-title { font-size: 18px; margin-bottom: 24px; }
  .about-box { padding: 18px 12px; margin-bottom: 32px; }
  .about-box h2 { font-size: 18px; }
  .about-box p { font-size: 13px; }

  .service-card { padding: 16px 12px; }
  .service-icon { font-size: 36px; margin-bottom: 10px; }
  .service-card h3 { font-size: 16px; }
  .service-card p { font-size: 13px; }
  .service-card-link { font-size: 12px; margin-top: 10px; }

  .reason-card { padding: 16px 12px; }
  .reason-card h4 { font-size: 15px; }
  .reason-card p { font-size: 13px; }

  .process-step { padding: 20px 12px 14px; }
  .process-step h4 { font-size: 15px; }
  .process-step p { font-size: 12px; }

  .cta-section { padding: 22px 12px; margin-bottom: 32px; }
  .cta-section h2 { font-size: 20px; }
  .cta-buttons { flex-direction: column; gap: 10px; align-items: stretch; }
  .btn-primary, .btn-secondary { padding: 12px 20px; font-size: 14px; text-align: center; }

  .faq-question { padding: 14px 16px; font-size: 14px; }
  .faq-item.active .faq-answer { padding: 12px 16px; }

  .contact-card { padding: 18px 12px; }
  .contact-card h4 { font-size: 17px; }
  .contact-card p { font-size: 14px; }

  .map-section { padding: 16px 12px; }
  .map-section > div { height: 220px !important; }
  .social-section { padding: 20px 12px; }
  .social-link { width: 52px; height: 52px; font-size: 24px; }

  .footer { padding: 24px 16px; padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 768px) {
  .social-link { width: 58px; height: 58px; font-size: 26px; }
}

/* ── Quitar hover-transforms en táctil ──────────────────────── */
@media (hover: none) {
  .service-card:hover  { transform: none !important; }
  .reason-card:hover   { transform: none !important; }
  .process-step:hover  { transform: none !important; }
  .work-card:hover     { transform: none !important; }
  .contact-card:hover  { transform: none !important; }
  .quick-action-card:hover { transform: none !important; border-color: #3d3d3d; background: #2d2d2d; }
  .quick-action-card:hover .qa-arrow { color: #555; transform: none; }
}

/* ── Hero compacto en móvil ─────────────────────────────────── */
@media (max-width: 480px) {
  .hero { padding: 30px 12px 24px; }
  .hero h1 { letter-spacing: 2px; }
  .hero .tagline { font-size: 13px; }
  .logo img { height: 52px !important; }
}

/* ── VIDEO HINT TEXTO (legacy, mantenido por compatibilidad) ─────── */
.video-hint { display: none; }

/* ── Quick Actions Panel ─────────────────────────────────────────── */
.quick-actions-section {
  background: #242424;
  border-bottom: 1px solid #333;
  padding: 20px 24px 24px;
}

.quick-actions-label {
  color: #a0a0a0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.quick-actions-grid {
  max-width: 1200px;
  margin: 0 auto;
}

.quick-action-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #2d2d2d;
  border: 1px solid #3d3d3d;
  border-radius: 14px;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  cursor: pointer;
}

.quick-action-card:hover {
  border-color: #8b7355;
  background: #353535;
  transform: translateY(-2px);
}

.qa-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(139,115,85,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #c9a96e;
  flex-shrink: 0;
}

.qa-icon--cot { background: rgba(59,130,246,0.15); color: #60a5fa; }
.qa-icon--cita { background: rgba(16,185,129,0.15); color: #34d399; }
.qa-icon--seg { background: rgba(168,85,247,0.15); color: #c084fc; }

.qa-info { flex: 1; min-width: 0; }

.qa-title {
  font-size: 14px;
  font-weight: 700;
  color: #e0e0e0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qa-sub {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qa-arrow {
  color: #555;
  font-size: 12px;
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}

.quick-action-card:hover .qa-arrow {
  color: #8b7355;
  transform: translateX(3px);
}

/* ── Service cards as links ──────────────────────────────────────── */
a.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-card-link {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: #8b7355;
  font-weight: 600;
}

/* ── Mobile sticky bottom nav ────────────────────────────────────── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #242424;
  border-top: 1px solid #3d3d3d;
  z-index: 1200;
  padding: 0 8px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
}

.mobile-bottom-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
}

.mbn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px 8px;
  text-decoration: none;
  color: #888;
  font-size: 10px;
  font-weight: 600;
  flex: 1;
  transition: color 0.15s;
  min-width: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.mbn-item i {
  font-size: 20px;
  transition: color 0.15s;
}

.mbn-item:hover,
.mbn-item:active {
  color: #c9a96e;
}


@media (max-width: 480px) {
  .quick-actions-section { padding: 16px 14px 20px; }
  .quick-action-card {
    padding: 12px 12px;
    gap: 10px;
    border-radius: 12px;
  }
  .qa-icon { width: 38px; height: 38px; font-size: 17px; border-radius: 10px; }
  .qa-title { font-size: 12px; }
  .qa-sub { display: none; }
  .qa-arrow { display: none; }
}

/* Show mobile bottom nav on small screens */
@media (max-width: 900px) {
  .mobile-bottom-nav { display: block; }
  /* Add padding to footer so it's not hidden behind sticky bar */
  .footer { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  /* Push quick-actions hidden on very small where bottom nav covers same actions */
  body { padding-bottom: 0; }
}

@media (max-width: 380px) {
  .header-nav { padding: 8px 10px; }
  .container { padding: 12px 10px; }
  .hero { padding: 30px 12px; }
  .hero h1 { font-size: 22px; }
  .hero p  { font-size: 14px; }
  .footer  { padding: 16px 10px; padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
}

@media (hover: none) {
  .service-card:hover,
  .reason-card:hover { transform: none !important; box-shadow: none !important; }
}