/* ==========================================================================
   SMILE EDUCATION CONSULTANCY - Executive Master Design System (2026 Edition)
   Dual Pillar Palette: Deep Emerald (#006837) + Royal Navy (#062B63) + Vibrant Amber (#F4512A)
   ========================================================================== */

:root {
  /* Brand Core Colors */
  --primary-emerald: #006837;
  --deep-emerald:    #043A21;
  --primary-navy:    #062B63;
  --royal-blue:      #0B4F94;
  --deep-blue:       #073B7A;

  /* Accent & Warm Color Palette */
  --accent-orange:   #F4512A;
  --warm-orange:     #FF6A2A;
  --orange-light:    #FFF1EE;
  --navy-900:        #0B192C;
  --navy-800:        #062B63;

  /* Gradients */
  --grad-hero:       linear-gradient(135deg, #032117 0%, #062B63 55%, #0B4F94 100%);
  --grad-brand:      linear-gradient(135deg, #006837 0%, #062B63 100%);
  --grad-card:       linear-gradient(135deg, rgba(0,104,55,0.05) 0%, rgba(11,79,148,0.05) 100%);
  --grad-orange:     linear-gradient(135deg, #F4512A 0%, #FF6A2A 100%);
  --grad-stats:      linear-gradient(135deg, #03261A 0%, #062B63 50%, #0B4F94 100%);
  --grad-footer:     linear-gradient(180deg, #02140D 0%, #031630 100%);
  --grad-topbar:     linear-gradient(90deg, #062B63 0%, #004D25 100%);

  /* Neutrals */
  --neutral-900: #0B192C;
  --neutral-800: #1E293B;
  --neutral-700: #334155;
  --neutral-600: #475569;
  --neutral-500: #64748B;
  --neutral-400: #94A3B8;
  --neutral-300: #CBD5E1;
  --neutral-200: #E2E8F0;
  --neutral-100: #F1F5F9;
  --neutral-50:  #F8FAFC;
  --white:        #FFFFFF;

  /* Status */
  --green-500: #10B981;
  --green-50:  #ECFDF5;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(11, 25, 44, 0.04);
  --shadow-sm: 0 4px 10px -2px rgba(11, 25, 44, 0.06);
  --shadow-md: 0 10px 20px -3px rgba(11, 25, 44, 0.08);
  --shadow-lg: 0 20px 30px -5px rgba(11, 25, 44, 0.12);
  --shadow-xl: 0 25px 50px -12px rgba(6, 43, 99, 0.22);
  --shadow-orange: 0 10px 25px -4px rgba(244, 81, 42, 0.45);

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.125rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--white);
  color: var(--neutral-800);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--neutral-900);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.headline-display {
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.headline-xl {
  font-size: clamp(1.85rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.headline-lg {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
}

.headline-md {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 700;
}

.text-orange {
  color: var(--accent-orange);
}

.text-navy {
  color: var(--primary-navy);
}

/* Tag Badges */
.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.95rem;
  background: var(--grad-card);
  color: var(--primary-navy);
  font-family: var(--font-heading);
  font-size: 0.78125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  border: 1px solid rgba(11, 79, 148, 0.18);
}

.tag-badge-orange {
  background-color: var(--orange-light);
  color: var(--accent-orange);
  border-color: rgba(244, 81, 42, 0.25);
}

.tag-badge-white {
  background-color: rgba(11, 25, 44, 0.75);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-heading);
  font-size: 0.90625rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -5px rgba(244, 81, 42, 0.55);
  color: var(--white);
}

.btn-navy {
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-navy:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  color: var(--white);
  opacity: 0.96;
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--primary-navy);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--primary-navy);
  border: 2px solid var(--primary-navy);
}

.btn-outline-navy:hover {
  background: var(--grad-brand);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
}

/* Executive Top Announcement & Contact Bar */
.top-bar {
  background: var(--grad-topbar);
  color: var(--white);
  font-size: 0.8125rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.88);
}

.top-bar-divider {
  color: rgba(255, 255, 255, 0.3);
}

.top-bar-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.top-bar-link:hover {
  color: var(--warm-orange);
}

.top-bar-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.top-bar-whatsapp:hover {
  background-color: #1EBE5D;
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--neutral-200);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(11, 25, 44, 0.08);
  background-color: #FFFFFF;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img, .site-logo-img {
  max-height: 40px;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
}

.site-logo-img-mobile {
  max-height: 36px;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.125rem;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--neutral-800);
  text-decoration: none;
  padding: 0.4rem 0.15rem;
  position: relative;
  transition: color var(--transition-fast);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-orange);
}

.nav-dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 360px;
  width: max-content;
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.4rem;
  box-shadow: 0 20px 45px rgba(11, 25, 44, 0.18);
  border: 1px solid var(--neutral-200);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  list-style: none;
  z-index: 110;
  box-sizing: border-box;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  width: 100%;
}

.dropdown-item a {
  display: block;
  padding: 0.6rem 0.95rem;
  color: var(--navy-900);
  font-size: 0.84375rem;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.dropdown-item a:hover {
  background: var(--orange-light);
  color: var(--accent-orange);
  padding-left: 1.15rem;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--neutral-800);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  background-color: var(--white);
  z-index: 200;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: all var(--transition-normal);
  overflow-y: auto;
}

.mobile-drawer.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--neutral-900);
  text-decoration: none;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: var(--grad-hero);
  color: var(--white);
  padding: 5rem 0 6rem 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-headline {
  color: var(--white);
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid rgba(255, 255, 255, 0.22);
}

.hero-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.hero-float-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background-color: var(--white);
  color: var(--neutral-900);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 3;
}

.hero-float-icon {
  width: 48px;
  height: 48px;
  background-color: var(--orange-light);
  color: var(--accent-orange);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-bg-light {
  background-color: var(--neutral-50);
}

.section-bg-navy {
  background: var(--grad-hero);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-header p {
  margin-top: 0.875rem;
  font-size: 1.0625rem;
  color: var(--neutral-600);
}

.section-bg-navy .section-header p {
  color: rgba(255, 255, 255, 0.85);
}

/* Editorial Layouts */
.editorial-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.editorial-grid.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.editorial-img-block {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.editorial-img-block img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

/* Cards System */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(244, 81, 42, 0.3);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #FFF1EE 0%, #ECFDF5 100%);
  color: var(--accent-orange);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

/* Country Cards */
.country-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--white);
  display: block;
}

.country-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.country-card:hover img {
  transform: scale(1.06);
}

.country-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 25, 44, 0.95) 0%, rgba(6, 43, 99, 0.6) 65%, transparent 100%);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.country-title {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.country-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1rem;
}

/* Footer Section */
.site-footer {
  background: var(--grad-footer);
  color: var(--white);
  padding: 5rem 0 2rem 0;
  border-top: 4px solid var(--accent-orange);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand img, .footer-logo-img {
  max-height: 48px;
  height: auto;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
}

.footer-brand p {
  color: var(--neutral-400);
  font-size: 0.9375rem;
  margin-top: 1.25rem;
  line-height: 1.7;
}

.footer-title {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--neutral-300);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--neutral-400);
}

/* Modal Popup */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(4, 28, 17, 0.82);
  backdrop-filter: blur(6px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  max-width: 540px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-xl);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--neutral-100);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Forms Design */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--neutral-800);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--neutral-900);
  background-color: var(--neutral-50);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-navy);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(11, 79, 148, 0.15);
}

/* Responsive Rules */
@media (min-width: 1181px) and (max-width: 1366px) {
  .nav-menu {
    gap: 0.75rem;
  }
  .nav-link {
    font-size: 0.8125rem;
  }
  .site-logo-img {
    max-height: 36px;
  }
}

@media (max-width: 1180px) {
  .top-bar-left {
    display: none;
  }
  .nav-menu {
    display: none !important;
  }
  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .hero-grid, .editorial-grid, .editorial-grid.reverse {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .top-bar-right {
    font-size: 0.75rem;
  }
  .headline-display {
    font-size: 2.15rem;
  }
  .headline-xl {
    font-size: 1.8rem;
  }
  .hero-section {
    padding: 3.5rem 0 4.5rem 0;
  }
  .hero-float-card {
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .btn {
    width: 100%;
  }
}

/* Page Hero 2-Column Layout & Visual Cards */
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  color: var(--white);
}

.hero-card-white {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  color: var(--neutral-900);
}

@media (max-width: 991px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

