/* ══════════════════════════════════════════
   RA Window Cleaning – assets/css/contact.css
   ══════════════════════════════════════════ */

/* ── PAGE HERO ── */
.page-hero {
  min-height: 48vh;
  display: flex; align-items: flex-end;
  padding: 120px 5vw 70px;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 60% 80%, rgba(13,127,212,0.22) 0%, transparent 70%),
    repeating-linear-gradient(
      105deg, transparent 0px, transparent 28px,
      rgba(61,184,245,0.02) 29px, transparent 30px
    );
}
.page-hero-content { position: relative; max-width: 700px; }
.page-hero-content h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.92; letter-spacing: 1px;
  margin: 12px 0 20px;
}
.page-hero-content h1 span { color: var(--brand-light); }
.page-hero-sub {
  font-size: 1.1rem; font-weight: 300;
  color: var(--grey); line-height: 1.65; max-width: 480px;
}

/* ── CONTACT STRIP ── */
.contact-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(61,184,245,0.1);
  border-bottom: 1px solid rgba(61,184,245,0.1);
}
.contact-strip-item {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 5vw;
  border-right: 1px solid rgba(61,184,245,0.08);
  text-decoration: none; color: inherit;
  transition: background 0.2s;
}
.contact-strip-item:last-child { border-right: none; }
.contact-strip-item:hover { background: rgba(61,184,245,0.04); }
.csi-icon { font-size: 1.4rem; flex-shrink: 0; }
.csi-text { display: flex; flex-direction: column; gap: 3px; }
.csi-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grey); }
.csi-value { font-size: 0.9rem; font-weight: 600; color: var(--white); }

/* ── MAIN CONTACT LAYOUT ── */
.contact-main {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1400px; margin: 0 auto;
  padding: 80px 5vw;
  align-items: start;
  gap: 70px;
}

/* ── FORM SIDE ── */
.contact-form-side { }
.contact-form-desc {
  font-size: 0.95rem; color: var(--grey);
  line-height: 1.65; margin: 14px 0 32px;
}
.contact-form {
  display: flex; flex-direction: column; gap: 0;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
label {
  display: block; font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--brand-sky); margin-bottom: 8px;
}
input, select, textarea {
  width: 100%; padding: 14px 16px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(61,184,245,0.18);
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem; color: var(--white);
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
}
input::placeholder, textarea::placeholder { color: var(--muted, #4a6478); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand-light);
  background: rgba(61,184,245,0.06);
}
select option { background: #0b1e2e; color: var(--white); }
textarea { resize: vertical; min-height: 110px; }
.contact-submit {
  width: 100%; justify-content: center;
  font-size: 1rem; padding: 16px 24px;
  border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  margin-top: 4px;
}
.form-note {
  font-size: 0.72rem; color: var(--grey);
  text-align: center; margin-top: 12px;
}

/* Success state */
.form-success {
  text-align: center; padding: 48px 32px;
  background: rgba(61,184,245,0.06);
  border: 1px solid rgba(61,184,245,0.2);
  border-radius: 20px; margin-top: 8px;
}
.success-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-light));
  color: var(--dark); font-size: 1.6rem; font-weight: 900;
  display: grid; place-items: center; margin: 0 auto 20px;
}
.form-success h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem; letter-spacing: 1px; margin-bottom: 10px;
}
.form-success p { font-size: 0.92rem; color: var(--grey); line-height: 1.65; }

/* ── MAP SIDE ── */
.contact-map-side {
  display: flex; flex-direction: column; gap: 24px;
  position: sticky; top: 90px;
}
.map-info-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(61,184,245,0.1);
  border-radius: 16px; padding: 28px 30px;
}
.map-info-card h2 { margin: 12px 0 14px; font-size: 2rem; }
.map-info-card p { font-size: 0.9rem; color: var(--grey); line-height: 1.65; margin-bottom: 18px; }
.coverage-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.map-wrap {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(61,184,245,0.1);
  line-height: 0;
}
.map-wrap iframe { display: block; filter: invert(90%) hue-rotate(180deg); }

.contact-socials { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── FAQ ── */
.faq-section {
  padding: 90px 5vw;
  background: var(--dark-mid);
  border-top: 1px solid rgba(61,184,245,0.08);
  position: relative;
}
.faq-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, transparent, var(--brand-light), transparent);
}
.faq-inner {
  max-width: 860px; margin: 0 auto;
  display: grid; grid-template-columns: 240px 1fr;
  gap: 70px; align-items: start;
}
.faq-header { position: sticky; top: 100px; }
.faq-header h2 { margin-top: 12px; }

.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.faq-item:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.97rem; font-weight: 600;
  color: var(--white); text-align: left;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--brand-light); }
.faq-arrow {
  font-size: 1.1rem; flex-shrink: 0; color: var(--brand-light);
  transition: transform 0.3s;
  display: inline-block;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  font-size: 0.9rem; color: var(--grey); line-height: 1.75;
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0;
}
.faq-item.open .faq-a {
  max-height: 200px;
  padding-bottom: 20px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .contact-main { padding: 60px 5vw; gap: 50px; }
  .faq-section { padding: 60px 5vw; }
}
@media (max-width: 1000px) {
  .contact-strip { grid-template-columns: 1fr 1fr; }
  .contact-strip-item:nth-child(2) { border-right: none; }
  .contact-strip-item:nth-child(3) { border-top: 1px solid rgba(61,184,245,0.08); }
  .faq-inner { grid-template-columns: 1fr; gap: 36px; }
  .faq-header { position: static; }
}
@media (max-width: 860px) {
  .contact-main { grid-template-columns: 1fr; gap: 50px; }
  .contact-map-side { position: static; }
  .map-wrap iframe { height: 300px; }
  .page-hero { min-height: 40vh; padding: 100px 5vw 50px; }
}
@media (max-width: 600px) {
  .contact-strip { grid-template-columns: 1fr; }
  .contact-strip-item { border-right: none; border-bottom: 1px solid rgba(61,184,245,0.08); }
  .form-row { grid-template-columns: 1fr; }
  .page-hero { padding: 90px 5vw 40px; }
  .page-hero-sub { font-size: 1rem; }
  .map-wrap iframe { height: 240px; }
}