:root {
  --navy: #0c2230;
  --navy-2: #143647;
  --cream: #f7f4ea;
  --white: #ffffff;
  --lime: #d9f452;
  --green: #1f765d;
  --green-dark: #155743;
  --text: #17242c;
  --muted: #68757c;
  --line: rgba(12, 34, 48, 0.13);
  --shadow: 0 22px 60px rgba(12, 34, 48, 0.14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

img { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 234, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(12, 34, 48, .06);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--lime);
  font-weight: 800;
  letter-spacing: -.05em;
}

.brand strong, .brand small { display: block; }
.brand strong { font-size: .98rem; }
.brand small { color: var(--muted); font-size: .73rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: .94rem;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(31, 118, 93, .22);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--green-dark);
  box-shadow: 0 14px 30px rgba(31, 118, 93, .28);
}

.button-small { min-height: 42px; padding-inline: 18px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 98px 0 88px;
  background:
    radial-gradient(circle at 80% 20%, rgba(217, 244, 82, .2), transparent 28%),
    linear-gradient(180deg, #fbfaf4 0%, var(--cream) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow.light { color: var(--lime); }

h1, h2, h3 {
  margin-top: 0;
  line-height: 1.08;
}

h1, h2 {
  font-family: "Playfair Display", serif;
  letter-spacing: -.035em;
}

h1 {
  max-width: 730px;
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 7vw, 6.5rem);
  color: var(--navy);
}

h2 { font-size: clamp(2.25rem, 4.5vw, 4.2rem); }
h3 { font-size: 1.35rem; }

.hero-lead {
  max-width: 650px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 1.17rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.text-link {
  text-decoration: none;
  font-weight: 700;
}
.text-link span { margin-left: 6px; }

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-highlights span {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.48);
  font-size: .85rem;
}

.hero-visual { min-height: 540px; display: grid; place-items: center; }

.court-card {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 14px solid var(--white);
  border-radius: 36px;
  background: var(--green);
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}

.court-lines {
  position: absolute;
  inset: 8%;
  border: 3px solid rgba(255,255,255,.9);
}

.court-lines::before,
.court-lines::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,.9);
}
.court-lines::before { left: 50%; top: 0; bottom: 0; width: 3px; }
.court-lines::after { left: 0; right: 0; top: 50%; height: 3px; }

.racket {
  position: absolute;
  width: 114px;
  height: 160px;
  border: 10px solid var(--navy);
  border-radius: 50%;
}
.racket::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -93px;
  width: 14px;
  height: 96px;
  border-radius: 12px;
  background: var(--navy);
  transform: translateX(-50%);
}
.racket::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: repeating-linear-gradient(90deg, transparent 0 10px, rgba(255,255,255,.8) 10px 12px),
              repeating-linear-gradient(0deg, transparent 0 10px, rgba(255,255,255,.8) 10px 12px);
}
.racket-one { left: 70px; bottom: 145px; transform: rotate(-35deg); }
.racket-two { right: 58px; top: 84px; transform: rotate(35deg) scale(.82); }

.tennis-ball {
  position: absolute;
  right: 48px;
  bottom: 82px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: inset -10px -12px 22px rgba(0,0,0,.12), 0 14px 22px rgba(0,0,0,.18);
}
.tennis-ball::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 4px solid transparent;
  border-left-color: rgba(255,255,255,.88);
  border-right-color: rgba(255,255,255,.88);
  border-radius: 50%;
  transform: rotate(23deg);
}

.visual-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.visual-caption span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255,255,255,.9);
  font-size: .74rem;
  font-weight: 700;
}

.hero-ball {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lime);
  opacity: .9;
}
.ball-one { left: 5%; top: 23%; }
.ball-two { right: 7%; bottom: 9%; width: 36px; height: 36px; }

.trust-strip { background: var(--navy); color: var(--white); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-grid div {
  padding: 30px 26px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.trust-grid div:last-child { border-right: 0; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { font-size: 1.03rem; }
.trust-grid span { color: rgba(255,255,255,.64); font-size: .84rem; }

.section { padding: 112px 0; }
.section-heading { max-width: 760px; margin-bottom: 50px; }
.section-heading p:last-child { max-width: 620px; color: var(--muted); }
.section-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  min-height: 330px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.66);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card.featured { background: var(--lime); }
.card-number { color: var(--green); font-weight: 800; font-size: .8rem; }
.popular-tag {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
}
.service-card h3 { margin: 62px 0 14px; color: var(--navy); }
.service-card p { color: var(--muted); }
.service-card.featured p { color: rgba(12,34,48,.72); }
.service-card ul { margin: 22px 0 0; padding-left: 19px; }
.service-card li { margin: 6px 0; }

.section-dark { background: var(--navy); color: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.about-panel h2 { margin-bottom: 0; }
.about-copy > p { margin-top: 52px; color: rgba(255,255,255,.7); font-size: 1.08rem; }
.approach-list { margin-top: 40px; }
.approach-list div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.13);
}
.approach-list strong { color: var(--lime); }
.approach-list span { color: rgba(255,255,255,.7); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  margin: 0;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(12,34,48,.08);
}
.testimonial blockquote { margin: 0 0 26px; font-family: "Playfair Display", serif; font-size: 1.27rem; line-height: 1.45; }
.testimonial figcaption { color: var(--muted); font-size: .86rem; font-weight: 600; }

.contact-section { background: #eef1e7; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.contact-copy p { color: var(--muted); }
.contact-details { display: grid; gap: 8px; margin-top: 32px; }
.contact-details a { text-decoration: none; font-weight: 700; }

.contact-form {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: grid; gap: 8px; margin-bottom: 18px; font-size: .86rem; font-weight: 700; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcf8;
  padding: 14px 15px;
  color: var(--text);
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,118,93,.1); }
textarea { resize: vertical; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: .75rem; }

.site-footer { padding: 42px 0; background: #081820; color: var(--white); }
.footer-wrap { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 34px; }
.footer-wrap p { margin: 4px 0 0; color: rgba(255,255,255,.54); font-size: .8rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,.72); font-size: .88rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 70px;
    display: none;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: grid; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 70px; }
  .hero-visual { min-height: auto; }
  .court-card { max-width: 430px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid div:nth-child(2) { border-right: 0; }
  .trust-grid div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 26px, 1160px); }
  .brand small { display: none; }
  h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { margin-top: 18px; }
  .court-card { border-width: 8px; border-radius: 24px; }
  .racket-one { left: 38px; bottom: 126px; }
  .racket-two { right: 26px; top: 60px; }
  .visual-caption { left: 12px; right: 12px; bottom: 12px; }
  .visual-caption span { font-size: .65rem; }
  .trust-grid, .card-grid, .field-row { grid-template-columns: 1fr; }
  .trust-grid div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .trust-grid div:last-child { border-bottom: 0; }
  .section { padding: 78px 0; }
  .service-card { min-height: auto; }
  .about-grid { gap: 20px; }
  .about-copy > p { margin-top: 10px; }
  .approach-list div { grid-template-columns: 1fr; gap: 6px; }
  .contact-form { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
