:root {
  --black: #0a0a0a;
  --black-2: #1a1714;
  --gold: #c4a035;
  --gold-bright: #d4af37;
  --emerald: #0f766e;
  --bg: #f7f3ea;
  --bg-2: #fffdf8;
  --bg-3: #efe6d4;
  --text: #1a1714;
  --muted: #5e574c;
  --glass: rgba(255, 253, 248, 0.78);
  --glass-border: rgba(196, 160, 53, 0.32);
  --gold-glow: 0 8px 28px rgba(196, 160, 53, 0.16);
  --shadow: 0 18px 40px rgba(26, 23, 20, 0.08);
  --radius: 22px;
  --nav-h: 84px;
  --max: 1180px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --arabic: "Amiri", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.25rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--black);
  color: #fffdf8;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.gold-gradient {
  background: linear-gradient(120deg, #8c7016 0%, var(--gold) 35%, var(--gold-bright) 55%, #8c7016 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gold-shift 8s ease-in-out infinite;
}

@keyframes gold-shift {
  0%,
  100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.lede {
  font-family: var(--display);
  font-size: 1.45rem;
  font-style: italic;
  color: #8c7016;
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

.section__header {
  max-width: 680px;
  margin: 0 auto 3.2rem;
  text-align: center;
}

.section__header--left {
  margin: 0 0 2rem;
  text-align: left;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn--sm {
  min-height: 42px;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.btn--lg {
  min-height: 54px;
  padding: 0.95rem 1.55rem;
}

.btn--gold {
  background: var(--black);
  color: #fffdf8;
  border-color: var(--black);
  box-shadow: 0 10px 24px rgba(10, 10, 10, 0.16);
}

.btn--gold:hover {
  transform: translateY(-2px);
  background: #1c1916;
  box-shadow: 0 12px 28px rgba(10, 10, 10, 0.2);
}

.btn--ghost {
  background: transparent;
  border-color: var(--black);
  color: var(--black);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--black);
  background: rgba(196, 160, 53, 0.08);
}

.btn--whatsapp {
  background: rgba(15, 118, 110, 0.1);
  border-color: rgba(15, 118, 110, 0.4);
  color: var(--emerald);
}

.btn--whatsapp:hover {
  background: rgba(15, 118, 110, 0.18);
}

.btn:focus-visible,
.nav__links a:focus-visible,
.nav__toggle:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.float-wa:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  flex-shrink: 0;
}

.icon svg {
  width: 22px;
  height: 22px;
}

.icon--gold { color: var(--gold); }
.icon--emerald { color: var(--emerald); }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  isolation: isolate;
}

.nav.is-scrolled {
  background: rgba(247, 243, 234, 0.9);
  border-bottom-color: var(--glass-border);
  backdrop-filter: blur(18px);
}

.nav__inner {
  width: min(calc(100% - 2rem), 1240px);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand__mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  background: #f7f3ea;
  box-shadow: 0 0 0 1px rgba(196, 160, 53, 0.28);
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand__name {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.1;
}

.brand__role {
  font-size: 0.7rem;
  color: var(--muted);
  white-space: nowrap;
}

.nav__links {
  display: none;
  margin-left: auto;
  gap: 1.15rem;
}

.nav__links a {
  font-size: 0.92rem;
  color: var(--muted);
  position: relative;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--text);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__links a:hover::after,
.nav__links a.is-active::after {
  transform: scaleX(1);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

.nav__toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  background: var(--glass);
  display: grid;
  place-items: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav.is-open .nav__toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav.is-open .nav__toggle span:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav__toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  padding: 3rem 0 5rem;
  overflow: hidden;
}

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

.hero__marble {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 500px at 80% 10%, rgba(15, 118, 110, 0.1), transparent 55%),
    radial-gradient(900px 420px at 15% 80%, rgba(212, 175, 55, 0.16), transparent 50%),
    linear-gradient(180deg, #fbf8f1, #f3ead8 70%, #f7f3ea);
}

.hero__marble::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

.hero__geometry {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: url("../assets/svg/pattern.svg");
  background-size: 320px;
}

.hero__calligraphy {
  position: absolute;
  right: -4%;
  top: 8%;
  font-family: var(--arabic);
  font-size: clamp(8rem, 22vw, 18rem);
  color: rgba(196, 160, 53, 0.18);
  line-height: 1;
  user-select: none;
}

.hero__arch {
  position: absolute;
  right: 8%;
  bottom: -18%;
  width: min(48vw, 520px);
  height: min(70vh, 640px);
  border: 1px solid rgba(196, 160, 53, 0.28);
  border-bottom: 0;
  border-radius: 280px 280px 0 0;
  box-shadow: inset 0 0 80px rgba(212, 175, 55, 0.08);
}

.hero__particles span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-bright);
  opacity: 0.35;
  animation: float-particle 9s ease-in-out infinite;
}

.hero__particles span:nth-child(1) { top: 18%; left: 12%; }
.hero__particles span:nth-child(2) { top: 28%; left: 42%; animation-delay: -2s; }
.hero__particles span:nth-child(3) { top: 62%; left: 8%; animation-delay: -4s; width: 3px; height: 3px; }
.hero__particles span:nth-child(4) { top: 22%; right: 28%; animation-delay: -1s; }
.hero__particles span:nth-child(5) { bottom: 18%; right: 12%; animation-delay: -3s; }
.hero__particles span:nth-child(6) { bottom: 30%; left: 30%; animation-delay: -5s; width: 4px; height: 4px; }

@keyframes float-particle {
  0%, 100% { transform: translateY(0); opacity: 0.2; }
  50% { transform: translateY(-16px); opacity: 0.55; }
}

.hero__grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero__content h1 {
  max-width: 15ch;
}

.hero__sub {
  font-size: 1.12rem;
  max-width: 42ch;
}

.teacher-id {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.8rem;
  margin: 1.4rem 0 1.8rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.teacher-id__name {
  color: var(--gold-bright);
  font-weight: 600;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-pills li {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass);
  font-size: 0.82rem;
}

.trust-pills li::before {
  content: "✓ ";
  color: var(--gold);
}

.hero__visual {
  position: relative;
}

.portrait {
  position: relative;
  max-width: 460px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 28px 28px 80px 28px;
}

.portrait img {
  width: 100%;
  height: auto;
  border-radius: 28px 28px 80px 28px;
  object-fit: cover;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}

.portrait__glow {
  position: absolute;
  inset: -8%;
  z-index: -1;
  background: radial-gradient(circle at 50% 40%, rgba(212, 175, 55, 0.28), transparent 62%);
  filter: blur(18px);
}

.course-card {
  position: relative;
  margin-top: -4.5rem;
  margin-left: 0;
  width: min(100%, 280px);
  padding: 1.15rem 1.2rem;
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.88);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow), var(--gold-glow);
}

.course-card h2 {
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
  color: var(--gold-bright);
}

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

.course-card li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem;
  border-radius: 12px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.course-card li:hover {
  background: rgba(196, 160, 53, 0.08);
  transform: translateX(4px);
}

.course-card .icon {
  width: 34px;
  height: 34px;
}

.trust-strip {
  padding: 1.4rem 0;
  border-block: 1px solid var(--glass-border);
  background: var(--bg-2);
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.trust-strip article {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.about__grid,
.contact__grid,
.faq__layout {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about__media {
  position: relative;
}

.about__frame {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}

.about__frame img {
  width: 100%;
  height: auto;
  display: block;
}

.about__calligraphy {
  position: absolute;
  left: -0.4rem;
  bottom: -1.2rem;
  font-family: var(--arabic);
  font-size: 6rem;
  color: rgba(212, 175, 55, 0.16);
  pointer-events: none;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 1.8rem;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-bright), var(--gold));
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.card-grid,
.feature-grid,
.benefit-grid {
  display: grid;
  gap: 1.15rem;
}

.glass-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid rgba(212, 175, 55, 0.28);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--gold-glow), var(--shadow);
  border-color: rgba(245, 197, 66, 0.55);
}

.glass-card h3 {
  margin: 0.9rem 0 0.7rem;
}

.glass-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.glass-card li + li {
  margin-top: 0.35rem;
}

.feature-grid article {
  padding: 1.3rem 1.2rem;
  border-radius: 18px;
  border: 1px solid var(--glass-border);
  background: var(--bg-2);
}

.feature-grid h3 {
  margin: 0.85rem 0 0.4rem;
  font-size: 1.18rem;
}

.feature-grid p {
  margin: 0;
  font-size: 0.94rem;
}

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

.timeline li {
  position: relative;
  padding: 1.3rem 1.2rem 1.3rem 1.4rem;
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  background: var(--bg-2);
}

.timeline__step {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--gold-bright);
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

.benefits {
  background: var(--bg-3);
  overflow: hidden;
}

.benefits__pattern,
.footer__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: url("../assets/svg/pattern.svg");
  background-size: 280px;
  pointer-events: none;
}

.benefit-grid article {
  padding: 1.4rem;
  border-radius: 18px;
  border: 1px solid var(--glass-border);
  background: var(--bg-2);
}

.benefit-grid h3 {
  color: #8c7016;
  font-size: 1.2rem;
}

.students-grid {
  display: grid;
  gap: 1.15rem;
}

.student-card {
  margin: 0;
  overflow: hidden;
  padding: 0;
}

.student-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.student-card figcaption {
  padding: 1rem 1.15rem 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.student-card strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.testimonials {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.testimonials .section__header {
  max-width: 640px;
  margin-bottom: 3.4rem;
}

.testimonial-grid {
  display: grid;
  gap: 1.6rem;
}

.testimonial {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2.1rem 1.9rem 1.7rem;
  border-radius: 24px;
  background: var(--bg-2);
  border: 1px solid rgba(196, 160, 53, 0.28);
  box-shadow: 0 16px 36px rgba(26, 23, 20, 0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(26, 23, 20, 0.1);
}

.testimonial::before {
  content: "“";
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--display);
  font-size: 3.4rem;
  line-height: 0.7;
  color: var(--gold);
}

.testimonial blockquote {
  flex: 1;
  margin: 0 0 1.6rem;
}

.testimonial p {
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--text);
  margin: 0;
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(196, 160, 53, 0.22);
  font-size: 0.9rem;
  color: var(--muted);
}

.testimonial figcaption span span {
  display: block;
  margin-top: 0.15rem;
}

.testimonial strong {
  color: var(--text);
  font-size: 1rem;
}

.testimonial__avatar {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(196, 160, 53, 0.14);
  color: #8c7016;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.accordion {
  display: grid;
  gap: 0.7rem;
}

.accordion details {
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  background: var(--bg-2);
  overflow: hidden;
}

.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 1.2rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.3rem;
  line-height: 1;
}

.accordion details[open] summary::after {
  content: "–";
}

.accordion p {
  margin: 0;
  padding: 0 1.2rem 1.15rem;
}

.cta-band {
  position: relative;
  padding: 6rem 0;
  text-align: center;
  overflow: hidden;
  background: var(--bg-3);
}

.cta-band__glow {
  position: absolute;
  inset: 20% 10%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18), transparent 70%);
  pointer-events: none;
}

.cta-band__calligraphy {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--arabic);
  font-size: clamp(6rem, 18vw, 12rem);
  color: rgba(196, 160, 53, 0.22);
  pointer-events: none;
}

.cta-band__content {
  position: relative;
}

.cta-band .hero__ctas {
  justify-content: center;
}

.form {
  display: grid;
  gap: 1rem;
}

.form__row {
  display: grid;
  gap: 0.4rem;
}

.form__split {
  display: grid;
  gap: 1rem;
}

.form label {
  font-size: 0.86rem;
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: var(--bg-2);
  color: var(--text);
  font-size: 16px;
  padding: 0.85rem 0.95rem;
  min-height: 48px;
}

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

.form input:hover,
.form select:hover,
.form textarea:hover {
  border-color: rgba(212, 175, 55, 0.4);
}

.form input::placeholder,
.form textarea::placeholder {
  color: var(--muted);
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.form__status {
  min-height: 1.2em;
  margin: 0;
  color: var(--gold-bright);
  font-size: 0.9rem;
}

.contact__direct a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  position: relative;
  padding: 4rem 0 1.5rem;
  border-top: 1px solid var(--glass-border);
  background: var(--bg-2);
}

.footer__grid {
  display: grid;
  gap: 2rem;
  position: relative;
}

.footer h2 {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer a:hover {
  color: var(--gold-bright);
}

.footer__base {
  position: relative;
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--muted);
  font-size: 0.85rem;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--gold), var(--emerald));
  pointer-events: none;
}

.timeline li.is-active {
  border-color: rgba(196, 160, 53, 0.55);
  box-shadow: var(--gold-glow);
}

.timeline li.is-active .timeline__step {
  color: var(--black);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
}

.float-wa {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #14b8a6, var(--emerald));
  color: white;
  box-shadow: 0 10px 30px rgba(15, 118, 110, 0.45);
  animation: pulse-wa 2.8s ease-in-out infinite;
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 10px 30px rgba(15, 118, 110, 0.45); }
  50% { box-shadow: 0 10px 30px rgba(15, 118, 110, 0.45), 0 0 0 10px rgba(15, 118, 110, 0.12); }
}

.float-wa svg {
  width: 28px;
  height: 28px;
}

.float-wa:hover {
  transform: translateY(-3px);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}

.privacy {
  padding: 8rem 0 5rem;
}

.privacy h1 {
  margin-bottom: 1rem;
}

@media (min-width: 720px) {
  .trust-strip__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid,
  .students-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
  }

  .feature-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form__split {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .course-scroll {
    display: contents;
  }
}

@media (min-width: 980px) {
  .nav__links {
    display: flex;
  }

  .nav__toggle {
    display: none;
  }

  .nav__actions {
    margin-left: 0;
  }

  .hero__grid,
  .about__grid,
  .contact__grid,
  .faq__layout {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .course-card {
    position: absolute;
    left: -1.5rem;
    bottom: 1.4rem;
    margin: 0;
  }

  .trust-strip__grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
  }

  .timeline li {
    border: 0;
    background: transparent;
    border-radius: 0;
    padding: 0 1rem;
    text-align: center;
  }

  .timeline li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 14px;
    left: 58%;
    width: 84%;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
  }

  .timeline__step {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
    border: 1px solid var(--gold);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
    background: var(--bg-2);
    letter-spacing: 0;
  }

  .benefit-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefit-grid__wide {
    grid-column: span 3;
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.85rem;
  }

  .students-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 979px) {
  :root {
    --nav-h: 72px;
  }

  h1 {
    font-size: clamp(1.85rem, 8vw, 3rem);
  }

  .section {
    padding: 4.2rem 0;
  }

  .section__header {
    margin-bottom: 2.2rem;
  }

  .nav__inner {
    gap: 0.65rem;
  }

  .brand {
    flex: 1;
    min-width: 0;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .brand__role {
    display: none;
  }

  .nav__links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    padding: 0.5rem 1rem 1.4rem;
    background: rgba(255, 253, 248, 0.98);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(18px);
    -webkit-overflow-scrolling: touch;
  }

  .nav.is-open .nav__links {
    display: flex;
  }

  .nav__links a {
    padding: 0.95rem 0.35rem;
    border-bottom: 1px solid rgba(26, 23, 20, 0.08);
  }

  .nav__links a::after {
    display: none;
  }

  .nav__actions {
    flex-shrink: 0;
  }

  .nav__actions .btn--whatsapp {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 1.6rem 0 2.6rem;
  }

  .hero__calligraphy,
  .hero__arch,
  .hero__particles {
    display: none;
  }

  .hero__grid {
    gap: 1.6rem;
  }

  .hero__content h1 {
    max-width: none;
  }

  .hero__ctas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .hero__ctas .btn {
    width: 100%;
  }

  .course-card {
    width: 100%;
    margin: 1rem 0 0;
  }

  .trust-strip article {
    font-size: 0.84rem;
    gap: 0.55rem;
  }

  .testimonials {
    padding-top: 4.2rem;
    padding-bottom: 4.2rem;
  }

  .testimonials .section__header {
    margin-bottom: 1.8rem;
  }

  .testimonial {
    padding: 1.5rem 1.25rem 1.35rem;
  }

  .cta-band {
    padding: 4rem 0;
  }

  .form__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .form__actions .btn {
    width: 100%;
  }

  .student-card img {
    height: 220px;
  }

  .float-wa {
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(0.85rem, env(safe-area-inset-bottom));
  }
}

@media (max-width: 719px) {
  .contact {
    padding-bottom: 7.5rem;
  }

  .trust-strip__grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .card-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.85rem;
    padding-bottom: 0.8rem;
    margin-inline: -1rem;
    padding-inline: 1rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .card-grid::-webkit-scrollbar {
    display: none;
  }

  .card-grid .glass-card {
    min-width: min(84vw, 320px);
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(calc(100% - 1.5rem), var(--max));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .scroll-progress,
  .float-wa {
    animation: none !important;
  }
}
