/* ==========================================================================
   MathLabs — mathlabs.online
   Single stylesheet, mobile-first. Sections are ordered to match the page.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --navy: #0a1e42;
  --navy-light: #12295e;
  --blue: #1650c9;
  --gold: #c9973b;
  --grey: #6b7280;
  --off-white: #f2f4f7;
  --white: #ffffff;
  --green: #1b8a5a;
  --green-tint: #eaf7f0;

  --text: #1b2333;
  --text-muted: var(--grey);
  --border: #e2e5ec;

  --font-heading: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.25rem;
  --space-xl: 3.5rem;
  --space-2xl: 5rem;

  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-full: 999px;

  --shadow-soft: 0 12px 30px rgba(10, 30, 66, 0.1);
  --shadow-card: 0 20px 45px rgba(10, 30, 66, 0.14);

  --container-max: 1180px;
  --header-height: 76px;
  --transition: 200ms ease;
}

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100svh;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
}

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

ul {
  list-style: none;
  padding: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}

h1 {
  font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem);
}

h2 {
  font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2.25rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  color: var(--text);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.section {
  padding-block: var(--space-2xl);
}

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

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-xl);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--gold);
}

.section-head p {
  color: var(--text-muted);
  margin-top: var(--space-sm);
  font-size: 1.05rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-sm);
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: var(--space-2xs) var(--space-md);
  border-radius: var(--radius-sm);
  transition: top var(--transition);
}

.skip-link:focus {
  top: var(--space-sm);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  background: #d9a94f;
  box-shadow: var(--shadow-card);
}

.btn--outline {
  background: transparent;
  border-color: currentColor;
  color: var(--navy);
}

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

.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  min-height: 44px;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}

.btn--link {
  min-height: 44px;
  padding: 0.4rem var(--space-2xs);
  color: var(--blue);
  font-weight: 600;
}

.btn--link:hover {
  text-decoration: underline;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  height: var(--header-height);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  flex-shrink: 0;
}

.nav__brand img {
  height: 40px;
  width: 40px;
}

.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav__links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  padding-block: var(--space-3xs);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  color: var(--navy);
}

.nav-toggle:hover {
  background: var(--off-white);
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded='true'] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded='true'] .icon-close {
  display: block;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: var(--space-2xs);
  padding: var(--space-sm) var(--space-md) var(--space-md);
  border-top: 1px solid var(--border);
  background: var(--white);
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu a {
  padding: var(--space-sm) var(--space-2xs);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.mobile-menu .btn {
  margin-top: var(--space-2xs);
}

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

  .nav-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 140% at 15% 0%, var(--navy-light) 0%, var(--navy) 55%, #071733 100%);
  color: var(--white);
  overflow: hidden;
  padding-block: var(--space-2xl) var(--space-xl);
}

.hero__equations {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0.14;
  pointer-events: none;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
}

.hero__equations span {
  position: absolute;
  font-size: clamp(1.4rem, 3vw, 2.6rem);
}

.hero__equations span:nth-child(1) { top: 8%; left: 6%; }
.hero__equations span:nth-child(2) { top: 20%; left: 78%; }
.hero__equations span:nth-child(3) { top: 42%; left: 4%; }
.hero__equations span:nth-child(4) { top: 65%; left: 85%; }
.hero__equations span:nth-child(5) { top: 78%; left: 20%; }
.hero__equations span:nth-child(6) { top: 4%; left: 45%; }
.hero__equations span:nth-child(7) { top: 88%; left: 60%; }

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-xl);
}

.hero__intro .eyebrow {
  color: var(--gold);
}

.hero__intro h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.hero__intro p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  max-width: 46ch;
  margin-bottom: var(--space-lg);
}

.hero__profile {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  backdrop-filter: blur(6px);
}

.hero__profile-top {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.hero__profile-photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.hero__profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__profile-name h2 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.15rem;
}

.hero__profile-name p {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
}

.hero__quote {
  border-left: 3px solid var(--gold);
  padding-left: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: 1.02rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
}

.hero__credentials {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.hero__credentials li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2xs);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero__credentials .icon {
  color: var(--gold);
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
}

@media (min-width: 900px) {
  .hero .container {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
}

/* ---------- Media section ---------- */
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-card);
  margin-bottom: var(--space-xl);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  color: var(--white);
  text-align: center;
  padding: var(--space-md);
  background: linear-gradient(160deg, var(--navy) 0%, #071733 100%);
}

.video-frame__play {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.video-frame__play svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

.video-frame__placeholder p {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.transform {
  display: grid;
  gap: 2px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: var(--space-md);
}

.transform__panel {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg) var(--space-md);
}

.transform__panel--before {
  background:
    linear-gradient(180deg, rgba(10, 12, 20, 0.35) 0%, rgba(10, 12, 20, 0.85) 100%),
    url('../assets/images/igcse-transformation.png') left center / 200% auto no-repeat;
}

.transform__panel--after {
  background:
    linear-gradient(180deg, rgba(10, 30, 66, 0.2) 0%, rgba(13, 58, 150, 0.8) 100%),
    url('../assets/images/igcse-transformation.png') right center / 200% auto no-repeat;
  justify-content: flex-end;
  text-align: right;
}

.transform__panel h3 {
  color: var(--white);
  font-size: 1.5rem;
}

.transform-note {
  text-align: center;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-xl);
}

@media (min-width: 700px) {
  .transform {
    grid-template-columns: 1fr 1fr;
  }
}

.countries {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}

.countries__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
}

.countries__flag {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xs);
}

.countries__flag img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.countries__flag span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.countries p {
  font-weight: 600;
  color: var(--navy);
}

/* ---------- Programmes ---------- */
.grid-3 {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

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

.pricing-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
}

.pricing-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 80, 201, 0.1);
  color: var(--blue);
  margin-bottom: var(--space-md);
}

.pricing-card__icon--gold {
  background: rgba(201, 151, 59, 0.14);
  color: var(--gold);
}

.pricing-card h3 {
  margin-bottom: var(--space-3xs);
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: var(--space-2xs);
}

.pricing-card__price span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.15rem;
}

.pricing-card p.pricing-card__desc {
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  flex-grow: 1;
}

.pricing-card__note {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: var(--space-sm);
  margin-bottom: var(--space-md);
}

.pricing-card .btn {
  margin-top: auto;
}

.study-room {
  display: grid;
  gap: var(--space-md);
  align-items: center;
  background: var(--green-tint);
  border: 1px solid rgba(27, 138, 90, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.study-room__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(27, 138, 90, 0.15);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.study-room h3 {
  color: var(--green);
  margin-bottom: var(--space-2xs);
}

.study-room p {
  color: var(--text);
}

@media (min-width: 700px) {
  .study-room {
    grid-template-columns: auto 1fr auto;
  }
}

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 720px) {
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
}

.review-card .icon {
  color: var(--gold);
  width: 28px;
  height: 28px;
  margin-bottom: var(--space-sm);
}

.review-card blockquote {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-md);
}

.review-card footer {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.review-card footer img {
  width: 18px;
  height: 13px;
  border-radius: 2px;
}

.role-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(22, 80, 201, 0.1);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.75rem;
}

.reviews-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: var(--space-lg);
}

/* ---------- Booking ---------- */
.booking {
  background: radial-gradient(120% 140% at 85% 0%, var(--navy-light) 0%, var(--navy) 55%, #071733 100%);
  color: var(--white);
}

.booking .section-head h2 {
  color: var(--white);
}

.booking .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

.booking__grid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 900px) {
  .booking__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.booking-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  color: var(--text);
}

.form-field {
  margin-bottom: var(--space-md);
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: var(--space-3xs);
}

.form-field input,
.form-field select {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem var(--space-sm);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 1rem;
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--blue);
}

.form-field input[aria-invalid='true'],
.form-field select[aria-invalid='true'] {
  border-color: #c0392b;
}

.form-error {
  display: none;
  color: #c0392b;
  font-size: 0.82rem;
  margin-top: var(--space-3xs);
}

.form-error.is-visible {
  display: block;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status--success {
  background: var(--green-tint);
  color: var(--green);
}

.form-status--error {
  background: #fdeceb;
  color: #c0392b;
}

.booking-form__reassurance {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: var(--space-sm);
}

.booking-form__whatsapp {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  text-align: center;
}

.booking-aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.booking-aside__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.booking-aside__card .icon {
  color: var(--gold);
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.booking-aside__card a {
  font-weight: 700;
  font-size: 1.05rem;
}

.booking-aside__card a:hover {
  text-decoration: underline;
}

.booking-aside__card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #071733;
  color: rgba(255, 255, 255, 0.75);
  padding-block: var(--space-xl) var(--space-lg);
}

.site-footer__top {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.site-footer__brand img {
  height: 36px;
  width: 36px;
}

.site-footer__tagline {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: var(--space-2xs);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
}

.site-footer__links a:hover {
  color: var(--white);
}

.site-footer__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
}

.site-footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3xs);
}

.site-footer__contact a:hover {
  color: var(--white);
}

.site-footer__socials {
  display: flex;
  gap: var(--space-sm);
}

.site-footer__socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer__socials a:hover {
  background: var(--gold);
  color: var(--navy);
}

.site-footer__socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  font-size: 0.82rem;
}

@media (min-width: 780px) {
  .site-footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed;
  right: var(--space-md);
  bottom: var(--space-md);
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.whatsapp-float:hover {
  transform: scale(1.06);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
