/* ===== DESIGN TOKENS ===== */
:root {
  --navy: #1B2A4A;
  --navy-light: #2C3E6B;
  --turquoise: #2EC4B6;
  --turquoise-dark: #1A9E92;
  --orange: #E07A2F;
  --orange-light: #F09848;
  --mustard: #D4A843;
  --white: #FFFFFF;
  --gray-50: #F8F9FB;
  --gray-100: #F0F2F5;
  --gray-200: #E2E5EA;
  --gray-300: #C8CDD5;
  --gray-600: #6B7280;
  --gray-800: #2D3748;
  --gray-900: #1A202C;
  --shadow-sm: 0 1px 3px rgba(27,42,74,0.08);
  --shadow-md: 0 4px 16px rgba(27,42,74,0.10);
  --shadow-lg: 0 8px 32px rgba(27,42,74,0.14);
  --shadow-xl: 0 16px 48px rgba(27,42,74,0.18);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-primary);
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--gray-50);
}
::-webkit-scrollbar-thumb {
  background: var(--navy-light);
  border-radius: 10px;
  border: 2.5px solid var(--gray-50);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--turquoise);
}
/* Firefox Support */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--navy-light) var(--gray-50);
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; }

/* Accessibility */
:focus { outline: 2px solid var(--turquoise); outline-offset: 2px; }
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--navy);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    transition: top 0.3s;
}
.skip-link:focus { top: 6px; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--turquoise);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--turquoise);
  border-radius: 2px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 560px;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header .section-subtitle { margin: 0 auto; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: none;
  transition: background 0.4s ease, top 0.4s ease, left 0.4s ease, right 0.4s ease, border-radius 0.4s ease, box-shadow 0.4s ease;
}
.header.scrolled {
  top: 12px;
  left: 24px;
  right: 24px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(27,42,74,0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 170px;
  transition: height 0.4s ease;
}
.header.scrolled .header-inner {
  height: 110px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  transition: var(--transition);
}
.header.scrolled .logo { color: var(--navy); }
.logo img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  transition: width 0.4s ease, height 0.4s ease;
}
.header.scrolled .logo img {
  width: 104px;
  height: 104px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-title {
  display: inline-block;
  white-space: nowrap;
}
.logo-text small {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 2px;
  opacity: 0.7;
  margin-top: 2px;
}
.logo span { color: var(--turquoise); }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
  position: relative;
}
.header.scrolled .nav-links a { color: var(--gray-600); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--turquoise);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--white); }
.header.scrolled .nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { width: 100%; }

/* Header Actions (lang + hamburger wrapper) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ===== Language Dropdown ===== */
.lang-dropdown {
  position: relative;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.2);
}
.header.scrolled .lang-toggle,
body.internal-page .lang-toggle {
  background: var(--gray-100);
  color: var(--gray-800);
  border-color: var(--gray-200);
}
.lang-toggle:hover {
  background: rgba(255,255,255,0.28);
}
.header.scrolled .lang-toggle:hover,
body.internal-page .lang-toggle:hover {
  background: var(--gray-200);
}
.lang-flag {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255,255,255,0.2);
  padding: 2px 5px;
  border-radius: 4px;
}
.header.scrolled .lang-flag,
body.internal-page .lang-flag {
  background: var(--gray-200);
}
.lang-code { letter-spacing: 0.5px; }
.lang-code {
  font-weight: 600;
  letter-spacing: 0.5px;
}
.lang-chevron {
  font-size: 0.55rem;
  transition: transform 0.3s ease;
  margin-left: 2px;
}
.lang-dropdown.open .lang-chevron {
  transform: rotate(180deg);
}
.header.scrolled .lang-chevron,
body.internal-page .lang-chevron {
  color: var(--gray-500);
}

/* Dropdown Menu */
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1001;
  pointer-events: none;
}
.lang-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--gray-800);
  transition: var(--transition);
  background: transparent;
}
.lang-option:hover {
  background: var(--gray-50);
}
.lang-option.active {
  background: var(--gray-50);
}
.lang-option-flag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-600);
  background: var(--gray-100);
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  min-width: 28px;
  text-align: center;
}
.lang-option-name {
  flex: 1;
  text-align: left;
  font-weight: 500;
}
.lang-option.active .lang-option-name {
  color: var(--navy);
  font-weight: 600;
}
.lang-option-code {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-300);
  letter-spacing: 0.5px;
}
.lang-option.active .lang-option-code {
  color: var(--orange);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.header.scrolled .menu-toggle span {
  background: var(--navy);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slider {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}
.hero-slide.active {
  opacity: 1;
  animation: kenBurns 8s ease-in-out forwards;
}
@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(27,42,74,0.55) 0%,
    rgba(27,42,74,0.70) 50%,
    rgba(27,42,74,0.85) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46,196,182,0.15);
  border: 1px solid rgba(46,196,182,0.3);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--turquoise);
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease-out;
}
.hero-badge i { font-size: 0.7rem; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 18px;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--turquoise), var(--orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Search Bar */
.search-bar {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 16px;
  padding: 6px;
  box-shadow: var(--shadow-xl);
  animation: fadeInUp 0.8s ease-out 0.3s both;
  max-width: 750px;
  margin: 0 auto;
}
.search-bar .search-icon {
  padding: 0 16px;
  color: var(--gray-300);
  font-size: 1.1rem;
}
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--gray-800);
  background: transparent;
  padding: 14px 0;
}
.search-bar input::placeholder { color: var(--gray-300); }
.search-bar .search-btn {
  background: linear-gradient(135deg, var(--turquoise), var(--turquoise-dark));
  color: var(--white);
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.search-bar .search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(46,196,182,0.4);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 48px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero-stat { text-align: center; }
.hero-stat .number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
}
.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

.premium-banner {
  padding: 80px 0;
  background: var(--gray-50);
}
.premium-slider-container {
  position: relative;
  width: 100%;
}
.premium-card {
  display: none;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
.premium-card.active {
  display: grid;
  opacity: 1;
}
.premium-card-img {
  position: relative;
  overflow: hidden;
  min-height: 380px;
}
.premium-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.premium-card:hover .premium-card-img img {
  transform: scale(1.05);
}
.premium-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(27,42,74,0.7);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.85);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.premium-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 52px;
}
.premium-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--turquoise);
  margin-bottom: 16px;
}
.premium-label i {
  font-size: 0.7rem;
}
.premium-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}
.premium-text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
}
.premium-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.premium-feature {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: var(--gray-50);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray-800);
  border: 1px solid var(--gray-200);
}
.premium-feature i {
  font-size: 0.7rem;
  color: var(--turquoise);
}
.premium-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  width: fit-content;
  box-shadow: 0 4px 16px rgba(27,42,74,0.2);
}
.premium-cta:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,42,74,0.3);
}
.premium-cta i {
  font-size: 0.78rem;
  transition: transform 0.3s ease;
}
.premium-cta:hover i {
  transform: translateX(4px);
}
.premium-trust {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--gray-300);
  font-weight: 500;
}
.premium-trust i {
  font-size: 0.7rem;
  color: var(--gray-300);
}

/* Slider Dots Control (General) */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  transition: all 0.3s ease;
}
.slider-dots .dot.active {
  background: var(--orange);
  transform: scale(1.2);
  width: 24px;
  border-radius: 10px;
}
.slider-dots .dot:hover {
  background: var(--orange-light);
}

/* Slider Navigation Buttons (Prev/Next) */
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  color: var(--navy);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  z-index: 10;
  transition: all 0.3s ease;
}
.slider-nav-btn:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-50%) scale(1.08);
}
.slider-nav-btn:active {
  transform: translateY(-50%) scale(0.96);
}
.slider-prev {
  left: 12px;
}
.slider-next {
  right: 12px;
}
/* Premium: botones sobre el borde lateral de la tarjeta */
.premium-slider-container .slider-nav-btn {
  width: 52px;
  height: 52px;
}
/* Responsive: botones más pequeños en móviles */
@media (max-width: 576px) {
  .slider-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
  .slider-prev {
    left: 6px;
  }
  .slider-next {
    right: 6px;
  }
}

/* ===== BANNER SECTION ===== */
.banner-section {
  padding: 0 0 80px;
  background: var(--gray-50);
}
.small-slider-container {
  position: relative;
  width: 100%;
}
.banner-wrapper {
  display: none;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  height: 280px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
.banner-wrapper.active {
  display: block;
  opacity: 1;
}
.banner-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(27,42,74,0.88) 0%,
    rgba(27,42,74,0.60) 50%,
    rgba(27,42,74,0.15) 100%
  );
}
.banner-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.7);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.15);
}
.banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 48px;
  max-width: 560px;
  z-index: 2;
}
.banner-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}
.banner-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 20px;
}
.banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--white);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  width: fit-content;
  box-shadow: 0 4px 16px rgba(224,122,47,0.3);
}
.banner-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(224,122,47,0.45);
}
.banner-cta i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}
.banner-cta:hover i {
  transform: translateX(4px);
}

/* ===== CATEGORIES ===== */
.categories {
  padding: 80px 0;
  background: var(--white);
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 16px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}
.category-card:hover {
  background: var(--white);
  border-color: var(--turquoise);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.category-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.4rem;
  transition: var(--transition);
}
.category-card:nth-child(1) .category-icon { background: rgba(46,196,182,0.12); color: var(--turquoise); }
.category-card:nth-child(2) .category-icon { background: rgba(224,122,47,0.12); color: var(--orange); }
.category-card:nth-child(3) .category-icon { background: rgba(27,42,74,0.10); color: var(--navy); }
.category-card:nth-child(4) .category-icon { background: rgba(212,168,67,0.15); color: var(--mustard); }
.category-card:nth-child(5) .category-icon { background: rgba(46,196,182,0.12); color: var(--turquoise-dark); }
.category-card:nth-child(6) .category-icon { background: rgba(224,122,47,0.12); color: var(--orange-light); }
.category-card:hover .category-icon { transform: scale(1.1); }
.category-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
  text-align: center;
}
.category-count {
  font-size: 0.72rem;
  color: var(--gray-600);
  margin-top: -8px;
}

/* ===== DIRECTORY / GRID ===== */
.directory {
  padding: 80px 0;
  background: var(--gray-50);
}
.directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.business-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  aspect-ratio: 1 / 1;
}
.business-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.business-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.business-card:hover img { transform: scale(1.06); }
.business-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(27,42,74,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: var(--transition);
}
.business-card:hover .business-card-overlay {
  background: linear-gradient(180deg, transparent 20%, rgba(27,42,74,0.90) 100%);
}
.business-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(46,196,182,0.9);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.business-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.business-category {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
}
.business-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
}
.business-rating i { color: var(--mustard); font-size: 0.7rem; }
.business-rating span { color: rgba(255,255,255,0.8); font-size: 0.75rem; }
.directory-cta {
  text-align: center;
  margin-top: 48px;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 2px solid var(--navy);
  color: var(--navy);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== NEWSLETTER ===== */
.newsletter {
  padding: 80px 0;
  background: var(--white);
}
.newsletter-box {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  overflow: hidden;
}
.newsletter-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}
.newsletter-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.newsletter-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.92) 0%, rgba(27, 42, 74, 0.85) 100%);
  z-index: 1;
}
.newsletter-content { position: relative; z-index: 2; flex: 1; }
.newsletter-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46,196,182,0.15);
  border-radius: var(--radius-sm);
  color: var(--turquoise);
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.newsletter-content h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.newsletter-content p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}
.newsletter-form {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 12px;
  flex: 1;
  max-width: 440px;
}
.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: var(--turquoise); background: rgba(255,255,255,0.12); }
.btn-subscribe {
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-subscribe:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224,122,47,0.4);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo { color: var(--white); }
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 300px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  padding: 6px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--turquoise); padding-left: 4px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-socials {
  display: flex;
  gap: 16px;
}
.footer-socials a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
  font-size: 0.9rem;
}
.footer-socials a:hover { background: var(--turquoise); color: var(--white); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: pulse-whatsapp 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 96px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, top 0.4s ease;
}
.header.scrolled ~ .mobile-menu {
  top: 84px;
}
.mobile-menu.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 24px rgba(37,211,102,0.6), 0 0 0 12px rgba(37,211,102,0.08); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .directory-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .premium-card { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .logo img {
    width: 60px;
    height: 60px;
  }
  .header-inner {
    height: 76px;
  }
  .mobile-menu {
    top: 76px;
  }
  .header.scrolled .header-inner {
    height: 60px;
  }
  .header.scrolled .logo img {
    width: 44px;
    height: 44px;
  }
  .header.scrolled ~ .mobile-menu {
    top: 72px;
  }
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .header.scrolled { left: 12px; right: 12px; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .category-card { padding: 20px 10px; }
  .directory-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .newsletter-box {
    flex-direction: column;
    padding: 40px 24px;
    text-align: center;
  }
  .newsletter-form { flex-direction: column; max-width: 100%; width: 100%; }
  .hero-stats { gap: 24px; }
  .hero-stat .number { font-size: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .banner-wrapper { height: 240px; }
  .banner-content { padding: 24px 28px; max-width: 100%; }
  .banner-title { font-size: 1.3rem; }
  .banner-text { font-size: 0.82rem; margin-bottom: 16px; }
  .banner-overlay {
    background: linear-gradient(
      0deg,
      rgba(27,42,74,0.90) 0%,
      rgba(27,42,74,0.55) 60%,
      rgba(27,42,74,0.20) 100%
    );
  }
  .banner-content { justify-content: flex-end; }
  .premium-card { grid-template-columns: 1fr; }
  .premium-card-img { min-height: 240px; }
  .premium-card-body { padding: 32px 28px; }
  .premium-banner { padding: 48px 0; }
  .premium-title { font-size: 1.4rem; }
  .lang-toggle .lang-code { display: inline; }
  .logo-text small { display: none; }
}

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .directory-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .business-card-overlay { padding: 12px; }
  .business-name { font-size: 0.88rem; }
  .search-bar { flex-direction: column; padding: 12px; gap: 8px; border-radius: var(--radius-md); }
  .search-bar .search-icon { display: none; }
  .search-bar input { padding: 12px 16px; width: 100%; }
  .search-bar .search-btn { width: 100%; text-align: center; justify-content: center; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .whatsapp-float { width: 52px; height: 52px; font-size: 1.3rem; bottom: 20px; right: 20px; }
  .premium-card-img { min-height: 200px; }
  .premium-card-body { padding: 24px 20px; }
  .premium-features { gap: 8px; }
  .premium-feature { padding: 6px 10px; font-size: 0.72rem; }
  .premium-cta { padding: 12px 24px; font-size: 0.85rem; }
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(27,42,74,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 24px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-xl);
}
.modal-overlay.active .modal-content {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-800);
  cursor: pointer;
  transition: var(--transition);
}
.modal-close:hover {
  background: var(--gray-200);
  color: var(--orange);
}
.modal-contact p {
  margin-bottom: 8px;
  color: var(--gray-800);
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-contact p i {
  width: 20px;
  text-align: center;
}
.modal-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.modal-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  font-size: 1.2rem;
  transition: var(--transition);
}
.modal-social a:hover {
  background: var(--navy);
  color: var(--white);
}
.modal-body img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.modal-body h3 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.modal-body p {
  color: var(--text-color);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.modal-body .modal-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.modal-body .btn-modal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.btn-whatsapp {
  background: #25D366;
  color: #fff;
}
.btn-whatsapp:hover {
  background: #20BA56;
}
.btn-link {
  background: var(--navy);
  color: #fff;
}
.btn-link:hover {
  background: var(--navy-light);
}
.btn-premium-outline {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(27,42,74,0.05);
}
.btn-premium-outline:hover {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(27,42,74,0.15);
  transform: translateY(-2px);
}
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-100);
  color: var(--navy) !important;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--gray-200);
}
.btn-back:hover {
  background: var(--white);
  transform: translateX(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-color: var(--gray-300);
}