/* ===== CONTACT PAGE OVERRIDES ===== */

/* Grain override (different opacity & SVG from base.css) */
.grain {
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Header overrides (different padding, blur, border) */
.header {
  padding: 20px 48px;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(45,27,61,0.08);
}

/* Nav override (different gap) */
.nav {
  gap: 36px;
}

/* Nav dot override (different background, transition) */
.nav a::after {
  background: var(--hot-pink);
  transition: transform 0.3s;
}

/* Header CTA overrides */
.header-cta {
  padding: 14px 32px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.4s;
}

.header-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(168,85,247,0.4);
}

/* ===== LOGO WAVE (not in shared) ===== */
.logo-wave {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--cyan-deep), var(--hot-pink));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-3deg);
  box-shadow: 0 4px 20px rgba(168,85,247,0.3);
}

.logo-wave span {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 600;
  color: white;
}

.logo-text {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--plum);
  line-height: 1.2;
}

.logo-text em {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hot-pink);
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 180px 48px 100px;
  background: linear-gradient(145deg, var(--plum-dark), var(--plum-darker), var(--plum-dark));
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(168,85,247,0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(6,182,212,0.15) 0%, transparent 50%);
}

.page-hero-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 500;
  color: white;
  margin-bottom: 24px;
  line-height: 1.1;
}

.page-hero p {
  font-size: 20px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 100px 48px;
  background: var(--lavender-mist);
}

.contact-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  font-weight: 500;
  color: var(--plum);
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--plum-muted);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.method-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--purple-tint), var(--cyan-tint));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.method-content h4 {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--plum);
  margin-bottom: 4px;
}

.method-content p {
  color: var(--plum-muted);
  font-size: 15px;
  margin: 0;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  background: var(--cream);
  padding: 48px;
  border-radius: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--plum);
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid rgba(45,27,61,0.1);
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--plum);
  background: white;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--cyan-deep);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.btn-primary {
  background: var(--gradient-cta);
  color: white;
  padding: 20px 44px;
  border: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.4s;
  box-shadow: var(--shadow-purple);
  width: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(168,85,247,0.4);
}


/* ===== SOCIAL LINKS ===== */
.social-links {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(45,27,61,0.1);
}

.social-links h4 {
  font-family: "Fraunces", serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--plum);
  margin-bottom: 16px;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--purple-tint), var(--cyan-tint));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--plum);
  text-decoration: none;
  transition: all 0.4s;
}

.social-icons a:hover {
  background: linear-gradient(135deg, var(--cyan-deep), var(--hot-pink));
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(168,85,247,0.3);
}

/* ===== BOOK CALL CTA ===== */
.book-call {
  padding: 100px 48px;
  background: var(--peach-glow);
  text-align: center;
}

.book-call-content {
  max-width: 700px;
  margin: 0 auto;
}

.book-call h2 {
  font-family: 'Fraunces', serif;
  font-size: 44px;
  font-weight: 500;
  color: var(--plum);
  margin-bottom: 20px;
}

.book-call p {
  color: var(--plum-muted);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.book-call .btn-primary {
  width: auto;
  display: inline-block;
  background: var(--gradient-cta);
  box-shadow: var(--shadow-purple);
}

.book-call .btn-primary:hover {
  box-shadow: 0 8px 35px rgba(168,85,247,0.4);
}

.book-call .calendly-inline-widget {
  min-height: 900px !important;
}

.book-call .calendly-inline-widget iframe {
  height: 100% !important;
  min-height: 900px !important;
}

/* ===== RACEMOB WIDGET ===== */
.racemob-widget {
  max-width: 600px;
  margin: 60px auto 0;
  background: white;
  border: 2px dashed var(--cyan-deep);
  border-radius: 24px;
  padding: 32px;
  text-align: center;
}

.racemob-widget h4 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  color: var(--plum);
  margin-bottom: 10px;
}

.racemob-widget p {
  color: var(--plum-muted);
  font-size: 14px;
  margin-bottom: 14px;
}

.version-badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 100px;
  background: var(--plum);
  color: white;
}

/* ===== FOOTER OVERRIDES ===== */
.footer {
  padding: 60px 48px 30px;
}

.footer-copyright {
  font-size: 14px;
}

.footer-powered {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
}

/* ===== PAGE NAV DEMO ===== */
.page-nav-demo {
  padding: 24px 32px;
  background: rgba(255,255,255,0.05);
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 20px;
  margin-bottom: 40px;
}

.page-nav-demo h4 {
  font-family: 'Fraunces', serif;
  font-size: 14px;
  color: var(--cyan);
  margin-bottom: 16px;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-links a {
  padding: 10px 22px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.3s;
}

.page-links a:hover {
  background: rgba(255,255,255,0.2);
  color: white;
}

.page-links a.current {
  background: linear-gradient(135deg, var(--cyan-deep), var(--cyan));
  color: var(--plum);
}


/* ===== TURNSTILE & FORM STATUS ===== */
.cf-turnstile {
  margin-bottom: 24px;
}

#form-status {
  margin-top: 16px;
  font-size: 14px;
  color: #c53030;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .header { padding: 16px 24px; }
  .nav { display: none; }
  .page-hero, .contact-section, .book-call { padding: 80px 24px; }
  .contact-form { padding: 32px 24px; }
}
