/* =========================================================================
   dlwins.com — replica of the live Wix Studio design.
   Palette and typography taken from the captured site:
     --color_12 #002D4E navy · --color_14 #D6F200 lime · --color_13 #80C0F0 sky
     --color_15 #31302F ink  · --color_19 #E8EFF5 pale · --color_18 #68A5D1 blue
   Display face is Wire One (SIL OFL), body is Open Sans Semibold (Apache 2.0),
   both self-hosted from the originals the Wix site served.
   ========================================================================= */

@font-face {
  font-family: "Wire One";
  src: url("../fonts/wireone-regular.woff2") format("woff2"),
       url("../fonts/wireone-regular.woff")  format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Open Sans Semibold";
  src: url("../fonts/opensans-semibold.woff2") format("woff2"),
       url("../fonts/opensans-semibold.woff")  format("woff");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  --navy:  #002D4E;
  --lime:  #D6F200;
  --sky:   #80C0F0;
  --blue:  #68A5D1;
  --ink:   #31302F;
  --pale:  #E8EFF5;
  --mid:   #1A4D84;
  --grey:  #727272;
  --line:  #E2E2E2;
  --white: #FFFFFF;

  --font-display: "Wire One", "Open Sans Semibold", Montserrat, sans-serif;
  --font-body: "Open Sans Semibold", Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1240px;
  --wrap-narrow: 820px;
  --radius: 30px;          /* Wix buttons/menus are strongly rounded */
  --radius-sm: 8px;
  --shadow: 0 2px 10px rgba(0,45,78,.08);
  --shadow-lift: -2px -2px 1px 1px var(--sky);
  --transition: .2s ease;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, svg, video { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; color: inherit; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ---------- typography -------------------------------------------------- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-body); color: var(--navy); line-height: 1.2; font-weight: 700; }

/* the big Wire One display type — thin, condensed, widely tracked */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .15em;
  line-height: 1;
  text-transform: none;
  color: var(--white);
}
.display-xl { font-size: clamp(3.2rem, 11vw, 7rem); }
.display-lg { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.display-md { font-size: clamp(1.6rem, 3.4vw, 2.1rem); letter-spacing: .12em; }
.display.on-light { color: var(--navy); }
.display.lime { color: var(--lime); }

h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }

p + p { margin-top: 1rem; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--mid); }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue); margin-bottom: .8rem;
}
.lede { font-size: 1.12rem; }
.muted { color: var(--grey); font-size: .93rem; }
.center { text-align: center; }

/* ---------- layout ------------------------------------------------------ */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-pale { background: var(--pale); }
.section-navy { background: var(--navy); color: rgba(255,255,255,.88); }
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4, .section-navy h5 { color: var(--white); }
.grid { display: grid; gap: 1.75rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* ---------- buttons ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .9rem; font-weight: 700; letter-spacing: .02em;
  padding: .8rem 1.9rem; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-lime  { background: var(--lime);  color: var(--navy); }
.btn-lime:hover  { background: var(--sky); color: var(--navy); }
.btn-navy  { background: var(--navy);  color: var(--white); }
.btn-navy:hover  { background: var(--sky); color: var(--navy); }
.btn-sky   { background: var(--sky);   color: var(--navy); }
.btn-sky:hover   { background: var(--lime); color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--navy); }

/* ---------- header + mega menu ------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 80; background: var(--white); box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .8rem 0; }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.logo b { font-size: 1.15rem; color: var(--navy); letter-spacing: .01em; }
.logo span { font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); margin-top: .2rem; }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav > li { position: relative; list-style: none; }
.nav > li > a, .nav > li > button {
  display: block; background: none; border: 0; cursor: pointer;
  font-size: .9rem; font-weight: 700; color: var(--navy);
  padding: .6rem .85rem; border-radius: var(--radius); text-decoration: none;
}
.nav > li > a:hover, .nav > li > button:hover,
.nav > li[aria-current] > a { background: var(--pale); }

.submenu {
  position: absolute; top: calc(100% + .4rem); left: 0; min-width: 260px;
  background: var(--navy); border-radius: 18px; padding: 1rem 0;
  box-shadow: 0 10px 30px rgba(0,45,78,.25);
  display: none; z-index: 90;
}
.submenu.wide { min-width: 720px; display: none; grid-template-columns: repeat(4, 1fr); gap: .5rem 1.5rem; padding: 1.5rem; }
.nav > li:hover > .submenu, .nav > li:focus-within > .submenu { display: block; }
.nav > li:hover > .submenu.wide, .nav > li:focus-within > .submenu.wide { display: grid; }
.submenu a { display: block; padding: .4rem 1.25rem; color: rgba(255,255,255,.85); font-size: .86rem; text-decoration: none; }
.submenu.wide a { padding: .3rem 0; }
.submenu a:hover { color: var(--lime); }
.submenu h4 { color: var(--lime); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 .5rem; padding: 0 1.25rem; }
.submenu.wide h4 { padding: 0; }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 6px 0; transition: var(--transition); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; inset: 100% 0 auto 0; flex-direction: column;
    align-items: stretch; gap: 0; background: var(--white);
    box-shadow: var(--shadow); padding: .5rem 1.25rem 1.5rem;
    max-height: 78vh; overflow-y: auto; display: none;
  }
  .nav.open { display: flex; }
  .nav > li > a, .nav > li > button { width: 100%; text-align: left; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .submenu, .submenu.wide {
    position: static; display: block !important; min-width: 0; background: transparent;
    box-shadow: none; padding: .25rem 0 .75rem 1rem; grid-template-columns: 1fr;
  }
  .submenu a { color: var(--navy); padding: .45rem 0; }
  .submenu h4 { color: var(--blue); padding: 0; margin-top: .75rem; }
}

/* ---------- hero -------------------------------------------------------- */
.hero { position: relative; background: var(--navy); color: rgba(255,255,255,.9); overflow: hidden; }
.hero-inner { padding: clamp(3.5rem, 9vw, 7rem) 0; position: relative; z-index: 2; }
.hero-bg { position: absolute; inset: 0; z-index: 1; opacity: .28; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero .lede { color: rgba(255,255,255,.85); max-width: 46ch; margin-top: 1.25rem; }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.actions.center { justify-content: center; }

/* ---------- reason / feature tiles -------------------------------------- */
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.reason { text-align: center; }
.reason .num {
  font-family: var(--font-display); font-size: 3.4rem; line-height: 1;
  color: var(--lime); letter-spacing: .08em;
}
.reason h3 { margin: .5rem 0 .4rem; letter-spacing: .06em; text-transform: uppercase; font-size: 1.05rem; }
.section-navy .reason h3 { color: var(--lime); }

/* ---------- cards ------------------------------------------------------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow var(--transition);
}
.card:hover { box-shadow: 0 8px 24px rgba(0,45,78,.14); }
.card-media { aspect-ratio: 16/10; overflow: hidden; background: var(--pale); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .5rem; }
.card-body h3 a { text-decoration: none; }
.card-body p { font-size: .93rem; }
.card-link { margin-top: auto; padding-top: 1rem; font-weight: 700; font-size: .86rem; text-decoration: none; color: var(--navy); }
.card-link::after { content: " →"; color: var(--blue); }

/* ---------- split feature rows ------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2rem; } .split.reverse > :first-child { order: 0; } }
.split img { border-radius: 18px; }

/* ---------- carriers ---------------------------------------------------- */
.carrier-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.25rem; }
.carrier { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem 1.25rem; text-align: center; }
.carrier-logo { height: 54px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.carrier-logo img { max-height: 54px; width: auto; object-fit: contain; }
.carrier h3 { font-size: .85rem; margin-bottom: .85rem; }
.carrier-actions { display: flex; flex-direction: column; gap: .4rem; font-size: .8rem; }

/* ---------- reviews ----------------------------------------------------- */
.review { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--lime); border-radius: 14px; padding: 1.5rem; }
.stars { color: var(--lime); letter-spacing: 2px; margin-bottom: .5rem; }
.section-navy .review { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); border-left-color: var(--lime); color: rgba(255,255,255,.88); }
.review-by { margin-top: 1rem; font-weight: 700; font-size: .88rem; color: var(--navy); }
.section-navy .review-by { color: var(--lime); }

/* ---------- accordion --------------------------------------------------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { cursor: pointer; padding: 1.1rem 0; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; color: var(--blue); font-size: 1.3rem; line-height: 1; }
.accordion details[open] summary::after { content: "–"; }
.accordion .body { padding: 0 0 1.2rem; }

/* ---------- prose ------------------------------------------------------- */
.prose { max-width: 70ch; }
.prose p { margin-bottom: 1.1rem; }
.prose h2 { margin: 2.2rem 0 .8rem; }
.prose h3 { margin: 1.7rem 0 .6rem; }
.prose ul, .prose ol { margin: 0 0 1.1rem 1.35rem; }
.prose li { margin-bottom: .45rem; }
.prose blockquote { border-left: 4px solid var(--lime); padding-left: 1.25rem; margin: 1.5rem 0; color: var(--navy); }

/* ---------- forms ------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2rem; }
.field { flex: 1 1 220px; }
label { display: block; font-size: .8rem; font-weight: 700; color: var(--navy); margin-bottom: .35rem; }
input[type="text"], input[type="search"], input[type="email"], input[type="tel"],
input[type="url"], select, textarea {
  width: 100%; padding: .75rem 1rem; border: 1px solid var(--line);
  border-radius: 10px; background: var(--white); color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sky); outline-offset: 1px; border-color: var(--sky); }

/* ---------- misc -------------------------------------------------------- */
.crumb { font-size: .84rem; color: var(--grey); margin-bottom: 1.25rem; }
.crumb a { color: var(--grey); }
.badge { display: inline-block; background: var(--pale); border-radius: 100px; padding: .22rem .85rem; font-size: .76rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.empty { padding: 3rem 1rem; text-align: center; color: var(--grey); }
.embed { position: relative; padding-bottom: 62%; height: 0; overflow: hidden; border-radius: 14px; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- footer ------------------------------------------------------ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 3.5rem 0 2rem; font-size: .9rem; }
.site-footer h4 { color: var(--lime); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer li { margin-bottom: .5rem; list-style: none; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .8rem; color: rgba(255,255,255,.5); }

/* ---------- a11y -------------------------------------------------------- */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--lime); color: var(--navy); padding: .7rem 1.2rem; border-radius: var(--radius); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
