/* ==========================================================================
   Master's Driving School: main stylesheet
   ========================================================================== */

/* Fonts (self-hosted) ---------------------------------------------------- */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-700.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/poppins-800.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/nunito-sans-300.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/nunito-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/nunito-sans-600.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/nunito-sans-700.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/nunito-sans-800.woff2') format('woff2'); }

/* Tokens ----------------------------------------------------------------- */
:root {
  /* Brand */
  --red:            #D60D1D;
  --red-hover:      #B80A18;
  --red-glow:       0 10px 25px -6px rgba(214, 13, 29, 0.45);
  --navy:           #131E3C;
  --navy-heading:   #111A36;
  --maroon:         #8E1B2A;
  --whatsapp:       #25D366;
  --whatsapp-hover: #1EBE5A;

  /* Neutrals */
  --white:          #FFFFFF;
  --bg-soft:        #F4F5F8;
  --text:           #3F4656;
  --text-muted:     #6B7280;
  --border:         #E6E8EE;
  --pink-tint:      #FDE7E9;
  --pink-ring:      #FBD5D9;
  --placeholder:    #9AA1AE;
  --success:        #15803D;

  /* Type */
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body:    'Nunito Sans', system-ui, sans-serif;

  /* Radius */
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-2xl: 20px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-card:  0 1px 2px rgba(17, 26, 54, 0.04);
  --shadow-hover: 0 20px 40px -12px rgba(17, 26, 54, 0.18);
  --shadow-form:  0 25px 50px -12px rgba(0, 0, 0, 0.35);

  /* Layout */
  --container: 1152px;
  --gutter: 24px;
  --section-y: 96px;
  --header-h: 100px;
}

/* Reset / base ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--r-md); font-weight: 700;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section[id], [id="top"] { scroll-margin-top: 90px; }

/* Shared: sections + headings ------------------------------------------- */
.section { padding-block: var(--section-y); background: var(--white); }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); }

.section-head { text-align: center; max-width: 900px; margin: 0 auto 56px; }
.section-head--wide { max-width: 900px; }
.section-title__line { display: block; }
.section-head--left { text-align: left; margin-left: 0; margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  line-height: 1.4;
}
.section-title {
  margin-top: 12px;
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy-heading);
}
.section-sub {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
}
.section-head--dark .section-title { color: var(--white); }
.section-head--dark .section-sub { color: rgba(255, 255, 255, 0.8); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  padding: 14px 28px;
  border-radius: var(--r-md);
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
  transition: background-color 200ms, color 200ms, border-color 200ms, transform 200ms, box-shadow 200ms;
}
.btn svg { flex: none; }
.btn--red { background: var(--red); color: var(--white); box-shadow: var(--red-glow); }
.btn--red:hover { background: var(--red-hover); transform: translateY(-1px); }
.btn--outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline-white:hover { background: rgba(255, 255, 255, 0.1); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--border); }
.btn--outline:hover { border-color: var(--red); color: var(--red); }
.btn--green { background: var(--whatsapp); color: var(--white); }
.btn--green:hover { background: var(--whatsapp-hover); }
.btn--white-pill {
  background: var(--white); color: var(--navy);
  font-size: 15px; font-weight: 700;
  padding: 8px 18px; border-radius: var(--r-md); border: 0;
}
.btn--white-pill:hover { background: #f1f2f5; }
.btn--block { display: flex; width: 100%; padding: 16px; }
.btn--lg { padding: 18px 32px; font-size: 16px; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--red); font-size: 16px; font-weight: 800;
}
.text-link__arrow { display: inline-block; transition: transform 200ms; }
.text-link:hover .text-link__arrow { transform: translateX(4px); }

/* Chips, cards, tiles, stars -------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: var(--pink-tint); color: var(--red);
  font-size: 12px; font-weight: 600; line-height: 1.4;
  padding: 5px 10px; border-radius: var(--r-sm);
}

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 250ms, transform 250ms;
}
.card:not(.card--static):hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.card__title {
  font-family: var(--font-heading);
  font-size: 20px; line-height: 1.3; font-weight: 700;
  color: var(--navy-heading);
}
.card__text { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--text-muted); }

.icon-tile, .why-tile {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; flex: none;
}
.icon-tile { width: 52px; height: 52px; background: var(--navy); color: var(--white); }
.icon-tile--red { background: var(--red); }
.icon-tile--maroon { background: var(--maroon); }
.why-tile { width: 56px; height: 56px; background: var(--pink-tint); color: var(--red); }

.stars { display: inline-flex; gap: 2px; color: var(--red); }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 200ms;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px -8px rgba(17, 26, 54, 0.18); }
.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.logo__stack { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--font-heading); font-weight: 800; font-size: 28px;
  letter-spacing: -0.01em; color: var(--navy-heading); line-height: 1.05;
}
.logo__sub {
  margin-top: 4px;
  font-family: var(--font-body); font-weight: 800; font-size: 11px;
  letter-spacing: 0.32em; color: var(--red);
}
.logo__l {
  width: 40px; height: 40px; border-radius: 6px;
  background: var(--red); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 22px; line-height: 1;
}
.logo--light .logo__name { color: var(--white); }

.nav__list { display: flex; gap: 32px; }
.nav__link {
  font-size: 15px; font-weight: 500; color: var(--navy);
  transition: color 200ms; padding-block: 6px;
}
.nav__link:hover, .nav__link.is-active { color: var(--red); }

.site-header__actions { display: flex; align-items: center; gap: 20px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--navy); font-size: 16px; font-weight: 800;
}
.header-phone svg { color: var(--red); }
.header-phone:hover .header-phone__text { color: var(--red); }
.btn--header { padding: 12px 24px; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--r-md);
  align-items: center; justify-content: center; color: var(--navy);
}
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--border);
  box-shadow: 0 20px 30px -15px rgba(17, 26, 54, 0.25);
  padding-block: 12px 24px;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.mobile-menu__list a {
  display: block; padding: 14px 0; font-size: 18px; font-weight: 600; color: var(--navy);
  border-bottom: 1px solid var(--border);
}
.mobile-menu__list a:hover { color: var(--red); }
.mobile-menu__phone {
  display: flex; align-items: center; gap: 10px; margin: 20px 0;
  font-size: 18px; font-weight: 800; color: var(--navy);
}
.mobile-menu__phone svg { color: var(--red); }

/* Announcement bar ------------------------------------------------------- */
.announce { background: var(--red); color: var(--white); overflow: hidden; transition: max-height 200ms ease, opacity 200ms ease; max-height: 200px; }
.announce.is-closing { max-height: 0; opacity: 0; }
.announce__inner {
  min-height: 76px; position: relative;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding-block: 12px; padding-right: 56px;
}
.announce__text { font-size: 18px; font-weight: 700; line-height: 1.4; }
.announce__emoji { font-size: 20px; }
.announce__close {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  color: var(--white); width: 36px; height: 36px; border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
}
.announce__close:hover { background: rgba(255, 255, 255, 0.15); }

/* Trust bar -------------------------------------------------------------- */
.trust { background: var(--navy); color: var(--white); }
.trust__list {
  min-height: 56px; padding: 10px var(--gutter);
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 40px;
}
.trust__item { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; white-space: nowrap; }
.trust__item svg { color: var(--red); }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 720px;
  display: flex; align-items: stretch;
  color: var(--white);
  background-color: var(--navy);
  background-image:
    linear-gradient(90deg, rgba(19, 30, 60, 0.92) 0%, rgba(60, 15, 25, 0.75) 45%, rgba(19, 30, 60, 0.35) 100%),
    var(--hero-img, linear-gradient(120deg, #1d2a52 0%, #4a1320 100%));
  background-size: cover;
  background-position: center;
}
.hero__grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px;
  align-items: center;
  padding-block: 120px 96px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 8px; border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 14px; font-weight: 800; letter-spacing: 0.12em; line-height: 1;
}
.hero__badge-l {
  width: 26px; height: 26px; border-radius: 5px; background: var(--red);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 13px; letter-spacing: 0;
}
.hero__title {
  margin-top: 28px;
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(48px, 7vw, 80px); line-height: 1.02; letter-spacing: -0.03em;
}
.hero__line { display: block; }
.hero__line--red { color: var(--red); }
.hero__sub {
  margin-top: 28px; max-width: 640px;
  font-size: 20px; line-height: 1.5; font-weight: 300; color: rgba(255, 255, 255, 0.85);
}
.hero__sub strong { font-weight: 800; color: var(--white); }
.hero__buttons { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 20px; max-width: 640px; }
.hero__buttons .btn--red { padding: 20px 36px; font-size: 17px; }
.hero__rating { margin-top: 28px; display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(255, 255, 255, 0.8); }

.offer-card {
  align-self: end; justify-self: end;
  width: 100%; max-width: 520px;
  padding: 40px; border-radius: var(--r-2xl);
  background: rgba(255, 255, 255, 0.10);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.offer-card__l {
  width: 120px; height: 120px; border-radius: 4px; background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 72px; line-height: 1;
}
.offer-card__body { margin-top: 40px; text-align: center; }
.offer-card__title { font-family: var(--font-heading); font-weight: 800; font-size: 30px; line-height: 1.2; }
.offer-card__sub { margin-top: 6px; font-size: 18px; color: rgba(255, 255, 255, 0.75); }
.offer-card__price {
  margin: 12px 0 24px;
  font-family: var(--font-heading); font-weight: 800; font-size: 72px; line-height: 1; color: var(--red);
}

/* Why choose us ---------------------------------------------------------- */
.why-card { padding: 30px; }
.why-card .card__title { margin-top: 24px; }

/* Services --------------------------------------------------------------- */
.service-card { padding: 30px; display: flex; flex-direction: column; align-items: flex-start; }
.service-card .card__title { margin-top: 24px; }
.service-card .chips { margin-top: 18px; }
.service-card .text-link { margin-top: auto; padding-top: 24px; }

/* Pricing ---------------------------------------------------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: center; }
.price-card {
  position: relative;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 40px; box-shadow: var(--shadow-card);
}
.price-card__eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; color: var(--red); }
.price-card__title {
  margin-top: 8px; font-family: var(--font-heading); font-size: 22px; font-weight: 700;
  line-height: 1.3; color: var(--navy-heading);
}
.price-card__price { margin-top: 16px; display: flex; align-items: baseline; gap: 8px; }
.price-card__figure { font-family: var(--font-heading); font-weight: 800; font-size: 48px; line-height: 1; color: var(--navy-heading); }
.price-card__suffix { font-size: 16px; color: var(--text-muted); }
.price-card__list { margin: 28px 0 32px; display: grid; gap: 16px; }
.price-card__list li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.4; }
.price-card__list li::before {
  content: ''; position: absolute; left: 0; top: 0.5em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
}
.price-card--featured {
  background: var(--navy); color: var(--white);
  border-color: rgba(214, 13, 29, 0.6);
  padding-block: 48px; box-shadow: var(--shadow-hover);
}
.price-card--featured .price-card__title,
.price-card--featured .price-card__figure { color: var(--white); }
.price-card--featured .price-card__suffix,
.price-card--featured .price-card__list li { color: rgba(255, 255, 255, 0.8); }
.price-card__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: var(--white);
  font-size: 13px; font-weight: 800; letter-spacing: 0.12em; line-height: 1.2;
  padding: 6px 16px; border-radius: var(--r-full); white-space: nowrap;
}
.pricing-note { margin-top: 40px; text-align: center; font-size: 14px; color: var(--text-muted); }

/* Instructors carousel --------------------------------------------------- */
.carousel {
  position: relative;
  max-width: calc(1180px + 2 * 64px);
  margin-inline: auto;
  padding-inline: 64px;
}
.carousel__viewport { overflow: hidden; touch-action: pan-y; }
.carousel__track {
  --per-view: 2;
  display: flex; gap: 20px;
  transition: transform 400ms ease;
  will-change: transform;
}
.carousel__slide { flex: 0 0 calc((100% - (var(--per-view) - 1) * 20px) / var(--per-view)); min-width: 0; }
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--border); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 200ms, color 200ms, opacity 200ms;
}
.carousel__btn:hover { border-color: var(--red); color: var(--red); }
.carousel__btn:disabled { opacity: 0.4; cursor: default; }
.carousel__btn:disabled:hover { border-color: var(--border); color: var(--navy); }
.carousel__btn--prev { left: 12px; }
.carousel__btn--next { right: 12px; }

.instructor {
  height: 100%; min-height: 316px;
  background: var(--white); border-radius: var(--r-xl); padding: 26px;
  display: flex; gap: 22px; align-items: center;
  border: 1px solid var(--border); box-shadow: var(--shadow-card);
}
.instructor__avatar {
  flex: none; width: 150px; height: 150px; border-radius: 50%;
  background: #EEF1F6; box-shadow: 0 0 0 4px var(--pink-ring);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.instructor__avatar svg { margin-top: 18px; width: 96px; height: 96px; }
.instructor__avatar img { width: 100%; height: 100%; object-fit: cover; }
.instructor__body { min-width: 0; }
.instructor__name {
  font-family: var(--font-heading); font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--navy-heading);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
}
.instructor__badge {
  font-family: var(--font-body); background: var(--navy); color: var(--white);
  font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px; line-height: 1.4;
}
.instructor__rating { margin-top: 8px; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); }
.instructor__text { margin: 12px 0 16px; font-size: 16px; line-height: 1.6; color: var(--text-muted); }

/* Coverage --------------------------------------------------------------- */
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; margin-inline: auto; }
.pill {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-full);
  padding: 10px 20px; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--navy);
  transition: border-color 200ms, color 200ms;
}
.pill:hover { border-color: var(--red); color: var(--red); }
.coverage-note { margin-top: 48px; text-align: center; font-size: 16px; color: var(--text-muted); }
.coverage-note a { color: var(--red); font-weight: 800; }

/* Gallery ---------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.gallery__item { aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden; background: #e3e6ed; }
.gallery__open { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #dfe3eb, #c9cfdb); color: var(--text-muted); font-size: 14px; font-weight: 600;
}
.lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(10, 15, 30, 0.9);
  display: flex; align-items: center; justify-content: center; padding: 40px;
}
.lightbox__img { max-width: min(1000px, 100%); max-height: 85vh; border-radius: var(--r-lg); object-fit: contain; }
.lightbox__close {
  position: absolute; top: 20px; right: 20px; color: var(--white);
  width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.12); }

/* Forms ------------------------------------------------------------------ */
.form-card {
  background: var(--white); border-radius: var(--r-2xl);
}
.form-card--booking { max-width: 1120px; margin-inline: auto; padding: 56px 50px; box-shadow: var(--shadow-form); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { margin-bottom: 10px; font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.field input, .field select, .field textarea {
  width: 100%; height: 50px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 0 16px; font-size: 15px; color: var(--navy-heading);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 150ms, box-shadow 150ms;
  -webkit-appearance: none; appearance: none;
}
.field textarea { height: auto; padding: 14px 16px; resize: vertical; line-height: 1.5; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 2px rgba(214, 13, 29, 0.35);
}
.field input[type="date"] { color: var(--navy-heading); }
.field input[type="date"]:invalid:not(:focus) { color: var(--placeholder); }
.field input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0.55; cursor: pointer; }
.select { position: relative; }
.select select { padding-right: 44px; cursor: pointer; }
.select select:invalid, .select select.is-placeholder { color: var(--placeholder); }
.select option { color: var(--navy-heading); }
.select svg { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.field [aria-invalid="true"] { border-color: var(--red); }
.field__error { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--red); }
.form-alert {
  margin-bottom: 24px; padding: 12px 16px; border-radius: var(--r-md);
  background: var(--pink-tint); color: var(--red); font-weight: 700; font-size: 14px;
}
.form-success {
  display: flex; align-items: center; gap: 14px;
  padding: 24px; border-radius: var(--r-lg);
  background: #ECFDF3; border: 1px solid #A7F3C4; color: var(--success);
  font-size: 17px; font-weight: 700; line-height: 1.5;
}
.form-success svg { flex: none; }
.form-success:focus { outline: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.booking-form__footer { margin-top: 36px; display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.btn--submit { padding: 18px 40px; font-size: 17px; }
.wa-link { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; color: var(--navy); }
.wa-link svg { color: var(--whatsapp); }
.wa-link:hover { color: var(--red); }

/* About ------------------------------------------------------------------ */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about .section-title__line { white-space: nowrap; }
.about__text p:not(.eyebrow):not(.section-sub) { margin-top: 20px; font-size: 17px; line-height: 1.75; color: var(--text-muted); }
.about__text .section-head + p { margin-top: 24px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.stat {
  background: var(--navy); border-radius: var(--r-xl); padding: 36px 24px;
  text-align: center; box-shadow: var(--shadow-hover);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.stat__value { font-family: var(--font-heading); font-weight: 800; font-size: 36px; line-height: 1.1; color: var(--white); }
.stat__label {
  margin-top: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

/* Reviews ---------------------------------------------------------------- */
.reviews-grid { gap: 22px; }
.review {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 36px;
  display: flex; flex-direction: column;
}
.review__quote { color: var(--red); }
.review__text { margin-top: 20px; font-size: 17px; line-height: 1.75; color: var(--text); flex: 1; }
.review .stars { margin-top: 20px; }
.review__name { margin-top: 14px; font-size: 18px; font-weight: 800; color: var(--navy); }

/* Blog ------------------------------------------------------------------- */
.blog-card { padding: 30px; display: flex; flex-direction: column; align-items: flex-start; }
.blog-card__emoji { font-size: 44px; line-height: 1; }
.blog-card__title {
  margin-top: 18px; font-family: var(--font-heading); font-size: 22px; line-height: 1.3; font-weight: 700;
  color: var(--navy-heading);
}
.blog-card__title a:hover { color: var(--red); }
.blog-card__excerpt { margin-top: 12px; font-size: 16px; color: var(--text-muted); }
.blog-card .text-link { margin-top: auto; padding-top: 24px; }

/* FAQ -------------------------------------------------------------------- */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 50px; max-width: 1280px; margin-inline: auto; align-items: start; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q { margin: 0; }
.faq__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; text-align: left;
  font-family: var(--font-heading); font-weight: 500; font-size: 15px; line-height: 1.4; color: var(--navy);
}
.faq__btn:hover { color: var(--red); }
.faq__btn svg { flex: none; color: var(--text-muted); transition: transform 250ms; }
.faq__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq__panel { overflow: hidden; transition: height 250ms ease; }
.faq__panel p { padding-bottom: 22px; font-size: 15px; line-height: 1.7; color: var(--text-muted); }

/* Contact ---------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px; align-items: start; }
.contact__buttons { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact__buttons .btn { height: 60px; font-size: 16px; }
.info-card {
  margin-top: 30px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 28px; box-shadow: var(--shadow-card);
}
ul.info-card { display: grid; gap: 16px; }
ul.info-card li { display: flex; align-items: center; gap: 14px; font-size: 17px; color: var(--text); min-width: 0; }
ul.info-card li svg { flex: none; color: var(--red); }
ul.info-card a { overflow-wrap: break-word; min-width: 0; }
ul.info-card a:hover { color: var(--red); }
.info-card__phone { font-weight: 800; color: var(--navy); }
.hours-card__title { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--navy-heading); margin-bottom: 10px; }
.hours-card p { font-size: 17px; color: var(--text-muted); line-height: 1.8; }
.form-card--contact { border: 1px solid var(--border); padding: 40px; box-shadow: var(--shadow-card); }
.contact-form { display: grid; gap: 22px; }
.btn--send { height: 60px; font-size: 18px; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--navy); color: var(--white); padding-top: 72px; }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; }
.site-footer__desc { margin-top: 26px; max-width: 300px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.8); }
.site-footer__badge { margin-top: 26px; font-size: 14px; font-weight: 800; letter-spacing: 0.12em; color: var(--red); }
.site-footer__heading { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 22px; line-height: 1.3; }
.site-footer__col ul { display: grid; gap: 14px; }
.site-footer__col a { font-size: 17px; color: rgba(255, 255, 255, 0.8); transition: color 200ms; line-height: 1.4; }
.site-footer__col a:hover { color: var(--white); }
.site-footer__contact a { display: inline-flex; align-items: center; gap: 12px; overflow-wrap: break-word; min-width: 0; }
.site-footer__contact a span { min-width: 0; }
.site-footer__contact svg { flex: none; color: var(--red); }
.site-footer__bottom { margin-top: 60px; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: 36px; text-align: center; font-size: 15px; color: rgba(255, 255, 255, 0.7); }

/* Floating buttons ------------------------------------------------------- */
.float-wa {
  position: fixed; left: 28px; bottom: 28px; z-index: 60;
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--whatsapp); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: transform 200ms, background-color 200ms;
}
.float-wa:hover { transform: scale(1.06); background: var(--whatsapp-hover); }
.to-top {
  position: fixed; right: 28px; bottom: 28px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 25px rgba(19, 30, 60, 0.3);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 250ms, visibility 250ms, transform 250ms;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); }

/* Inner pages: single post, page, archive, 404 -------------------------- */
.article__inner { max-width: calc(760px + var(--gutter) * 2); }
.article__header { margin-bottom: 40px; }
.article__title {
  margin-top: 12px; font-family: var(--font-heading); font-weight: 800; font-size: clamp(34px, 5vw, 48px);
  line-height: 1.1; letter-spacing: -0.02em; color: var(--navy-heading);
}
.article__date { margin-top: 14px; font-size: 15px; color: var(--text-muted); }
.entry-content { font-size: 17px; line-height: 1.75; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3 {
  margin-top: 1.8em; font-family: var(--font-heading); font-weight: 700; color: var(--navy-heading); line-height: 1.3;
}
.entry-content h2 { font-size: 26px; }
.entry-content h3 { font-size: 21px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: var(--r-lg); }
.article-cta {
  margin-top: 56px; padding: 36px; border-radius: var(--r-xl); background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.article-cta__text { font-family: var(--font-heading); font-weight: 700; font-size: 22px; line-height: 1.3; }
.pagination { margin-top: 48px; text-align: center; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers { padding: 8px 14px; border-radius: var(--r-md); border: 1px solid var(--border); font-weight: 700; }
.pagination .page-numbers.current { background: var(--red); border-color: var(--red); color: var(--white); }
.page-404__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* 1024 – 1279 */
@media (max-width: 1279px) {
  :root { --gutter: 32px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav__list { gap: 24px; }
}

/* Below 1024: hamburger nav */
@media (max-width: 1023px) {
  :root { --section-y: 64px; --header-h: 72px; }
  .nav, .header-phone__text, .btn--header { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__actions { gap: 4px; }
  .header-phone { width: 44px; height: 44px; justify-content: center; border-radius: var(--r-md); }
  .logo__name { font-size: 24px; }
  .logo__sub { font-size: 10px; letter-spacing: 0.28em; }
  .logo__l { width: 36px; height: 36px; font-size: 20px; }

  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; padding-block: 80px 64px; gap: 48px; }
  .offer-card { justify-self: stretch; max-width: none; }
  .offer-card__l { width: 96px; height: 96px; font-size: 58px; }

  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; gap: 40px; }
  .price-card--featured { order: -1; }
  .carousel__track { --per-view: 1; }
  .carousel { max-width: 760px; }
  .about { grid-template-columns: 1fr; gap: 48px; }
  .about .section-title__line { white-space: normal; }
  .faq { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Below 768 */
@media (max-width: 767px) {
  :root { --gutter: 16px; --section-y: 56px; }
  .section-head { margin-bottom: 40px; }

  .announce__inner { flex-direction: column; gap: 10px; text-align: center; padding: 14px 48px; }
  .announce__text { font-size: 14px; }
  .announce__close { right: 8px; }

  .trust__list {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 28px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .trust__list::-webkit-scrollbar { display: none; }
  .trust__item { font-size: 15px; }

  .hero__grid { padding-block: 56px 48px; }
  .hero__sub { font-size: 18px; }
  .hero__buttons { gap: 14px; }
  .hero__buttons .btn { width: 100%; }
  .hero__rating { flex-wrap: wrap; }
  .offer-card { padding: 28px; }
  .offer-card__body { margin-top: 28px; }
  .offer-card__price { font-size: 60px; }

  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .price-card { padding: 32px 24px; }
  .price-card--featured { padding-block: 40px; }

  .carousel { padding-inline: 0; }
  .carousel__viewport { padding-inline: var(--gutter); }
  .carousel__btn { top: auto; bottom: -56px; transform: none; }
  .carousel__btn--prev { left: calc(50% - 50px); }
  .carousel__btn--next { right: calc(50% - 50px); }
  #instructors { padding-bottom: calc(var(--section-y) + 56px); }
  .instructor { flex-direction: column; text-align: center; min-height: 0; }
  .instructor__name, .instructor__rating, .instructor .chips { justify-content: center; }

  .form-card--booking { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .booking-form__footer .btn { width: 100%; }
  .form-card--contact { padding: 28px 20px; }
  .contact__buttons .btn { height: 56px; padding-inline: 12px; }

  .stat { padding: 28px 16px; }
  .stat__value { font-size: 30px; }
  .review { padding: 28px; }
  .pill { font-size: 15px; padding: 9px 16px; }

  .site-footer__grid { grid-template-columns: 1fr; }
  .float-wa { width: 56px; height: 56px; left: 16px; bottom: 16px; }
  .float-wa svg { width: 26px; height: 26px; }
  .to-top { width: 48px; height: 48px; right: 16px; bottom: 16px; }
  .article-cta { padding: 28px 20px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .card:hover, .btn:hover, .float-wa:hover, .gallery__item:hover img { transform: none !important; }
}
