/* ============================================
   AMERICAN SOLUTIONS LLC — PATRIOT EDITION
   Palette: White base | Navy Blue | Red
   Font: Montserrat
   ============================================ */

:root {
  --navy:        #1B2A4A;
  --navy-dark:   #0f1e35;
  --navy-mid:    #233260;
  --blue:        #1B4F8A;
  --blue-light:  #2563C0;
  --red:         #B91C1C;
  --red-light:   #DC2626;
  --red-bg:      #fef2f2;
  --white:       #ffffff;
  --off-white:   #F8F9FC;
  --gray-light:  #F1F4F9;
  --gray:        #6B7280;
  --gray-dark:   #374151;
  --border:      #E5E7EB;
  --green:       #16a34a;
  --radius:      16px;
  --radius-lg:   24px;
  --shadow:      0 4px 24px rgba(27,42,74,0.08);
  --shadow-lg:   0 12px 48px rgba(27,42,74,0.14);
  --transition:  0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--white);
  color: var(--gray-dark);
  overflow-x: hidden;
}

/* ── UTILITY ─────────────────────────────────── */
.blue        { color: var(--blue-light); }
.red-text    { color: var(--red-light); }
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── NAVBAR ─────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 60px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(27,42,74,0.06);
  z-index: 1000;
  transition: padding var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  padding: 6px 60px;
  box-shadow: 0 4px 24px rgba(27,42,74,0.12);
}

.logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
  display: block;
}

nav {
  display: flex;
  gap: 36px;
}

nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.2s;
}

nav a svg {
  opacity: 0.55;
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
}

nav a:hover svg {
  opacity: 1;
  transform: translateY(-1px);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--red-light);
  border-radius: 2px;
  transition: width 0.3s ease;
}

nav a:hover { color: var(--red-light); }
nav a:hover::after { width: 100%; }
nav a.active { color: var(--red-light); }
nav a.active::after { width: 100%; }

.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--red-light);
  padding: 12px 22px;
  border-radius: 10px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(220,38,38,0.28);
}

.call-btn svg {
  animation: phoneRing 2.4s ease infinite;
  transform-origin: center bottom;
}

@keyframes phoneRing {
  0%, 100%  { transform: rotate(0deg); }
  5%         { transform: rotate(12deg); }
  10%        { transform: rotate(-10deg); }
  15%        { transform: rotate(8deg); }
  20%        { transform: rotate(0deg); }
}

.call-btn:hover {
  background: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(185,28,28,0.4);
}

/* ── HERO ────────────────────────────────────── */
.hero {
  height: 100vh;
  min-height: 680px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0;
  filter: brightness(0.28) saturate(0.82);
  transform: scale(1.04);
  transition: opacity 1.8s ease, transform 8s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.10);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,15,30,0.35) 0%,
    rgba(10,15,30,0.15) 40%,
    rgba(10,15,30,0.55) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(220,38,38,0.18);
  border: 1px solid rgba(220,38,38,0.35);
  color: #fca5a5;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero h2 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  color: white;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.red-line {
  color: var(--red-light);
  display: block;
}

.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  font-weight: 400;
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  padding: 16px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(37,211,102,0.4);
  background: #20b857;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red-light);
  color: white;
  padding: 16px 30px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 6px 20px rgba(220,38,38,0.3);
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(185,28,28,0.4);
  background: var(--red);
}

.primary-btn.white-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.7);
  color: white;
  box-shadow: none;
}

.primary-btn.white-outline:hover {
  background: white;
  color: var(--navy);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border-color: white;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 20px 36px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.stat-icon {
  width: 36px; height: 36px;
  background: rgba(220,38,38,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fca5a5;
  margin-bottom: 2px;
}

.stat strong {
  font-size: 24px;
  font-weight: 900;
  color: white;
  letter-spacing: -0.02em;
}

.stat span {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.15);
}

.video-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.dot.active {
  background: var(--red-light);
  transform: scale(1.4);
}

/* ── SECTION BASE ────────────────────────────── */
.section {
  padding: 100px 60px;
}

.section-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 22px; height: 2px;
  background: var(--red-light);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-label.white { color: rgba(255,255,255,0.7); }
.section-label.white::before { background: rgba(255,255,255,0.5); }

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-title.white { color: white; }

.section-sub {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
  max-width: 560px;
  font-weight: 400;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-label {
  justify-content: center;
}

.section-header .section-label::before { display: none; }

/* ── REVEAL ANIMATIONS ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SERVICES CARDS ──────────────────────────── */
.services-section { background: var(--off-white); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-featured {
  border-color: var(--red-light);
  box-shadow: 0 8px 32px rgba(220,38,38,0.12);
  transform: translateY(-8px);
}

.card-featured:hover {
  transform: translateY(-14px);
}

.card-image-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-tag {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--navy);
  color: white;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-tag.red { background: var(--red-light); }

.card-body {
  padding: 24px 26px;
}

.card-icon-wrap {
  width: 44px; height: 44px;
  background: #eff6ff;
  color: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.card-icon-wrap.red {
  background: var(--red-bg);
  color: var(--red-light);
}

.card-body h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.card-body p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
  font-weight: 400;
  margin-bottom: 18px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-light);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: gap 0.2s, color 0.2s;
}

.card-link:hover { gap: 10px; color: var(--red-light); }

/* ── ABOUT / WHY US ──────────────────────────── */
.about-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 60%, #1a3a6e 100%);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -40%; right: -15%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,38,38,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-desc {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 36px;
  font-weight: 400;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px;
  transition: background 0.3s, border-color 0.3s;
}

.feature:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

.feature-icon-wrap {
  width: 44px; height: 44px;
  background: rgba(220,38,38,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fca5a5;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 13px;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.feature-text p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
  font-weight: 400;
}

/* ── CONTACT ─────────────────────────────────── */
.contact-section { background: var(--off-white); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: flex-start;
}

.contact-desc {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 400;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 46px; height: 46px;
  background: #eff6ff;
  color: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon.green { background: #dcfce7; color: var(--green); }

.contact-label {
  display: block;
  font-size: 11px;
  color: var(--gray);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.contact-item a {
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}

.contact-item a:hover { color: var(--red-light); }

.contact-right {
  background: white;
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.form-group input,
.form-group textarea {
  padding: 15px 18px;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--gray-dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(37,99,192,0.1);
}

.form-group textarea { resize: vertical; }

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px;
  background: var(--navy);
  color: white;
  border: none;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(27,42,74,0.25);
}

.submit-btn:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(27,42,74,0.35);
}

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: #0a1628;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 52px 60px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.footer-brand p {
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  margin-top: 10px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  /* Preserve logo colors: make dark navy parts white, keep red accent */
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255,255,255,0.08));
  opacity: 0.92;
}

.footer-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--red);
  transition: width 0.2s ease;
}

.footer-links a:hover { color: white; }
.footer-links a:hover::after { width: 100%; }

.footer-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 60px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bar p {
  color: rgba(255,255,255,0.28);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ── FLOATING WHATSAPP ───────────────────────── */
.floating-whatsapp {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  z-index: 999;
  transition: transform 0.25s, box-shadow 0.25s;
  animation: waPulse 3s ease-in-out infinite;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 6px 32px rgba(37,211,102,0.7); }
}

.floating-whatsapp:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 14px 36px rgba(37,211,102,0.6);
}

/* ── PAGE HERO (interior pages) ─────────────── */
.page-hero {
  padding-top: 120px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,38,38,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: white; }

.breadcrumb span {
  color: rgba(255,255,255,0.3);
  font-size: 12px;
}

.breadcrumb .current {
  color: var(--red-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── HAMBURGER BUTTON ────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  border-radius: 10px;
  transition: background 0.2s;
  z-index: 1100;
  flex-shrink: 0;
}

.hamburger:hover { background: var(--gray-light); }

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s ease, width 0.25s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU OVERLAY ─────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1050;
  pointer-events: none;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 30, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mobile-menu-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: white;
  box-shadow: -8px 0 40px rgba(27,42,74,0.18);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-menu.open {
  display: block;
  pointer-events: all;
}

.mobile-menu.open .mobile-menu-backdrop { opacity: 1; }
.mobile-menu.open .mobile-menu-panel    { transform: translateX(0); }

/* panel header */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.mobile-menu-header img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.mobile-close {
  width: 36px; height: 36px;
  border: none;
  background: var(--gray-light);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  transition: background 0.2s;
  flex-shrink: 0;
}

.mobile-close:hover { background: var(--border); }

/* nav links */
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  flex: 1;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 24px;
  color: var(--navy);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-left: 3px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.mobile-nav a svg {
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.mobile-nav a:hover {
  background: var(--off-white);
  border-left-color: var(--navy);
  color: var(--navy);
}

.mobile-nav a:hover svg { opacity: 1; }

.mobile-nav a.active {
  color: var(--red-light);
  border-left-color: var(--red-light);
  background: var(--red-bg);
}

.mobile-nav a.active svg { opacity: 1; }

.mobile-nav .nav-careers {
  color: var(--red-light) !important;
}

.mobile-nav .nav-careers svg { opacity: 1 !important; stroke: var(--red-light); }

.mobile-nav-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 24px;
}

/* panel footer CTA */
.mobile-menu-footer {
  padding: 20px 24px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.mobile-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: var(--red-light);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(220,38,38,0.3);
  transition: background 0.2s, transform 0.2s;
}

.mobile-call-btn:hover { background: var(--red); transform: translateY(-1px); }

.mobile-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: #25D366;
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s;
}

.mobile-wa-btn:hover { background: #20b857; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-inner .about-left { text-align: center; }
  .about-inner .about-left .primary-btn { display: inline-flex; margin: 0 auto; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .careers-teaser-inner { grid-template-columns: 1fr; }
  .panda-side { order: 2; }
  .teaser-right { order: 1; text-align: center; }
  .teaser-right .teaser-desc { text-align: center; }
  .teaser-pills { justify-content: center; }
  .teaser-action-row { flex-direction: column; align-items: center; gap: 14px; }
  .teaser-commission { display: flex; justify-content: center; width: 100%; box-sizing: border-box; white-space: normal; text-align: center; }
  .careers-cta { display: block; width: fit-content; margin: 0 auto; }
  .panda-svg { max-width: 220px; }
  .careers-layout { grid-template-columns: 1fr; }
  .english-level-selector { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar { padding: 10px 20px; }
  .navbar.scrolled { padding: 8px 20px; }
  nav { display: none; }
  .call-btn { display: none; }
  .hamburger { display: flex; }
  .section { padding: 80px 20px; }
  .hero-stats { flex-direction: column; padding: 22px 28px; gap: 16px; }
  .stat-divider { width: 50px; height: 1px; }
  .hero h2 { font-size: 38px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .features { grid-template-columns: 1fr; }
  .footer-inner, .footer-bar { padding: 28px 20px; flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
  .contact-right { padding: 28px 20px; }
  .cards { grid-template-columns: 1fr; }
  .card-featured { transform: none; }
  .hero-stats { display: none; }
  .page-hero { padding-top: 100px; padding-bottom: 50px; }
}

/* ── CAREERS STYLES ──────────────────────────── */
.nav-careers {
  color: var(--red-light) !important;
  font-weight: 800 !important;
}
.nav-careers svg { opacity: 1 !important; stroke: var(--red-light); }
.nav-careers::after { background: var(--red-light) !important; }

.careers-teaser-section {
  background: var(--off-white);
  border-top: 4px solid var(--red-light);
  overflow: hidden;
}

.careers-teaser-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: center;
}

.panda-side { display: flex; justify-content: center; }

.panda-wrap {
  position: relative;
  animation: pandaFloat 4s ease-in-out infinite;
}

@keyframes pandaFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

.panda-svg {
  width: 100%;
  max-width: 300px;
  height: auto;
  filter: drop-shadow(0 16px 32px rgba(27,42,74,0.18));
}

.teaser-desc {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 28px;
  font-weight: 400;
}

.teaser-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: white;
  border: 1.5px solid var(--border);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}

.pill:hover { border-color: var(--blue-light); transform: translateY(-2px); }
.pill svg { color: var(--blue-light); flex-shrink: 0; }

.teaser-action-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.teaser-commission {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #1B2A4A 0%, #233260 100%);
  color: white;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 6px 20px rgba(27,42,74,0.25);
  white-space: nowrap;
}

.teaser-commission strong { color: #86efac; font-weight: 800; }
.teaser-commission svg { color: #86efac; flex-shrink: 0; }
.careers-cta { font-size: 15px; padding: 16px 34px; white-space: nowrap; }

.careers-section { background: white; }

.careers-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: flex-start;
}

.careers-photo-wrap {
  position: relative;
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.careers-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.careers-photo-badge {
  position: absolute;
  bottom: 16px; left: 16px;
  background: var(--navy);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.15);
}

.careers-perks {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.perk {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
}

.perk:hover { border-color: var(--blue-light); transform: translateX(4px); }

.perk-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.perk-icon.blue { background: #eff6ff; color: var(--blue-light); }
.perk-icon.red  { background: var(--red-bg); color: var(--red-light); }

.perk h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.perk p { font-size: 13px; color: var(--gray); line-height: 1.55; font-weight: 400; }
.perk strong { color: var(--red-light); font-weight: 800; }

.careers-contact-cta { display: flex; flex-direction: column; gap: 12px; }
.careers-wa { font-size: 14px; padding: 14px 24px; justify-content: center; }

.careers-email-link {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  color: var(--gray);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: color 0.2s;
  padding: 8px;
}

.careers-email-link:hover { color: var(--navy); }

.careers-form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.form-card-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
}

.form-card-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red-light);
}

.form-card-header h3 {
  font-size: 22px;
  font-weight: 900;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.form-card-header p {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 400;
}

#careersForm {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.english-level-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.english-level-selector input[type="radio"] { display: none; }

.level-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  border: 2px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  background: var(--off-white);
}

.level-btn:hover { border-color: var(--blue-light); background: #eff6ff; transform: translateY(-2px); }

input[type="radio"]:checked + .level-btn {
  border-color: var(--navy);
  background: var(--navy);
}

input[type="radio"]:checked + .level-btn .level-name,
input[type="radio"]:checked + .level-btn .level-desc { color: white; }

.level-flag { font-size: 20px; line-height: 1; }
.level-name { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy); }
.level-desc { font-size: 10px; color: var(--gray); font-weight: 500; }

select {
  padding: 15px 18px;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--gray-dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  width: 100%;
}

select:focus { border-color: var(--blue-light); box-shadow: 0 0 0 3px rgba(37,99,192,0.1); }

.careers-submit { background: var(--red-light); box-shadow: 0 4px 18px rgba(220,38,38,0.3); }
.careers-submit:hover { background: var(--red); box-shadow: 0 10px 28px rgba(185,28,28,0.4); }

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .english-level-selector { grid-template-columns: repeat(2, 1fr); }
  #careersForm { padding: 20px 16px; }
  .form-card-header { padding: 22px 20px; }
}

/* ── LANGUAGE TOGGLE BUTTON ──────────────────── */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.lang-toggle:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .lang-toggle {
    font-size: 11px;
    padding: 7px 12px;
  }
}
