/* ── HERO ── */
#hero {
  position: relative; min-height: 85vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 60px 90px;
  background: var(--black); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(65,39,149,.18), transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(85,53,196,.08), transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-vl { position: absolute; left: 60px; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.05); }
.hero-vr { position: absolute; right: 60px; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.05); }
.breadcrumb {
  position: absolute; top: 116px; left: 60px;
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.25); opacity: 0;
}
.breadcrumb a { color: rgba(255,255,255,.25); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: rgba(255,255,255,.6); }
.bc-sep { opacity: .3; }
.bc-cur { color: var(--purple-light); }
.hero-content { position: relative; z-index: 2; max-width: 780px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border: 1px solid rgba(65,39,149,.4);
  background: rgba(65,39,149,.1); border-radius: 2px;
  color: var(--purple-light); font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 36px; opacity: 0;
}
.hero-tag span { width: 4px; height: 4px; background: var(--purple-light); border-radius: 50%; display: block; }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.2vw, 72px);
  font-weight: 800; color: var(--white);
  line-height: 1.02; letter-spacing: -.03em; margin-bottom: 28px;
}
.hero-headline .hl { display: block; overflow: hidden; }
.hero-headline .hl span { display: block; transform: translateY(110%); }
.hero-headline em { color: var(--purple-light); font-style: normal; }
.hero-sub {
  font-size: clamp(14px,1.3vw,17px); color: rgba(255,255,255,.4);
  max-width: 520px; line-height: 1.8; font-weight: 300; opacity: 0;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; background: var(--purple); color: var(--white);
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  border: none; border-radius: 4px; cursor: none; letter-spacing: 0.02em;
  text-decoration: none; position: relative; overflow: hidden;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(65,39,149,0.4); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary svg { transition: transform 0.3s var(--ease-out); }
.btn-primary:hover svg { transform: translateX(4px); }
.hero-scroll {
  position: absolute; bottom: 40px; right: 60px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,.18); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; opacity: 0;
}
.scroll-track {
  width: 1px; height: 60px; background: rgba(255,255,255,.08); position: relative; overflow: hidden;
}
.scroll-track::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 30px; background: linear-gradient(to bottom, var(--purple-light), transparent);
  animation: scrollDown 2s ease-in-out infinite 2s;
}
@keyframes scrollDown { 0%{transform:translateY(-100%)} 100%{transform:translateY(250%)} }

/* ── SHARED ── */
.section-label {
  font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; width: 20px; height: 1.5px; background: var(--purple); }
.section-label.light { color: rgba(255,255,255,.3); }
.section-label.light::before { background: rgba(255,255,255,.2); }
.section-heading {
  font-family: var(--font-display); font-size: clamp(28px,3.2vw,46px);
  font-weight: 800; line-height: 1.05; letter-spacing: -.03em; color: var(--black);
}
.section-heading.light { color: var(--white); }
.reveal-text { overflow: hidden; }
.reveal-text span { display: block; transform: translateY(100%); }

/* ════════════════════════════════════════════
   CONTACT SECTION
════════════════════════════════════════════ */
#contact-section {
  padding: 120px 60px;
  background: var(--white);
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 100px;
  align-items: start;
}

/* ── LEFT PANEL ── */
.contact-left {}
.contact-intro {
  font-size: 16px; color: var(--gray-600); line-height: 1.85;
  font-weight: 300; margin-top: 24px; margin-bottom: 56px; opacity: 0;
}
.contact-info-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 52px; }
.contact-info-item {
  display: grid; grid-template-columns: 44px 1fr;
  align-items: center; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid var(--gray-200);
  opacity: 0; transform: translateX(-24px);
  transition: padding-left .35s var(--ease-out);
  position: relative;
}
.contact-info-item:first-child { border-top: 1px solid var(--gray-200); }
.contact-info-item::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--purple);
  transform: scaleY(0); transition: transform .35s var(--ease-out); transform-origin: top;
}
.contact-info-item:hover { padding-left: 12px; }
.contact-info-item:hover::before { transform: scaleY(1); }
.ci-icon {
  width: 40px; height: 40px;
  background: var(--gray-100); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .3s;
}
.contact-info-item:hover .ci-icon { background: var(--purple); }
.contact-info-item:hover .ci-icon svg path,
.contact-info-item:hover .ci-icon svg circle,
.contact-info-item:hover .ci-icon svg rect,
.contact-info-item:hover .ci-icon svg line,
.contact-info-item:hover .ci-icon svg polyline { stroke: var(--white) !important; }
.ci-label {
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 4px;
}
.ci-value {
  font-size: 15px; font-weight: 400; color: var(--black); letter-spacing: -.01em;
}
.ci-value a { color: inherit; text-decoration: none; transition: color .2s; }
.ci-value a:hover { color: var(--purple); }

/* Office hours block */
.contact-hours {
  padding: 32px 36px;
  background: var(--gray-100); border-radius: var(--radius);
  opacity: 0;
}
.hours-label {
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 20px; display: flex; align-items: center; gap: 8px;
}
.hours-label::before { content: ''; width: 12px; height: 1.5px; background: var(--gray-400); }
.hours-list { display: flex; flex-direction: column; gap: 10px; }
.hours-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--gray-600); font-weight: 300;
}
.hours-row strong { font-weight: 500; color: var(--black); }
.hours-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; background: rgba(56,161,105,.1);
  border-radius: 20px; margin-top: 16px;
}
.hours-badge-dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }
.hours-badge-text { font-size: 12px; font-weight: 500; color: var(--green); }

/* ── RIGHT PANEL: FORM ── */
.contact-right {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 56px 52px;
  opacity: 0; transform: translateY(32px);
}
.form-header { margin-bottom: 40px; }
.form-header-title {
  font-family: var(--font-display); font-size: 24px; font-weight: 800;
  color: var(--black); letter-spacing: -.02em; margin-bottom: 10px;
}
.form-header-sub {
  font-size: 14px; color: var(--gray-400); font-weight: 300; line-height: 1.6;
}

/* ════════════════════════════════════════════
   CONTACT FORM 7 — CUSTOM STYLING
   All selectors target .sg-contact-form wrapper
   Compatible with CF7 markup + wpcf7 classes
════════════════════════════════════════════ */

/* Wrapper inserted by WP template around [contact-form-7] shortcode */
.sg-contact-form {}

/* CF7 injects .wpcf7 div — reset any default styles */
.sg-contact-form .wpcf7,
.sg-contact-form form.wpcf7-form { margin: 0; }

/* ── FORM ROW (two-column pairs) ── */
.sg-contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

/* ── FORM GROUP ── */
.sg-contact-form .form-group {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 20px;
}
.sg-contact-form .form-group.full { grid-column: 1 / -1; }

/* ── LABELS ── */
.sg-contact-form .form-group label,
.sg-contact-form label {
  font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray-600);
  display: block; cursor: default;
}

/* ── INPUT & TEXTAREA BASE ── */
.sg-contact-form .input-field,
.sg-contact-form input[type="text"],
.sg-contact-form input[type="email"],
.sg-contact-form input[type="tel"],
.sg-contact-form input[type="number"],
.sg-contact-form select,
.sg-contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px; font-weight: 300;
  color: var(--black);
  line-height: 1.5;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .25s, box-shadow .25s, background .2s;
  cursor: none;
}

/* Focus state */
.sg-contact-form .input-field:focus,
.sg-contact-form input[type="text"]:focus,
.sg-contact-form input[type="email"]:focus,
.sg-contact-form input[type="tel"]:focus,
.sg-contact-form input[type="number"]:focus,
.sg-contact-form select:focus,
.sg-contact-form textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(65,39,149,.08);
  background: var(--white);
}

/* Hover state */
.sg-contact-form .input-field:hover,
.sg-contact-form input[type="text"]:hover,
.sg-contact-form input[type="email"]:hover,
.sg-contact-form input[type="tel"]:hover,
.sg-contact-form textarea:hover { border-color: var(--gray-400); }

/* Placeholder */
.sg-contact-form input::placeholder,
.sg-contact-form textarea::placeholder {
  color: var(--gray-400); font-weight: 300;
}

/* Textarea specific */
.sg-contact-form .input-field.textarea-field,
.sg-contact-form textarea {
  min-height: 140px; resize: vertical; line-height: 1.7;
}

/* CF7 span wrappers — strip display quirks */
.sg-contact-form .wpcf7-form-control-wrap {
  display: block; width: 100%;
}

/* ── VALIDATION STATES ── */
/* Invalid */
.sg-contact-form .wpcf7-not-valid,
.sg-contact-form input.wpcf7-not-valid,
.sg-contact-form textarea.wpcf7-not-valid {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 4px rgba(229,62,62,.08) !important;
}

/* Validation message */
.sg-contact-form .wpcf7-not-valid-tip {
  font-size: 12px; color: var(--red);
  font-weight: 400; margin-top: 6px; display: block;
  letter-spacing: .01em;
}

/* Response output (success / error messages) */
.sg-contact-form .wpcf7-response-output {
  margin-top: 24px !important; margin-bottom: 0 !important;
  padding: 16px 20px !important;
  border-radius: var(--radius) !important;
  font-size: 14px; font-weight: 400; line-height: 1.6;
  border: none !important;
}
.sg-contact-form .wpcf7-mail-sent-ok {
  background: rgba(56,161,105,.08) !important;
  border-left: 3px solid var(--green) !important;
  color: var(--green) !important;
}
.sg-contact-form .wpcf7-mail-sent-ng,
.sg-contact-form .wpcf7-aborted {
  background: rgba(229,62,62,.06) !important;
  border-left: 3px solid var(--red) !important;
  color: var(--red) !important;
}
.sg-contact-form .wpcf7-spam-blocked,
.sg-contact-form .wpcf7-validation-errors {
  background: rgba(229,62,62,.06) !important;
  border-left: 3px solid var(--red) !important;
  color: var(--red) !important;
}

/* ── SUBMIT BUTTON ── */
.sg-contact-form .btn,
.sg-contact-form input[type="submit"],
.sg-contact-form button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 16px 36px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase;
  border: none; border-radius: var(--radius);
  cursor: none;
  position: relative; overflow: hidden;
  transition: background .3s, transform .2s, box-shadow .3s;
  margin-top: 8px;
}
.sg-contact-form .btn::before,
.sg-contact-form input[type="submit"]::before,
.sg-contact-form button[type="submit"]::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--purple);
  transform: translateX(-100%);
  transition: transform .4s var(--ease-out);
  z-index: 0;
}
.sg-contact-form .btn:hover::before,
.sg-contact-form input[type="submit"]:hover::before,
.sg-contact-form button[type="submit"]:hover::before { transform: translateX(0); }
.sg-contact-form .btn:hover,
.sg-contact-form input[type="submit"]:hover,
.sg-contact-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(65,39,149,.3);
}
.sg-contact-form .btn span,
.sg-contact-form .btn svg { position: relative; z-index: 1; }

/* CF7 loading spinner */
.sg-contact-form .wpcf7-spinner {
  display: none !important;
}

/* ── FORM DIVIDER ── */
.form-divider {
  height: 1px; background: var(--gray-200); margin: 32px 0;
}

/* ── PRIVACY NOTE ── */
.form-privacy {
  font-size: 12px; color: var(--gray-400); line-height: 1.6;
  text-align: center; margin-top: 20px; font-weight: 300;
}
.form-privacy a { color: var(--purple); text-decoration: none; }
.form-privacy a:hover { text-decoration: underline; }

/* ════════════════════════════════════════════
   MAP / LOCATION STRIP
════════════════════════════════════════════ */
#location-strip {
  background: var(--gray-800);
  padding: 80px 60px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.ls-left {}
.ls-tagline {
  font-size: 16px; color: rgba(255,255,255,.45); line-height: 1.8;
  font-weight: 300; margin-top: 20px; opacity: 0;
}
.ls-right {
  height: 300px; background: rgba(255,255,255,.04);
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  position: relative; opacity: 0; transform: translateX(32px);
}
.ls-map-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.ls-map-icon {
  width: 52px; height: 52px;
  background: rgba(65,39,149,.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.ls-map-text {
  font-size: 13px; color: rgba(255,255,255,.3); letter-spacing: .04em; text-align: center;
  line-height: 1.6;
}
/* If embedding Google Maps iframe, style it: */
.ls-right iframe {
  width: 100%; height: 100%; border: none; filter: grayscale(100%) invert(90%) contrast(90%);
}

/* ════════════════════════════════════════════
   FINAL CTA
════════════════════════════════════════════ */
#final-cta {
  padding: 140px 60px;
  background: var(--purple); text-align: center;
  overflow: hidden; position: relative;
}
.cta-circle-1 {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: rgba(255,255,255,.04); top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.cta-circle-2 {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.06); top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.cta-content { position: relative; z-index: 2; }
.cta-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 28px;
}
.cta-heading {
  font-family: var(--font-display); font-size: clamp(30px,4.5vw,60px);
  font-weight: 800; color: var(--white); line-height: 1.0; letter-spacing: -.03em; margin-bottom: 24px;
}
.cta-sub {
  font-size: 17px; color: rgba(255,255,255,.5); line-height: 1.7; font-weight: 300;
  max-width: 440px; margin: 0 auto 48px;
}
.btn-white {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 40px; background: var(--white); color: var(--purple);
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  border: none; border-radius: var(--radius); cursor: none; text-decoration: none;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,.2); background: var(--black); color: var(--white); }
.btn-white svg { transition: transform .3s var(--ease-out); }
.btn-white:hover svg { transform: translateX(4px); }

/* ── FOOTER ── */
footer { background: var(--black); padding: 80px 60px 40px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 40px;
}
.footer-logo {
  font-family: var(--font-display); font-size: 20px; font-weight: 800;
  color: var(--white); letter-spacing: -.5px; margin-bottom: 16px;
  text-decoration: none; display: block;
}
.footer-logo span { color: var(--purple-light); }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,.3); line-height: 1.7; font-weight: 300; max-width: 240px; }
.footer-col-head { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.25); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.45); text-decoration: none; font-weight: 300; transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.2); letter-spacing: .02em; }
.footer-social { display: flex; gap: 16px; }
.social-link {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: border-color .25s, background .25s;
}
.social-link:hover { border-color: var(--purple); background: var(--purple); }

/* ════════════════════════════════════════════
   RESPONSIVE — TABLET (≤1100px)
════════════════════════════════════════════ */
@media (max-width: 1100px) {
  nav { padding: 20px 32px; }
  nav.scrolled { padding: 14px 32px; }
  .nav-links { display: none; }
  #hero { padding: 0 32px 72px; }
  .hero-vl { left: 32px; } .hero-vr { right: 32px; }
  .breadcrumb { left: 32px; }
  .hero-scroll { right: 32px; }
  #contact-section { grid-template-columns: 1fr; gap: 56px; padding: 80px 32px; }
  .contact-right { padding: 44px 36px; }
  #location-strip { grid-template-columns: 1fr; gap: 40px; padding: 60px 32px; }
  .ls-right { height: 240px; }
  #final-cta { padding: 100px 32px; }
  footer { padding: 60px 32px 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
════════════════════════════════════════════ */
@media (max-width: 768px) {
  #hero { padding: 0 24px 64px; min-height: 85vh; }
  .hero-vl { left: 24px; } .hero-vr { right: 24px; }
  .breadcrumb { left: 24px; top: 100px; }
  .hero-scroll { right: 24px; }
  #contact-section { padding: 64px 24px; gap: 48px; }
  .contact-right { padding: 36px 28px; }
  /* Two-column form rows go single column on mobile */
  .sg-contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .sg-contact-form .form-row .form-group { margin-bottom: 20px; }
  #location-strip { padding: 56px 24px; }
  #final-cta { padding: 80px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 20px; align-items: flex-start; }
}

/* ════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤480px)
════════════════════════════════════════════ */
@media (max-width: 480px) {
  nav { padding: 16px 20px; }
  nav.scrolled { padding: 12px 20px; }
  #hero { padding: 0 20px 56px; }
  .hero-vl { left: 20px; } .hero-vr { right: 20px; }
  .breadcrumb { left: 20px; }
  .hero-scroll { right: 20px; }
  #contact-section { padding: 56px 20px; }
  .contact-right { padding: 28px 20px; }
  .form-header-title { font-size: 20px; }
  .sg-contact-form input[type="text"],
  .sg-contact-form input[type="email"],
  .sg-contact-form input[type="tel"],
  .sg-contact-form textarea { font-size: 16px; /* prevents iOS zoom */ }
  #location-strip { padding: 48px 20px; }
  #final-cta { padding: 72px 20px; }
  .cta-sub { font-size: 15px; }
  footer { padding: 48px 20px 24px; }
}