:root {
  color-scheme: light;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #222222;
  background: #ffffff;
  --red: #d22128;
  --red-soft: #fce8ea;
  --dark: #1f1f1f;
  --muted: #585858;
  --surface: #ffffff;
  --surface-strong: #f8f8f8;
  --border: rgba(34, 34, 34, 0.08);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #fbfbfb;
}

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

button,
input,
select {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow-x: hidden;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(34, 34, 34, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand,
.footer-brand {
  color: var(--dark);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  font-size: 1.1rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--dark);
}

.header-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.6rem;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(210, 33, 40, 0.18);
}

.button-secondary {
  background: rgba(210, 33, 40, 0.08);
  color: var(--dark);
}

.button-ghost {
  background: transparent;
  border: 1px solid rgba(34, 34, 34, 0.12);
  color: var(--dark);
}

.button-block {
  width: 100%;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--dark);
  font-size: 1rem;
  cursor: pointer;
}

.section {
  padding: 4rem 0;
}

.section-soft {
  background: #fcfcfc;
}

.hero {
  padding-top: 2rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.eyebrow {
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-copy h1,
.section-heading h2 {
  margin: 0;
  color: var(--dark);
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 1.04;
}

.hero-text,
.section-heading p,
.media-copy,
.course-copy,
.faq-answer,
.feature-card p,
.metric-card p,
.faculty-copy p,
.form-note {
  color: var(--muted);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stat-block {
  background: var(--surface);
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.stat-block strong {
  display: block;
  font-size: 1.3rem;
  color: var(--dark);
}

.stat-block span {
  color: var(--muted);
}

.hero-media-card {
  background: linear-gradient(180deg, #ffffff 0%, #fdf0f1 100%);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.media-label {
  display: inline-block;
  background: var(--red-soft);
  color: var(--red);
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  margin-bottom: 1.25rem;
}

.hero-media {
  border-radius: 26px;
  overflow: hidden;
  min-height: 320px;
  position: relative;
  background: linear-gradient(180deg, rgba(210, 33, 40, 0.18), rgba(255, 255, 255, 0.4));
}

.hero-photo {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

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

.photo-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(210, 33, 40, 0.18), transparent 30%),
              radial-gradient(circle at bottom right, rgba(34, 34, 34, 0.08), transparent 35%);
}

.media-copy {
  margin-top: 1rem;
  line-height: 1.75;
}

.section-heading {
  display: grid;
  gap: 0.8rem;
  max-width: 720px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.feature-grid,
.course-grid,
.stat-row,
.faq-grid {
  display: grid;
  gap: 1.25rem;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(34, 34, 34, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 50px rgba(34, 34, 34, 0.09);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.course-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.course-card {
  background: var(--surface);
  border-radius: 28px;
  padding: 1.75rem;
  border: 1px solid rgba(34, 34, 34, 0.06);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.course-top {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.course-badge {
  display: inline-flex;
  background: var(--red-soft);
  color: var(--red);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.course-card h3 {
  margin: 0;
  color: var(--dark);
}

.course-copy {
  margin: 0;
}

.course-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.course-list li {
  padding-left: 1.5rem;
  position: relative;
}

.course-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--red);
}

.stat-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-card {
  padding: 1.5rem;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 2rem;
  color: var(--red);
  font-weight: 800;
}

.testimonial-shell {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: white;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.08);
  color: var(--dark);
  cursor: pointer;
  font-size: 1.5rem;
}

.testimonial-slider {
  display: grid;
  overflow: hidden;
  min-height: 240px;
  position: relative;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(20px);
  padding: 2rem;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.testimonial-card p {
  margin: 0 0 1.25rem;
  color: var(--dark);
  font-size: 1rem;
}

.testimonial-meta strong {
  display: block;
  color: var(--dark);
  font-weight: 700;
}

.testimonial-meta span {
  color: var(--muted);
}

.review-bar {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.review-bar strong {
  font-size: 1.5rem;
  color: var(--dark);
}

.review-stars {
  color: #d66;
  font-size: 1.1rem;
}

.faculty-grid {
  display: grid;
  grid-template-columns: 1.1fr minmax(320px, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.faculty-copy p {
  max-width: 680px;
}

.faculty-highlights {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.faculty-highlights div {
  background: var(--surface);
  border-radius: 20px;
  padding: 1rem 1rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.faculty-highlights strong {
  display: block;
  font-size: 1.4rem;
  color: var(--dark);
}

.faculty-highlights span {
  color: var(--muted);
}

.form-panel {
  background: var(--surface);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 2rem;
}

.form-panel-inner {
  display: grid;
  gap: 1rem;
}

.form-panel h3 {
  margin: 0;
  font-size: 1.6rem;
}

.form-panel p {
  margin: 0;
}

label {
  font-weight: 600;
  color: var(--dark);
}

input,
select {
  width: 100%;
  border: 1px solid rgba(34, 34, 34, 0.12);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  background: #ffffff;
  color: var(--dark);
}

input:focus,
select:focus {
  outline: none;
  border-color: rgba(210, 33, 40, 0.45);
  box-shadow: 0 0 0 4px rgba(210, 33, 40, 0.12);
}

.faq-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.faq-item {
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  cursor: pointer;
}

.hero-copy,
.hero-media-card,
.feature-card,
.course-card,
.metric-card,
.testimonial-shell,
.faculty-copy,
.form-panel,
.faq-item,
.section-heading {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.2), transparent 45%);
  opacity: 0.7;
  pointer-events: none;
  animation: pulseGlow 8s ease-in-out infinite;
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 40px rgba(210, 33, 40, 0.28);
  transform: translateY(-2px) scale(1.01);
}

.feature-card:hover,
.course-card:hover,
.metric-card:hover,
.form-panel:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.85;
  }
}

.faq-question::after {
  content: '+';
  float: right;
  font-size: 1.2rem;
}

.faq-question[aria-expanded='true']::after {
  content: '–';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 160px;
  padding: 0 1.5rem 1.25rem;
}

.site-footer {
  background: #1c1c1c;
  color: #f1f1f1;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.site-footer a {
  color: #f1f1f1;
  text-decoration: none;
}

.site-footer h4 {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: #ffffff;
}

.map-card iframe {
  width: 100%;
  height: 200px;
  border: 0;
  border-radius: 18px;
}

.footer-bottom {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: #b0b0b0;
  font-size: 0.95rem;
}

.social-row {
  display: flex;
  gap: 1rem;
}

.social-row a {
  color: #f1f1f1;
}

.sticky-action-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(34, 34, 34, 0.08);
  z-index: 30;
  justify-content: center;
}

.sticky-action-bar a {
  flex: 1;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  text-align: center;
  background: var(--surface);
  color: var(--dark);
  border: 1px solid rgba(34, 34, 34, 0.08);
}

.mobile-only {
  display: none;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: white;
  text-decoration: none;
  font-size: 2rem;
  box-shadow: 0 24px 50px rgba(210, 33, 40, 0.28);
  z-index: 30;
}

@media (max-width: 960px) {
  .hero-grid,
  .faculty-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .header-actions {
    order: 3;
    width: 100%;
    justify-content: stretch;
  }

  .main-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    padding: 1rem 0;
    border-top: 1px solid rgba(34, 34, 34, 0.08);
  }

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

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .course-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-shell {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    width: 42px;
    height: 42px;
  }

  .sticky-action-bar {
    display: flex;
  }

  .mobile-only {
    display: flex;
  }
}

@media (max-width: 520px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .course-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3rem 0;
  }

  .header-actions {
    flex-direction: column;
  }

  .hero-copy h1 {
    font-size: 2.2rem;
  }

  .review-bar {
    flex-direction: column;
  }
}
