/* ============================================================
   CONTACT.CSS — Contact page
   ============================================================ */

/* ---------------- BUTTONS ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 999px;
  letter-spacing: .2px;
  transition: transform .35s var(--ease), background .35s var(--ease),
              box-shadow .35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}
.btn i { font-size: 12px; transition: transform .35s var(--ease); }
.btn:hover i { transform: translateX(3px); }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: var(--color-accent-dk);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(240, 22, 38, .35);
}
.btn-ghost {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: #fff;
  color: var(--color-primary);
  transform: translateY(-3px);
}

/* ---------------- EYEBROW / SECTION HEAD ---------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 18px;
}
.eyebrow span {
  width: 32px; height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}
.eyebrow-light { color: var(--color-gold); }
.eyebrow-light span { background: var(--color-gold); }

.section-head {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 46px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -.5px;
  line-height: 1.1;
}
.section-head p {
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.7;
  padding-bottom: 6px;
}

/* ============================================================
   1. PAGE HERO
   ============================================================ */
.page-hero {
  position: relative;
  padding: 130px 0 110px;
  overflow: hidden;
  background: var(--color-primary-dk);
  isolation: isolate;
}
.page-hero-bg { position: absolute; inset: 0; z-index: -1; }
.page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(12, 26, 68, .96) 0%, rgba(18, 38, 97, .88) 45%, rgba(29, 52, 115, .74) 100%);
}
.page-hero-decor {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .5;
  z-index: -1;
  pointer-events: none;
}
.page-hero-decor-1 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(240, 22, 38, .5), transparent 70%);
  top: -160px; left: -120px;
}
.page-hero-decor-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(29, 52, 115, .9), transparent 70%);
  bottom: -150px; right: -100px;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 820px;
}
.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 24px;
}
.page-breadcrumb a {
  color: rgba(255, 255, 255, .6);
  transition: color .3s var(--ease);
}
.page-breadcrumb a:hover { color: #fff; }
.page-breadcrumb i { font-size: 9px; }
.page-breadcrumb span { color: var(--color-gold); }

.page-hero h1 {
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 22px;
}
.page-hero h1 em {
  display: inline-block;
  color: var(--color-gold);
  font-style: italic;
  font-weight: 700;
}
.page-hero p {
  font-size: 17.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .82);
  max-width: 620px;
  margin-bottom: 40px;
}
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ============================================================
   2. QUICK CONTACT CARDS
   ============================================================ */
.quick-contact {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.quick-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 38px 26px;
  border-right: 1px solid var(--color-border);
  color: inherit;
  transition: background .3s var(--ease);
  text-align: left;
}
.quick-card:last-child { border-right: none; }
a.quick-card:hover { background: var(--color-light); }
.quick-icon {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(240, 22, 38, .08);
  color: var(--color-accent);
  border-radius: 14px;
  font-size: 18px;
  margin-bottom: 14px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
a.quick-card:hover .quick-icon {
  background: var(--color-accent);
  color: #fff;
}
.quick-label {
  font-size: 11.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 600;
}
.quick-value {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -.2px;
  word-break: break-word;
}
.quick-note {
  font-size: 12.5px;
  color: var(--color-muted);
}

/* ============================================================
   3. CONTACT MAIN (FORM + SIDE)
   ============================================================ */
.contact-main { padding: 130px 0; background: var(--color-light); }

.contact-main-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ---- FORM ---- */
.contact-form-wrap {
  background: #fff;
  padding: 48px 46px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: -.5px;
  margin-bottom: 12px;
}
.contact-form-lede {
  color: var(--color-muted);
  font-size: 15.5px;
  line-height: 1.65;
  margin-bottom: 30px;
}

/* ---- ALERTS ---- */
.form-alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 26px;
  font-size: 14.5px;
  line-height: 1.55;
}
.form-alert i { margin-top: 2px; font-size: 16px; }
.form-alert-success {
  background: rgba(16, 185, 129, .08);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, .25);
}
.form-alert-error {
  background: rgba(240, 22, 38, .06);
  color: #B91C1C;
  border: 1px solid rgba(240, 22, 38, .25);
}

/* ---- FORM ---- */
.contact-form { display: flex; flex-direction: column; gap: 22px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: .2px;
}
.form-field label span { color: var(--color-accent); }

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--color-text);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.form-field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6472' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
  cursor: pointer;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9BA3B2;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(18, 38, 97, .08);
}
.form-field input.has-error,
.form-field select.has-error,
.form-field textarea.has-error {
  border-color: var(--color-accent);
  background: rgba(240, 22, 38, .02);
}

/* ---- RADIO GROUP ---- */
.radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.radio-option {
  position: relative;
  cursor: pointer;
}
.radio-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 12px;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-muted);
  transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.radio-option span i { color: var(--color-muted); font-size: 13px; transition: color .25s var(--ease); }
.radio-option input:checked + span {
  border-color: var(--color-primary);
  background: rgba(18, 38, 97, .04);
  color: var(--color-primary);
  font-weight: 600;
}
.radio-option input:checked + span i { color: var(--color-accent); }
.radio-option:hover span { border-color: var(--color-primary); }

/* ---- CONSENT ---- */
.form-field-consent { margin-top: 4px; }
.checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--color-muted);
  line-height: 1.55;
}
.checkbox-option input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 20px;
  width: 20px; height: 20px;
  border: 1.5px solid var(--color-border);
  border-radius: 5px;
  margin-top: 1px;
  cursor: pointer;
  position: relative;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.checkbox-option input:checked {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.checkbox-option input:checked::after {
  content: '';
  position: absolute;
  top: 3px; left: 6px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---- SUBMIT ---- */
.btn-submit {
  margin-top: 10px;
  align-self: flex-start;
  padding: 18px 34px;
  font-size: 15px;
}
.btn-submit.is-loading { pointer-events: none; opacity: .75; }
.btn-submit.is-loading i {
  animation: spin .8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   SIDE CARDS
   ============================================================ */
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}
.side-card {
  padding: 30px 28px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.side-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.side-card h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  letter-spacing: -.2px;
}

/* primary card */
.side-card-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border: none;
  color: #fff;
  padding: 34px 30px;
  box-shadow: var(--shadow-lg);
}
.side-card-primary:hover { transform: translateY(-3px); }
.side-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 14px;
  padding: 5px 10px;
  background: rgba(233, 185, 73, .15);
  border: 1px solid rgba(233, 185, 73, .3);
  border-radius: 6px;
}
.side-card-primary h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 8px;
  letter-spacing: -.3px;
}
.side-card-primary p {
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.side-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  padding: 14px 20px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  width: 100%;
  justify-content: center;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.side-phone i { color: var(--color-gold); }
.side-phone:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}
.side-phone:hover i { color: #fff; }

/* list */
.side-list { display: flex; flex-direction: column; gap: 12px; }
.side-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.5;
}
.side-list i {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(240, 22, 38, .1);
  color: var(--color-accent);
  border-radius: 50%;
  font-size: 10px;
  margin-top: 1px;
}

/* social */
.side-social { display: flex; gap: 10px; }
.side-social a {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-light);
  color: var(--color-primary);
  border-radius: 12px;
  font-size: 15px;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.side-social a:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-3px);
}

/* hours */
.hours-list { display: flex; flex-direction: column; gap: 0; }
.hours-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
}
.hours-list li:last-child { border-bottom: none; padding-bottom: 0; }
.hours-list span { color: var(--color-muted); }
.hours-list strong { color: var(--color-primary); font-weight: 600; font-family: var(--font-heading); font-size: 13.5px; }
.hours-highlight strong { color: var(--color-accent); }

/* ============================================================
   4. MAP
   ============================================================ */
.map-section { padding: 130px 0; background: #fff; }

.map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-light);
}
.map-wrap iframe { display: block; width: 100%; }

.map-info {
  position: absolute;
  left: 30px;
  bottom: 30px;
  max-width: 340px;
  background: #fff;
  padding: 26px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.map-info-item { display: flex; align-items: center; gap: 14px; }
.map-info-item i {
  flex: 0 0 42px;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(240, 22, 38, .08);
  color: var(--color-accent);
  border-radius: 12px;
  font-size: 15px;
}
.map-info-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 14.5px;
  color: var(--color-primary);
  margin-bottom: 2px;
}
.map-info-item span {
  font-size: 13.5px;
  color: var(--color-muted);
}
.map-info-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 999px;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.map-info-cta:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}

/* ============================================================
   5. FINAL CTA
   ============================================================ */
.final-cta {
  position: relative;
  padding: 150px 0;
  overflow: hidden;
  background: var(--color-primary-dk);
  text-align: center;
}
.final-cta-media { position: absolute; inset: 0; z-index: 0; }
.final-cta-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.final-cta-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(12, 26, 68, .95) 0%, rgba(18, 38, 97, .88) 50%, rgba(186, 43, 47, .82) 100%);
}
.final-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.final-cta h2 {
  color: #fff;
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 22px;
}
.final-cta p {
  color: rgba(255, 255, 255, .82);
  font-size: 17px;
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 40px;
}
.final-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .contact-main-grid { gap: 40px; }
  .contact-form-wrap { padding: 40px 36px; }
}

@media (max-width: 1024px) {
  .contact-main-grid { grid-template-columns: 1fr; }
  .contact-side { position: static; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-card { border-right: none; border-bottom: 1px solid var(--color-border); }
  .quick-card:nth-child(odd) { border-right: 1px solid var(--color-border); }
  .quick-card:nth-child(3), .quick-card:nth-child(4) { border-bottom: none; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 900px) {
  .contact-main { padding: 90px 0; }
  .map-section { padding: 90px 0; }
  .page-hero { padding: 100px 0 80px; }
  .contact-form-wrap { padding: 34px 28px; }
  .map-info {
    position: static;
    max-width: 100%;
    margin-top: -8px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: none;
    border-top: 1px solid var(--color-border);
  }
  .map-wrap iframe { height: 400px; }
}

@media (max-width: 720px) {
  .form-row { grid-template-columns: 1fr; gap: 18px; }
  .radio-group { grid-template-columns: 1fr; }
  .contact-form-wrap h2 { font-size: 26px; }
  .btn-submit { align-self: stretch; justify-content: center; }
  .quick-card { padding: 28px 20px; }
  .side-card { padding: 26px 22px; }
  .side-card-primary { padding: 28px 24px; }
  .side-phone { font-size: 17px; }
  .hours-list li { font-size: 13.5px; }
}

@media (max-width: 520px) {
  .container { padding: 0 20px; }
  .page-hero-actions { flex-direction: column; align-items: stretch; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-card { border-right: none !important; border-bottom: 1px solid var(--color-border); }
  .quick-card:last-child { border-bottom: none; }
  .final-cta { padding: 100px 0; }
  .final-cta-actions { flex-direction: column; align-items: stretch; }
  .final-cta-actions .btn { justify-content: center; }
  .map-wrap iframe { height: 320px; }
}