/* =========================================================
   TYREPLUS Bahrain — styles.css
   ========================================================= */

:root {
  --brand: #009848;
  --brand-dark: #007a3a;
  --brand-light: #0bbf5e;
  --accent: #ffe52c;
  --accent-dark: #e6cd12;
  --text: #58595b;
  --heading: #2b2c2e;
  --bg: #ffffff;
  --muted: #f4f6f5;
  --muted-2: #eef1f0;
  --border: #e4e7e6;
  --white: #ffffff;

  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.14);

  --container: 1200px;
  --header-h: 82px;
  --header-h-scrolled: 66px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { color: var(--heading); line-height: 1.2; font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.sr-only, .skip-link {
  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:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto; z-index: 2000;
  clip: auto; background: var(--brand); color: #fff; padding: 10px 18px;
  border-radius: var(--radius-sm); box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-block; color: var(--brand); font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; font-size: .78rem; margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; font-family: inherit; font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; border-radius: 50px; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(-1px); }
.btn--block { width: 100%; }

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }

.btn--accent { background: var(--accent); color: var(--heading); }
.btn--accent:hover { background: var(--accent-dark); }

.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--heading); border-color: #fff; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 3000; background: var(--brand);
  display: grid; place-items: center; transition: opacity .5s ease, visibility .5s ease;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; }
.preloader__logo {
  height: 62px; width: auto; margin-bottom: 22px; padding: 14px 22px; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow); box-sizing: content-box;
  animation: preloaderPulse 1.4s var(--ease) infinite;
}
.preloader__logo--text {
  height: auto; color: var(--brand); font-weight: 800; font-size: 2rem; letter-spacing: .04em; text-align: center;
}
.preloader__logo--text span { color: var(--accent-dark); }
@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.preloader__bar { width: 200px; height: 5px; background: rgba(255,255,255,.25); border-radius: 5px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 40%; background: var(--accent); border-radius: 5px; animation: loadbar 1.1s var(--ease) infinite; }
@keyframes loadbar { 0% { transform: translateX(-120%);} 100% { transform: translateX(360%);} }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,0); transition: height .3s var(--ease), background .3s, box-shadow .3s;
}
.header.is-scrolled {
  height: var(--header-h-scrolled); background: #fff; box-shadow: var(--shadow-sm);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 46px; width: auto; transition: height .3s var(--ease); }
.header.is-scrolled .brand__logo { height: 38px; }
.brand__text { font-weight: 800; font-size: 1.5rem; color: var(--brand); letter-spacing: .02em; }
.brand__text b { color: var(--accent-dark); }

/* Make brand readable while over hero (transparent header) */
.header:not(.is-scrolled) .brand__text { color: #fff; }
.header:not(.is-scrolled) .brand__text b { color: var(--accent); }
.header:not(.is-scrolled) .nav__link { color: #fff; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__list { display: flex; align-items: center; gap: 28px; }
.nav__link {
  font-weight: 500; font-size: .95rem; color: var(--heading); position: relative; padding: 6px 0;
  transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--accent); transition: width .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--brand); }
.header:not(.is-scrolled) .nav__link:hover,
.header:not(.is-scrolled) .nav__link.is-active { color: var(--accent); }
.nav__link.is-active::after, .nav__link:hover::after { width: 100%; }

.nav__cta, .nav__close { display: none; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__cta { padding: 10px 20px; font-size: .88rem; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px;
  background: none; border: none; cursor: pointer; align-items: center; justify-content: center;
}
.hamburger span {
  width: 26px; height: 3px; background: var(--heading); border-radius: 3px; transition: transform .3s var(--ease), opacity .3s;
}
.header:not(.is-scrolled) .hamburger span { background: #fff; }
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.hamburger.is-open span { background: var(--heading) !important; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 90vh; min-height: 560px; overflow: hidden; }
.hero__slider { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s;
  background-image: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.6) 55%, rgba(0,0,0,.45) 100%), var(--img);
  background-size: cover; background-position: center;
}
.hero__slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.45), transparent 40%);
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide .container { width: 100%; }
.hero__content { position: relative; color: #fff; max-width: 640px; z-index: 2; text-align: left; }
.hero__actions { justify-content: flex-start; }
.hero__eyebrow {
  color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
  font-size: .82rem; margin-bottom: 14px; opacity: 0; transform: translateY(20px);
}
.hero__title {
  color: #fff; font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; margin-bottom: 18px;
  opacity: 0; transform: translateY(28px);
}
.hero__text {
  font-size: clamp(1rem, 2vw, 1.2rem); margin-bottom: 28px; color: rgba(255,255,255,.92);
  opacity: 0; transform: translateY(24px);
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; transform: translateY(20px); }

.hero__slide.is-active .hero__eyebrow { animation: heroIn .7s var(--ease) .2s forwards; }
.hero__slide.is-active .hero__title  { animation: heroIn .7s var(--ease) .35s forwards; }
.hero__slide.is-active .hero__text   { animation: heroIn .7s var(--ease) .5s forwards; }
.hero__slide.is-active .hero__actions{ animation: heroIn .7s var(--ease) .65s forwards; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.18); color: #fff; font-size: 1.2rem; backdrop-filter: blur(6px);
  display: grid; place-items: center; transition: background .25s, transform .25s;
}
.hero__arrow:hover { background: var(--brand); }
.hero__arrow--prev { left: 24px; }
.hero__arrow--next { right: 24px; }

.hero__dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero__dot {
  width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent;
  cursor: pointer; padding: 0; transition: background .25s, transform .25s;
}
.hero__dot.is-active { background: var(--accent); border-color: var(--accent); transform: scale(1.2); }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section__head--left { text-align: left; margin: 0; }
.section__title { font-size: clamp(1.7rem, 3.5vw, 2.6rem); margin-bottom: 8px; }
.section__subtitle { color: var(--brand); font-weight: 600; font-size: 1.05rem; margin-bottom: 14px; }

/* ---------- About ---------- */
.about { background: var(--bg); }
.about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about__text p { margin-bottom: 16px; }
.about__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 22px 0 28px; }
.about__list li { position: relative; padding-left: 28px; font-weight: 500; color: var(--heading); }
.about__list li::before {
  content: "✔"; position: absolute; left: 0; top: 0; color: #fff; background: var(--brand);
  width: 20px; height: 20px; border-radius: 50%; font-size: .7rem; display: grid; place-items: center;
}
.about__media { position: relative; }
.about__media img { width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about__badge {
  position: absolute; bottom: -22px; left: -22px; background: var(--accent); color: var(--heading);
  padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
}
.about__badge strong { font-size: 2.2rem; line-height: 1; }
.about__badge span { max-width: 120px; font-weight: 500; font-size: .85rem; }
.about__media::before {
  content: ""; position: absolute; top: -18px; right: -18px; width: 120px; height: 120px;
  border: 6px solid var(--accent); border-radius: var(--radius-lg); z-index: -1;
}

/* ---------- Services ---------- */
.services { background: var(--muted); }
.services__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.service-card { flex: 0 1 calc((100% - 26px) / 2); }
.service-card {
  background: #fff; border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent)); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 84px; height: 84px; border-radius: 18px; background: rgba(0,152,72,.1); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 18px; font-size: 2.3rem; transition: background .3s, color .3s, transform .3s;
}
.service-card:hover .service-card__icon { background: var(--brand); color: #fff; transform: rotate(-6deg) scale(1.05); }
.service-card__icon img { width: 50px; height: 50px; object-fit: contain; display: block; }
.service-card__title { font-size: 1.2rem; margin-bottom: 10px; }
.service-card__desc { font-size: .93rem; }
.service-card__desc + .service-card__desc { margin-top: 10px; }

/* ---------- Book ---------- */
.book { background: linear-gradient(180deg, #fff 0%, var(--muted) 100%); }
.book__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.book__form-wrap { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); border-top: 5px solid var(--brand); }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__group { margin-bottom: 20px; display: flex; flex-direction: column; }
.form__group label { font-weight: 500; font-size: .9rem; color: var(--heading); margin-bottom: 7px; }
.req { color: #e23b3b; }
.form input, .form select, .form textarea {
  font-family: inherit; font-size: .95rem; color: var(--heading); padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,152,72,.15);
}
.form textarea { resize: vertical; }
.form__group.has-error input, .form__group.has-error select { border-color: #e23b3b; box-shadow: 0 0 0 3px rgba(226,59,59,.12); }
.form__error { color: #e23b3b; font-size: .8rem; margin-top: 5px; min-height: 1em; }
.form__consent { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.form__consent input { width: auto; margin-top: 4px; }
.form__consent label { flex: 1; font-weight: 400; font-size: .85rem; margin: 0; }
.form__consent .form__error { flex-basis: 100%; }

.book__aside { display: flex; flex-direction: column; gap: 18px; }
.card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.card h3 { font-size: 1.1rem; margin-bottom: 14px; }
.trust__list li { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: .92rem; }
.trust__list span { color: var(--brand); font-weight: 700; }
.card--hours p { font-size: .92rem; margin-bottom: 4px; }
.card--hotline {
  display: flex; flex-direction: column; background: var(--brand); color: #fff; align-items: flex-start;
  transition: transform .25s, box-shadow .25s;
}
.card--hotline:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card--hotline__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.card--hotline__num { font-size: 1.35rem; font-weight: 700; }

/* ---------- Locations ---------- */
.locations { background: #fff; }
.locations__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 30px; }
.locations__list { display: flex; flex-direction: column; gap: 14px; max-height: 520px; overflow-y: auto; padding-right: 6px; }
.location-card {
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 18px 20px;
  cursor: pointer; transition: border-color .25s, box-shadow .25s, transform .25s; border-left: 4px solid transparent;
}
.location-card:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.location-card.is-active { border-left-color: var(--brand); background: rgba(0,152,72,.05); box-shadow: var(--shadow-sm); }
.location-card h3 { font-size: 1.08rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.location-card p { font-size: .86rem; margin-bottom: 5px; line-height: 1.5; }
.location-card__addr { color: var(--text); }
.location-card__row { display: flex; gap: 8px; align-items: flex-start; }
.location-card .muted { color: #9a9c9e; }
.location-card a { color: var(--brand); font-weight: 500; word-break: break-word; }
.location-card__dir { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 600; font-size: .85rem; color: var(--brand); }
.location-card__dir:hover { color: var(--brand-dark); }
/* Location icons */
.li-ico { width: 16px; height: 16px; fill: var(--brand); flex: 0 0 auto; margin-top: 2px; }
.li-pin { width: 19px; height: 19px; fill: var(--brand); flex: 0 0 auto; }
.location-card__dir .li-ico { margin-top: 0; }

.locations__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
#map { width: 100%; height: 520px; background: var(--muted); }
.leaflet-popup-content { font-family: var(--font); margin: 14px 16px; }
.map-popup { display: flex; flex-direction: column; gap: 6px; font-size: .84rem; color: var(--text); line-height: 1.45; }
.map-popup > span, .map-popup > a { display: flex; align-items: flex-start; gap: 7px; }
.map-popup b { color: var(--brand); font-size: .98rem; }
.map-popup__addr { color: var(--heading); }
.map-popup a { color: var(--brand); }
.map-popup .li-ico { width: 15px; height: 15px; }
.map-directions { margin-top: 4px; color: var(--brand); font-weight: 600; align-items: center !important; }

/* ---------- Footer ---------- */
.footer { background: #1c1d1f; color: #b7bbbd; padding-top: 70px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.brand--footer .brand__text { color: #fff; }
.brand--footer .brand__text b { color: var(--accent); }
.brand__logo--white { height: 44px; width: auto; filter: brightness(0) invert(1); }
.footer__blurb { margin: 16px 0 20px; font-size: .92rem; }
.footer__social { display: flex; gap: 10px; }
.social {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff;
  display: grid; place-items: center; transition: background .25s, transform .25s;
}
.social:hover { background: var(--brand); transform: translateY(-3px); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
.footer__links li, .footer__contact li { margin-bottom: 10px; }
.footer__links a, .footer__contact a { font-size: .92rem; transition: color .2s, padding-left .2s; }
.footer__contact a { display: inline-flex; align-items: center; gap: 9px; }
.ico-wa { width: 18px; height: 18px; fill: #25D366; flex: 0 0 auto; }
.footer__contact a:hover .ico-wa { fill: #fff; }
.ico-ph { width: 17px; height: 17px; fill: var(--accent); flex: 0 0 auto; }
.footer__contact a:hover .ico-ph { fill: #fff; }
.footer__links a:hover { color: var(--accent); padding-left: 5px; }
.footer__contact a:hover { color: #fff; }
.footer__news-title { margin-top: 24px; }
.footer__news { display: flex; gap: 8px; }
.footer__news input {
  flex: 1; padding: 11px 14px; border-radius: 50px; border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06); color: #fff; font-family: inherit; font-size: .88rem;
}
.footer__news input::placeholder { color: rgba(255,255,255,.5); }
.footer__news .btn { padding: 11px 20px; }

.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: .85rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__credit a { color: var(--accent); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; bottom: 26px; right: 26px; z-index: 900; width: 50px; height: 50px; border-radius: 50%;
  background: var(--brand); color: #fff; border: none; cursor: pointer; font-size: 1.3rem; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .3s, visibility .3s, transform .3s, background .25s;
}
.to-top { display: none; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-dark); transform: translateY(-4px); }

/* ---------- Inline confirmations ---------- */
.form__success {
  display: flex; align-items: center; gap: 12px; background: rgba(0,152,72,.1);
  border: 1px solid var(--brand); color: var(--brand-dark); padding: 14px 18px;
  border-radius: var(--radius-sm); font-weight: 500; margin-bottom: 20px; font-size: .92rem;
  animation: fadeUp .4s var(--ease);
}
.form__success .icon { width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; flex: 0 0 auto; font-size: .8rem; }
.footer__news-done { color: var(--accent); font-weight: 500; font-size: .9rem; animation: fadeUp .4s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal--delay { transition-delay: .15s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__media { max-width: 560px; }
  .service-card { flex-basis: calc((100% - 26px) / 2); }
  .book__grid { grid-template-columns: 1fr; }
  .locations__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header__cta { display: none; }
  .hamburger { display: flex; }
  .nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 84vw);
    background: #fff; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 26px; padding: 40px; transform: translateX(100%); transition: transform .4s var(--ease);
    box-shadow: var(--shadow-lg); z-index: 1200;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 20px; }
  .nav__link { font-size: 1.15rem; color: var(--heading) !important; }
  .header:not(.is-scrolled) .nav__link { color: var(--heading); }
  .nav__cta { display: inline-flex; }
  .nav__close {
    display: block; position: absolute; top: 20px; right: 22px; background: none; border: none;
    font-size: 2rem; line-height: 1; color: var(--heading); cursor: pointer;
  }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .service-card { flex-basis: 100%; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .about__list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .book__form-wrap { padding: 26px; }
  .hero__arrow { display: none; }
  .about__badge { left: 0; }
}

/* ---------- Thank-you page ---------- */
.ty-body { min-height: 100vh; display: flex; flex-direction: column; }
.ty-header { background: #fff; box-shadow: var(--shadow-sm); }
.ty-header .header__cta { display: inline-flex; }
.thankyou {
  flex: 1; display: grid; place-items: center;
  padding: calc(var(--header-h-scrolled) + 50px) 0 60px;
  background: linear-gradient(180deg, var(--muted) 0%, #fff 100%);
}
.thankyou__card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  border-top: 5px solid var(--brand); padding: 60px 64px; max-width: 860px; width: 100%;
  margin: 0 auto; text-align: center; animation: fadeUp .5s var(--ease);
}
.thankyou__check { width: 96px; height: 96px; margin: 0 auto 22px; }
.thankyou__check svg { width: 100%; height: 100%; }
.thankyou__check circle { stroke: var(--brand); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; animation: tyCircle .6s var(--ease) forwards; }
.thankyou__check path { stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: tyCheck .35s var(--ease) .55s forwards; }
@keyframes tyCircle { to { stroke-dashoffset: 0; } }
@keyframes tyCheck { to { stroke-dashoffset: 0; } }
.thankyou__title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; }
.thankyou__text { font-size: 1.05rem; margin-bottom: 26px; }
.thankyou__summary {
  text-align: left; background: var(--muted); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px; margin-bottom: 30px;
}
.thankyou__summary h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); margin-bottom: 14px; }
.thankyou__summary ul { display: flex; flex-direction: column; gap: 10px; }
.thankyou__summary li { display: flex; justify-content: space-between; gap: 16px; font-size: .92rem; border-bottom: 1px dashed var(--border); padding-bottom: 10px; }
.thankyou__summary li:last-child { border-bottom: none; padding-bottom: 0; }
.thankyou__summary li span { color: var(--text); }
.thankyou__summary li strong { color: var(--heading); text-align: right; }
.thankyou__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn--ghost-dark { background: transparent; color: var(--heading); border-color: var(--border); backdrop-filter: none; }
.btn--ghost-dark:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.ty-footer { background: #1c1d1f; }
@media (max-width: 560px) {
  .thankyou__card { padding: 40px 24px; }
  .thankyou__actions .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
