/* ==========================================================================
   Rapid Tax Business Solutions LLC - Official Corporate Homepage Stylesheet
   Theme: Executive Royal Navy, Metallic Gold Accents & High-Converting Depth
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800;900&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Colors */
  --bg-navy: #1B2A47;
  --bg-navy-dark: #0F172A;
  --bg-navy-light: #243656;
  
  --gold-primary: #CAA924;
  --gold-light: #F4E38A;
  --gold-dark: #9A7F18;
  --gold-gradient: linear-gradient(135deg, #F4E38A 0%, #CAA924 50%, #9A7F18 100%);
  
  --bg-body: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-alt: #F1F5F9;
  
  --text-dark: #1E293B;
  --text-muted: #475569;
  --text-light: #F8FAF9;
  
  --border-subtle: #CBD5E1;
  --border-gold: rgba(202, 169, 36, 0.4);
  
  --accent-emerald: #059669;
  --accent-blue: #0284C7;
  
  /* Fonts */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Layout */
  --max-width: 1280px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  position: relative;
  touch-action: manipulation;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-body);
  color: var(--text-dark);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 70px;
  }
  /* Hide Top Announcement Bar on Mobile entirely */
  .top-bar {
    display: none !important;
  }
  /* Hide Floating WhatsApp FAB on Mobile because it's already in the mobile bottom bar */
  .whatsapp-fab {
    display: none !important;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* LANGUAGE SELECTOR PILLS (Desktop Top Bar) */
.lang-selector-group {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(15, 23, 42, 0.6);
  padding: 0.2rem;
  border-radius: 50px;
  border: 1px solid var(--gold-primary);
}

.lang-btn {
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #CBD5E1;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.lang-btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  user-select: none;
}

.lang-btn:hover, .lang-btn.active {
  background: var(--gold-primary) !important;
  color: var(--bg-navy) !important;
  font-weight: 800 !important;
}

/* MOBILE FLOATING BOTTOM ACTION BAR */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 68px;
    background: #0F172A;
    border-top: 2px solid var(--gold-primary);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0.4rem 0.8rem;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
  }

  .mobile-bar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 0.725rem;
    font-weight: 700;
    gap: 0.15rem;
    flex: 1;
    text-decoration: none;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-bar-btn * {
    pointer-events: none;
  }

  .mobile-bar-btn.btn-wa {
    background: #25D366;
    color: #FFFFFF;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    font-size: 0.8rem;
    flex-direction: row;
    gap: 0.4rem;
  }
}

/* PRELOADER STYLING - DISABLED FOR INSTANT MOBILE & DESKTOP LOAD */
.tax-preloader, #tax-preloader {
  display: none !important;
}

.preloader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 90%;
  max-width: 440px;
  padding: 2.5rem 2rem;
  background: rgba(15, 23, 42, 0.85);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 50px rgba(202, 169, 36, 0.35);
  backdrop-filter: blur(16px);
}

.preloader-emblem-box {
  position: relative;
  width: 200px;
  height: 140px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dollar-bill-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: dollarContainerSpin 3.5s linear infinite;
  transform-style: preserve-3d;
}

.dollar-half {
  position: absolute;
  top: 15px;
  transition: transform 0.6s ease;
}

.dollar-left {
  left: 10px;
  animation: leftDollarJoin 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite alternate;
}

.dollar-right {
  right: 10px;
  animation: rightDollarJoin 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite alternate;
}

@keyframes leftDollarJoin {
  0% {
    transform: translateX(-65px) rotate(-45deg) scale(0.7);
    opacity: 0.3;
  }
  50%, 100% {
    transform: translateX(22px) rotate(0deg) scale(1);
    opacity: 1;
  }
}

@keyframes rightDollarJoin {
  0% {
    transform: translateX(65px) rotate(45deg) scale(0.7);
    opacity: 0.3;
  }
  50%, 100% {
    transform: translateX(-22px) rotate(0deg) scale(1);
    opacity: 1;
  }
}

@keyframes dollarContainerSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.preloader-ring {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 3px solid rgba(202, 169, 36, 0.25);
  border-top-color: var(--gold-light);
  border-right-color: var(--gold-primary);
  animation: preloaderSpin 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
  z-index: 3;
}

.preloader-logo-frame {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 50%;
  background: #FFFFFF;
  padding: 5px;
  box-shadow: 0 0 25px rgba(244, 227, 138, 0.7);
  border: 2.5px solid var(--gold-primary);
  position: relative;
  z-index: 4;
}

.preloader-brand-title {
  color: #FFFFFF;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 0.2rem;
}

.preloader-brand-sub {
  color: var(--gold-light);
  font-size: 0.775rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.preloader-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(202, 169, 36, 0.4);
}

.preloader-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--gold-gradient);
  border-radius: 20px;
  transition: width 0.15s ease-out;
  box-shadow: 0 0 12px var(--gold-primary);
}

.preloader-status-text {
  color: #E2E8F0;
  font-size: 0.85rem;
  font-weight: 600;
  min-height: 24px;
}

.preloader-percent {
  color: var(--gold-light);
  font-weight: 800;
  font-size: 1.1rem;
  margin-top: 0.25rem;
}

@keyframes preloaderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* NAVBAR LOGO */
.brand-logo-img {
  height: 68px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  border-radius: 8px;
  background: #FFFFFF;
  padding: 4px 10px;
  box-shadow: 0 0 15px rgba(202, 169, 36, 0.35);
  border: 1.5px solid var(--gold-primary);
  transition: var(--transition);
}

.brand-logo-img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(244, 227, 138, 0.6);
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  letter-spacing: -0.3px;
  color: var(--bg-navy);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  background: rgba(202, 169, 36, 0.12);
  border: 1px solid var(--gold-primary);
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

/* Top Announcement Bar */
.top-bar {
  background: var(--bg-navy-dark);
  color: #CBD5E1;
  font-size: 0.825rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-info-item a {
  color: var(--gold-light);
  font-weight: 600;
}

.top-badge {
  background: rgba(202, 169, 36, 0.2);
  color: var(--gold-light);
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
  border: 1px solid var(--gold-primary);
}

/* Sticky Header Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-navy);
  color: var(--text-light);
  border-bottom: 3px solid var(--gold-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: #CBD5E1;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--gold-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.925rem;
  transition: var(--transition);
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--bg-navy) !important;
  box-shadow: 0 4px 15px rgba(202, 169, 36, 0.3);
  font-weight: 800 !important;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(202, 169, 36, 0.5);
}

.btn-navy {
  background: var(--bg-navy);
  color: #FFFFFF !important;
}

.btn-navy:hover {
  background: var(--bg-navy-light);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF !important;
}

.btn-whatsapp:hover {
  background: #20BA5A;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-back-hub {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--bg-navy);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.btn-back-hub:hover {
  background: var(--gold-primary);
  color: var(--bg-navy);
  border-color: var(--gold-primary);
}

/* FORMS STYLING */
.sticky-contact-card {
  background: #FFFFFF !important;
  border: 1px solid var(--border-gold) !important;
  border-radius: var(--radius-md) !important;
  padding: 2rem !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

.form-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.4rem !important;
  margin-bottom: 1rem !important;
}

.form-label {
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  color: #1E293B !important;
  display: block !important;
  margin-bottom: 0.2rem !important;
}

.form-control {
  width: 100% !important;
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.8rem 1rem !important;
  color: #0F172A !important;
  font-size: 0.95rem !important;
  font-family: var(--font-body) !important;
  outline: none !important;
  transition: var(--transition) !important;
}

.form-control:focus {
  border-color: var(--gold-primary) !important;
  background: #FFFFFF !important;
  box-shadow: 0 0 0 3px rgba(202, 169, 36, 0.2) !important;
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

/* Hero Section (Homepage Only) */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  background: linear-gradient(135deg, var(--bg-navy) 0%, var(--bg-navy-dark) 100%);
  color: var(--text-light);
}

.hero-section .hero-title {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #FFFFFF !important;
}

.hero-section .hero-description {
  font-size: 1.125rem;
  color: #E2E8F0 !important;
  margin-bottom: 2rem;
  max-width: 720px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #CBD5E1;
}

.trust-item strong {
  color: #FFFFFF;
}

/* LANDING & BLOG PAGES HIGH-CONTRAST TYPOGRAPHY */
.landing-view-container {
  padding: 3rem 0 6rem;
  background: var(--bg-body);
}

.landing-hero-box {
  background: #FFFFFF !important;
  border: 2px solid var(--gold-primary) !important;
  border-radius: var(--radius-lg) !important;
  padding: 2.5rem !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
  position: relative !important;
  overflow: hidden !important;
}

.landing-hero-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gold-gradient);
}

.landing-hero-box .hero-title,
.landing-hero-box h1,
.landing-view-container > h1 {
  color: #1B2A47 !important;
  font-size: 2.3rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  margin-bottom: 1rem !important;
  font-family: var(--font-heading) !important;
}

.landing-hero-box .hero-description,
.landing-hero-box > p,
.landing-view-container > p {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.7;
}

.landing-layout {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 3.5rem;
}

.landing-main-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.landing-main-content h2,
.landing-main-content h3 {
  color: #1B2A47 !important;
  font-weight: 700 !important;
}

/* HIGH-CONTRAST CALL-TO-ACTION (CTA) BOXES */
.cta-callout-box {
  background: linear-gradient(135deg, #1B2A47 0%, #0F172A 100%) !important;
  border: 2px solid var(--gold-primary) !important;
  border-radius: var(--radius-md) !important;
  padding: 2.25rem !important;
  color: #FFFFFF !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
  margin-top: 1.5rem !important;
}

.cta-callout-box h2,
.cta-callout-box h3,
.cta-callout-box h4 {
  color: #F4E38A !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  margin-bottom: 0.75rem !important;
}

.cta-callout-box p {
  color: #F8FAFC !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
  margin-bottom: 1.5rem !important;
}

/* About Us Section */
.about-section {
  padding: 5.5rem 0;
  background: #FFFFFF;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-card-box {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--bg-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* BALANCED PROMO FLYERS GRID */
.promo-flyers-section {
  padding: 5.5rem 0;
  background: var(--bg-navy-dark);
  color: #FFFFFF;
}

.promos-layout-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

.promos-row-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.promos-row-bottom {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

.promos-row-bottom .flyer-card {
  width: 100%;
  max-width: 440px;
}

.flyer-card {
  background: var(--bg-navy);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.flyer-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
  box-shadow: 0 20px 40px rgba(202, 169, 36, 0.3);
}

.flyer-img-box {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #000000;
}

.flyer-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.flyer-card:hover .flyer-img-box img {
  transform: scale(1.05);
}

.flyer-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.flyer-title {
  color: #FFFFFF !important;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.35;
}

/* VERTICAL REELS VIDEO GALLERY SECTION */
.reels-section {
  padding: 5.5rem 0;
  background: #FFFFFF;
}

.reels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.reel-card {
  background: var(--bg-navy-dark);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.reel-video-wrapper {
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000000;
  position: relative;
}

.reel-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-info-box {
  padding: 1.25rem 1.5rem;
  background: var(--bg-navy);
  color: #FFFFFF;
}

.reel-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light) !important;
  line-height: 1.4;
}

/* Directory Sections */
.directory-section {
  padding: 5.5rem 0;
  border-top: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 1rem;
  color: var(--bg-navy);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.directory-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.directory-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.dir-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dir-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(202, 169, 36, 0.12);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.dir-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bg-navy) !important;
}

.dir-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex: 1;
}

.dir-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-dark);
}

.dir-card-footer::after {
  content: '→';
  font-size: 1.1rem;
  transition: var(--transition);
}

.directory-card:hover .dir-card-footer::after {
  transform: translateX(4px);
}

/* Testimonials Section */
.testimonials-section {
  padding: 5.5rem 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--bg-navy);
}

.author-location {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* Contact Section */
.contact-section {
  padding: 5.5rem 0;
  background: var(--bg-navy);
  color: var(--text-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--bg-navy-dark);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 2.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(202, 169, 36, 0.15);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-label {
  font-size: 0.8rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: #FFFFFF;
}

/* Footer - ELEGANT COMPACT CITY DIRECTORY SILO GRID */
.site-footer {
  background: var(--bg-navy-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4.5rem 0 2rem;
  color: #94A3B8;
}

.site-footer p {
  color: #94A3B8 !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3rem;
}

.footer-col h5 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: var(--gold-light);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #94A3B8;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold-primary);
}

.footer-cities-compact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem 1rem;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.footer-cities-compact-grid::-webkit-scrollbar {
  width: 4px;
}
.footer-cities-compact-grid::-webkit-scrollbar-thumb {
  background: var(--gold-primary);
  border-radius: 4px;
}

.footer-cities-compact-grid a {
  font-size: 0.8rem;
  color: #CBD5E1;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  display: block;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.825rem;
  color: #64748B;
}

/* Floating WhatsApp FAB (Desktop Only) */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: var(--transition);
}

.whatsapp-fab:hover {
  transform: scale(1.1);
}

/* ABSOLUTE OVERRIDE FOR PROMOTIONS SECTION TITLE */
#promociones .section-title,
.promo-flyers-section .section-title,
#promociones h2,
.promo-flyers-section h2 {
  color: #FFFFFF !important;
  font-size: 2.3rem !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

#promociones .section-desc,
.promo-flyers-section .section-desc {
  color: #E2E8F0 !important;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .about-grid, .landing-layout, .contact-grid, .footer-grid, .promos-row-top {
    grid-template-columns: 1fr;
  }
  .promos-row-bottom {
    flex-direction: column;
    align-items: center;
  }
  .nav-links {
    display: none;
  }
  .top-bar-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-cities-compact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .directory-grid,
  .reels-grid,
  .testimonials-grid,
  .footer-cities-compact-grid {
    grid-template-columns: 1fr !important;
  }
  .mobile-bottom-bar {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }
}

/* MOBILE FULL-SCREEN NAVIGATION MODAL DRAWER */
.mobile-nav-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 6rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s ease;
  overflow-y: auto;
}

.mobile-nav-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--gold-primary);
  color: #FFFFFF;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-modal-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.mobile-modal-links a {
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.mobile-modal-links a:hover,
.mobile-modal-links a:active {
  background: var(--gold-gradient);
  color: #0F172A !important;
}

.mobile-modal-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* OFFICIAL SOCIAL MEDIA VECTOR SVG ICONS */
.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--gold-light);
  transition: all 0.25s ease;
}

.social-icon-link:hover {
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-icon-link.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #FFFFFF;
  border-color: transparent;
}

.social-icon-link.facebook:hover {
  background: #1877F2;
  color: #FFFFFF;
  border-color: #1877F2;
}

.social-icon-link.linkedin:hover {
  background: #0A66C2;
  color: #FFFFFF;
  border-color: #0A66C2;
}


/* HIDE MOBILE DRAWER AND BOTTOM BAR ON DESKTOP SCREENS */
@media (min-width: 992px) {
  .mobile-nav-modal, .mobile-bottom-bar {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

.mobile-nav-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: #0F172A;
  z-index: 9999999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav-modal.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}


/* STRICT FLOATING WHATSAPP SVG ICON SIZING FIX */
.floating-wa-widget svg,
.floating-wa-icon {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  flex-shrink: 0 !important;
  fill: currentColor !important;
}
