/* ==========================================================================
   Al Fayrouz Academy — styles
   1. Colors & settings are in :root — change them here and the whole site follows.
   2. Uses logical properties (inline-start/end) so RTL/LTR mirror automatically.
   ========================================================================== */
:root {
  --fayrouz: #2BB5B0;      /* primary turquoise (decoration, borders, icons) */
  --deep: #0F6B6B;         /* headings / text accents */
  --deep-2: #0A4747;       /* footer background */
  --yellow: #FFC93C;
  --cream: #FFFBF2;        /* page background */
  --coral: #FF7A6B;        /* buttons / CTAs */
  --tint: #E6F7F6;         /* soft section background */
  --ink: #1B4444;          /* body text (high contrast) */
  --btn-text: #0A3A3A;     /* text on coral/yellow buttons */
  --wa: #1B9E4B;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 10px 30px rgba(15, 107, 107, .12);
  --header-h: 68px;
  --container: 1120px;
  --font-ar: "Cairo", "Tajawal", system-ui, sans-serif;
  --font-en: "Nunito", "Poppins", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-size: 1.125rem; line-height: 1.8; overflow-x: hidden;
  font-family: var(--font-ar);
}
html[lang="en"] body { font-family: var(--font-en); line-height: 1.7; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--deep); line-height: 1.3; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 6.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--deep); }
ul { margin: 0; padding: 0; list-style: none; }

/* Language switching: only the active language is shown */
html[lang="ar"] [data-l="en"], html[lang="en"] [data-l="ar"] { display: none !important; }

:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--yellow); color: var(--btn-text); padding: .6em 1em; border-radius: 10px; z-index: 100; font-weight: 700; }
.skip:focus { top: 8px; }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.icon { width: 1.4em; height: 1.4em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.deco { position: absolute; pointer-events: none; fill: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .6em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 800; font-size: 1.05rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 122, 107, .35); }
.btn-primary { background: var(--coral); color: var(--btn-text); }
.btn-primary:hover { background: #ff8c7e; }
.btn-wa { background: #fff; color: var(--deep); border-color: var(--deep); }
.btn-wa .icon { color: var(--wa); }
.btn-wa:hover { box-shadow: 0 8px 20px rgba(15, 107, 107, .18); }
.btn-small { min-height: 44px; padding: .4em 1.2em; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-row.center { justify-content: center; margin-top: 2.5rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 251, 242, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 107, 107, .12);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: .6rem; }
.logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--deep); margin-inline-end: auto; }
.logo img { width: 44px; height: 44px; }
.logo-text { font-weight: 800; font-size: 1.15rem; line-height: 1.1; }
.logo-text small { display: block; font-size: .68rem; letter-spacing: .06em; color: var(--ink); font-weight: 600; }
.main-nav {
  position: absolute; inset-inline: 0; top: 100%; background: var(--cream);
  padding: .5rem 1.25rem 1.2rem; box-shadow: var(--shadow); display: none;
}
.main-nav.open { display: block; }
.main-nav a { display: block; padding: .7rem .5rem; text-decoration: none; font-weight: 700; border-bottom: 1px solid rgba(15, 107, 107, .1); }
.main-nav .btn { margin-top: 1rem; width: 100%; border-bottom: 2px solid transparent; }
.header-cta { display: none; }
.lang-btn, .menu-btn {
  min-height: 44px; min-width: 44px; padding: 0 .9rem; border-radius: 999px; font: inherit; font-weight: 800; font-size: .95rem;
  background: #fff; color: var(--deep); border: 2px solid var(--deep); cursor: pointer;
}
.menu-btn { padding: 0; display: grid; place-items: center; }
.lang-btn:hover, .menu-btn:hover { background: var(--tint); }
@media (min-width: 520px) { .header-cta { display: inline-flex; } }
@media (min-width: 1060px) {
  .menu-btn { display: none; }
  .main-nav { position: static; display: block; padding: 0; background: none; box-shadow: none; }
  .main-nav ul { display: flex; gap: .2rem; }
  .main-nav a { border: 0; padding: .5rem .7rem; border-radius: 999px; font-size: 1rem; }
  .main-nav a:hover { background: var(--tint); }
  .main-nav .btn { display: none; }
  .logo { margin-inline-end: 1rem; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(4rem, 9vw, 7rem) 0; }
.section--tint { background: var(--tint); }
.section--cream { background: var(--cream); }
/* organic wave on top of a section, in the section's own colour */
.wave::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 46px; transform: translateY(-99%); background: var(--bgc);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 46' preserveAspectRatio='none'%3E%3Cpath d='M0 46V24C150 4 300 0 450 14s300 30 450 18 210-26 300-16v30z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 46' preserveAspectRatio='none'%3E%3Cpath d='M0 46V24C150 4 300 0 450 14s300 30 450 18 210-26 300-16v30z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.section--tint.wave { --bgc: var(--tint); }
.section--cream.wave { --bgc: var(--cream); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--deep); background: #fff; padding: .15em 1em; border-radius: 999px; font-size: .95rem; box-shadow: 0 2px 8px rgba(15, 107, 107, .1); margin-bottom: .8rem; }
.eyebrow::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--coral); }
.lead { font-size: 1.2rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); background: linear-gradient(180deg, var(--cream) 0%, var(--tint) 100%); position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; position: relative; z-index: 1; }
.chip { display: inline-block; background: var(--yellow); color: var(--btn-text); font-weight: 800; padding: .2em 1em; border-radius: 999px; margin-bottom: 1rem; font-size: 1rem; }
.hero .lead { font-size: 1.25rem; max-width: 34em; }
.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; margin-top: 1.6rem; font-weight: 700; color: var(--deep); font-size: 1rem; }
.hero-points li { display: flex; align-items: center; gap: .4rem; }
.hero-points .icon { color: var(--coral); width: 1.2em; height: 1.2em; }
.hero-art { position: relative; }
.hero-art::before { content: ""; position: absolute; inset: -6% -4% -4% 6%; background: var(--yellow); border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%; opacity: .9; }
.hero-art img { position: relative; border-radius: 48% 52% 46% 54% / 40% 44% 56% 60%; box-shadow: var(--shadow); width: 100%; height: auto; border: 6px solid #fff; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3rem; } }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotate(4deg); } }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 2.5rem; align-items: center; }
.about-grid img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; height: auto; }
.mission { background: var(--tint); border-radius: var(--radius); padding: 1.3rem 1.5rem; border-inline-start: 6px solid var(--yellow); margin-top: 1.5rem; }
.mission h3 { margin-bottom: .2em; }
.mission p { margin: 0; }
@media (min-width: 860px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.5rem; }
.card { background: #fff; border-radius: var(--radius); padding: 2rem 1.6rem; box-shadow: var(--shadow); position: relative; }
.card .badge {
  width: 68px; height: 68px; border-radius: 22px; display: grid; place-items: center; margin-bottom: 1rem;
  background: var(--tint); color: var(--deep);
}
.card .badge .icon { width: 34px; height: 34px; }
.card p { margin: 0; }
@media (min-width: 760px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

/* Subjects */
.subjects { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.3rem; }
.subject { flex: 1 1 235px; max-width: 270px; border-top: 8px solid var(--c, var(--fayrouz)); padding: 1.6rem 1.4rem; text-align: start; }
.subject .badge { background: color-mix(in srgb, var(--c, var(--fayrouz)) 22%, #fff); font-weight: 800; font-size: 1.5rem; color: var(--deep); }
.subject h3 { margin-bottom: .25em; }
.subject p { font-size: 1rem; line-height: 1.65; }

/* ---------- Daily life ---------- */
.day-grid { display: grid; gap: 3rem; }
.timeline { position: relative; display: grid; gap: 1.2rem; padding-inline-start: 3.4rem; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 1.2rem; top: .8rem; bottom: .8rem; width: 4px; border-radius: 4px; background: repeating-linear-gradient(var(--fayrouz) 0 10px, transparent 10px 18px); }
.timeline li { position: relative; background: #fff; border-radius: var(--radius); padding: 1rem 1.3rem; box-shadow: var(--shadow); }
.timeline li::before { content: attr(data-n); position: absolute; inset-inline-start: -3.4rem; top: 50%; transform: translateY(-50%); width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--yellow); color: var(--btn-text); font-weight: 800; display: grid; place-items: center; border: 3px solid var(--cream); }
.timeline strong { color: var(--deep); display: block; }
.timeline span { font-size: 1rem; line-height: 1.55; display: block; }
.activities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; align-content: start; }
.activity { background: #fff; border-radius: var(--radius); padding: 1.3rem 1rem; text-align: center; box-shadow: var(--shadow); font-weight: 800; color: var(--deep); line-height: 1.4; }
.activity .emoji { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto .6rem; font-size: 2rem; border-radius: 50%; background: var(--c, var(--tint)); }
.sub-title { text-align: center; margin-bottom: 1.4rem; }
@media (min-width: 900px) { .day-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } .sub-title { text-align: start; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.gallery button { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--tint); aspect-ratio: 1 / 1; box-shadow: var(--shadow); font: inherit; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery .wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.about-grid .about-img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 45% 45%; }
.gallery button:hover img { transform: scale(1.05); }
.gallery .cap { position: absolute; inset-inline: 0; bottom: 0; padding: 1.4rem .8rem .6rem; color: #fff; font-weight: 700; font-size: .95rem; text-align: start; background: linear-gradient(transparent, rgba(10, 71, 71, .85)); line-height: 1.4; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 1.3rem; } }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; color: #fff; }
dialog.lightbox::backdrop { background: rgba(5, 40, 40, .92); }
.lb-inner { height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 3.5rem 1rem 1.2rem; }
.lb-inner img { max-height: 100%; max-width: min(100%, 1000px); width: auto; border-radius: var(--radius); background: #fff; }
.lb-cap { text-align: center; padding-top: .8rem; font-weight: 700; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; color: var(--deep); display: grid; place-items: center; cursor: pointer; }
.lb-btn:focus-visible { outline-color: var(--yellow); }
.lb-close { top: 12px; inset-inline-end: 12px; }
.lb-prev { top: 50%; inset-inline-start: 10px; transform: translateY(-50%); }
.lb-next { top: 50%; inset-inline-end: 10px; transform: translateY(-50%); }
html[dir="rtl"] .js-next .icon, html[dir="ltr"] .js-prev .icon { transform: scaleX(-1); }
body:has(dialog[open]) { overflow: hidden; }

/* ---------- Testimonials ---------- */
.slider { position: relative; }
.track { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: .5rem .2rem 1.5rem; }
.track::-webkit-scrollbar { display: none; }
.review { flex: 0 0 min(100%, 520px); scroll-snap-align: center; background: #fff; border-radius: var(--radius); padding: 2rem 1.6rem; box-shadow: var(--shadow); position: relative; }
.review .q { color: var(--yellow); width: 42px; height: 42px; fill: currentColor; stroke: none; margin-bottom: .4rem; }
.review p { font-size: 1.1rem; }
.review footer { font-weight: 800; color: var(--deep); line-height: 1.4; }
.review footer small { display: block; font-weight: 600; color: var(--ink); }
.ph-badge { position: absolute; top: 14px; inset-inline-end: 14px; background: var(--yellow); color: var(--btn-text); font-size: .75rem; font-weight: 800; padding: .1em .8em; border-radius: 999px; }
.slider-ctrl { display: flex; align-items: center; justify-content: center; gap: .8rem; }
.slider-ctrl button.arrow { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--deep); background: #fff; color: var(--deep); display: grid; place-items: center; cursor: pointer; }
.slider-ctrl button.arrow:hover { background: var(--deep); color: #fff; }
.dots { display: flex; gap: .6rem; }
.dots button { width: 14px; height: 14px; border-radius: 50%; border: 0; background: rgba(15, 107, 107, .25); cursor: pointer; padding: 0; position: relative; }
.dots button::after { content: ""; position: absolute; inset: -16px -6px; }
.dots button[aria-current="true"] { background: var(--deep); width: 30px; border-radius: 8px; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: .9rem; }
.faq details { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 1.4rem; font-weight: 800; color: var(--deep); display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; border-radius: var(--radius); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .25s; background: var(--tint); border-radius: 50%; padding: 4px; width: 34px; height: 34px; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding: 0 1.4rem 1.3rem; }
.faq .answer p:last-child { margin: 0; }
.ph { background: #FFF1C2; border-radius: 6px; padding: 0 .35em; font-weight: 700; direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ---------- Book a visit ---------- */
.book { background: linear-gradient(180deg, var(--tint), #D4F0EE); }
.book-grid { display: grid; gap: 2.5rem; align-items: start; }
.ticks { display: grid; gap: .6rem; margin: 1.2rem 0 1.8rem; font-weight: 700; color: var(--deep); }
.ticks li { display: flex; gap: .6rem; align-items: center; }
.ticks .icon { background: var(--yellow); color: var(--btn-text); border-radius: 50%; padding: 4px; width: 30px; height: 30px; }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 1.8rem 1.4rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1.2rem; }
.field label, .field legend { display: block; font-weight: 800; color: var(--deep); margin-bottom: .35rem; padding: 0; }
.opt { font-weight: 600; color: var(--ink); font-size: .9rem; }
.field input[type="text"], .field input[type="tel"], .field input[type="date"], .field textarea {
  width: 100%; min-height: 52px; font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--cream);
  border: 2px solid rgba(15, 107, 107, .3); border-radius: 16px; padding: .6em 1em;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--fayrouz); outline-offset: 1px; border-color: var(--deep); }
.field [aria-invalid="true"] { border-color: #C0392B; background: #FFF1EF; }
.error { color: #A93226; font-weight: 700; font-size: .95rem; min-height: 0; margin: .3rem 0 0; }
fieldset.field { border: 0; margin: 0 0 1.2rem; padding: 0; min-width: 0; }
.ages { display: flex; flex-wrap: wrap; gap: .6rem; }
.ages label { margin: 0; position: relative; }
.ages input { position: absolute; opacity: 0; inset: 0; }
.ages span.pill { display: grid; place-items: center; min-width: 76px; min-height: 52px; padding: 0 1rem; border: 2px solid rgba(15, 107, 107, .3); border-radius: 16px; background: var(--cream); font-weight: 800; cursor: pointer; }
.ages input:checked + .pill { background: var(--yellow); border-color: var(--deep); color: var(--btn-text); }
.ages input:focus-visible + .pill { outline: 3px solid var(--deep); outline-offset: 2px; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { font-size: .9rem; color: var(--ink); margin: .8rem 0 0; line-height: 1.6; }
.form-card .btn-primary { width: 100%; }
.success { text-align: center; padding: 1rem .5rem; }
.success .tick { width: 84px; height: 84px; margin: 0 auto 1rem; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; color: var(--btn-text); }
.success .tick .icon { width: 44px; height: 44px; stroke-width: 3; }
.success .btn-row { justify-content: center; margin-top: 1.2rem; }
.link-btn { background: none; border: 0; font: inherit; color: var(--deep); text-decoration: underline; cursor: pointer; font-weight: 700; padding: .6rem; }
@media (min-width: 900px) { .book-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; } .form-card { padding: 2.4rem; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2rem; }
.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 320px; background: var(--tint); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.map-ph { min-height: 320px; display: grid; place-items: center; text-align: center; padding: 1.5rem; background: repeating-linear-gradient(45deg, #D4F0EE 0 14px, #E6F7F6 14px 28px); color: var(--deep); font-weight: 800; }
.map-ph .icon { width: 56px; height: 56px; margin: 0 auto .5rem; color: var(--coral); }
.info { display: grid; gap: 1rem; align-content: start; }
.info li { display: flex; gap: 1rem; align-items: flex-start; background: #fff; padding: 1.1rem 1.3rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.info .icon { background: var(--tint); color: var(--deep); border-radius: 14px; padding: 9px; width: 46px; height: 46px; }
.info strong { display: block; color: var(--deep); }
.info a { font-weight: 700; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.2fr 1fr; gap: 2.5rem; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep-2); color: #E6F7F6; padding: 4rem 0 1.5rem; position: relative; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 2rem; }
.site-footer .logo { color: #fff; }
.site-footer .logo-text small { color: #BFE8E5; }
.site-footer h2 { color: var(--yellow); font-size: 1.1rem; margin-bottom: .6rem; }
.footer-links { display: grid; gap: .2rem; }
.footer-links a { text-decoration: none; display: inline-block; padding: .3rem 0; }
.footer-links a:hover { text-decoration: underline; }
.social { display: flex; gap: .7rem; margin-top: 1rem; }
.social a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); transition: background .2s; }
.social a:hover { background: var(--coral); color: var(--btn-text); }
.copy { border-top: 1px solid rgba(255, 255, 255, .18); margin-top: 2.5rem; padding-top: 1.3rem; text-align: center; font-size: .95rem; }
.site-footer :focus-visible { outline-color: var(--yellow); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- Floating buttons ---------- */
.fab { position: fixed; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); border: 0; cursor: pointer; }
.fab-wa { inset-inline-end: 18px; background: var(--wa); color: #fff; }
.fab-wa .icon { width: 32px; height: 32px; }
.fab-top { inset-inline-start: 18px; background: var(--deep); color: #fff; opacity: 0; visibility: hidden; transition: opacity .25s; }
.fab-top.show { opacity: 1; visibility: visible; }
.fab:hover { transform: translateY(-3px); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float { animation: none; } * { scroll-behavior: auto !important; }
}
[hidden] { display: none !important; }

@media (max-width: 599px) { .hero > .deco { display: none; } }
.main-nav .btn { display: flex; text-align: center; }
@media (min-width: 1060px) { .main-nav .btn { display: none; } }

/* ---------- GSAP mode (added by js/animations.js; ignored if GSAP is not loaded) ---------- */
.gsap .reveal { opacity: 1; transform: none; transition: none; }
.gsap .float { animation: none; }
.gsap .faq .answer { overflow: hidden; }
.success .tick { position: relative; }
