:root {
  --primary: #041e42;
  --secondary: #101820;
  --accent: #f3c400;
  --bg: #080d1a;
  --bg-card: rgba(8, 16, 35, 0.68);
  --text: #f6f8ff;
  --muted: #a8b4d2;
  --stroke: rgba(255, 255, 255, 0.14);
  --stroke-strong: rgba(243, 196, 0, 0.45);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
  --gradient-color: #041e42;
  --sparkles-color: #ffffff;
  --font-display: "Syne", system-ui, sans-serif;
  --font-heading: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  color: var(--text);
  scroll-behavior: smooth;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.62;
  font-feature-settings: "kern" 1, "liga" 1;
  background-color: #030303;
  -webkit-font-smoothing: antialiased;
}
body {
  min-height: 100vh;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}
h1, h2, h3, p { margin: 0; }

/* Scrollbar estilo Mylder */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(243, 196, 0, 0.72) rgba(6, 14, 30, 0.95);
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(4, 18, 44, 0.95), rgba(8, 13, 26, 0.98));
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(243, 196, 0, 0.9), rgba(179, 140, 8, 0.95));
  border-radius: 999px;
  border: 2px solid rgba(4, 18, 44, 0.96);
  box-shadow: 0 0 0 1px rgba(243, 196, 0, 0.28), 0 0 14px rgba(243, 196, 0, 0.32);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffd84f, #c8a01e);
}

::-webkit-scrollbar-corner {
  background: rgba(7, 13, 28, 0.98);
}

.aurora-layer,
.noise {
  display: none;
}

.section { position: relative; z-index: 1; }
.section {
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 5rem 0 1rem;
}

.section.authority {
  padding-top: 3rem;
  background: #030303;
}

.section.authority::before {
  content: "";
  display: block;
  width: min(480px, 90%);
  height: 1px;
  margin: 0 auto 0.85rem;
  background: linear-gradient(90deg, transparent, rgba(243, 196, 0, 0.65), transparent);
  opacity: 0.78;
}

.header {
  width: min(1200px, calc(100% - 3rem));
  margin: 0.8rem auto 0;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: 0.65rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(3, 3, 3, 0.72);
  backdrop-filter: blur(16px);
  padding: 0.72rem 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.header.scrolled {
  border-color: rgba(243, 196, 0, 0.25);
  background: rgba(3, 3, 3, 0.92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.brand {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
}
.brand-mark {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(2.8) contrast(0.96) grayscale(0.1);
}

.nav {
  display: flex;
  align-items: center;
}

.nav--simple {
  gap: 0.35rem;
}

.nav--simple a {
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav--simple a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

/* Tubelight nav — estilos en css/components.css */

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #ebf1ff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header.menu-open .mobile-menu-btn span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.header.menu-open .mobile-menu-btn span:nth-child(2) {
  opacity: 0;
}

.header.menu-open .mobile-menu-btn span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font-heading);
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  padding: 0.78rem 1.16rem;
  transition: all 0.24s ease;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 15%, rgba(255, 255, 255, 0.22) 50%, transparent 80%);
  transform: translateX(-150%);
  transition: transform 0.55s ease;
}
.btn:hover::before { transform: translateX(150%); }

.btn-primary {
  color: #0f1322;
  background: linear-gradient(120deg, var(--accent), #ffd84f 55%, #c8a01e);
  box-shadow: 0 14px 30px rgba(243, 196, 0, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(243, 196, 0, 0.34); }
.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--stroke);
}
.btn-ghost:hover { border-color: var(--stroke-strong); }
.btn-nav { padding: 0.56rem 1rem; border-color: var(--stroke); }
.btn-disabled { opacity: 0.45; pointer-events: none; }

.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 65;
  display: grid;
  justify-items: end;
  gap: 0.55rem;
}

.whatsapp-fab-btn {
  width: 68px;
  height: 68px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: #f2fff5;
  background: linear-gradient(145deg, #25d366, #1ba852);
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.45);
  position: relative;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.whatsapp-fab-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 20px 42px rgba(37, 211, 102, 0.5);
}

.whatsapp-fab-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
}

.whatsapp-fab-icon svg {
  width: 100%;
  height: 100%;
}

.whatsapp-fab-dot {
  position: absolute;
  top: -5px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #ff4040;
  border: 2px solid #081022;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.whatsapp-fab.dismissed .whatsapp-fab-dot {
  display: none;
}

.whatsapp-fab.hint .whatsapp-fab-btn {
  animation: whatsapp-fab-pulse 1.9s infinite;
}

.whatsapp-chat-card {
  width: min(310px, calc(100vw - 2rem));
  border-radius: 16px;
  border: 1px solid rgba(37, 211, 102, 0.34);
  background: linear-gradient(155deg, rgba(9, 23, 17, 0.96), rgba(8, 16, 35, 0.95));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.52);
  padding: 0.9rem 0.9rem 0.95rem;
  position: relative;
}

.whatsapp-chat-close {
  position: absolute;
  top: 8px;
  right: 9px;
  border: 0;
  background: transparent;
  color: #bed8c5;
  font-size: 1.1rem;
  cursor: pointer;
}

.whatsapp-chat-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fe3ad;
  margin-bottom: 0.25rem;
}

.whatsapp-chat-copy {
  color: #e6f2ec;
  font-size: 0.9rem;
  line-height: 1.35;
}

.whatsapp-chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  margin: 0.4rem 0 0.55rem;
}

.whatsapp-chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7dcf9d;
  animation: typing-dot 1.1s infinite ease-in-out;
}

.whatsapp-chat-typing span:nth-child(2) { animation-delay: 0.12s; }
.whatsapp-chat-typing span:nth-child(3) { animation-delay: 0.24s; }

.whatsapp-chat-cta {
  width: 100%;
  font-size: 0.93rem;
  font-weight: 700;
  padding: 0.72rem 0.9rem;
}

.whatsapp-fab.open .whatsapp-fab-btn {
  transform: scale(0.94);
}

@keyframes whatsapp-fab-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 16px 34px rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 16px 34px rgba(37, 211, 102, 0.45); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 16px 34px rgba(37, 211, 102, 0.45); }
}

@keyframes typing-dot {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-3px); opacity: 1; }
}

@keyframes type-caret-blink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0.08; }
}

@keyframes cta-soft-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 14px 30px rgba(243, 196, 0, 0.28);
  }
  50% {
    transform: scale(1.018);
    box-shadow: 0 16px 34px rgba(243, 196, 0, 0.34);
  }
}

.hero {
  min-height: 86vh;
  display: grid;
  align-content: center;
}
.hero-bg-glow {
  position: absolute;
  inset: -92px auto auto -10px;
  width: min(920px, 100%);
  height: 530px;
  z-index: -1;
  filter: blur(16px);
  background: radial-gradient(circle at 35% 42%, rgba(4, 30, 66, 0.5), rgba(243, 196, 0, 0.1), transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.2rem;
  align-items: center;
}
.hero-content { display: grid; gap: 1rem; }
.hero-logo {
  width: clamp(190px, 35vw, 350px);
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.4));
}
.kicker {
  color: #f9db60;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.95rem, 4.8vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 15ch;
}
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
}
h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
}
h1 span { color: #d7e5ff; }
.hero-copy {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.58;
}
.typewriter {
  color: #f6d66d;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.95em;
  letter-spacing: -0.01em;
  min-height: 1.4em;
  width: fit-content;
  display: inline-block;
  max-width: 100%;
  padding-right: 0;
}

.typewriter-caret {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  margin-left: 0.12rem;
  background: rgba(243, 196, 0, 0.95);
  vertical-align: -0.08em;
  animation: type-caret-blink 0.82s step-end infinite;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.72rem; }
.hero-badges {
  margin-top: 0.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.hero-badges span {
  font-size: 0.82rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 0.42rem 0.74rem;
  background: rgba(255, 255, 255, 0.02);
}

.hero-mobile-stats {
  display: none;
}

.hero-visual {
  position: relative;
  min-height: 470px;
  border: 1px solid var(--stroke);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(4, 30, 66, 0.32), rgba(16, 24, 32, 0.3));
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 1rem;
}
.hero-orb {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 35% 35%, #fbe388, #f3c400 44%, #805d00 90%);
  opacity: 0.68;
}
.floating-card {
  position: absolute;
  width: min(240px, calc(100% - 2rem));
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.21);
  background: rgba(7, 13, 29, 0.72);
  backdrop-filter: blur(10px);
  padding: 0.9rem;
}
.floating-card p { color: #d6def7; font-size: 0.8rem; }
.floating-card h3 { margin: 0.2rem 0; font-size: 1.62rem; }
.floating-card small { color: var(--muted); }
.floating-card:nth-child(2) { top: 20px; left: 18px; }
.floating-card:nth-child(3) { right: 16px; top: 170px; }
.floating-card:nth-child(4) { left: 58px; bottom: 22px; }

.authority-grid,
.services-grid,
.pillars,
.process .timeline,
.booking-layout {
  display: grid;
  gap: 0.65rem;
}
.authority-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.authority-grid-creative {
  gap: 0.85rem;
}
.services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pillars-premium {
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.process .timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.78rem;
  overflow: visible;
}
.booking-layout { grid-template-columns: 1fr 1fr 1.08fr; align-items: start; }

.section-head {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.85rem;
}

h2 {
  font-size: clamp(1.6rem, 3.9vw, 2.9rem);
  line-height: 1.08;
  max-width: none;
}

.section-head h2 {
  max-width: min(100%, 36ch);
  line-height: 1.06;
  text-wrap: balance;
}

.authority-card,
.service-card,
.pillar,
.timeline-step,
.panel {
  position: relative;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: var(--bg-card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.authority-card,
.service-card,
.pillar,
.timeline-step,
.panel { padding: 0.95rem; }
.authority-card h3,
.service-card h3,
.pillar h3,
.timeline-step h3,
.panel h3 {
  margin-bottom: 0.45rem;
  font-size: 1.03rem;
}
.authority-card p,
.service-card p,
.pillar p,
.timeline-step p,
.panel p,
.booking-note { color: var(--muted); line-height: 1.45; font-size: 0.93rem; }

.authority-card-creative {
  padding: 1.02rem;
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(165deg, rgba(16, 28, 56, 0.58), rgba(10, 17, 36, 0.78));
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.authority-card-creative::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(320px 120px at 0% 0%, rgba(255, 255, 255, 0.11), transparent 70%);
  opacity: 0.9;
}

.authority-card-creative::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.18);
  opacity: 0.35;
}

.authority-card-creative h3 {
  position: relative;
  z-index: 1;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.authority-card-creative p {
  position: relative;
  z-index: 1;
}

.authority-chip {
  display: inline-flex;
  margin-bottom: 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f5d97b;
  background: rgba(243, 196, 0, 0.12);
  border: 1px solid rgba(243, 196, 0, 0.28);
  border-radius: 999px;
  padding: 0.22rem 0.52rem;
}

.authority-card-creative:nth-child(2) {
  transform: translateY(4px);
}

.authority-card-creative:nth-child(3) {
  transform: translateY(8px);
}

.authority-card-creative:hover {
  border-color: rgba(243, 196, 0, 0.44);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(243, 196, 0, 0.14) inset;
}

.pillar-main {
  grid-row: 1 / span 2;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 1.3rem 1.1rem;
  border-color: rgba(243, 196, 0, 0.5);
  background: linear-gradient(160deg, rgba(8, 18, 40, 0.9), rgba(7, 14, 30, 0.96));
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(243, 196, 0, 0.14) inset;
}

.pillar-main .pillar-main-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 0.85rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #f1d67a;
  border: 1px solid rgba(243, 196, 0, 0.42);
  background: linear-gradient(145deg, rgba(4, 30, 66, 0.5), rgba(243, 196, 0, 0.16));
}

.pillar-main .pillar-main-icon svg,
.pillar .service-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.pillar-main h3 {
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  margin-bottom: 0.48rem;
}

.pillar-main p {
  font-size: 1rem;
}

.pillar-side {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1rem;
}

.pillar-side .service-icon {
  margin: 0;
  color: #f0d572;
}

.service-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0.72rem;
  font-size: 1.05rem;
  background: linear-gradient(150deg, rgba(4, 30, 66, 0.5), rgba(243, 196, 0, 0.2));
  border: 1px solid rgba(243, 196, 0, 0.3);
}
.timeline-step span {
  display: inline-flex;
  margin-bottom: 0.36rem;
  color: #f4cb34;
  font-weight: 700;
}

.process .timeline .timeline-step:not(:last-child)::before {
  content: "→";
  position: absolute;
  top: 50%;
  right: -0.58rem;
  transform: translate(50%, -50%);
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffe49c;
  background: linear-gradient(145deg, rgba(7, 24, 52, 0.92), rgba(243, 196, 0, 0.28));
  border: 1px solid rgba(243, 196, 0, 0.34);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  z-index: 12;
  pointer-events: none;
}
.process .timeline .timeline-step {
  overflow: visible;
}
.process .timeline .timeline-step:nth-child(1) {
  z-index: 4;
}
.process .timeline .timeline-step:nth-child(2) {
  z-index: 3;
}
.process .timeline .timeline-step:nth-child(3) {
  z-index: 2;
}
.process .timeline .timeline-step:nth-child(4) {
  z-index: 1;
}
.cta-inline { margin-top: 1rem; }

.service-card::after,
.pillar::after,
.panel::after,
.timeline-step::after,
.authority-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(280px 150px at var(--mx, 50%) var(--my, 50%), rgba(243, 196, 0, 0.15), transparent 68%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.service-card:hover::after,
.pillar:hover::after,
.panel:hover::after,
.timeline-step:hover::after,
.authority-card:hover::after { opacity: 1; }

.masonry-gallery {
  column-count: 3;
  column-gap: 0.82rem;
  position: relative;
}

.masonry-gallery::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 18px;
  pointer-events: none;
  background: radial-gradient(420px 180px at 20% 0%, rgba(243, 196, 0, 0.08), transparent 70%);
  z-index: 0;
}

.masonry-item {
  break-inside: avoid;
  margin: 0 0 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(9, 18, 40, 0.7), rgba(7, 12, 27, 0.72));
  overflow: hidden;
  padding: 0.36rem;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  position: relative;
  z-index: 1;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.masonry-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.14) 48%, transparent 80%);
  transform: translateX(-140%);
  transition: transform 0.55s ease;
}

.masonry-item:hover {
  transform: translateY(-3px);
  border-color: rgba(243, 196, 0, 0.45);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.34);
}

.masonry-item:hover::after {
  transform: translateX(140%);
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  filter: saturate(1.02) contrast(1.03);
  transition: transform 0.35s ease;
}

.masonry-item:hover img {
  transform: scale(1.02);
}

.blog-carousel-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.62rem;
  align-items: center;
}

.blog-carousel {
  overflow: hidden;
}

.blog-track {
  display: flex;
  gap: 0.72rem;
  transition: transform 0.35s ease;
  will-change: transform;
  align-items: stretch;
}

.blog-carousel-arrow {
  --arrow-base-transform: translateY(0);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(9, 21, 48, 0.8);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transform: var(--arrow-base-transform);
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.blog-carousel-arrow:hover {
  background: rgba(243, 196, 0, 0.2);
  transform: var(--arrow-base-transform) translateY(-1px);
}

.blog-carousel-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: var(--arrow-base-transform);
}

.blog-carousel-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.blog-carousel-dots button {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(232, 240, 255, 0.36);
  transition: transform 0.2s ease, background 0.2s ease;
}

.blog-carousel-dots button.active {
  background: #f3c400;
  transform: scale(1.15);
}

.blog-article-main {
  width: min(980px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 2.4rem 0 1rem;
}

.blog-article-card {
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: var(--bg-card);
  box-shadow: var(--shadow);
  padding: 1.2rem;
  display: grid;
  gap: 0.9rem;
}

.blog-cover {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.blog-cover img {
  width: 100%;
  height: clamp(190px, 34vw, 320px);
  object-fit: cover;
  display: block;
}

.blog-article-card h1 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.1;
  max-width: none;
}

.blog-article-card h2 {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  max-width: none;
}

.blog-article-card p,
.blog-article-card li {
  color: var(--muted);
  line-height: 1.55;
}

.blog-article-card ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.32rem;
}

.blog-article-meta {
  font-size: 0.86rem;
  color: #d1dcfa;
}

/* FAQ — estilos en css/components.css (.faq-section) */


.logo-track-wrap {
  overflow: visible;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.02);
}

.logo-track-wrap.is-mobile-carousel {
  overflow: hidden;
}

.logo-track {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  padding: 1rem;
  animation: none;
}

.logo-track.is-mobile-carousel {
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0.62rem;
  padding: 0.8rem;
  will-change: transform;
}

.logo-track.is-mobile-carousel .logo-item {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 119px;
  margin-inline: 0;
}

.logo-track.is-mobile-carousel .logo-item img {
  width: auto;
  height: auto;
  max-width: 95%;
  max-height: 80px;
  object-fit: contain;
}
.logo-item {
  min-width: 200px;
  width: 200px;
  height: 80px;
  border: 1px solid rgba(243, 196, 0, 0.22);
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(4, 30, 66, 0.4), rgba(16, 24, 32, 0.56));
  padding: 0.15rem;
}

.logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.95;
}

.logo-item-light {
  background: linear-gradient(145deg, rgba(4, 30, 66, 0.52), rgba(12, 20, 36, 0.82));
  border-color: rgba(243, 196, 0, 0.26);
}

.logo-item-dark {
  background: linear-gradient(145deg, rgba(4, 30, 66, 0.52), rgba(12, 20, 36, 0.82));
  border-color: rgba(243, 196, 0, 0.26);
}
.booking-step { min-height: auto; }
.booking-step h3 { font-size: 1rem; }
.days-grid,
.time-grid {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.4rem;
}
.days-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.time-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.slot-btn {
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: #eef2ff;
  text-align: left;
  padding: 0.48rem 0.52rem;
  cursor: pointer;
  transition: all 0.22s ease;
  min-width: 0;
  overflow: hidden;
}
.slot-btn strong {
  display: block;
  font-size: 0.78rem;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.slot-btn small {
  font-size: 0.66rem;
  color: var(--muted);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.slot-btn small::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.slot-btn.available small {
  color: #9bf7b8;
}

.slot-btn.available small::before {
  background: #4ee16e;
  box-shadow: 0 0 0 0 rgba(78, 225, 110, 0.55);
  animation: pulse-green 1.3s infinite;
}

.slot-btn.busy small {
  color: #ff8b8b;
}

.slot-btn.busy small::before {
  background: #ff5656;
  box-shadow: 0 0 0 0 rgba(255, 86, 86, 0.48);
  animation: pulse-red 1.35s infinite;
}
.slot-btn:hover { border-color: var(--stroke-strong); transform: translateY(-1px); }
.slot-btn.recommended { border-color: rgba(243, 196, 0, 0.58); }
.slot-btn.busy {
  cursor: not-allowed;
  opacity: 0.4;
}
.slot-btn.active {
  border-color: rgba(243, 196, 0, 0.88);
  background: linear-gradient(130deg, rgba(243, 196, 0, 0.32), rgba(4, 30, 66, 0.6));
}

.next-suggestion {
  margin-top: 0.62rem;
  font-size: 0.84rem;
  color: #f8dd80;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.booking-actions {
  margin-top: 0.7rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: nowrap;
}

.booking-actions .btn {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#openBookingModal {
  width: fit-content;
  margin-top: 0.25rem;
}

/* Agenda — estilos en css/components.css (.booking-section) */
.booking-note {
  display: block;
  margin-top: 0.65rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.lead-form {
  margin-bottom: 0.75rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
}

.lead-form label {
  display: grid;
  gap: 0.18rem;
  font-size: 0.76rem;
  color: #dbe4ff;
}

.lead-form input,
.lead-form select,
.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid var(--stroke);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 0.48rem 0.56rem;
  font: inherit;
  outline: none;
  width: 100%;
  max-width: 100%;
}

.phone-field {
  display: grid;
  grid-template-columns: minmax(140px, 180px) 1fr;
  gap: 0.45rem;
}

.country-picker {
  position: relative;
}

.country-picker-native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.country-picker-trigger {
  width: 100%;
  border: 1px solid var(--stroke);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 0.48rem 0.56rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  cursor: pointer;
  font: inherit;
}

.country-picker-trigger:focus-visible {
  outline: none;
  border-color: rgba(243, 196, 0, 0.55);
  box-shadow: 0 0 0 2px rgba(243, 196, 0, 0.15);
}

.country-picker-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.country-picker-label img {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.country-picker-label span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-picker-caret {
  color: #f5d97a;
  font-size: 0.72rem;
  flex: 0 0 auto;
}

.country-picker-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 90;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: #0b1228;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.46);
  max-height: 260px;
  overflow: auto;
  display: none;
}

.country-picker.open .country-picker-menu {
  display: block;
}

.country-picker-option {
  width: 100%;
  border: 0;
  background: transparent;
  color: #eaf0ff;
  padding: 0.48rem 0.56rem;
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  font: inherit;
}

.country-picker-option:hover,
.country-picker-option.is-active {
  background: rgba(243, 196, 0, 0.14);
}

.country-picker-option img {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.lead-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #f5d97a 50%), linear-gradient(135deg, #f5d97a 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 2px), calc(100% - 10px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2rem;
  text-overflow: ellipsis;
}

.lead-form option,
.contact-form option {
  background: #0b1228;
  color: #eaf0ff;
  font-size: 0.84rem;
}

.lead-form input:focus,
.lead-form select:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(243, 196, 0, 0.55);
  box-shadow: 0 0 0 2px rgba(243, 196, 0, 0.15);
}

.booking-fallback-link {
  display: inline-block;
  margin-top: 0.62rem;
  color: #f5d97a;
  text-decoration: none;
  font-size: 0.84rem;
}

.booking-fallback-link:hover {
  text-decoration: underline;
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.booking-modal.is-open {
  display: flex;
}

.booking-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 420px at 50% 20%, rgba(243, 196, 0, 0.1), transparent 70%),
    rgba(2, 6, 16, 0.74);
  backdrop-filter: blur(8px);
}

.booking-modal-card {
  position: relative;
  width: min(680px, calc(100% - 1.2rem));
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(12, 20, 40, 0.96), rgba(7, 11, 24, 0.98));
  padding: 1.15rem;
  box-shadow: 0 30px 85px rgba(0, 0, 0, 0.56);
  overflow: hidden;
  max-height: min(90vh, 820px);
  overflow-y: auto;
}

.booking-modal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(260px 120px at 18% 0%, rgba(243, 196, 0, 0.16), transparent 70%),
    radial-gradient(320px 160px at 88% 8%, rgba(71, 144, 255, 0.14), transparent 72%);
}

.booking-modal-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.34rem;
}

.wizard-progress {
  margin: 0.5rem auto 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: fit-content;
}

.wizard-item {
  display: grid;
  justify-items: center;
  gap: 0.22rem;
  min-width: 68px;
}

.wizard-item small {
  font-size: 0.7rem;
  color: #b8c4e5;
  letter-spacing: 0.03em;
}

.wizard-step {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ced8f7;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.wizard-step.active {
  border-color: rgba(243, 196, 0, 0.72);
  color: #0f1a36;
  background: #f3c400;
  box-shadow: 0 0 0 4px rgba(243, 196, 0, 0.2);
}

.wizard-step.done {
  border-color: rgba(243, 196, 0, 0.5);
  color: #ffe6a2;
  background: rgba(243, 196, 0, 0.24);
}

.wizard-line {
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(243, 196, 0, 0.35));
  border-radius: 999px;
}

.wizard-step-label {
  margin: 0 0 0.7rem;
  color: #d5def8;
  font-size: 0.84rem;
  text-align: center;
}

.modal-step-title {
  margin-bottom: 0.45rem;
  color: #dfe6ff;
  font-size: 0.88rem;
}

.booking-step-pane {
  display: none;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.75rem;
}

.booking-step-pane.active {
  display: block;
}

.booking-success-pane h4 {
  margin: 0.2rem 0 0.35rem;
  font-size: 1.16rem;
  color: #ffe59a;
}

.booking-success-pane p {
  color: #dbe5ff;
}

.booking-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  color: #dbe5ff;
  cursor: pointer;
}

.booking-modal-close:hover {
  border-color: rgba(243, 196, 0, 0.48);
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(78, 225, 110, 0.55); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(78, 225, 110, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(78, 225, 110, 0); }
}

@keyframes pulse-red {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 86, 86, 0.48); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(255, 86, 86, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 86, 86, 0); }
}

/* Contacto — estilos en css/components.css (.contact-section) */

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.contact-form label {
  display: grid;
  gap: 0.24rem;
  font-size: 0.8rem;
  color: #dbe4ff;
}

.contact-form .form-full-span {
  grid-column: 1 / -1;
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form label.consent-check,
.lead-form label.consent-check {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.3;
  cursor: pointer;
}

.contact-form label.consent-check input[type="checkbox"],
.lead-form label.consent-check input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  accent-color: #f3c400;
  flex: 0 0 auto;
}

.contact-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.thank-you-card {
  text-align: center;
}

.thankyou-main {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.2rem 0 1.2rem;
}

.thankyou-card-tech {
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(9, 20, 44, 0.86), rgba(7, 13, 29, 0.94));
  box-shadow: var(--shadow);
  padding: 1.3rem;
  display: grid;
  gap: 0.8rem;
  text-align: center;
}

.thankyou-card-tech h1 {
  font-size: clamp(1.45rem, 3.2vw, 2.2rem);
  max-width: none;
}

.thanks-appointment-meta {
  border: 1px solid rgba(243, 196, 0, 0.35);
  border-radius: 14px;
  background: rgba(4, 30, 66, 0.32);
  padding: 0.9rem;
  display: grid;
  gap: 0.45rem;
}

.thanks-appointment-meta p {
  margin: 0;
  color: #e2eafc;
}

.thanks-appointment-meta strong {
  color: #ffe6a2;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.thanks-page .header {
  position: relative;
  top: 0;
  width: min(1200px, calc(100% - 1.8rem));
  margin: 0.9rem auto 0;
}

.thanks-page .thankyou-main {
  width: min(980px, calc(100% - 1.8rem));
  min-height: 0;
  display: grid;
  place-items: center;
  padding: clamp(2.2rem, 8vh, 5.4rem) 0 clamp(1.6rem, 5vh, 3.2rem);
}

.thanks-page .thankyou-card-tech {
  width: min(900px, 100%);
  padding: clamp(1.4rem, 3.8vw, 2.3rem);
  justify-items: center;
}

.thanks-page .thankyou-card-tech .hero-actions {
  justify-content: center;
}

.thanks-page .thankyou-card-tech h1 {
  font-size: clamp(1.8rem, 4.4vw, 3rem);
  line-height: 1.08;
}

.thanks-page .footer {
  margin-top: 0;
  padding-top: 1rem;
  padding-bottom: 1.8rem;
}

.thanks-page .footer-bottom {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  justify-content: center;
  text-align: center;
}

.footer {
  width: 100%;
  margin-top: 2.4rem;
  padding: 1.4rem 1.15rem 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  background: linear-gradient(160deg, rgba(8, 15, 33, 0.9), rgba(5, 10, 24, 0.92));
  box-shadow: 0 -24px 48px rgba(0, 0, 0, 0.22);
  display: grid;
  gap: 1rem;
}

.footer-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  align-items: start;
  justify-items: center;
  text-align: center;
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.footer-logo {
  width: 150px;
  max-width: 100%;
  object-fit: contain;
}

.footer-logo-white {
  filter: grayscale(1) brightness(0) invert(1) contrast(1.05);
  opacity: 0.95;
}

.footer-brand p {
  color: var(--muted);
  margin: 0;
  max-width: 34ch;
  line-height: 1.45;
  text-align: center;
}

.footer-actions {
  display: grid;
  justify-items: center;
  gap: 0.58rem;
}

.footer-contact-chip {
  color: #eef4ff;
  text-decoration: none;
  font-size: 0.86rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.34rem 0.74rem;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.footer-contact-chip:hover {
  border-color: rgba(243, 196, 0, 0.55);
  transform: translateY(-1px);
}

.footer-sitemap {
  width: min(1200px, calc(100% - 2rem));
  margin: 0.6rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1rem;
  padding-bottom: 0.75rem;
}

.footer-sitemap a {
  color: #c9d4f5;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
}

.footer-sitemap a:hover {
  color: #ffe7a0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.78rem;
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: column;
  text-align: center;
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.footer-legal-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal-links a {
  color: #c9d4f5;
  text-decoration: none;
  font-size: 0.82rem;
}

.footer-legal-links a:hover {
  text-decoration: underline;
}

.footer-bottom p {
  color: #b8c4e5;
  font-size: 0.84rem;
  margin: 0;
}

.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-main {
  width: min(980px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 2.4rem 0 1rem;
}

.legal-card {
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: var(--bg-card);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
}

.legal-card h1 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  line-height: 1.1;
}

.legal-card h2 {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  max-width: none;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.55;
}

.legal-card ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
}

.legal-meta {
  font-size: 0.88rem;
  color: #d6dff8;
}

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 50;
  border-radius: 10px;
  border: 1px solid rgba(243, 196, 0, 0.45);
  background: rgba(10, 15, 32, 0.93);
  color: #ffe39c;
  padding: 0.7rem 0.9rem;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.25s ease;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.tilt-surface { transform-style: preserve-3d; }
.reveal { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; }
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .authority-grid,
  .process .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .authority-grid-creative {
    grid-template-columns: 1fr;
  }
  .authority-card-creative:nth-child(2),
  .authority-card-creative:nth-child(3) {
    transform: none;
  }
  .pillars-premium {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .pillar-main {
    grid-row: auto;
  }
  .booking-layout { grid-template-columns: 1fr 1fr; }
  .booking-layout .confirm { grid-column: 1 / -1; }
  .days-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-actions { flex-wrap: wrap; }
  .masonry-gallery {
    column-count: 2;
  }
  .process .timeline .timeline-step::before {
    display: none;
  }
}

@media (max-width: 820px) {
  html, body {
    background: #030303;
  }
  .header, .section { width: min(1200px, calc(100% - 0.7rem)); }
  .header {
    border-radius: 16px;
    padding: 0.64rem 0.72rem;
    top: 0.65rem;
    left: 50%;
    transform: translateX(-50%);
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .nav-tubelight {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.45rem);
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: max-height 0.24s ease, opacity 0.24s ease, transform 0.24s ease;
  }
  .header.menu-open .nav-tubelight {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav--simple {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.45rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: max-height 0.24s ease, opacity 0.24s ease, transform 0.24s ease;
    padding: 0;
    border: none;
    background: transparent;
  }
  .header.menu-open .nav--simple {
    max-height: 320px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    padding: 0.45rem;
    border-radius: 14px;
    border: 1px solid var(--stroke);
    background: rgba(7, 12, 27, 0.95);
  }
  .nav--simple a {
    width: 100%;
    border-radius: 10px;
    font-size: 0.875rem;
    padding: 0.65rem 0.75rem;
  }
  .btn-nav {
    width: 100%;
  }
  .authority-grid,
  .services-grid,
  .pillars,
  .booking-layout,
  .process .timeline { grid-template-columns: 1fr; }
  .pillar-side {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .pillar-side .service-icon {
    margin-inline: auto;
  }
  .process .timeline {
    gap: 1.08rem;
  }
  .process .timeline .timeline-step:not(:last-child)::before {
    display: inline-flex;
    content: "↓";
    top: auto;
    bottom: -0.62rem;
    right: auto;
    left: 50%;
    transform: translate(-50%, 50%);
  }
  .masonry-gallery {
    column-count: 2;
    column-gap: 0.45rem;
  }
  .masonry-item {
    margin-bottom: 0.45rem;
    border-radius: 12px;
    padding: 0.2rem;
  }
  .masonry-item img {
    max-height: 210px;
    object-fit: cover;
  }
  .blog-carousel-wrap {
    grid-template-columns: 1fr;
    position: relative;
    padding-inline: 0.2rem;
  }
  .blog-carousel-arrow {
    --arrow-base-transform: translateY(-50%);
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    z-index: 4;
  }
  .blog-carousel-arrow.is-prev {
    left: 0.25rem;
    right: auto;
    order: 2;
  }
  .blog-carousel {
    order: 1;
  }
  .blog-carousel-arrow.is-next {
    right: 0.25rem;
    left: auto;
    order: 3;
  }
  .blog-carousel-dots {
    order: 4;
    margin-top: 0.68rem;
  }
  .blog-cover img {
    height: clamp(170px, 42vw, 260px);
  }
  .service-card,
  .pillar,
  .timeline-step,
  .authority-card,
  .panel {
    text-align: center;
  }
  .service-icon {
    margin-inline: auto;
  }
  .timeline-step span {
    justify-content: center;
  }
  .hero {
    min-height: auto;
    padding-top: 2.35rem;
    padding-bottom: 1.15rem;
  }
  .section.authority {
    padding-top: 0.7rem;
  }
  .section.authority::before {
    width: min(320px, 86%);
    margin-bottom: 0.55rem;
  }
  .hero-content {
    justify-items: center;
    text-align: center;
    gap: 0.58rem;
  }
  .hero h1 {
    font-size: clamp(1.44rem, 7.2vw, 1.95rem);
    line-height: 1.04;
    width: 100%;
    max-width: 21ch;
  }
  .hero-copy {
    font-size: 0.92rem;
    max-width: 36ch;
    margin-inline: auto;
    text-align: center;
  }
  .typewriter {
    width: fit-content;
    min-height: 1.2em;
    padding-right: 0;
    text-align: center;
    margin-inline: auto;
  }
  .typewriter-caret {
    width: 1.6px;
    height: 0.84em;
    margin-left: 0.08rem;
  }
  .hero-actions {
    width: 100%;
    justify-content: center;
    margin-top: 0.82rem;
    margin-bottom: 0.9rem;
    gap: 0.82rem;
  }
  .hero-actions .btn {
    width: min(320px, 100%);
  }
  .btn-quote-pulse {
    animation: cta-soft-pulse 2.8s ease-in-out infinite;
  }
  .btn-quote-pulse:hover,
  .btn-quote-pulse:focus-visible {
    animation-play-state: paused;
  }
  .hero-mobile-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.42rem;
  }
  .logo-track {
    gap: 0.5rem;
    padding: 0.75rem 0.55rem;
  }
  .logo-item {
    min-width: 0;
    width: calc(50% - 0.3rem);
    max-width: 180px;
    height: 72px;
  }
  .logo-track .logo-item:nth-child(3) {
    width: min(220px, 86%);
    margin-inline: auto;
  }
  .logo-track.is-mobile-carousel {
    gap: 0.55rem;
    padding: 0.72rem 0.48rem;
  }
  .logo-track.is-mobile-carousel .logo-item,
  .logo-track.is-mobile-carousel .logo-item:nth-child(3) {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    height: 121px;
    margin-inline: 0;
  }
  .logo-track.is-mobile-carousel .logo-item img,
  .logo-track.is-mobile-carousel .logo-item:nth-child(3) img {
    width: auto;
    height: auto;
    max-width: 95%;
    max-height: 83px;
  }
  .hero-mobile-stats article {
    border: 1px solid rgba(243, 196, 0, 0.25);
    border-radius: 12px;
    background: rgba(4, 30, 66, 0.28);
    padding: 0.45rem 0.36rem;
    display: grid;
    gap: 0.08rem;
    text-align: center;
  }
  .hero-mobile-stats strong {
    font-size: 1.05rem;
    color: #fff2b6;
    line-height: 1;
  }
  .hero-mobile-stats span {
    font-size: 0.65rem;
    color: #c9d5f5;
    line-height: 1.2;
  }
  .hero-badges {
    display: none;
  }
  .hero-visual {
    display: none;
  }
  .cta-inline,
  .contact-actions {
    justify-content: center;
  }
  .cta-inline {
    display: flex;
  }
  .cta-inline .btn,
  .contact-actions .btn {
    width: min(340px, 100%);
  }
  .hero h1,
  .section-head h2,
  .section-head .kicker {
    text-align: center;
    margin-inline: auto;
  }
  .section-head {
    justify-items: center;
  }
  .footer-actions { justify-items: center; }
  .footer-bottom { align-items: center; }
  .days-grid, .time-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-form { grid-template-columns: 1fr; }
  #openBookingModal { width: 100%; }
  .wizard-item { min-width: 56px; }
  .wizard-line { width: 26px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-card__head .kicker,
  .contact-card__head h2,
  .contact-card__desc {
    text-align: center;
    margin-inline: auto;
  }
  .phone-field { grid-template-columns: 1fr; }
  .whatsapp-fab {
    right: 12px;
    bottom: 12px;
  }
  .whatsapp-fab-btn {
    width: 62px;
    height: 62px;
  }
  .whatsapp-fab-icon {
    width: 33px;
    height: 33px;
  }
}

@media (max-width: 420px) {
  .section.authority {
    padding-top: 0.5rem;
  }
  .section.authority::before {
    width: min(280px, 84%);
    margin-bottom: 0.48rem;
  }
  .masonry-gallery {
    column-count: 2;
    column-gap: 0.38rem;
  }
  .masonry-item {
    padding: 0.16rem;
    border-radius: 10px;
    margin-bottom: 0.38rem;
  }
  .masonry-item img {
    max-height: 165px;
    object-fit: cover;
  }
  .blog-cover img {
    height: clamp(150px, 48vw, 220px);
  }
  .hero h1 {
    max-width: 22ch;
    font-size: clamp(1.36rem, 7vw, 1.78rem);
  }
  .hero-copy {
    max-width: 38ch;
    font-size: 0.9rem;
  }
  .hero {
    padding-top: 2.2rem;
  }
  .hero-actions {
    margin-top: 0.74rem;
    gap: 0.72rem;
  }
  .hero-mobile-stats {
    grid-template-columns: 1fr;
  }
  .logo-item {
    max-width: 168px;
    height: 66px;
  }
  .logo-track .logo-item:nth-child(3) {
    max-width: 210px;
  }
  .logo-track.is-mobile-carousel {
    gap: 0.46rem;
    padding: 0.62rem 0.4rem;
  }
  .logo-track.is-mobile-carousel .logo-item,
  .logo-track.is-mobile-carousel .logo-item:nth-child(3) {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    height: 117px;
    margin-inline: 0;
  }
  .logo-track.is-mobile-carousel .logo-item img,
  .logo-track.is-mobile-carousel .logo-item:nth-child(3) img {
    width: auto;
    height: auto;
    max-width: 94%;
    max-height: 77px;
  }
  .days-grid, .time-grid { grid-template-columns: 1fr; }
  .slot-btn { padding: 0.44rem 0.48rem; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-quote-pulse {
    animation: none;
  }
}
