/* ============ CONTACT on dark blue ============ */
/* Uses your theme tokens from :root (blue/red/gold, etc.) */

:root{
  --card-bg: rgba(255,255,255,.06);
  --card-bg-2: rgba(255,255,255,.10);
  --card-border: rgba(255,255,255,.18);
  --ink: #e8f1ff;                  /* primary text on dark */
  --ink-2: #b8c7e6;                /* secondary text */
  --radius: 16px;
  --shadow: 0 18px 40px rgba(0,0,0,.35);
}

/* Hero */
.contact-hero{
  position: relative;
  background:
    radial-gradient(140% 90% at 100% -10%, rgba(var(--red-rgb),.18), transparent 60%),
    radial-gradient(100% 75% at -10% 100%, rgba(var(--blue-rgb),.28), transparent 55%),
    linear-gradient(180deg, var(--blue), var(--blue-dark));
  color: var(--ink);
  padding: clamp(32px, 6vw, 80px) 0;
  overflow: hidden;
  border-bottom: 1px solid var(--card-border);
}
.contact-hero .wrap{
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--pad, 20px);
}
.contact-hero h1{
  margin: 0 0 6px;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: .2px;
}
.contact-hero .subtitle{
  margin: 0 0 18px;
  color: var(--ink-2);
  font-size: clamp(14px, 1.4vw, 18px);
}
.club-block{
  font-style: normal;
  line-height: 1.55;
  color: var(--ink-2);
}
.club-block .email{
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed rgba(var(--gold-rgb), .55);
}
.club-block .email:hover{ opacity: .9; }

/* big faint watermark */
.hero-watermark{
  position: absolute; inset: -10% -10% auto auto;
  width: min(48vw, 560px); height: min(48vw, 560px);
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.12) 0 35%, transparent 36% 100%),
    radial-gradient(circle at 60% 40%, rgba(255,255,255,.06) 0 40%, transparent 41% 100%);
  filter: blur(8px);
  opacity: .18;
  pointer-events: none;
}

/* Main wrapper */
.contact-wrap.wrap{
  max-width: 1100px;
  margin: clamp(18px, 3.5vw, 34px) auto;
  padding: 0 var(--pad, 20px) clamp(24px, 4vw, 40px);
  color: var(--ink);
}

/* Grid: form + side */
.contact-grid{
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.contact-side{
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 920px){
  .contact-grid{ grid-template-columns: 1.2fr .8fr; gap: 22px; }
}

/* Cards (glass on dark) */
.contact-card,
.side-card{
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  padding: clamp(14px, 2vw, 20px);
}

/* Form fields */
.contact-card .row{
  display: grid; gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px){
  .contact-card .row{ grid-template-columns: 1fr 1fr; }
}
.field{ display: grid; gap: 8px;}
.field label{
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: .04em;
  text-transform: uppercase;
  padding-top: 10px;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea{
  appearance: none;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: rgba(var(--blue-dark-rgb), .25);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
textarea{ min-height: 160px; resize: vertical; }

/* Placeholder */
::placeholder{ color: rgba(232,241,255,.65); }

/* Focus ring: gold -> red gradient */
input:focus, textarea:focus{
  border-color: transparent;
  box-shadow:
    0 0 0 2px rgba(255,255,255,.10) inset,
    0 0 0 3px var(--gold),
    0 0 0 6px rgba(var(--red-rgb), .35);
  background: rgba(255,255,255,.07);
}

/* Error state (if you add server/client validation classes) */
.field.error input,
.field.error textarea{
  border-color: rgba(237,31,37,.6);
  box-shadow: 0 0 0 3px rgba(237,31,37,.35);
}
.field .help{ color: #ffb3b3; font-size: 12px; }

/* Buttons */
.actions{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.btn{
  appearance:none; border:1px solid rgba(255,255,255,.18);
  border-radius: 12px; cursor:pointer; font-weight:800;
  padding: 10px 16px; color:#fff;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-dark));
  box-shadow: var(--shadow);
  transition: transform .06s, opacity .2s;
}
.btn:hover{ opacity:.95; }
.btn:active{ transform: translateY(1px); }
.btn.ghost{
  background: transparent; color: var(--ink);
  border-color: rgba(255,255,255,.28);
}

/* Sidebar blocks */
.side-card h3{
  margin: 0 0 8px;
  font-size: 16px; letter-spacing:.02em;
  color: #fff;
}
.side-card p{ margin: 0; color: var(--ink-2); }
.email-large{
  display:inline-block; margin: 6px 0 4px; color: var(--gold);
  font-weight: 800; text-decoration: none;
  border-bottom: 1px dashed rgba(var(--gold-rgb), .55);
}
.email-large:hover{ opacity: .9; }
.muted{ color: var(--ink-2); font-size: 13px; }

/* Map placeholder */
.map-placeholder{
  height: 220px;
  border-radius: 12px;
  border: 1px dashed rgba(255,255,255,.25);
  display:grid; place-items:center;
  color: var(--ink-2);
  background: rgba(255,255,255,.05);
  margin-top: 10px;
}

/* Honeypot (kept in DOM but offscreen for bots) */
.hp{
  position: absolute !important;
  left: -5000px !important; width: 1px; height: 1px; opacity: 0;
}

/* Autofill on dark */
input:-webkit-autofill,
textarea:-webkit-autofill{
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px rgba(255,255,255,.08) inset !important;
  border-color: var(--card-border);
}

/* Focus visible */
:focus-visible{
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Small screens polish */
@media (max-width: 520px){
  .contact-card, .side-card{ padding: 14px; }
  .contact-hero .wrap{ padding-inline: 16px; }
  .contact-wrap.wrap{ padding-inline: 16px; }
}

.map-embed{
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
  background: rgba(255,255,255,.06);
}
.map-embed iframe{ width:100%; height:100%; border:0; display:block; }
