/* EWCC redesign - shared styles */
:root {
  --navy: #1b3566;
  --navy-deep: #12244a;
  --red: #c23b33;
  --red-dark: #a12f28;
  --cream: #fbf8f3;
  --sand: #f2ece2;
  --ink: #1d2433;
  --muted: #5a6273;
  --line: #e4ddd1;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 36, 74, .08);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--navy-deep); margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: .8rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.section { padding: 88px 0; }
.section.alt { background: var(--white); }
.section.sand { background: var(--sand); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-family: var(--sans);
  transition: background .15s, color .15s, border-color .15s;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-light { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar */
.topbar { background: var(--navy-deep); color: #d9e1f2; font-size: .9rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }

/* Header */
.header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; height: 52px; }
.brand strong { font-family: var(--serif); font-size: 1.35rem; color: var(--navy-deep); display: block; line-height: 1.1; }
.brand span { font-size: .78rem; color: var(--muted); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; }
.nav a:hover, .nav a.active { color: var(--red); }
.nav .btn { color: var(--white); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--cream) 0%, var(--sand) 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 88px; }
.hero h1 em { font-style: italic; color: var(--red); }
.hero-card { background: var(--navy); color: var(--white); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); position: relative; }
.hero-card h3 { color: var(--white); }
.hero-card ul { list-style: none; padding: 0; margin: 0 0 24px; }
.hero-card li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px solid rgba(255,255,255,.12); }
.hero-card li:last-child { border-bottom: 0; }
.hero-card li::before { content: ""; position: absolute; left: 0; top: 15px; width: 20px; height: 20px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.hero-call { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--white); text-decoration: none; margin-top: 4px; }
.hero-note { font-size: .9rem; color: #c3cde3; margin: 0; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 32px; color: var(--muted); font-size: .95rem; }
.trust b { color: var(--navy-deep); }

/* Page banner */
.banner { background: var(--navy); color: #d9e1f2; padding: 64px 0 56px; }
.banner h1 { color: var(--white); margin-bottom: .3em; }
.banner p { font-size: 1.15rem; max-width: 640px; margin: 0; }
.crumbs { font-size: .9rem; margin-bottom: 12px; }
.crumbs a { color: #ffb4ae; text-decoration: none; }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 52px; height: 52px; border-radius: 12px; background: #fbe9e7; color: var(--red); display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 28px; height: 28px; }
.card.navy { background: var(--navy); border-color: var(--navy); color: #d9e1f2; }
.card.navy h3 { color: var(--white); }
.card.navy .icon { background: rgba(255,255,255,.12); color: var(--white); }
.section-head { margin-bottom: 44px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5em; columns: 2; column-gap: 24px; }
.checklist li { padding-left: 28px; position: relative; margin-bottom: 10px; break-inside: avoid; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--red); }

/* Stats */
.stats { background: var(--navy-deep); color: var(--white); padding: 56px 0; }
.stats .grid { text-align: center; }
.stat b { display: block; font-family: var(--serif); font-size: 2.8rem; line-height: 1; margin-bottom: 6px; }
.stat span { color: #b9c5de; }

/* Video */
.video { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; background: var(--navy-deep); box-shadow: var(--shadow); }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.video:hover img { opacity: 1; }
.video .play { position: absolute; inset: 0; display: grid; place-items: center; }
.video .play i { width: 76px; height: 76px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(194,59,51,.25); }
.video .play i::after { content: ""; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { margin-top: 14px; font-weight: 600; color: var(--navy-deep); }

/* Quote */
.quote { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.8rem); line-height: 1.4; color: var(--navy-deep); border-left: 4px solid var(--red); padding-left: 24px; margin: 0 0 18px; }
.quote-by { color: var(--muted); font-weight: 600; }

/* CTA band */
.cta { background: var(--red); color: var(--white); padding: 64px 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { color: var(--white); margin: 0 0 .2em; }
.cta p { margin: 0; color: #ffe2df; font-size: 1.1rem; }

/* Form */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; color: var(--navy-deep); }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 1rem; background: var(--white); color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,53,102,.15); }
.form .hp { position: absolute; left: -9999px; }
.form small { color: var(--muted); font-size: .88rem; }
.notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 600; display: none; }
.notice.ok { background: #e6f4ea; color: #1e5b32; display: block; }
.notice.err { background: #fbe9e7; color: var(--red-dark); display: block; }

/* People */
.person h3 { margin-bottom: 2px; }
.person .role { color: var(--red); font-weight: 700; font-size: .95rem; margin-bottom: 14px; display: block; }
.person dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; }
.person dt { color: var(--muted); }
.person dd { margin: 0; font-weight: 600; }

/* Map */
.map { border: 0; width: 100%; height: 340px; border-radius: var(--radius); }

/* Footer */
.footer { background: var(--navy-deep); color: #b9c5de; padding: 64px 0 28px; font-size: .97rem; }
.footer .grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: var(--white); font-family: var(--sans); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer .brand strong { color: var(--white); }
.footer .brand span { color: #b9c5de; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; }

/* Mobile call bar */
.callbar { display: none; }

@media (max-width: 960px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { justify-content: center; margin-top: 12px; border: 0; }
  .header .wrap { position: relative; }
}
@media (max-width: 640px) {
  body { font-size: 17px; padding-bottom: 64px; }
  .wrap { padding: 0 16px; }
  .section { padding: 60px 0; }
  .hero .wrap { padding-top: 48px; padding-bottom: 56px; }
  .grid-2, .grid-3, .grid-4, .form .row { grid-template-columns: 1fr; }
  .stats .grid { grid-template-columns: 1fr 1fr; }
  .footer .grid { grid-template-columns: 1fr; }
  .checklist { columns: 1; }
  .topbar .hours { display: none; }
  .brand span { display: none; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -4px 16px rgba(0,0,0,.12); }
  .callbar a { padding: 18px 8px; text-align: center; font-weight: 700; text-decoration: none; color: var(--white); background: var(--navy); }
  .callbar a + a { background: var(--red); }
}
