/* ============================================================
   TOEFL TAMPICO — Main Stylesheet
   Design: Clean, professional, ETS-inspired
   ============================================================ */

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

:root {
  /* TOEFL iBT purple/indigo palette */
  --navy: #5a67a8;
  /* logo periwinkle */
  --navy-dark: #2d3270;
  /* deep indigo for hero/dark sections */
  --navy-mid: #6e7bbf;
  --blue-accent: #7c86d4;
  --blue-light: #eef0fa;
  --gray-50: #f8f8fc;
  --gray-100: #f1f1f8;
  --gray-200: #e2e2ef;
  --gray-400: #a8a8c8;
  --gray-500: #7070a0;
  --gray-700: #3c3c60;
  --gray-900: #1a1a35;
  --white: #ffffff;
  --green: #16a34a;
  --red: #dc2626;
  --whatsapp: #25D366;

  --shadow-sm: 0 1px 3px rgba(45, 50, 112, .07), 0 1px 2px rgba(45, 50, 112, .05);
  --shadow-md: 0 4px 16px rgba(45, 50, 112, .10);
  --shadow-lg: 0 12px 40px rgba(45, 50, 112, .14);
  --shadow-xl: 0 24px 64px rgba(45, 50, 112, .18);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: 0.25s cubic-bezier(.4, 0, .2, 1);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---- Reusable Containers ---------------------------------- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 100px 0;
}

.section-light {
  background: var(--gray-50);
}

.section-white {
  background: var(--white);
}

.section-navy {
  background: var(--navy-dark);
  color: var(--white);
}

/* Section header */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--blue-light);
  padding: .35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.section-navy .section-tag {
  display: none;
  /* hidden, use .light version below */
}

.section-tag.light {
  display: inline-block;
  color: var(--white);
  background: rgba(255, 255, 255, .15);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.625rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.section-navy .section-title {
  color: var(--white);
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.section-navy .section-desc {
  color: rgba(255, 255, 255, .7);
}

/* ---- Buttons --------------------------------------------- */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: .875rem 2rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 48, 135, .3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .5);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .1);
}

/* ---- Navbar ---------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .02em;
}

/* Navbar image logo */
.logo-img {
  height: 36px;
  width: auto;
  display: block;
  /* logo is light purple on white; filter to match dark context if needed */
}

.quintill-logo {
  transform: translateY(6px);
}

/* Footer logo image (white context) */
.footer-logo .logo-img {
  filter: brightness(0) invert(1);
  opacity: .9;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.1;
}

.logo-sub {
  font-size: .75rem;
  color: var(--gray-500);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}

.nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy);
  background: var(--blue-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 600;
  background: var(--whatsapp);
  color: var(--white);
  padding: .6rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, .35);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 99px;
  transition: var(--transition);
}

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

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

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

/* ---- Hero ------------------------------------------------ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
  padding: 100px 0 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .15;
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  background: var(--navy-mid);
  top: -200px;
  right: -100px;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: #9b8fd4;
  bottom: -100px;
  left: -100px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  width: 100%;
}

.hero-content {
  flex: 1;
  max-width: 640px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: stretch;
}

.hero-img {
  max-width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  object-position: bottom center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 100px;
  padding: .4rem 1.125rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(4px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--whatsapp);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .6;
    transform: scale(1.3);
  }
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-highlight {
  background: linear-gradient(135deg, #a5b4fc, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  max-width: 500px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 100px;
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
}

.stat-label {
  font-size: .8125rem;
  color: rgba(255, 255, 255, .6);
  text-align: center;
  margin-top: .25rem;
}

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

/* ---- About / Quiénes Somos ------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-text {
  color: var(--gray-700);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-bullets {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.about-bullets li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9375rem;
  color: var(--gray-700);
}

.bullet-icon {
  width: 18px;
  height: 18px;
  stroke: var(--navy);
  flex-shrink: 0;
  margin-top: .15em;
}

.about-cards {
  display: grid;
  gap: 1.25rem;
}

.about-card {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.about-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.about-card-icon {
  font-size: 1.875rem;
  margin-bottom: .875rem;
}

.about-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .5rem;
}

.about-card p {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ---- Services ------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card.featured {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 48, 135, .1), var(--shadow-md);
}

.service-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .875rem;
  border-radius: 100px;
  white-space: nowrap;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--navy);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .75rem;
}

.service-card p {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-features {
  border-top: 1px solid var(--gray-200);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.service-features li {
  font-size: .85rem;
  color: var(--gray-700);
  padding-left: 1.25rem;
  position: relative;
}

.service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--navy);
  font-size: .8rem;
}

/* ---- Exam Structure ------------------------------------- */
.exam-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.exam-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.exam-card:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .25);
  transform: translateY(-2px);
}

.exam-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .25);
}

.exam-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.exam-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.exam-icon.reading {
  background: rgba(37, 99, 235, .3);
}

.exam-icon.listening {
  background: rgba(22, 163, 74, .3);
}

.exam-icon.speaking {
  background: rgba(217, 119, 6, .3);
}

.exam-icon.writing {
  background: rgba(147, 51, 234, .3);
}

.exam-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
}

.exam-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
}

.exam-time {
  font-size: .8rem;
  color: rgba(255, 255, 255, .55);
}

.exam-card p {
  font-size: .9125rem;
  color: rgba(255, 255, 255, .7);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.exam-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem;
  background: rgba(255, 255, 255, .06);
  border-radius: var(--radius-sm);
}

.score-label {
  font-size: .8125rem;
  color: rgba(255, 255, 255, .5);
}

.score-value {
  font-size: 1rem;
  font-weight: 700;
  color: #60a5fa;
}

.total-score-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2.5rem;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-lg);
  gap: 1.5rem;
}

.total-score-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .25rem;
}

.total-score-info p {
  font-size: .9rem;
  color: rgba(255, 255, 255, .6);
}

.total-score-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.04em;
  white-space: nowrap;
}

/* ---- Why Us --------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.why-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.why-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--navy);
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .625rem;
}

.why-card p {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ---- Benefits / Beneficios ------------------------------ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefit-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.benefit-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.benefit-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.benefit-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .5rem;
  line-height: 1.3;
}

.benefit-content p {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ---- Pricing -------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 2rem;
}

.pricing-card {
  position: relative;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.pricing-card.featured {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 48, 135, .12), var(--shadow-lg);
}

.pricing-popular {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .5rem;
}

.pricing-header {
  padding: 2rem 2rem 0;
}

.pricing-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: .375rem;
}

.pricing-header p {
  font-size: .875rem;
  color: var(--gray-500);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  padding: 1.5rem 2rem 0;
}

.currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-700);
  align-self: flex-start;
  margin-top: .3rem;
}

.amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.04em;
  line-height: 1;
}

.period {
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-500);
}

.pricing-features {
  padding: 1.75rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
}

.pricing-features li.included {
  color: var(--gray-700);
}

.pricing-features li.not-included {
  color: var(--gray-400);
  text-decoration: line-through;
}

.pricing-features li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 50%;
}

.pricing-features li.included::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.pricing-features li.not-included::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23adb5bd' stroke-width='3'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center/contain no-repeat;
}

.btn-pricing {
  display: block;
  margin: 0 2rem 2rem;
  text-align: center;
  padding: .875rem;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 700;
  border: 2px solid var(--navy);
  color: var(--navy);
  transition: var(--transition);
}

.btn-pricing:hover,
.btn-pricing.featured {
  background: var(--navy);
  color: var(--white);
}

.btn-pricing.featured:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
}

.pricing-note {
  text-align: center;
  font-size: .85rem;
  color: var(--gray-500);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.65;
}


/* ---- Contact -------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

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

.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--navy);
}

.contact-item h4 {
  font-size: .875rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .3rem;
}

.contact-item p,
.contact-item a {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.contact-item a {
  color: var(--navy);
  font-weight: 500;
}

.contact-item a:hover {
  text-decoration: underline;
}

.map-placeholder {
  margin-top: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Form */
.contact-form-wrap {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: .8125rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .9375rem;
  color: var(--gray-900);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 48, 135, .1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  padding: 1rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 48, 135, .3);
}

.btn-submit .btn-icon {
  width: 18px;
  height: 18px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.25rem;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  color: #15803d;
  font-size: .9rem;
  font-weight: 500;
}

.form-success svg {
  width: 18px;
  height: 18px;
  stroke: #15803d;
  flex-shrink: 0;
}

/* ---- Footer --------------------------------------------- */
.footer {
  background: var(--gray-900);
  color: var(--white);
}

.footer-main {
  padding: 5rem 0 3rem;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-logo {
  margin-bottom: 1.25rem;
}

.footer-logo .logo-name {
  color: var(--white);
}

.footer-logo .logo-sub {
  color: var(--gray-400);
}

.footer-brand-desc {
  font-size: .9rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: .75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .07);
  transition: var(--transition);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link.whatsapp:hover {
  background: var(--whatsapp);
}

.social-link.facebook:hover {
  background: #1877f2;
}

.social-link.instagram:hover {
  background: #e1306c;
}

.footer-links h4,
.footer-contact h4 {
  font-size: .875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: .03em;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.footer-links a {
  font-size: .9rem;
  color: var(--gray-400);
  transition: color var(--transition);
}

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

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .875rem;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: .15em;
}

.footer-contact a {
  color: var(--gray-400);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 1.75rem 0;
}

.footer-bottom .footer-container {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.footer-bottom p {
  font-size: .8125rem;
  color: var(--gray-500);
}

.footer-disclaimer {
  text-align: right;
}

/* ---- Floating WhatsApp ---------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
  transition: var(--transition);
  animation: bounceIn .6s cubic-bezier(.175, .885, .32, 1.275);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, .55);
}

@keyframes bounceIn {
  from {
    opacity: 0;
    transform: scale(.5);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---- Reveal animations ---------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---- Responsive ----------------------------------------- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-bottom .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-disclaimer {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  /* Navbar mobile */
  .nav-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: .25rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    padding: .75rem 1rem;
    font-size: 1rem;
  }

  .hamburger {
    display: flex;
  }

  .btn-whatsapp span {
    display: none;
  }

  .btn-whatsapp {
    gap: 0;
  }

  /* Hero */
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 0;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 2rem;
  }

  .hero-title {
    max-width: 100%;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-image-wrapper {
    width: 100%;
    margin-top: 2rem;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-stats {
    padding: 1.5rem;
    gap: 1rem;
    max-width: 100%;
  }

  .stat-divider {
    height: 1px;
    width: 100%;
  }

  /* Grids */
  .why-grid,
  .benefits-grid,
  .pricing-grid,
  .services-grid,
  .exam-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .total-score-banner {
    flex-direction: column;
    text-align: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 56px 0;
  }

  .container {
    padding: 0 1.125rem;
  }

  .pricing-card {
    font-size: .95rem;
  }

  .contact-form-wrap {
    padding: 1.5rem;
  }
}