/* ==========================================================================
   The Siargao Tennis Club
   Brand tokens are defined once here. Colours sampled from the official
   logo and story graphics (#003CA6).
   ========================================================================== */

/* Self hosted variable fonts, both SIL Open Font License. See assets/fonts/. */
@font-face {
  font-family: "Fraunces Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-wonk.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Figtree Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/figtree.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Colour */
  --blue: #003ca6;
  --blue-deep: #002a72;
  --blue-ink: #001b4d;
  --blue-soft: #e8eefb;
  --white: #ffffff;
  --paper: #f6f8fc;
  --line: #d9e2f2;
  --ball: #d7e64f;
  --error: #b3261e;

  /* Type */
  --display: "Fraunces Variable", "Iowan Old Style", Georgia, serif;
  --body: "Figtree Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Scale */
  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.34rem + 0.8vw, 2.05rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.1rem);
  --step-4: clamp(2.8rem, 1.8rem + 5vw, 6.2rem);

  /* Space */
  --gutter: clamp(1.15rem, 0.7rem + 2.2vw, 3.5rem);
  --section: clamp(3rem, 2rem + 4vw, 5.5rem);
  --radius: 6px;
  --header-h: 84px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--blue-ink);
  background: var(--white);
  overflow-x: hidden;
}

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

a { color: var(--blue); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 900;
  font-variation-settings: "WONK" 1;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0; }

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

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

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  translate: -50% -120%;
  z-index: 200;
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: translate 0.2s;
}
.skip-link:focus { translate: -50% 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  width: min(1360px, 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 1rem var(--gutter);
}

.brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--white);
  flex: 0 0 auto;
}

.brand__mark { width: 46px; height: 46px; }

.brand__text {
  font-family: var(--display);
  line-height: 0.98;
  display: grid;
}
.brand__the {
  font-size: 0.62rem;
  font-style: italic;
  font-weight: 500;
  opacity: 0.95;
}
.brand__name {
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.brand__club {
  font-size: 0.62rem;
  font-style: italic;
  font-weight: 500;
  opacity: 0.95;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.6rem);
}

.nav__link {
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav__link:hover { border-bottom-color: rgba(255, 255, 255, 0.55); }
.nav__link[aria-current="page"] { border-bottom-color: var(--white); }

.nav__cta {
  color: var(--white);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.6rem;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 3px;
  white-space: nowrap;
  transition: background-color 0.18s, color 0.18s;
}
.nav__cta:hover { background: var(--white); color: var(--blue); }

.nav-toggle {
  position: relative;
  z-index: 2;
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 3px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 4px auto;
  background: var(--white);
  transition: transform 0.22s, opacity 0.22s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--blue);
    padding: calc(var(--header-h) + 0.5rem) var(--gutter) 1.75rem;
    transform: translateY(-100%);
    transition: transform 0.28s ease;
    box-shadow: 0 20px 40px rgba(0, 27, 77, 0.25);
  }
  .nav.is-open { transform: translateY(0); }
  .nav__link {
    font-size: 1rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
  .nav__link[aria-current="page"] { border-bottom-color: var(--ball); }
  .nav__cta { margin-top: 1.25rem; text-align: center; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 62vh;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 27, 77, 0.55) 0%, rgba(0, 27, 77, 0.12) 34%, rgba(0, 27, 77, 0.06) 60%, rgba(0, 27, 77, 0.34) 100%),
    linear-gradient(90deg, rgba(0, 27, 77, 0.5) 0%, rgba(0, 27, 77, 0.08) 55%, rgba(0, 27, 77, 0) 100%);
}

.hero__body {
  align-self: center;
  padding-block: calc(var(--header-h) + 2rem) 3rem;
  color: var(--white);
}

.hero__title {
  font-size: var(--step-4);
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 27, 77, 0.3);
}

.hero__lede {
  margin-top: 1.1rem;
  max-width: 44ch;
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.45;
  text-shadow: 0 1px 12px rgba(0, 27, 77, 0.45);
}

.hero--home { min-height: min(92vh, 780px); }
.hero--home .hero__body { padding-bottom: 12rem; }

.hero--band { min-height: clamp(320px, 46vh, 460px); }
.hero--band .hero__title { font-size: var(--step-3); }

.hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  font-family: var(--body);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.1rem 2rem;
  border: 1.5px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}

.btn__arrow { flex: 0 0 auto; transition: transform 0.18s; }
.btn__pin { flex: 0 0 auto; width: 20px; height: 27px; margin-right: -0.2rem; }
.btn svg { flex: 0 0 auto; }

.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--light { background: var(--white); color: var(--blue); }
.btn--light:hover { background: var(--blue-soft); }

.btn--solid { background: var(--blue); color: var(--white); }
.btn--solid:hover { background: var(--blue-deep); }

.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: var(--white); }

.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.85); }
.btn--ghost-light:hover { background: var(--white); color: var(--blue); }

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

/* --------------------------------------------------------------------------
   Home info rail
   -------------------------------------------------------------------------- */

.rail {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  background: rgba(0, 60, 166, 0.93);
  color: var(--white);
}

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

.rail__item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.6rem clamp(0.9rem, 1.6vw, 1.9rem);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  text-decoration: none;
}
.rail__item:first-child { border-left: 0; }
a.rail__item:hover { background: rgba(255, 255, 255, 0.09); }

.rail__icon { flex: 0 0 auto; width: 52px; height: 40px; opacity: 0.95; }

.rail__title {
  display: block;
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.rail__text { display: block; font-size: 0.85rem; line-height: 1.45; opacity: 0.92; }

.rail__endcap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.rail__motto {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 900;
  font-style: italic;
  line-height: 1.12;
}
.rail__motto span {
  display: block;
  width: fit-content;
}
.rail__motto span:last-child {
  border-bottom: 3px solid var(--ball);
  padding-bottom: 2px;
}

.rail__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
  padding: 0.8rem 1.3rem;
  font-family: var(--body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--white);
  border-radius: 3px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s;
}
.rail__cta:hover { background: var(--blue-soft); }
.rail__cta .btn__arrow { transition: transform 0.18s; }
.rail__cta:hover .btn__arrow { transform: translateX(3px); }

@media (max-width: 640px) {
  .rail__endcap { gap: 0.7rem; }
  .rail__motto { font-size: 1.3rem; }
  .rail__cta { padding: 0.85rem 1.15rem; font-size: 0.76rem; gap: 0.5rem; }
}

@media (max-width: 1080px) {
  .rail { position: static; background: var(--blue); }
  .hero--home .hero__body { padding-bottom: 4rem; }
  .rail__grid { grid-template-columns: repeat(2, 1fr); }
  .rail__item:nth-child(odd) { border-left: 0; }
  .rail__item:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.22); }
}

@media (max-width: 620px) {
  /* Keep the court and chair in frame instead of cropping to sky */
  .hero--home { min-height: min(76vh, 620px); }
  .hero--home .hero__img { object-position: 64% 62%; }
  .hero--band { min-height: clamp(280px, 38vh, 360px); }
  .rail__grid { grid-template-columns: 1fr; }
  .rail__item { border-left: 0; }
  .rail__item + .rail__item { border-top: 1px solid rgba(255, 255, 255, 0.22); }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--tight { padding-block: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: clamp(1.6rem, 1rem + 2vw, 2.6rem);
}
.eyebrow img,
.eyebrow svg { width: 44px; height: 44px; flex: 0 0 auto; }

.section__title {
  font-size: var(--step-2);
  color: var(--blue);
  margin-bottom: 0.9rem;
}

.lede {
  max-width: 62ch;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--blue-ink);
}

/* Quick links on the home page */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
  margin-top: 2.4rem;
}

.card {
  display: block;
  padding: 1.9rem 1.7rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 27, 77, 0.09);
}
.card__title {
  display: block;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.card__text { display: block; font-size: 0.94rem; line-height: 1.5; }
.card__more {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.15rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.card__more svg { flex: 0 0 auto; transition: transform 0.18s; }
.card:hover .card__more svg { transform: translateX(4px); }

/* Closing call to action band */
.cta-band {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding-block: clamp(2.8rem, 2rem + 3vw, 4.2rem);
}
.cta-band h2 { font-size: var(--step-2); margin-bottom: 0.7rem; }
.cta-band p { opacity: 0.92; margin-bottom: 1.9rem; }

/* --------------------------------------------------------------------------
   Lessons
   -------------------------------------------------------------------------- */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: clamp(1.25rem, 1rem + 1.4vw, 2rem);
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem);
  border-radius: 10px;
  border: 1.5px solid var(--blue);
}
.plan--filled { background: var(--blue); color: var(--white); border-color: var(--blue); }
.plan--outline { background: var(--white); color: var(--blue-ink); }

.plan__icon { width: 84px; height: 58px; object-fit: contain; object-position: left center; }

/* icon left, book button pinned top right */
.plan__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.plan__name { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem); }
.plan__top .btn {
  flex: 0 0 auto;
  padding: 1rem 1.7rem;
  font-size: 0.84rem;
  gap: 0.75rem;
}
@media (max-width: 420px) {
  /* stack rather than squeeze the button on the narrowest phones */
  .plan__top { flex-wrap: wrap; gap: 1.2rem; }
  .plan__top .btn { width: 100%; }
}
.plan--filled .plan__name { color: var(--white); }
.plan--outline .plan__name { color: var(--blue); }

.plan__rule { height: 1px; margin: 1.1rem 0; background: currentColor; opacity: 0.35; }

.plan__price {
  font-family: var(--display);
  font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.5rem);
  font-weight: 900;
  line-height: 1;
}
.plan__unit {
  font-size: 0.92rem;
  font-weight: 700;
  margin-top: 0.45rem;
}

.plan__blurb { margin-top: 0.4rem; line-height: 1.6; }

.plan__listtitle {
  font-family: var(--display);
  font-size: 1.06rem;
  font-weight: 900;
  margin: 1.7rem 0 0.9rem;
}

.plan__list { display: grid; gap: 0.7rem; }
.plan__list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.96rem;
  line-height: 1.45;
}
.plan__check { width: 22px; height: 22px; margin-top: 1px; }
.plan--filled .plan__check { color: var(--ball); }
.plan--outline .plan__check { color: var(--blue); }

.plan__cta { margin-top: auto; padding-top: 1.6rem; }

/* --------------------------------------------------------------------------
   Rates
   -------------------------------------------------------------------------- */

.rates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  text-align: center;
}

.rate { padding: 0.5rem clamp(0.8rem, 2vw, 2.2rem); border-left: 1px solid var(--line); }
.rate:first-child { border-left: 0; }

.rate__icon { width: 74px; height: 56px; margin: 0 auto 1.2rem; object-fit: contain; color: var(--blue); }

.rate__name {
  font-family: var(--display);
  font-size: 1.06rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.1rem;
}

.rate__figure {
  font-family: var(--display);
  font-size: clamp(2.1rem, 1.6rem + 2vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  color: var(--blue);
}
.rate__unit { font-size: 0.95rem; margin-top: 0.5rem; }

.rate__split { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.rate__split > div { padding-inline: 0.4rem; }
.rate__split > div + div { border-left: 1px solid var(--line); }
.rate__label { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.35rem; }
.rate__split .rate__figure { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); }

.rates__cta { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); display: flex; justify-content: center; }

@media (max-width: 780px) {
  .rates { grid-template-columns: 1fr; gap: 2.4rem; }
  .rate { border-left: 0; }
  .rate + .rate { border-top: 1px solid var(--line); padding-top: 2.2rem; }
}

/* --------------------------------------------------------------------------
   Location
   -------------------------------------------------------------------------- */

.location {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.8rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}

.location__mapwrap { position: relative; }
.location__map { width: 100%; height: auto; }

/* Hotspot sitting exactly over the pin and wordmark in the illustration */
.location__pin {
  position: absolute;
  left: 36.7%;
  top: 22.7%;
  width: 32.8%;
  height: 19.7%;
  border-radius: 8px;
  transition: background-color 0.18s;
}
.location__pin:hover { background: rgba(0, 60, 166, 0.12); }
.location__pin:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.location__label {
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.6rem;
}

.location__address {
  font-family: var(--display);
  font-size: clamp(1.3rem, 1rem + 1.2vw, 1.85rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--blue);
  margin-bottom: 1.6rem;
  font-style: normal;
}

.location__landmarks-title {
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 2rem 0 1rem;
}

.landmarks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  gap: 0.7rem 1.6rem;
  margin-bottom: 2rem;
}
.landmarks li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.95rem; }
.landmarks b {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 25px; height: 25px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--body);
  font-size: 0.76rem;
  font-weight: 700;
}

@media (max-width: 860px) {
  .location { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .landmarks { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
}

/* --------------------------------------------------------------------------
   Booking form
   -------------------------------------------------------------------------- */

.booking {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}

.field { min-width: 0; margin-bottom: 1.3rem; }

.field > label,
.fieldset__legend {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.45rem;
}

.field__hint { font-size: 0.82rem; font-weight: 400; color: #4a5c7d; }

.input,
select.input,
textarea.input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--blue-ink);
  background: var(--white);
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--blue);
  border-radius: 5px;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.input::placeholder { color: #8798b7; }
.input:hover { border-color: var(--blue-deep); }
.input:focus-visible { outline: none; border-color: var(--blue-deep); box-shadow: 0 0 0 3px rgba(0, 60, 166, 0.22); }

textarea.input { min-height: 104px; resize: vertical; }

select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003ca6' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 20px;
  padding-right: 2.8rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 1.3rem;
  min-width: 0;
}

fieldset { min-width: 0; margin: 0 0 1.3rem; padding: 0; border: 0; }

.choice { display: flex; gap: 0.6rem; }

.choice label {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #64748b;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 5px;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.choice svg { width: 17px; height: 17px; flex: 0 0 auto; opacity: 0.6; }
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.choice label:hover { border-color: var(--blue); color: var(--blue); }
.choice label:has(input:checked) {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  font-weight: 700;
  box-shadow: none;
}
.choice label:has(input:checked) svg { opacity: 1; }
.choice label:has(input:focus-visible) { outline: 3px solid var(--ball); outline-offset: 2px; }

.error-text {
  display: none;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--error);
}
.field.has-error .error-text,
fieldset.has-error .error-text { display: block; }
.field.has-error .input { border-color: var(--error); }

/* Direct contact panel */
.contact__title {
  font-family: var(--display);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 0.9rem;
}
.contact__rule { width: 120px; height: 2px; background: var(--line); margin-bottom: 1.7rem; }

.contact__list { display: grid; gap: 1.35rem; }
.contact__row { display: flex; align-items: center; gap: 1rem; }
.contact__icon { flex: 0 0 auto; width: 42px; height: 42px; color: var(--blue); }
.contact__label { font-size: 0.86rem; color: #4a5c7d; }
.contact__value {
  display: inline-block;
  padding-block: 0.4rem;
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.15rem);
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact__value:hover { text-decoration: underline; }

.note {
  margin-top: 2rem;
  padding: 1.15rem 1.25rem;
  background: var(--blue-soft);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Form status */
.status { margin-top: 1.5rem; }
.status:empty { margin-top: 0; }

.status__panel {
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--blue);
  background: var(--blue-soft);
}
.status__panel h3 { font-size: 1.2rem; color: var(--blue); margin-bottom: 0.5rem; }
.status__panel p { font-size: 0.95rem; line-height: 1.55; }
.status__panel--error { border-color: var(--error); background: #fdeceb; }
.status__panel--error h3 { color: var(--error); }

.status__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }
.status__actions .btn { padding: 0.85rem 1.3rem; font-size: 0.78rem; }

.summary {
  margin-top: 1.2rem;
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.84rem;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.btn[aria-busy="true"] { opacity: 0.75; pointer-events: none; }

@media (max-width: 900px) {
  .booking { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { background: var(--blue); color: var(--white); }

.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-block: 1.15rem;
}

.site-footer__tag { display: flex; align-items: center; gap: 0.85rem; font-size: 0.95rem; }
.site-footer__ball { width: 30px; height: 30px; flex: 0 0 auto; }

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.6rem;
}
.site-footer__ig {
  padding-block: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
}
.site-footer__ig:hover { text-decoration: underline; }
.site-footer__ig svg { width: 24px; height: 24px; }

.site-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-block: 1rem;
  font-size: 0.8rem;
  opacity: 0.85;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}
.site-footer__legal a { display: inline-block; padding-block: 0.45rem; color: var(--white); }

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
