*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:    #fd0000;
  --ink:    #0f0d0c;
  --muted:  #6b6560;
  --light:  #9a9490;
  --bg:     #f5f3ef;
  --bg2:    #edeae4;
  --white:  #ffffff;
  --dark:   #111010;
  --border: rgba(0,0,0,0.09);
  --font:   'Mona Sans', sans-serif;
  --ease:   cubic-bezier(0.76, 0, 0.24, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}


.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; } .d3 { transition-delay: 0.3s; } .d4 { transition-delay: 0.4s; }


/* Primary contact layout — sits directly under the global header */
.cew-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}


.cew-form-side {
  padding: 72px 80px 80px;
  background: var(--white);
  border-right: 1px solid var(--border);
}
.cew-section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--red); margin-bottom: 16px;
}
.cew-section-eyebrow::before { content: ''; width: 24px; height: 1.5px; background: var(--red); }
.cew-form-side h1,
.cew-form-side h2 {
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 900; letter-spacing: -0.03em; color: var(--ink);
  line-height: 1.08; margin-bottom: 12px;
}
.cew-form-side .form-sub {
  font-size: 15px; font-weight: 400; color: var(--muted); line-height: 1.75; margin-bottom: 44px;
}


.cew-form { display: flex; flex-direction: column; gap: 20px; }
.cew-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cew-field { display: flex; flex-direction: column; gap: 7px; }
.cew-field label {
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink);
}
.cew-field input,
.cew-field select,
.cew-field textarea {
  font-family: var(--font);
  font-size: 14px; font-weight: 500; color: var(--ink);
  background: var(--bg);
  border: 1.5px solid transparent;
  border-radius: 9px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.22s, background 0.22s, box-shadow 0.22s;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
}
.cew-field input::placeholder,
.cew-field textarea::placeholder { color: var(--light); font-weight: 400; }
.cew-field input:focus,
.cew-field select:focus,
.cew-field textarea:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(253,0,0,0.07);
}
.cew-field select {
  background-image: url("../assets/icon-7a4e02ca656b.svg");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 40px; cursor: pointer;
}
.cew-field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.cew-form-notice {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  background: var(--bg); border-radius: 9px;
  font-size: 12.5px; font-weight: 500; color: var(--muted);
}
.cew-form-notice svg { flex-shrink: 0; width: 15px; height: 15px; color: var(--red); }
.cew-submit-btn {
  display: inline-flex; align-items: center; gap: 0;
  text-decoration: none; font-family: var(--font);
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.01em;
  border: none; cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s;
  border-radius: 7px; overflow: hidden;
  background: var(--ink); color: var(--white);
  box-shadow: 0 3px 16px rgba(0,0,0,0.12);
  width: 100%;
}
.cew-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.18); }
.cew-submit-btn span { padding: 15px 22px; flex: 1; text-align: center; }
.cew-submit-btn i { background: var(--red); padding: 15px 20px; display: flex; align-items: center; justify-content: center; }
.cew-submit-btn i svg { width: 13px; height: 13px; }


.cew-form-success {
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 60px 40px; gap: 20px;
}
.cew-form-success.show { display: flex; }
.cew-form-success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(253,0,0,0.1);
  display: flex; align-items: center; justify-content: center;
  animation: successPop 0.5s var(--spring) forwards;
}
@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cew-form-success h3 { font-size: 22px; font-weight: 900; color: var(--ink); }
.cew-form-success p { font-size: 15px; color: var(--muted); line-height: 1.7; max-width: 320px; }


.cew-info-side {
  background: var(--bg);
  padding: 72px 64px 80px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  border-left: 1px solid var(--border);
}
.cew-info-side::before {
  content: '';
  position: absolute; top: -160px; right: -160px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(253,0,0,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.cew-info-side-top { position: relative; z-index: 1; min-width: 0; }
.cew-info-side-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.cew-info-side-eyebrow::before { content: ''; width: 24px; height: 1.5px; background: var(--red); }
.cew-info-side h2 {
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 900; color: var(--ink); line-height: 1.1;
  letter-spacing: -0.03em; margin-bottom: 16px;
}
.cew-info-side h2 em { font-style: italic; color: var(--red); }
.cew-info-side-desc {
  font-size: 15px; font-weight: 400;
  color: var(--muted); line-height: 1.75; margin-bottom: 40px;
}


.cew-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
  min-width: 0;
}
.cew-contact-card {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  background: var(--white);
  transition: border-color 0.25s, background 0.25s, transform 0.22s var(--ease), box-shadow 0.22s;
  min-width: 0;
}
.cew-contact-card:hover {
  border-color: rgba(253,0,0,0.3);
  background: var(--white);
  transform: translateX(4px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}
.cew-contact-card.is-static { cursor: default; }
.cew-contact-card.is-static:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}
.cew-contact-card-icon {
  width: 40px; height: 40px;
  background: var(--bg);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  border: 1px solid var(--border);
  margin-top: 2px;
}
.cew-contact-card-icon svg { width: 16px; height: 16px; }
.cew-contact-card > div:last-child { min-width: 0; flex: 1; }
.cew-contact-card .lbl {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--light); margin-bottom: 3px;
}
.cew-contact-card .val {
  font-size: 13.5px; font-weight: 700; color: var(--ink);
  line-height: 1.45;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.cew-contact-card .val-secondary {
  font-weight: 500;
  font-size: 12.5px;
  color: var(--muted);
}
.cew-contact-card .sub {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.5;
}


.cew-hours {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding-top: 28px; margin-top: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.cew-hours-item .h-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--light); margin-bottom: 6px;
}
.cew-hours-item .h-val {
  font-size: 13.5px; font-weight: 600; color: var(--ink);
}


.cew-certs {
  position: relative; z-index: 1;
  margin-top: 24px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.cew-cert-badge {
  padding: 6px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11px; font-weight: 600; color: var(--muted);
  letter-spacing: 0.04em;
  transition: border-color 0.2s, color 0.2s;
  cursor: default; background: var(--white);
}
.cew-cert-badge:hover { border-color: rgba(253,0,0,0.35); color: var(--red); }


.cew-map-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  min-height: 420px;
  border-bottom: 1px solid var(--border);
}
.cew-map-text {
  padding: 64px 60px;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center;
  border-right: 1px solid var(--border);
}
.cew-map-text h3 {
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 900; letter-spacing: -0.03em; color: var(--ink);
  margin: 14px 0 16px; line-height: 1.15;
}
.cew-map-text p {
  font-size: 15px; font-weight: 400; color: var(--muted); line-height: 1.8; margin-bottom: 8px;
}


.cew-maps-btn {
  display: inline-flex; align-items: center; gap: 0;
  margin-top: 24px;
  font-family: var(--font);
  font-size: 13px; font-weight: 700;
  text-decoration: none;
  border-radius: 8px; overflow: hidden;
  background: var(--red); color: var(--white);
  box-shadow: 0 4px 20px rgba(253,0,0,0.28);
  border: none; cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s;
  align-self: flex-start;
}
.cew-maps-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(253,0,0,0.42); }
.cew-maps-btn span { padding: 13px 20px; }
.cew-maps-btn i {
  background: rgba(0,0,0,0.18);
  padding: 13px 15px;
  display: flex; align-items: center; justify-content: center;
}
.cew-maps-btn i svg { width: 13px; height: 13px; }

.cew-map-embed {
  position: relative; overflow: hidden;
  background: var(--bg2);
  min-height: 420px;
}
.cew-map-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: none; display: block;
  filter: grayscale(0.2) contrast(1.05);
  transition: filter 0.4s;
}
.cew-map-embed:hover iframe { filter: grayscale(0) contrast(1); }
.cew-map-embed::after {
  content: '';
  position: absolute; inset: 0;
  border-left: 1px solid var(--border);
  pointer-events: none;
}


.cew-response-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.cew-response-item {
  padding: 44px 44px;
  border-right: 1px solid var(--border);
  position: relative;
}
.cew-response-item:last-child { border-right: none; }
.cew-response-num {
  font-size: 10px; font-weight: 800; letter-spacing: 0.18em;
  color: var(--red); text-transform: uppercase; display: block; margin-bottom: 12px;
}
.cew-response-item h4 {
  font-size: 15px; font-weight: 800; color: var(--ink); margin-bottom: 8px; line-height: 1.3;
}
.cew-response-item p {
  font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.65;
}


@keyframes cew-fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes cew-fadeIn { from { opacity: 0; } to { opacity: 1; } }


@media (max-width: 1100px) {
  .cew-contact-grid { grid-template-columns: 1fr; }
  .cew-form-side { border-right: none; border-bottom: 1px solid var(--border); padding: 56px 48px; }
  .cew-info-side { padding: 56px 48px; border-left: none; }
  .cew-map-section { grid-template-columns: 1fr; }
  .cew-map-text { border-right: none; border-bottom: 1px solid var(--border); padding: 56px 48px; }
  .cew-map-embed { min-height: 380px; }
  .cew-response-strip { grid-template-columns: 1fr 1fr; }
  .cew-response-item:nth-child(2) { border-right: none; }
  .cew-response-item:nth-child(3) { border-top: 1px solid var(--border); }
  .cew-response-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
}
@media (max-width: 640px) {
  .cew-form-side, .cew-info-side, .cew-map-text { padding: 40px 20px; }
  .cew-form-row { grid-template-columns: 1fr; }
  .cew-contact-card { padding: 16px; gap: 14px; }
  .cew-contact-card:hover { transform: none; }
  .cew-response-strip { grid-template-columns: 1fr; }
  .cew-response-item { border-right: none; border-bottom: 1px solid var(--border); }
  .cew-response-item:last-child { border-bottom: none; }
  .cew-hours { grid-template-columns: 1fr; gap: 14px; }
}
