/* ===== CSS VARIABLES ===== */
:root {
  --navy: #0C1D3E;
  --blue-700: #1D4ED8;
  --blue-600: #2563EB;
  --blue-500: #3B82F6;
  --blue-400: #60A5FA;
  --blue-100: #DBEAFE;
  --blue-50: #EFF6FF;
  --cyan: #0EA5E9;
  --white: #FFFFFF;
  --text-dark: #0F172A;
  --text-mid: #334155;
  --text-light: #64748B;
  --shadow-blue: 0 4px 24px rgba(37,99,235,0.18);
  --shadow-blue-lg: 0 8px 48px rgba(37,99,235,0.25);
  --shadow-navy: 0 8px 32px rgba(12,29,62,0.22);
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Rubik', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  background: #fff;
}
h1, h2, h3, h4 { font-family: 'Lora', serif; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
  padding: 1.25rem 0;
}
#navbar.scrolled {
  background: rgba(12,29,62,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-navy);
  padding: 0.75rem 0;
}
.nav-link {
  font-family: 'Rubik', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
  letter-spacing: 0.03em;
}
.nav-link:hover { color: #fff; }
.btn-nav {
  background: var(--blue-600);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 0 0 0 rgba(37,99,235,0);
}
.btn-nav:hover {
  background: var(--blue-500);
  box-shadow: 0 0 18px rgba(37,99,235,0.55);
  transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('fotos/consultorio-fachada.png');
  background-size: cover; background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(12,29,62,0.90) 0%, rgba(21,78,180,0.60) 60%, rgba(12,29,62,0.75) 100%);
}
.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(37,99,235,0.25);
  border: 1px solid rgba(96,165,250,0.4);
  color: #93C5FD;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Lora', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-title span {
  background: linear-gradient(90deg, #60A5FA, #0EA5E9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-family: 'Rubik', sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--blue-600);
  color: #fff;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 0 0 0 rgba(37,99,235,0.5);
  animation: glow-pulse 3s infinite;
}
.btn-hero-primary:hover {
  background: var(--blue-500);
  transform: translateY(-3px);
  box-shadow: 0 0 32px rgba(37,99,235,0.7), 0 8px 32px rgba(37,99,235,0.4);
  animation: none;
}
.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent;
  color: #fff;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.4);
  transition: all 0.3s;
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-2px);
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(37,99,235,0.4); }
  50% { box-shadow: 0 0 28px rgba(37,99,235,0.8), 0 0 60px rgba(37,99,235,0.3); }
}

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  font-family: 'Rubik', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce-gentle 2.5s infinite;
  z-index: 2;
}
@keyframes bounce-gentle {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ===== SECTION HEADERS ===== */
.section-eyebrow {
  display: inline-block;
  color: var(--blue-600);
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Lora', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-desc {
  font-family: 'Rubik', sans-serif;
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.75;
}

/* ===== SERVICES ===== */
.service-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1.5px solid var(--blue-100);
  box-shadow: var(--shadow-blue);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.04) 0%, transparent 60%);
  transition: opacity 0.3s;
  opacity: 0;
}
.service-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: var(--shadow-blue-lg);
  border-color: var(--blue-400);
}
.service-card:hover::before { opacity: 1; }

.service-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 1rem;
  background: var(--blue-50);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.3s, transform 0.3s;
  color: var(--blue-600);
}
.service-card:hover .service-icon-wrap {
  background: var(--blue-600);
  color: #fff;
  transform: rotate(8deg) scale(1.08);
}

.service-featured {
  background: linear-gradient(135deg, var(--navy) 0%, #1D4ED8 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 48px rgba(12,29,62,0.35);
}
.service-featured:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  box-shadow: 0 20px 60px rgba(12,29,62,0.45), 0 0 40px rgba(37,99,235,0.3);
  border-color: transparent;
}
.service-featured .service-icon-wrap {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.service-featured:hover .service-icon-wrap {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.service-featured .service-title { color: #fff; }
.service-featured .service-desc { color: rgba(255,255,255,0.75); }
.service-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: rgba(251,191,36,0.2);
  border: 1px solid rgba(251,191,36,0.4);
  color: #FCD34D;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ===== ABOUT ===== */
.about-photo-wrap {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-blue-lg);
}
.about-photo-wrap::after {
  content: '';
  position: absolute;
  bottom: -12px; right: -12px;
  width: 70%; height: 70%;
  border: 3px solid var(--blue-400);
  border-radius: 2rem;
  z-index: -1;
}
.credential-badge {
  background: linear-gradient(135deg, var(--navy), var(--blue-700));
  color: #fff;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-blue);
  position: absolute;
  bottom: 1.5rem; left: -1.5rem;
  min-width: 200px;
}
@media (max-width: 768px) {
  .credential-badge { position: static; margin-top: 1rem; }
  .about-photo-wrap::after { display: none; }
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1.5px solid var(--blue-100);
  box-shadow: var(--shadow-blue);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.testimonial-card:nth-child(even) { transform: rotate(0.5deg); }
.testimonial-card:nth-child(odd) { transform: rotate(-0.3deg); }
.testimonial-card:hover { transform: translateY(-4px) rotate(0deg); box-shadow: var(--shadow-blue-lg); }
.testimonial-quote {
  position: absolute; top: 1.5rem; right: 1.5rem;
  color: var(--blue-100);
  font-size: 3rem;
  font-family: 'Lora', serif;
  line-height: 1;
}

/* ===== GALLERY ===== */
.gallery-item {
  border-radius: 1.25rem;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-blue);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,29,62,0.8) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 1rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ===== LIGHTBOX ===== */
#lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(10,20,40,0.96);
  backdrop-filter: blur(8px);
  align-items: center; justify-content: center;
}
#lightbox.active { display: flex; }
#lightbox img {
  max-width: 90vw; max-height: 85vh;
  border-radius: 1rem;
  box-shadow: 0 0 60px rgba(37,99,235,0.3);
  object-fit: contain;
}
.lightbox-btn {
  position: absolute;
  background: rgba(37,99,235,0.2);
  border: 1px solid rgba(96,165,250,0.3);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  font-size: 1.25rem;
}
.lightbox-btn:hover { background: var(--blue-600); transform: scale(1.1); }
#lb-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
#lb-prev:hover { transform: translateY(-50%) scale(1.1); }
#lb-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
#lb-next:hover { transform: translateY(-50%) scale(1.1); }
#lb-close { top: 1.5rem; right: 1.5rem; }
#lb-counter {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.6); font-family: 'Rubik', sans-serif; font-size: 0.875rem;
}

/* ===== FAQ ===== */
.faq-item {
  border: 1.5px solid var(--blue-100);
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 0.75rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item.open { border-color: var(--blue-400); box-shadow: var(--shadow-blue); }
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: #fff;
  cursor: pointer;
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  transition: background 0.2s;
  border: none;
}
.faq-question:hover { background: var(--blue-50); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue-50);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-600);
  flex-shrink: 0;
  transition: background 0.2s, transform 0.3s;
}
.faq-item.open .faq-icon { background: var(--blue-600); color: #fff; transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  background: var(--blue-50);
}
.faq-answer.open { max-height: 300px; padding: 1.25rem 1.5rem; }
.faq-answer p {
  font-family: 'Rubik', sans-serif;
  color: var(--text-mid);
  line-height: 1.75;
  font-size: 0.95rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #1D4ED8 50%, #0EA5E9 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.btn-cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: #fff;
  color: var(--blue-700);
  padding: 1rem 2.5rem;
  border-radius: 999px;
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 24px rgba(255,255,255,0.25);
}
.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(255,255,255,0.4);
}

/* ===== CONTACT ===== */
.contact-input {
  width: 100%;
  background: var(--blue-50);
  border: 1.5px solid var(--blue-100);
  border-radius: 0.875rem;
  padding: 0.875rem 1.25rem;
  font-family: 'Rubik', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.contact-input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
  background: #fff;
}
.contact-input::placeholder { color: var(--text-light); }
.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: #fff;
  padding: 1rem;
  border-radius: 0.875rem;
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  transition: all 0.3s;
  box-shadow: var(--shadow-blue);
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue-lg);
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
}
footer a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
footer a:hover { color: #fff; }
.footer-title { font-family: 'Lora', serif; color: #fff; font-size: 1rem; margin-bottom: 1rem; }

/* ===== AI CHAT WIDGET ===== */
#chat-widget { position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 9000; }
#chat-btn {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-blue-lg);
  border: none;
  color: #fff;
  transition: transform 0.3s;
  position: relative; z-index: 2;
}
#chat-btn:hover { transform: scale(1.08); }
#chat-btn.open { animation: none !important; }

#chat-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2.5px solid var(--blue-500);
  animation: pulse-ring 2.5s ease infinite;
}
#chat-pulse-ring2 {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(37,99,235,0.4);
  animation: pulse-ring 2.5s ease 0.7s infinite;
}
@keyframes pulse-ring {
  0% { opacity: 1; transform: scale(0.85); }
  70% { opacity: 0; transform: scale(1.3); }
  100% { opacity: 0; transform: scale(1.3); }
}

#chat-tooltip {
  position: absolute;
  bottom: calc(100% + 1rem);
  right: 0;
  background: #fff;
  color: var(--navy);
  padding: 0.6rem 1rem;
  border-radius: 0.875rem 0.875rem 0 0.875rem;
  font-family: 'Rubik', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-blue);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
#chat-tooltip::after {
  content: '';
  position: absolute;
  top: 100%; right: 1.25rem;
  border: 6px solid transparent;
  border-top-color: #fff;
}
#chat-tooltip.hidden { opacity: 0; transform: translateY(4px); }

#chat-panel {
  position: absolute;
  bottom: calc(100% + 1rem); right: 0;
  width: 340px;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 16px 64px rgba(12,29,62,0.22), 0 0 0 1px rgba(37,99,235,0.1);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: opacity 0.3s, transform 0.3s;
  opacity: 0; pointer-events: none; transform: translateY(12px) scale(0.97);
  max-height: 500px;
}
#chat-panel.open { opacity: 1; pointer-events: all; transform: translateY(0) scale(1); }

.chat-header {
  background: linear-gradient(135deg, var(--navy), var(--blue-700));
  color: #fff;
  padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.chat-header-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ADE80;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(74,222,128,0.6);
}
.chat-header h4 {
  font-family: 'Lora', serif;
  font-size: 0.95rem; font-weight: 700;
  flex: 1;
}
.chat-header span { font-size: 0.7rem; opacity: 0.7; display: block; font-family: 'Rubik', sans-serif; }
#chat-messages {
  flex: 1; overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: 0.625rem;
  min-height: 200px; max-height: 280px;
}
#chat-messages::-webkit-scrollbar { width: 4px; }
#chat-messages::-webkit-scrollbar-track { background: transparent; }
#chat-messages::-webkit-scrollbar-thumb { background: var(--blue-200, #BFDBFE); border-radius: 999px; }

.msg-bubble {
  max-width: 85%;
  padding: 0.625rem 0.875rem;
  border-radius: 1.25rem;
  font-family: 'Rubik', sans-serif;
  font-size: 0.85rem;
  line-height: 1.5;
}
.msg-bubble.bot {
  background: var(--blue-50);
  color: var(--text-dark);
  border-radius: 0.375rem 1.25rem 1.25rem 1.25rem;
  align-self: flex-start;
}
.msg-bubble.user {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: #fff;
  border-radius: 1.25rem 1.25rem 0.375rem 1.25rem;
  align-self: flex-end;
}
.msg-typing {
  display: flex; gap: 4px; align-items: center; padding: 0.75rem 1rem;
  background: var(--blue-50);
  border-radius: 0.375rem 1.25rem 1.25rem 1.25rem;
  align-self: flex-start;
}
.msg-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-400);
  animation: typing-dot 1.2s infinite;
}
.msg-typing span:nth-child(2) { animation-delay: 0.2s; }
.msg-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}
.chat-input-wrap {
  padding: 0.875rem;
  border-top: 1px solid var(--blue-100);
  display: flex; gap: 0.5rem;
}
#chat-input {
  flex: 1;
  background: var(--blue-50);
  border: 1.5px solid var(--blue-100);
  border-radius: 0.875rem;
  padding: 0.625rem 0.875rem;
  font-family: 'Rubik', sans-serif;
  font-size: 0.85rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
}
#chat-input:focus { border-color: var(--blue-500); }
#chat-send {
  width: 38px; height: 38px;
  background: var(--blue-600);
  border: none; border-radius: 0.75rem;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
#chat-send:hover { background: var(--blue-500); transform: scale(1.05); }

/* ===== ANIMATIONS (Intersection Observer) ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ===== MOBILE NAV ===== */
#mobile-menu {
  display: none; flex-direction: column;
  background: rgba(12,29,62,0.98);
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  color: rgba(255,255,255,0.85);
  font-family: 'Rubik', sans-serif;
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  transition: color 0.2s;
}
#mobile-menu a:hover { color: #fff; }

/* ===== MISC ===== */
.map-wrap { border-radius: 1.5rem; overflow: hidden; box-shadow: var(--shadow-blue); }
.stars { color: #FBBF24; letter-spacing: 1px; }
.divider-line {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan));
  border-radius: 999px;
  margin: 1rem 0;
}
