/* DEFRIZ PADEL — club identity, navigation and first screen. */
:root {
  --df-dark: #172b39;
  --df-blue: #25475d;
  --df-paper: #f6f4ef;
  --df-lime: #d9ee55;
  --df-gutter: clamp(22px, 5.1vw, 88px);
}
header.nav {
  position: sticky; inset: 0 0 auto; z-index: 54;
  display: flex; align-items: center; gap: 32px; justify-content: space-between;
  min-height: 78px; padding: 12px var(--df-gutter);
  color: var(--df-dark); background: var(--df-paper);
  border: 0; border-bottom: 1px solid #172b3920; backdrop-filter: none;
}
.df-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.df-brand img { display: block; width: 49px; height: 40px; object-fit: contain; }
.df-brand-name {
  display: flex; flex-direction: column; align-items: flex-start;
  font: 800 20px/1 var(--sans); letter-spacing: -.045em; white-space: nowrap; color: inherit;
}
.df-brand-name span + span { margin-top: 1px; font-size: .82em; letter-spacing: -.015em; }
.nav nav.links { display: flex; flex: 1; justify-content: center; align-items: center; gap: clamp(16px,2.2vw,34px); flex-wrap: nowrap; }
.nav .links > a { color: var(--df-dark); font: 600 14px/1.2 var(--sans); opacity: 1; letter-spacing: -.025em; padding: 12px 0; margin: 0; }
.nav .links > a:hover { text-decoration: underline; text-underline-offset: 6px; }
.df-arrow { width: 1.05em; height: 1.05em; display: inline-block; flex: 0 0 auto; }
.nav .df-reserve,.df-action {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px;
  border: 1px solid transparent; padding: 12px 20px; border-radius: 100px; text-decoration: none;
  font: 700 14px/1.2 var(--sans); letter-spacing: -.02em; white-space: nowrap;
  background: var(--df-lime); color: var(--df-dark); transition: background .18s ease, color .18s ease;
}
.nav .df-reserve:hover,.df-action:hover { background: #e6f886; color: #12242e; }
header.nav .links > a[aria-current="page"],
header.nav .df-reserve[aria-current="page"] {
  color: var(--df-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.nav .links .df-home-link,.nav .links .df-book-link,.nav .links .menu-ct { display: none; }
.nav .burger { display: none; }
.df-brand:focus-visible,.nav a:focus-visible,.nav .burger:focus-visible { outline: 3px solid #385767; outline-offset: 3px; }
.df-hero {
  display: grid; grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr);
  min-height: clamp(550px,42vw,715px); padding: 0; background: var(--df-dark); color: var(--df-paper);
  isolation: isolate;
}
.df-hero-copy {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: clamp(62px,6vw,108px) clamp(24px,3vw,54px) clamp(65px,6vw,105px) var(--df-gutter);
}
.df-hero-copy::before,.df-hero-copy::after {
  content: ""; pointer-events: none; position: absolute; z-index: -1;
  bottom: -48%; right: -38%; width: 63%; aspect-ratio: 1/1.48;
  border: 1px solid #87a9b62c; border-radius: 50%; transform: rotate(42deg);
}
.df-hero-copy::after { right: -42%; bottom: -52%; }
.df-opening {
  display: inline-flex; gap: 10px; align-items: center; margin: 0 0 clamp(21px,2.7vw,41px);
  font: 700 11px/1.3 var(--sans); text-transform: uppercase; letter-spacing: .14em; color: #e7ebdc;
}
.df-opening::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--df-lime); }
main .df-title {
  display: flex; flex-direction: column; align-items: flex-start; margin: 0; font-family: var(--sans);
  font-weight: 800; font-size: clamp(76px,8.5vw,156px); line-height: .91; letter-spacing: -.065em;
  color: var(--df-paper); overflow-wrap: normal; text-wrap: initial;
}
.df-title span { display: block; }
.df-title .df-place { white-space: nowrap; color: var(--df-lime); font-size: .61em; line-height: 1.05; letter-spacing: -.062em; padding: .09em 0 .03em; }
.df-intro {
  max-width: 38ch; padding: 0; margin: clamp(22px,2.3vw,34px) 0 0;
  font: 450 clamp(16px,1.22vw,20px)/1.52 var(--sans); letter-spacing: -.014em; color: #d2dce0;
}
.df-actions { display: flex; gap: 13px 23px; align-items: center; flex-wrap: wrap; margin-top: clamp(25px,2.5vw,40px); }
.df-action { padding: 16px 23px; min-height: 51px; font-size: 15px; }
.df-text-link { display: inline-flex; gap: 8px; align-items:center; min-height: 44px; color: var(--df-paper); font: 600 14px var(--sans); text-decoration: none; }
.df-text-link:hover { color: var(--df-lime); }
.df-hero a:focus-visible { outline: 2px solid var(--df-paper); outline-offset: 4px; }
.df-visual { position: relative; margin: 0; min-height: 100%; overflow: hidden; background: #314e61; }
.df-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: 54% 59%; }
.df-visual::after { content: ""; position: absolute; inset: 64% 0 0; background: linear-gradient(transparent,#0918249c); pointer-events: none; }
.df-location { position: absolute; bottom: clamp(18px,2.3vw,36px); left: clamp(20px,2.7vw,44px); z-index: 1; }
.df-location a {
  display: inline-flex; align-items: center; gap: 8px; color: #fff; background: #132531d9;
  padding: 8px 14px; min-height: 36px; border: 1px solid #ffffff40; border-radius: 30px;
  font: 600 12px/1.2 var(--sans); letter-spacing: .015em; text-decoration: none;
}
.df-location svg { width: 16px; height: 16px; color: var(--df-lime); }
.df-location a:hover { background: #152c3a; }
footer.df-foot { background: var(--df-dark); padding: clamp(38px,4vw,68px) var(--df-gutter) 20px; border: 0; color: var(--df-paper); }
.df-foot-top,.df-foot-bottom { max-width: 1660px; margin-inline: auto; }
.df-foot-top { display: grid; grid-template-columns: minmax(145px,.8fr) minmax(255px,1.05fr) minmax(255px,1fr); align-items: start; gap: clamp(24px,4vw,70px); }
.df-foot .df-brand { color: var(--df-paper); }
.df-foot .df-brand img { filter: brightness(0) invert(1); }
.df-foot-brand,.df-foot-contact { display: grid; justify-items: start; min-width: 0; }
.df-foot-brand { gap: 12px; }
.df-foot a { text-decoration: none; }
.df-foot a:focus-visible { outline: 2px solid var(--df-lime); outline-offset: 4px; }
.df-foot-about,.df-foot-email,.df-foot-bottom a { display: inline-flex; align-items: center; min-height: 44px; color: #d0dcdf; }
.df-foot-about { gap: 8px; font-size: 15px; }
.df-foot .menu-call { display: flex; align-items: center; gap: 12px; min-height: 48px; color: var(--df-paper); }
.df-foot .menu-call-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--df-lime); }
.df-foot .menu-call small,.df-foot .menu-address small { display: block; color: #c5d3d8; font: 500 14px/1.45 var(--sans); }
.df-foot .menu-call strong { display: block; font: 750 clamp(23px,2.2vw,34px)/1.18 var(--sans); letter-spacing: -.035em; white-space: nowrap; }
.df-foot-email { margin-left: 56px; font-size: 15px; }
.df-foot .menu-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 7px; }
.df-foot .menu-socials a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 9px 16px; border: 1px solid #687e89; border-radius: 10px; color: var(--df-paper); font: 650 15px/1.3 var(--sans); }
.df-foot .menu-socials svg,.df-foot .menu-address > svg { width: 20px; height: 20px; flex: none; }
.df-foot .menu-address { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 10px 12px; padding: clamp(17px,1.65vw,25px); background: #203b4c; border-radius: 16px; color: var(--df-paper); }
.df-foot .menu-address > svg { margin-top: 2px; color: var(--df-lime); }
.df-foot .menu-address strong { display: block; text-wrap: balance; font: 700 clamp(17px,1.3vw,21px)/1.28 var(--sans); }
.df-foot .menu-address small { margin-top: 4px; }
.df-foot .df-foot-map { grid-column: 2; display: flex; align-items: center; gap: 7px; color: var(--df-lime); font: 650 14px/1.4 var(--sans); }
.df-foot .df-foot-map .df-arrow { margin: 0; }
.df-foot-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: clamp(24px,3vw,48px); padding-top: 10px; border-top: 1px solid #ffffff35; color: #bdcbd0; font-size: 13px; }
@media (hover:hover) {
  .df-foot .menu-socials a:hover { border-color: var(--df-lime); color: var(--df-lime); }
  .df-foot .menu-call:hover strong,.df-foot .menu-address:hover .df-foot-map,.df-foot-about:hover,.df-foot-email:hover,.df-foot-bottom a:hover { color: var(--df-lime); text-decoration: underline; text-underline-offset: 3px; }
}
@media (min-width:701px) and (max-width:950px) {
  .df-foot-top { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .df-foot-brand { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
}
@media (min-width:1700px) {
  :root { --df-gutter: max(88px,calc((100vw - 1540px)/2)); }
}
@media (max-width:1199px) {
  header.nav { min-height: 68px; gap: 14px; padding-block: 10px; }
  .nav .df-brand { margin-right: auto; position: relative; z-index: 58; }
  .nav nav.links { display: none; }
  .nav .burger { display: inline-flex; position: relative; z-index: 60; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
    width: 44px; height: 44px; background: none; border: 1px solid #9daaae; border-radius: 50%; padding: 10px; margin: 0; }
  .nav .burger span { display: block; width: 17px; height: 1.5px; margin: 0; background: var(--df-dark); }
  .nav .burger span:nth-child(3) { display: none; }
  .menu-open .nav .burger { position: relative; top: auto; right: auto; }
  .menu-open .nav .burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-open .nav .burger span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); opacity: 1; }
  .menu-open .nav .df-reserve { z-index: 58; }
  .menu-open .nav nav.links {
    display: flex; position: fixed; inset: var(--nav-measured,68px) 0 0; z-index: 55; gap: 0;
    max-height: none; height: auto; align-items: stretch; justify-content: flex-start;
    overflow-y: auto; overscroll-behavior: contain;
    padding: 8px var(--df-gutter) max(16px,env(safe-area-inset-bottom));
    background: var(--df-paper); color: var(--df-dark);
  }
  .menu-open .nav nav.links > a { display: flex; flex-shrink: 0; align-items: center; font-size: 19px; padding: 11px 2px; min-height: 46px; border-bottom: 1px solid #cbd3d0; }
  .menu-open .nav nav.links > a:last-of-type { margin-bottom: auto; }
  .menu-open .nav .links .menu-ct {
    display: grid; grid-template-columns: minmax(0,1fr); align-items: stretch; gap: 12px;
    flex: none; margin-top: 22px; padding: clamp(14px,3.8vw,22px);
    border-radius: 18px; background: var(--df-dark); color: var(--df-paper);
  }
  .menu-open .nav .links .menu-ct a {
    justify-content: flex-start; gap: 11px; min-width: 0; min-height: 44px;
    color: inherit; border: 0; font: 600 15px/1.3 var(--sans); white-space: normal;
    text-decoration: none;
  }
  .menu-open .nav .links .menu-direct .menu-email {
    width: fit-content; max-width: calc(100% - 53px); margin-left: 53px;
    color: #d0dcdf; font-weight: 500; overflow-wrap: anywhere;
  }
  .menu-ct svg { flex: none; width: 19px; height: 19px; }
  .menu-ct small,.menu-ct strong { display: block; }
  .menu-ct small { color: #c5d3d8; font-size: 13px; line-height: 1.45; font-weight: 500; }
  .menu-ct .menu-call strong { color: var(--df-paper); font-size: clamp(23px,5.4vw,29px); line-height: 1.15; letter-spacing: -.035em; white-space: nowrap; }
  .menu-call-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--df-lime); }
  .menu-socials { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .menu-open .nav .links .menu-socials a {
    justify-content: center; gap: 7px; padding-inline: 5px; border: 1px solid #687e89; border-radius: 9px;
  }
  .menu-open .nav .links a.menu-address { align-items: flex-start; padding-top: 13px; border-top: 1px solid #47606d; }
  .menu-address > svg { margin-top: 1px; color: #d3dee1; }
  .menu-address strong { font-size: 15px; font-weight: 650; line-height: 1.4; }
  .menu-address small { margin-top: 3px; }
  .menu-address .df-arrow { margin-left: auto; width: 15px; height: 15px; }
  .menu-open .nav .links .menu-ct a:focus-visible { outline-color: var(--df-lime); }
  @media (hover:hover) {
    .menu-open .nav .links .menu-ct a:hover { color: var(--df-lime); }
    .menu-open .nav .links .menu-socials a:hover { border-color: var(--df-lime); }
  }
  @media (min-width:700px) {
    .menu-open .nav .links .menu-ct { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px 28px; }
    .menu-open .nav .links a.menu-address { grid-column: 2; grid-row: 1 / 3; align-self: stretch; align-items: center; border: 0; border-left: 1px solid #47606d; padding: 0 0 0 25px; }
  }
}
@media (min-width:701px) and (max-width:950px) {
  .df-hero { min-height: 480px; grid-template-columns: 1.02fr 1fr; }
  .df-hero-copy { padding-inline: 30px 19px; }
  main .df-title { font-size: clamp(69px,8.8vw,88px); }
  .df-actions { gap: 7px 14px; }
  .df-action { padding: 13px 16px; font-size: 14px; }
}
@media (max-width:700px) {
  header.nav { min-height: 64px; padding-block: 8px; gap: 10px; }
  .df-brand img { width: 39px; height: 34px; }
  .df-brand { gap: 7px; }
  .df-brand-name { font-size: 17px; }
  .nav .df-reserve { padding: 10px 15px; gap: 8px; min-height: 42px; font-size: 13px; }
  .df-hero { grid-template-columns: 1fr; min-height: 0; }
  .df-hero-copy { padding: 40px var(--df-gutter) 34px; }
  main .df-title { font-size: clamp(72px,16vw,105px); }
  .df-title .df-place { font-size: .68em; }
  .df-opening { margin-bottom: 18px; font-size: 10px; }
  .df-intro { margin-top: 17px; max-width: 38ch; font-size: 15px; }
  .df-actions { margin-top: 20px; gap: 10px 19px; }
  .df-action { min-height: 46px; padding: 13px 18px; font-size: 14px; }
  .df-visual { aspect-ratio: 1.76; min-height: 0; }
  .df-visual > img { object-position: 54% 62%; }
  .df-location { bottom: 14px; left: var(--df-gutter); }
  .df-location a { font-size: 11px; min-height: 32px; padding: 6px 10px; }
  footer.df-foot { padding-block: 30px max(16px,env(safe-area-inset-bottom)); }
  .df-foot-top { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .df-foot-brand { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid #47606d; }
  .df-foot .menu-socials { width: 100%; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .df-foot .menu-socials a { padding-inline: 6px; }
  .df-foot-bottom { align-items: flex-start; flex-direction: column; gap: 0; padding-top: 15px; }
}
@media (max-width:360px) {
  header.nav { --page-edge:12px; padding-inline:var(--page-edge); gap:6px; }
  .nav .df-reserve { padding-inline:10px; }
  .nav .burger { flex:0 0 44px; }
}
@media (prefers-reduced-motion:reduce) { .df-action,.nav .df-reserve { transition: none; } }
/* A full photograph marks the club and coaching pages. */
main section.df-inner-photo {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  padding: 0; min-height: clamp(440px,38vw,620px); background: var(--df-dark);
}
main .df-inner-photo::before { display: none; }
main .df-inner-photo .v3-hero-g { display: contents; }
main .df-inner-photo .v3-hero-g > div,
main .df-inner-photo .c-hero-t {
  align-self: center; margin: 0; width: 100%; padding: 64px 32px 64px var(--df-gutter); min-width: 0;
}
main .df-inner-photo .df-inner-image {
  grid-area: 1 / 2; align-self: stretch; width: 100%; height: 100%;
  min-width: 0; min-height: 0; max-height: clamp(440px,38vw,650px); display: block;
  object-fit: cover; object-position: 53% 54%;
}
main .df-inner-photo h1 { margin-top: 0; max-width: 13ch; }
@media(max-width:760px) {
  main section.df-inner-photo { display: flex; flex-direction: column; min-height: 0; }
  main .df-inner-photo .v3-hero-g > div,
  main .df-inner-photo .c-hero-t { padding: 40px var(--df-gutter) 32px; }
  main .df-inner-photo .df-inner-image { aspect-ratio: 1.85; height: auto; width: 100%; max-height: 340px; }
}
main .df-inner-photo .c-hero-t > * { max-width: 100%; }
main .df-inner-photo .c-hero-t .sub { max-width: 43ch; }
main .df-inner-photo .c-hero-t h1 em { display: block; }
main .v3-hero.df-inner-photo .df-inner-image { object-position: 50% 42%; }
@media (min-width:761px) {
  main .df-inner-photo .df-inner-image {
    grid-area: auto; position: absolute; top: 0; right: 0; bottom: 0; width: 47.37%; max-height: none;
  }
}
