/* =============================================
   MC NEUMATICOS — Bright Commercial Theme
   White / Red / Black / Green
   ============================================= */

:root {
  --color-bg: #ffffff;
  --color-bg-elevated: #f5f6f8;
  --color-bg-card: #ffffff;
  --color-surface: #f0f2f5;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-text: #1a1a1a;
  --color-text-muted: #5c6570;
  --color-accent: #ed1c24;
  --color-accent-hover: #c41218;
  --color-accent-glow: rgba(237, 28, 36, 0.25);
  --color-success: #5cb82e;
  --color-success-hover: #4a9a24;
  --color-ink: #111111;
  --font-body: "Montserrat", "Inter", system-ui, sans-serif;
  --font-display: "Montserrat", system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 72px;
  --topbar-height: 42px;
}

/* ---- Reset & Base ---- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  margin: 0;
  padding: 0;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-top: calc(var(--topbar-height) + var(--nav-height));
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  transition: color var(--transition);
}

::selection {
  background: rgba(237, 28, 36, 0.18);
  color: var(--color-ink);
}

/* ---- Promo Ribbon (NEW) ---- */

.promo-ribbon {
  position: relative;
  z-index: 1035;
  width: 100%;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  color: #ffffff;
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px var(--color-accent-glow);
}

.promo-ribbon a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.promo-ribbon a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.promo-ribbon strong {
  font-weight: 800;
}

.promo-ribbon-text {
  margin: 0;
  color: #ffffff;
  font-size: clamp(0.8rem, 1.8vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- Top Bar ---- */

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: #ffffff;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.top-bar-item i {
  color: var(--color-accent);
  font-size: 0.75rem;
}

.top-bar a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 700;
}

.top-bar a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

/* ---- Typography & Sections ---- */

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.section-padding {
  padding: 5rem 0;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(237, 28, 36, 0.08);
  border: 1px solid rgba(237, 28, 36, 0.18);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--color-ink);
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

.section-header {
  margin-bottom: 3rem;
}

/* ---- Scroll Reveal ---- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Navbar ---- */

.site-nav {
  top: var(--topbar-height);
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  padding: 0.55rem 0;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
  z-index: 1030;
}

.site-nav.nav-scrolled {
  background: #ffffff;
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-md);
}

/* Bootstrap navbar-dark overrides — force light nav */
.site-nav.navbar-dark {
  background: #ffffff !important;
}

.site-nav.navbar-dark .navbar-nav .nav-link {
  color: var(--color-text-muted) !important;
}

.site-nav.navbar-dark .navbar-nav .nav-link:hover,
.site-nav.navbar-dark .navbar-nav .nav-link.active {
  color: var(--color-ink) !important;
}

.site-nav.navbar-dark .navbar-toggler {
  border-color: rgba(0, 0, 0, 0.2);
}

.site-nav.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(26,26,26,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0;
  transition: transform var(--transition);
}

.navbar-brand:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.navbar-brand img,
#logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
  background: #ffffff;
  padding: 2px;
}

.navbar-brand:hover img {
  transform: scale(1.06);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-ink);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text-muted) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-ink) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-cta {
  margin-left: 0.5rem;
}

.nav-cta .btn {
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
}

.navbar-toggler {
  border-color: rgba(0, 0, 0, 0.15);
  padding: 0.35rem 0.55rem;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

@media (max-width: 991px) {
  .site-nav .navbar-collapse {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem 1rem;
    margin-top: 0.75rem;
    box-shadow: var(--shadow-md);
  }

  .nav-cta {
    margin: 0.75rem 0 0.5rem;
  }

  .nav-cta .btn {
    display: block;
    text-align: center;
  }
}

/* ---- Buttons ---- */

.btn-accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.75rem;
  letter-spacing: 0.02em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  box-shadow: 0 4px 16px var(--color-accent-glow);
}

.btn-accent:hover,
.btn-accent:focus {
  background: linear-gradient(135deg, #ff2a32 0%, var(--color-accent) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--color-accent-glow);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.75rem;
  background: transparent;
  transition: all var(--transition);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--color-accent);
  transform: translateY(-2px);
}

.btn-outline-dark {
  color: var(--color-ink);
  border: 2px solid rgba(26, 26, 26, 0.25);
  background: #ffffff;
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.75rem;
  transition: all var(--transition);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
  color: #fff;
  background: var(--color-ink);
  border-color: var(--color-ink);
  transform: translateY(-2px);
}

.btn-success-cta {
  background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-hover) 100%);
  border: none;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.75rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 16px rgba(92, 184, 46, 0.35);
  transition: all var(--transition);
}

.btn-success-cta:hover,
.btn-success-cta:focus {
  background: linear-gradient(135deg, #6fd038 0%, var(--color-success) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(92, 184, 46, 0.45);
}

.btn-shop-cta {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  border: none;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.75rem;
  font-weight: 800;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(237, 28, 36, 0.35);
  transition: all var(--transition);
}

.btn-shop-cta:hover,
.btn-shop-cta:focus {
  background: linear-gradient(135deg, #ff3a40 0%, var(--color-accent) 100%);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(237, 28, 36, 0.45);
  text-decoration: none;
}

.btn-credi-cta {
  background: linear-gradient(135deg, #f5a623 0%, #e8940f 100%);
  border: none;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.75rem;
  font-weight: 800;
  color: #1a1200 !important;
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.4);
  transition: all var(--transition);
}

.btn-credi-cta:hover,
.btn-credi-cta:focus {
  color: #1a1200 !important;
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.5);
  text-decoration: none;
}

/* ---- Credicubiertas ---- */

.credi-section {
  background: linear-gradient(180deg, #fff8f0 0%, #ffffff 100%);
  border-top: 1px solid rgba(245, 166, 35, 0.25);
}

.credi-card {
  background: #ffffff;
  border: 1px solid rgba(245, 166, 35, 0.35);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  box-shadow: 0 16px 40px rgba(245, 166, 35, 0.12);
  position: relative;
  overflow: hidden;
}

.credi-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), #f5a623, var(--color-accent));
}

.credi-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 166, 35, 0.15);
  color: #b36b00;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  padding: 0.4rem 0.9rem;
  margin-bottom: 0.85rem;
}

.credi-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--color-ink);
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}

.credi-title-accent {
  color: #f5a623;
}

.credi-lead {
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.1rem;
  max-width: 540px;
}

.credi-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.credi-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  font-weight: 600;
  color: var(--color-text);
}

.credi-list i {
  color: #f5a623;
  margin-top: 0.2rem;
}

.credi-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.credi-side {
  background: linear-gradient(160deg, #1a1a1a 0%, #2c1810 55%, #3d1f0f 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.credi-side-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.2);
  color: #f5a623;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.credi-side-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.credi-side-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}

.credi-side-link {
  color: #f5a623;
  font-weight: 800;
  text-decoration: none;
}

.credi-side-link:hover {
  color: #ffc85a;
  text-decoration: underline;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

@media (max-width: 991px) {
  .cta-actions {
    align-items: stretch;
  }

  .cta-actions .btn {
    width: 100%;
    text-align: center;
  }
}

.btn-custom-llegar {
  background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-hover) 100%);
  border: none;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.75rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 16px rgba(92, 184, 46, 0.35);
  transition: all var(--transition);
}

.btn-custom-llegar:hover,
.btn-custom-llegar:focus {
  background: linear-gradient(135deg, #6fd038 0%, var(--color-success) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(92, 184, 46, 0.45);
}

/* ---- Hero ---- */

.main-header {
  position: relative;
  min-height: calc(100vh - var(--topbar-height) - var(--nav-height));
  min-height: calc(100dvh - var(--topbar-height) - var(--nav-height));
  display: flex;
  align-items: center;
  background: #ffffff;
  padding-top: 0;
  margin-top: 0;
  overflow: visible;
}

.main-header--splash {
  justify-content: center;
  text-align: center;
}

.main-header--logo-white {
  background: #ffffff !important;
}

.hero-splash {
  position: relative;
  z-index: 2;
  width: min(1100px, 94vw);
  margin: 0 auto;
  padding: 1.5rem 1rem 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: calc(100dvh - var(--nav-height) - var(--topbar-height));
  box-sizing: border-box;
}

.hero-splash--white {
  width: min(1200px, 96vw);
}

.hero-logo-stage {
  position: relative;
  width: min(92vw, 980px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  overflow: visible;
}

.hero-logo-sizer {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(62vh, 560px);
  object-fit: contain;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-logo-stack {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 160px;
  opacity: 1;
  overflow: visible;
}

.hero-logo-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform, opacity;
  opacity: 1;
  transform: translateZ(0);
}

.hero-logo-layer--tire {
  z-index: 2;
}

.hero-logo-layer--neu {
  z-index: 1;
}

.hero-logo-layer--mc {
  z-index: 3;
}

.hero-logo-stack.is-animating .hero-logo-layer--tire {
  animation: mcTireIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-logo-stack.is-animating .hero-logo-layer--neu {
  animation: mcNeuIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.hero-logo-stack.is-animating .hero-logo-layer--mc {
  animation: mcBrakeIn 1.15s cubic-bezier(0.12, 0.7, 0.08, 1) 0.85s both;
}

.hero-logo-stack.is-animating ~ .hero-splash-tag,
.hero-splash.is-animating .hero-splash-tag {
  animation: mcFadeUp 0.6s ease 1.7s both;
}

.hero-splash.is-animating .hero-splash-tag,
.hero-splash.is-animating .hero-splash-actions {
  animation: mcFadeUp 0.6s ease 1.7s both;
}

.hero-splash.is-animating .hero-splash-actions {
  animation-delay: 1.85s;
}

@keyframes mcTireIn {
  from {
    opacity: 0;
    transform: translate3d(-64px, 0, 0) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes mcNeuIn {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes mcBrakeIn {
  0% {
    opacity: 0;
    transform: translate3d(160px, 0, 0);
  }
  70% {
    opacity: 1;
    transform: translate3d(-6px, 0, 0);
  }
  85% {
    transform: translate3d(4px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes mcFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-splash-tag {
  margin: 0;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.hero-splash-tag--dark {
  color: var(--color-text-muted);
}

.hero-splash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.35rem;
}

/* Hero: RED primary + GREEN WhatsApp */
.hero-splash-actions .btn-outline-dark {
  background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-hover) 100%);
  border: none;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(92, 184, 46, 0.35);
}

.hero-splash-actions .btn-outline-dark:hover,
.hero-splash-actions .btn-outline-dark:focus {
  background: linear-gradient(135deg, #6fd038 0%, var(--color-success) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(92, 184, 46, 0.45);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-hint span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-hint span::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 2px;
  animation: scrollHint 2s ease-in-out infinite;
}

.hero-scroll-hint--dark span {
  border-color: rgba(26, 26, 26, 0.2);
}

.hero-scroll-hint--dark span::after {
  background: var(--color-accent);
}

@keyframes scrollHint {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

/* Legacy hero variants (kept for compatibility) */

.hero-bg-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-stage--brand {
  background: linear-gradient(165deg, #ffffff 0%, #f5f6f8 100%);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero-bg-glow {
  position: absolute;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  left: 8%;
  top: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 28, 36, 0.12), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-bg-glow--right {
  left: auto;
  right: -8%;
  top: 35%;
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  background: radial-gradient(circle, rgba(237, 28, 36, 0.08), transparent 70%);
}

.background-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.6) 100%);
  z-index: 1;
}

.background-overlay--logo {
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 15px 5rem;
}

.hero-logo-wrap {
  margin: 0.45rem 0 1.1rem;
  max-width: min(440px, 86vw);
}

.hero-logo {
  display: block;
  width: 100%;
  max-height: clamp(96px, 18vw, 148px);
  height: auto;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.12));
}

.hero-kicker {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  color: var(--color-ink);
  font-weight: 800;
  margin: 0 0 1rem;
}

.hero-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(237, 28, 36, 0.08);
  border: 1px solid rgba(237, 28, 36, 0.2);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 800;
  color: var(--color-ink);
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--color-text-muted);
  max-width: 580px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1.2;
}

.hero-stat span {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.hero-visual {
  position: relative;
  height: 420px;
}

.hero-visual-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.hero-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual-card--main {
  width: 85%;
  height: 340px;
  margin-left: auto;
}

.hero-visual-card--float {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 55%;
  height: 180px;
  animation: floatCard 4s ease-in-out infinite;
}

.hero-visual-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-ink);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow-sm);
}

.hero-visual-label i {
  color: var(--color-accent);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---- Trust Bar ---- */

.trust-bar {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 2.5rem 0;
}

.trust-item {
  padding: 1rem;
}

.trust-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.65rem;
  background: rgba(237, 28, 36, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.15rem;
}

.trust-number {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.trust-label {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* ---- Brands Marquee ---- */

.brands-section {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0;
  overflow: hidden;
}

.brands-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.brands-slide {
  display: flex;
  gap: 3rem;
  padding: 0 1.5rem;
  white-space: nowrap;
}

.brands-slide span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-ink);
  opacity: 0.55;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: opacity var(--transition), color var(--transition);
}

.brands-slide span:hover {
  opacity: 1;
  color: var(--color-accent);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Nosotros ---- */

.nosotros-section {
  background: linear-gradient(180deg, #fff8f8 0%, #ffffff 55%, #ffffff 100%);
  position: relative;
}

.nosotros-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(237, 28, 36, 0.25), transparent);
}

.nosotros-grid {
  align-items: center;
}

.nosotros-image-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(237, 28, 36, 0.14);
  border: 1px solid rgba(237, 28, 36, 0.12);
}

.nosotros-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  background: linear-gradient(160deg, transparent 45%, rgba(237, 28, 36, 0.12) 100%);
  pointer-events: none;
}

.nosotros-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.nosotros-image-accent {
  position: absolute;
  bottom: -14px;
  right: -14px;
  width: 55%;
  height: 55%;
  border: 3px solid var(--color-accent);
  border-radius: 18px;
  z-index: -1;
  opacity: 0.55;
}

.nosotros-content {
  background: #ffffff;
  border: 1px solid rgba(237, 28, 36, 0.12);
  border-radius: 18px;
  padding: 2rem 2.1rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.nosotros-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(237, 28, 36, 0.1);
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  padding: 0.4rem 0.85rem;
  margin-bottom: 1rem;
}

.nosotros-content p {
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 0.9rem;
}

.nosotros-content strong {
  color: var(--color-ink);
}

.nosotros-features {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.5rem;
}

.nosotros-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
  font-weight: 600;
  color: var(--color-text);
}

.nosotros-features i {
  color: var(--color-success);
  margin-top: 0.2rem;
}

.nosotros-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---- Features ---- */

.features-section {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(237, 28, 36, 0.08), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #fff5f5 45%, #f5f6f8 100%);
  border-top: 1px solid rgba(237, 28, 36, 0.1);
  border-bottom: 1px solid rgba(237, 28, 36, 0.1);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin-top: 0.5rem;
}

.feature-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(237, 28, 36, 0.12);
  border-radius: 18px;
  padding: 1.65rem 1.45rem 1.5rem;
  height: 100%;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), #f5a623);
}

.feature-card--2::before {
  background: linear-gradient(90deg, var(--color-accent), #ed1c24);
}

.feature-card--3::before {
  background: linear-gradient(90deg, #5cb82e, var(--color-accent));
}

.feature-card--4::before {
  background: linear-gradient(90deg, #f5a623, #e8940f);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(237, 28, 36, 0.14);
  border-color: rgba(237, 28, 36, 0.3);
}

.feature-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.feature-num {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--color-accent);
  border-radius: 8px;
  padding: 0.3rem 0.55rem;
  box-shadow: 0 4px 12px rgba(237, 28, 36, 0.3);
}

.feature-card--4 .feature-num {
  background: linear-gradient(135deg, #f5a623, #e8940f);
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.35);
}

.feature-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(145deg, rgba(237, 28, 36, 0.14), rgba(237, 28, 36, 0.05));
  border: 1px solid rgba(237, 28, 36, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.feature-card--4 .feature-icon {
  background: linear-gradient(145deg, rgba(245, 166, 35, 0.2), rgba(245, 166, 35, 0.06));
  border-color: rgba(245, 166, 35, 0.35);
}

.feature-card:hover .feature-icon {
  transform: scale(1.08);
  background: var(--color-accent);
  box-shadow: 0 8px 18px rgba(237, 28, 36, 0.3);
}

.feature-card--4:hover .feature-icon {
  background: linear-gradient(135deg, #f5a623, #e8940f);
  box-shadow: 0 8px 18px rgba(245, 166, 35, 0.35);
}

.feature-icon i {
  font-size: 1.35rem;
  color: var(--color-accent);
  transition: color var(--transition);
}

.feature-card--4 .feature-icon i {
  color: #c47a00;
}

.feature-card:hover .feature-icon i {
  color: #ffffff;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
  color: var(--color-ink);
}

.feature-card p {
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.55;
  margin: 0 0 1rem;
}

.feature-link-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(237, 28, 36, 0.08);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.75rem;
}

.feature-link-hint--action {
  text-decoration: none;
  background: rgba(245, 166, 35, 0.15);
  color: #b36b00;
  transition: background var(--transition), color var(--transition);
}

.feature-link-hint--action:hover {
  background: #f5a623;
  color: #1a1200;
  text-decoration: none;
}

@media (max-width: 991px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Process ---- */

.process-section {
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(237, 28, 36, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(245, 166, 35, 0.1), transparent 50%),
    linear-gradient(165deg, #1a1a1a 0%, #111111 50%, #0d0d0d 100%);
  border-top: none;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.process-section .section-tag {
  color: #ffffff;
  background: var(--color-accent);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(237, 28, 36, 0.4);
}

.process-section .section-title {
  color: #ffffff;
}

.process-section .section-desc {
  color: rgba(255, 255, 255, 0.75);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  position: relative;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 52px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(237, 28, 36, 0.55), rgba(245, 166, 35, 0.5), transparent);
  z-index: 0;
  pointer-events: none;
}

.process-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1.65rem 1.35rem 1.55rem;
  height: 100%;
  text-align: left;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(6px);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.process-step:hover {
  transform: translateY(-8px);
  border-color: rgba(237, 28, 36, 0.55);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(237, 28, 36, 0.18);
}

.process-step--final {
  border-color: rgba(237, 28, 36, 0.35);
  background: linear-gradient(180deg, rgba(237, 28, 36, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.process-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.process-number {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 0 24px rgba(237, 28, 36, 0.45);
}

.process-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(237, 28, 36, 0.15);
  border: 1px solid rgba(237, 28, 36, 0.35);
  color: #ffffff;
  font-size: 1.15rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.process-step:hover .process-icon {
  background: var(--color-accent);
  transform: scale(1.08);
  box-shadow: 0 8px 18px rgba(237, 28, 36, 0.4);
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.process-step p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 991px) {
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid::before {
    display: none;
  }
}

@media (max-width: 576px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Servicios ---- */

.servicios-section {
  background:
    radial-gradient(ellipse 70% 40% at 10% 0%, rgba(237, 28, 36, 0.07), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(245, 166, 35, 0.08), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #fff8f8 50%, #ffffff 100%);
  border-top: 1px solid rgba(237, 28, 36, 0.1);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid rgba(237, 28, 36, 0.12);
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(237, 28, 36, 0.14);
  border-color: rgba(237, 28, 36, 0.28);
}

.service-card--accent {
  border-color: rgba(237, 28, 36, 0.2);
}

.service-card--accent .service-card-body {
  background: linear-gradient(180deg, #ffffff 0%, #fff5f5 100%);
}

.service-card-image {
  position: relative;
  overflow: hidden;
  height: 200px;
  flex-shrink: 0;
}

.service-card-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.service-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
  filter: saturate(1.08) contrast(1.03);
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 16px rgba(237, 28, 36, 0.4);
  border: none;
}

.service-badge i {
  font-size: 0.75rem;
}

.service-card-body {
  padding: 1.35rem 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-body h5 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--color-ink);
}

.service-card-body p {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.55;
  flex: 1;
}

.service-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(237, 28, 36, 0.1);
  color: var(--color-text);
  font-size: 0.8rem;
  font-weight: 700;
}

.service-meta i {
  color: var(--color-success);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(237, 28, 36, 0.08);
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.service-cta:hover {
  background: var(--color-accent);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

.service-cta--wa {
  background: rgba(37, 211, 102, 0.12);
  color: #1a9f4b;
}

.service-cta--wa:hover {
  background: #25d366;
  color: #ffffff;
}

.services-footer {
  margin-top: 2.25rem;
  text-align: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c1810 55%, #3d1f0f 100%);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  color: #ffffff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.services-footer p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.services-footer strong {
  color: #f5a623;
}

.services-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-footer-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .services-footer-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ---- Gallery Book ---- */

.gallery-section {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(237, 28, 36, 0.07), transparent 55%),
    linear-gradient(180deg, #fff8f8 0%, #f5f6f8 40%, #ffffff 100%);
  border-top: 1px solid rgba(237, 28, 36, 0.12);
}

.gallery-book-intro {
  max-width: 520px;
  margin: 0.75rem auto 0;
  color: var(--color-text-muted);
  font-size: 1rem;
  font-weight: 500;
}

.gallery-book {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 150px;
  gap: 1rem;
  margin-top: 2.25rem;
}

.gallery-item {
  position: relative;
  grid-column: span 3;
  grid-row: span 2;
  border: none;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #111;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 36px rgba(237, 28, 36, 0.22);
  z-index: 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease, filter 0.4s ease;
  filter: saturate(1.05) contrast(1.04);
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.15) contrast(1.06);
}

.gallery-item--hero {
  grid-column: span 6;
  grid-row: span 3;
}

.gallery-item--tall {
  grid-column: span 3;
  grid-row: span 3;
}

.gallery-item--wide {
  grid-column: span 6;
  grid-row: span 2;
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.75) 100%);
  color: #fff;
  text-align: left;
}

.gallery-num {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--color-accent);
  border-radius: 8px;
  padding: 0.3rem 0.55rem;
  box-shadow: 0 4px 12px rgba(237, 28, 36, 0.45);
}

.gallery-caption-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.gallery-caption-text strong {
  font-size: 0.95rem;
  font-weight: 800;
}

.gallery-caption-text em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.88;
}

.gallery-overlay {
  display: none;
}

/* ---- Lightbox ---- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 10, 10, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 4.5rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  margin: 0;
  max-width: min(92vw, 1100px);
  text-align: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  border: 3px solid rgba(237, 28, 36, 0.55);
}

.lightbox-caption {
  margin-top: 0.9rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.lightbox-counter {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--color-accent);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 2;
}

.lightbox-close:hover {
  background: var(--color-accent);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  z-index: 2;
}

.lightbox-nav:hover {
  background: var(--color-accent);
  transform: translateY(-50%) scale(1.05);
}

.lightbox-prev {
  left: 1.25rem;
}

.lightbox-next {
  right: 1.25rem;
}


/* ---- Testimonials ---- */

.testimonials-section {
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(237, 28, 36, 0.08), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #fff5f5 50%, #f5f6f8 100%);
  border-top: 1px solid rgba(237, 28, 36, 0.1);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.testimonial-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(237, 28, 36, 0.12);
  border-radius: 18px;
  padding: 1.75rem 1.5rem 1.55rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), #f5a623);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(237, 28, 36, 0.14);
  border-color: rgba(237, 28, 36, 0.3);
}

.testimonial-card--featured {
  border-color: rgba(237, 28, 36, 0.35);
  background: linear-gradient(180deg, #fff8f8 0%, #ffffff 55%);
  box-shadow: 0 14px 36px rgba(237, 28, 36, 0.12);
}

.testimonial-featured-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.7rem;
  box-shadow: 0 4px 12px rgba(237, 28, 36, 0.35);
}

.testimonial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  padding-right: 4.5rem;
}

.testimonial-card:not(.testimonial-card--featured) .testimonial-card-top {
  padding-right: 0;
}

.testimonial-stars {
  color: #f5a623;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testimonial-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(237, 28, 36, 0.08);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.65rem;
  white-space: nowrap;
}

.testimonial-quote-mark {
  display: block;
  font-family: Georgia, serif;
  font-size: 3.5rem;
  line-height: 0.7;
  color: rgba(237, 28, 36, 0.2);
  margin: 0.35rem 0 0.15rem;
}

.testimonial-card p {
  color: var(--color-text);
  font-size: 0.98rem;
  font-style: italic;
  font-weight: 500;
  margin: 0 0 1.35rem;
  line-height: 1.65;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(237, 28, 36, 0.1);
  margin-top: auto;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(237, 28, 36, 0.3);
}

.testimonial-author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-ink);
}

.testimonial-author span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

@media (max-width: 991px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* ---- FAQ ---- */

.faq-section {
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(237, 28, 36, 0.07), transparent 55%),
    linear-gradient(180deg, #fff8f8 0%, #ffffff 55%, #f5f6f8 100%);
  border-top: 1px solid rgba(237, 28, 36, 0.1);
}

.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(237, 28, 36, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.faq-item:hover {
  border-color: rgba(237, 28, 36, 0.28);
  box-shadow: 0 12px 28px rgba(237, 28, 36, 0.1);
}

.faq-item--highlight {
  border-color: rgba(245, 166, 35, 0.4);
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
}

.faq-item--highlight .faq-num {
  background: linear-gradient(135deg, #f5a623, #e8940f);
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.35);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: none;
  border: none;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}

.faq-question:hover {
  color: var(--color-accent);
  background: rgba(237, 28, 36, 0.03);
}

.faq-q-main {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.faq-num {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--color-accent);
  border-radius: 8px;
  padding: 0.3rem 0.5rem;
  box-shadow: 0 4px 12px rgba(237, 28, 36, 0.3);
}

.faq-q-text {
  line-height: 1.35;
}

.faq-question i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--color-accent);
  background: rgba(237, 28, 36, 0.08);
  transition: transform var(--transition), background var(--transition), color var(--transition);
  flex-shrink: 0;
}

.faq-question:not(.collapsed) {
  color: var(--color-accent);
  background: rgba(237, 28, 36, 0.04);
}

.faq-question:not(.collapsed) i {
  transform: rotate(180deg);
  background: var(--color-accent);
  color: #ffffff;
}

.faq-answer {
  padding: 0 1.25rem 1.25rem 4.1rem;
  color: var(--color-text);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.65;
}

.faq-answer a {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

.faq-inline-link {
  display: inline-block;
  margin-top: 0.55rem;
  color: #b36b00 !important;
}

.faq-help {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c1810 60%, #3d1f0f 100%);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.faq-help-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.faq-help-text strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.faq-help-text span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.faq-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

@media (max-width: 640px) {
  .faq-answer {
    padding-left: 1.25rem;
  }

  .faq-help {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .faq-help-actions {
    justify-content: center;
  }

  .faq-help-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ---- CTA ---- */

.cta-section {
  padding: 0 0 5rem;
  background: var(--color-bg);
}

.cta-box {
  background: linear-gradient(135deg, var(--color-accent) 0%, #9a0a10 55%, #111111 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.75rem;
  box-shadow: 0 12px 40px var(--color-accent-glow);
}

.cta-box h2 {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 1rem;
}

.cta-box .btn-accent,
.cta-box .btn-success-cta {
  background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-hover) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 16px rgba(92, 184, 46, 0.4);
}

.cta-box .btn-accent:hover,
.cta-box .btn-success-cta:hover {
  background: linear-gradient(135deg, #6fd038 0%, var(--color-success) 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(92, 184, 46, 0.5);
}

.cta-box .btn-shop-cta {
  background: #ffffff;
  color: var(--color-accent) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cta-box .btn-shop-cta:hover,
.cta-box .btn-shop-cta:focus {
  background: #fff5f5;
  color: var(--color-accent-hover) !important;
}

/* ---- Contacto ---- */

.contacto-section {
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(237, 28, 36, 0.08), transparent 55%),
    linear-gradient(180deg, #fff8f8 0%, #f5f6f8 40%, #ffffff 100%);
  position: relative;
  border-top: 1px solid rgba(237, 28, 36, 0.12);
}

.contacto-section::before {
  display: none;
}

.contacto-section > .container {
  position: relative;
  z-index: 1;
}

.contact-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin: 0 auto 2rem;
  max-width: 980px;
}

.contact-quick-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
  text-decoration: none !important;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.contact-quick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(237, 28, 36, 0.14);
  border-color: rgba(237, 28, 36, 0.25);
}

.contact-quick-card i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #fff;
  flex-shrink: 0;
}

.contact-quick-card span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.contact-quick-card strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--color-ink);
}

.contact-quick-card em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.contact-quick-card--wa i {
  background: #25d366;
}

.contact-quick-card--phone i {
  background: var(--color-accent);
}

.contact-quick-card--shop i {
  background: linear-gradient(135deg, var(--color-accent), #9a0a10);
}

.contact-quick-card--credi i {
  background: linear-gradient(135deg, #f5a623, #e8940f);
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid rgba(237, 28, 36, 0.14);
  border-radius: 18px;
  padding: 2rem 2.1rem;
  box-shadow: 0 14px 36px rgba(237, 28, 36, 0.08);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), #f5a623, var(--color-accent));
}

.contact-form-head {
  margin-bottom: 1.35rem;
}

.contact-form-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(237, 28, 36, 0.1);
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  padding: 0.35rem 0.8rem;
  margin-bottom: 0.7rem;
}

.contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: var(--color-ink);
}

.contact-form-head p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.contact-form-card label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.contact-form-card .form-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.4rem;
  margin-right: -0.4rem;
}

.contact-form-card .form-row > .form-group {
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}

.form-control {
  background: #f8f9fb;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--color-text);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-control::placeholder {
  color: rgba(92, 101, 112, 0.55);
}

.form-control:focus {
  background: #ffffff;
  border-color: var(--color-accent);
  color: var(--color-text);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid rgba(237, 28, 36, 0.12);
  border-radius: 18px;
  padding: 1.75rem 2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.contact-info-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(237, 28, 36, 0.18);
  border: 2px solid rgba(237, 28, 36, 0.15);
  background: #ffffff;
  padding: 4px;
}

.contact-info-header h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  color: var(--color-ink);
}

.contact-info-header p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.info-block {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: #fff7f7;
  border: 1px solid rgba(237, 28, 36, 0.08);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
}

.info-block i {
  color: var(--color-accent);
  font-size: 1.15rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.info-block strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--color-ink);
  margin-bottom: 0.2rem;
}

.info-block p {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  margin: 0;
}

.info-block a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 700;
}

.info-block a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

.social-links {
  margin-top: 0.25rem;
}

.social-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.social-buttons {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.social-btn:hover {
  transform: translateY(-3px);
  color: #fff;
  text-decoration: none;
}

.social-btn--whatsapp {
  background: #25d366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.social-btn--instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 4px 12px rgba(220, 39, 67, 0.3);
}

.social-btn--facebook {
  background: #1877f2;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

/* ---- Mapa ---- */

.map-container {
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(237, 28, 36, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.map-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--color-ink);
  background: linear-gradient(90deg, #fff5f5, #ffffff);
  border-bottom: 1px solid rgba(237, 28, 36, 0.1);
}

.map-label i {
  color: var(--color-accent);
}

.map-iframe {
  width: 100%;
  height: 320px;
  border: none;
  display: block;
}

.map-actions {
  padding: 1rem 1.15rem 1.2rem;
  text-align: center;
  background: #fffafaf0;
}

@media (max-width: 991px) {
  .contact-quick {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .contact-quick {
    grid-template-columns: 1fr;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Footer ---- */

.site-footer,
.footer {
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 0 2rem;
}

.footer-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  box-shadow: var(--shadow-sm);
  background: #ffffff;
  padding: 4px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-ink);
  margin: 0;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}

.footer-nav a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--color-accent);
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-left: 0.5rem;
  text-decoration: none;
  transition: all var(--transition);
}

.footer-contact:hover {
  color: var(--color-accent);
  border-color: rgba(237, 28, 36, 0.25);
  background: rgba(237, 28, 36, 0.06);
  text-decoration: none;
}

.footer-divider {
  border-color: var(--color-border);
  margin: 1.75rem 0 1.25rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ---- WhatsApp Float ---- */

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 28px;
  right: 28px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  z-index: 1000;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: waPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  color: #fff;
  text-decoration: none;
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}

.whatsapp-icon {
  line-height: 1;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 6px 32px rgba(37, 211, 102, 0.65), 0 0 0 8px rgba(37, 211, 102, 0.12); }
}

/* ---- Back to Top / Scroll Top ---- */

.back-to-top,
.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-ink);
  font-size: 0.9rem;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.back-to-top[hidden],
.scroll-top[hidden] {
  display: none;
}

.back-to-top:hover,
.scroll-top:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

/* ---- Media polish ---- */

.media-frame {
  position: relative;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  pointer-events: none;
}

/* ---- Responsive ---- */

@media (max-width: 991px) {
  .hero-logo-wrap {
    max-width: min(360px, 88vw);
    margin: 0.35rem 0 0.95rem;
  }

  .hero-logo {
    max-height: 112px;
  }

  .hero-splash {
    gap: 0;
    padding: 1rem 0.75rem 3rem;
  }

  .hero-logo-stage {
    width: min(94vw, 520px);
  }

  .hero-logo-sizer {
    max-height: min(52vh, 420px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .gallery-book {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 170px;
  }

  .gallery-item,
  .gallery-item--hero,
  .gallery-item--wide,
  .gallery-item--tall {
    grid-column: span 1;
    grid-row: span 2;
  }

  .gallery-item--hero,
  .gallery-item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .hero-logo-stage {
    width: 94vw;
  }

  .hero-logo-sizer {
    max-height: min(42vh, 300px);
  }

  .hero-logo-stack {
    min-height: 160px;
  }

  .hero-splash {
    gap: 0;
    padding: 0.75rem 0.75rem 3rem;
    min-height: calc(100dvh - var(--nav-height) - var(--topbar-height));
  }
}

@media (max-width: 768px) {
  body {
    padding-top: calc(var(--topbar-height) + 64px);
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .nosotros-content {
    padding: 1.5rem;
  }

  .contact-form-card {
    padding: 1.5rem;
  }

  .map-iframe {
    height: 300px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 20px;
    right: 20px;
    font-size: 26px;
  }

  .hero-scroll-hint {
    display: none;
  }

  .top-bar-item:nth-child(3) {
    display: none;
  }

  .gallery-book {
    gap: 0.75rem;
    grid-auto-rows: 140px;
  }

  .gallery-caption-text strong {
    font-size: 0.85rem;
  }

  .gallery-caption-text em {
    display: none;
  }

  .lightbox {
    padding: 1.25rem 3.25rem;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .cta-box {
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .back-to-top,
  .scroll-top {
    bottom: 85px;
    right: 20px;
  }
}

@media (max-width: 576px) {
  .trust-item {
    padding: 0.75rem 0.5rem;
  }

  .trust-number {
    font-size: 1.4rem;
  }

  .trust-label {
    font-size: 0.78rem;
  }

  .btn-custom-llegar {
    font-size: 0.9rem;
    padding: 0.65rem 1.25rem;
  }

  .top-bar {
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .whatsapp-float {
    animation: none;
  }

  .hero-scroll-hint span::after {
    animation: none;
  }

  .brands-track {
    animation: none;
  }

  .hero-visual-card--float {
    animation: none;
  }

  .hero-logo-stack,
  .hero-logo-layer {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
