/* Lilac Dunes site styles.
   Palette sampled from the company logo:
   navy #01233B, lilac #8A67AE, sand #DDBC98, off-white #FEFDFA
*/

:root {
  --navy: #01233B;
  --navy-deep: #011526;
  --navy-mid: #0A3550;
  --lilac: #8A67AE;
  --lilac-soft: #E6DCEF;
  --lilac-deep: #6F4E93;
  --sand: #DDBC98;
  --sand-light: #EFE4D4;
  --cream: #F6F1E8;
  --foam: #FEFDFA;
  --ink: #01233B;
  --ink-soft: #3A5163;
  --line: rgba(1, 35, 59, 0.12);
  --line-strong: rgba(1, 35, 59, 0.22);
  --header-h: 5.25rem;
  --wrap: 72rem;
  --font-serif: "Montserrat", "Segoe UI", Roboto, Arial, sans-serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", Roboto, sans-serif;
  --shadow: 0 10px 30px rgba(1, 35, 59, 0.08);
  --radius: 0.75rem;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.1rem, 5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-family: var(--font-sans); letter-spacing: 0; font-weight: 650; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: min(calc(100% - 2rem), var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 200;
  background: var(--sand);
  color: var(--navy);
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.25rem;
}
.skip:focus { top: 0.75rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: var(--foam);
  height: var(--header-h);
  border-bottom: 1px solid rgba(221, 188, 152, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.wordmark {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}
.wordmark img {
  height: 3rem;
  width: auto;
}
@media (min-width: 720px) {
  .wordmark img { height: 3.75rem; }
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.55rem;
  border: 1px solid rgba(221, 188, 152, 0.4);
  border-radius: 0.35rem;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--foam);
  border-radius: 1px;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle span { transition: transform 0.15s ease, opacity 0.15s ease; }

.site-nav {
  display: none;
  align-items: center;
  gap: 0.15rem 1.6rem;
}
.site-nav.is-open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: var(--navy-deep);
  padding: 0.75rem 1rem 1.25rem;
  border-bottom: 1px solid rgba(221, 188, 152, 0.2);
  gap: 0;
}
.site-nav a {
  text-decoration: none;
  color: var(--foam);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 0.7rem 0.2rem;
  border-bottom: 1px solid rgba(254, 253, 250, 0.08);
}
.site-nav a:hover,
.site-nav a:focus-visible { color: var(--sand); }
.site-nav a[aria-current="page"] {
  color: var(--sand);
}
.site-nav .btn {
  margin-top: 0.85rem;
  text-align: center;
  border-bottom: 0;
}

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    background: transparent;
    padding: 0;
    border: 0;
  }
  .site-nav a {
    padding: 0.2rem 0;
    border-bottom: 0;
    position: relative;
  }
  .site-nav a[aria-current="page"]::after,
  .site-nav a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.45rem;
    height: 2px;
    background: var(--sand);
  }
  .site-nav .btn {
    margin-top: 0;
    display: inline-flex;
    color: var(--navy);
  }
  .site-nav .btn[aria-current="page"] {
    color: var(--navy);
  }
  .site-nav .btn::after,
  .site-nav .btn:hover::after,
  .site-nav .btn[aria-current="page"]::after {
    content: none;
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:focus-visible,
.site-nav a:focus-visible,
.wordmark:focus-visible,
.footer a:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
}
.btn-sand {
  background: var(--sand);
  color: var(--navy);
  border-color: var(--sand);
}
.btn-sand:hover { background: #e8cdaa; }
.btn-ghost {
  background: transparent;
  color: var(--foam);
  border-color: rgba(221, 188, 152, 0.55);
}
.btn-ghost:hover {
  border-color: var(--sand);
  color: var(--sand);
}
.btn-navy {
  background: var(--navy);
  color: var(--foam);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-mid); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Hero */
.hero {
  background: var(--navy);
  color: var(--foam);
  padding: 3.25rem 0 0;
  position: relative;
  overflow: hidden;
}
.hero h1, .hero h2 { color: var(--foam); }
.hero-copy { max-width: 40rem; padding-bottom: 2.5rem; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.9rem;
}
.hero .lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(254, 253, 250, 0.86);
  max-width: 36rem;
  margin: 1.1rem 0 1.75rem;
}
.hero-art {
  margin-top: 0.5rem;
  width: 100%;
}
.hero-art img,
.hero-art svg { width: 100%; height: auto; }
.hero-art-mobile { display: block; padding: 0 0 1.5rem; }
.hero-art-desktop { display: none; }

@media (min-width: 800px) {
  .hero { padding-top: 4.25rem; }
  .hero-art-mobile { display: none; }
  .hero-art-desktop { display: block; }
}

/* Dune divider */
.dune-break {
  display: block;
  width: 100%;
  height: 3.25rem;
  background: var(--navy);
  color: var(--cream);
  line-height: 0;
}
.dune-break svg { width: 100%; height: 3.25rem; }

/* Sections */
.section { padding: 4rem 0; }
.section-head { max-width: 38rem; margin-bottom: 2.25rem; }
.section-head p { color: var(--ink-soft); }
.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lilac-deep);
  margin-bottom: 0.55rem;
}

/* Chain cards */
.steps {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
.step {
  background: var(--foam);
  border: 1px solid var(--line);
  border-top: 3px solid var(--lilac);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}
.step:nth-child(2) { border-top-color: var(--sand); }
.step:nth-child(3) { border-top-color: var(--navy); }
.step-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.9rem;
  color: var(--navy);
}
.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lilac-deep);
  margin-bottom: 0.3rem;
}
.step h3 { margin-bottom: 0.45rem; }
.step p { color: var(--ink-soft); font-size: 1.05rem; }

/* Credentials strip */
.strip {
  background: var(--navy);
  color: var(--foam);
  padding: 2rem 0;
}
.strip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.strip-list li {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.35rem 1.1rem;
}
.strip-list li + li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sand);
  margin-right: 1.1rem;
  flex: 0 0 auto;
}

/* CTA band */
.cta {
  background: var(--sand-light);
  padding: 3.5rem 0;
}
.cta-inner {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
@media (min-width: 800px) {
  .cta-inner { grid-template-columns: 1.4fr auto; gap: 2rem; }
}
.cta p { color: var(--ink-soft); }
.cta .contact-bits { margin-top: 0.85rem; }

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy);
  color: var(--foam);
  padding: 3rem 0 3.25rem;
}
.page-hero h1 { color: var(--foam); font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
.page-hero .lead {
  color: rgba(254, 253, 250, 0.86);
  max-width: 36rem;
  font-size: 1.15rem;
  margin-top: 0.85rem;
}

.prose { max-width: 40rem; }
.prose p + p { margin-top: 1rem; }
.prose-wide { max-width: 44rem; }

.panel {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}
.panel + .panel { margin-top: 1.25rem; }

.team-panel {
  margin-top: 2.5rem;
  border-top: 3px solid var(--lilac);
}

/* Services layout */
.service {
  display: grid;
  gap: 1.5rem;
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--line);
}
.service:last-of-type { border-bottom: 0; }
@media (min-width: 800px) {
  .service {
    grid-template-columns: 8rem 1fr;
    gap: 2rem;
    align-items: start;
  }
}
.service-index {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--lilac);
  line-height: 1;
}

/* Credentials page */
.cred-grid {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 700px) {
  .cred-grid { grid-template-columns: 1fr 1fr; }
}
.cred {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow);
}
.cred h3 { margin-bottom: 0.4rem; }
.cred p { color: var(--ink-soft); font-size: 1.05rem; }
.cred-mark {
  width: 2.25rem;
  height: 0.28rem;
  background: var(--lilac);
  margin-bottom: 0.9rem;
  border-radius: 2px;
}
.cred:nth-child(2) .cred-mark { background: var(--sand); }
.cred:nth-child(3) .cred-mark { background: var(--navy); }
.cred:nth-child(4) .cred-mark { background: var(--lilac); }
.cred:nth-child(5) .cred-mark { background: var(--sand); }

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 880px) {
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: start; }
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-list .label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lilac-deep);
  margin-bottom: 0.2rem;
}

.form-grid { display: grid; gap: 0.95rem; }
.form-row { display: grid; gap: 0.95rem; }
@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
label .lbl {
  display: block;
  font-size: 0.9rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
  color: var(--navy);
}
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  background: var(--foam);
  border: 1px solid var(--line-strong);
  border-radius: 0.4rem;
  padding: 0.65rem 0.75rem;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--lilac);
  box-shadow: 0 0 0 3px rgba(138, 103, 174, 0.25);
}
textarea { min-height: 8.5rem; resize: vertical; }
.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--sand-light);
  border-left: 3px solid var(--lilac);
  color: var(--navy);
  font-size: 1rem;
}
.form-status:focus { outline: 2px solid var(--lilac); outline-offset: 2px; }
.req { color: var(--lilac-deep); }

/* Placeholders the client must fill */
.ph {
  display: inline;
  padding: 0.05em 0.4em;
  background: color-mix(in srgb, var(--lilac) 18%, var(--foam));
  border-bottom: 1px dashed var(--lilac-deep);
  color: var(--navy);
  font-weight: 650;
}
.footer .ph,
.strip .ph,
.hero .ph,
.page-hero .ph {
  background: color-mix(in srgb, var(--lilac) 28%, transparent);
  color: var(--foam);
  border-bottom-color: var(--sand);
}

.contact-bits {
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.contact-bits p { margin: 0.15rem 0; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(254, 253, 250, 0.86);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(221, 188, 152, 0.18);
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.3fr 0.8fr 1fr; gap: 3rem; }
}
.footer-logo { height: 6.5rem; width: auto; margin-bottom: 0.85rem; }
.footer-col h2 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.8rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: 0.4rem; }
.footer-col a { text-decoration: none; color: var(--foam); }
.footer-col a:hover { color: var(--sand); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.25rem;
  font-size: 0.92rem;
  color: rgba(254, 253, 250, 0.65);
}
.footer-bottom a { color: var(--sand); text-decoration: none; }

/* Mobile step icons in a row under the hero copy */
.chain-icons {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.25rem 0.25rem 0.5rem;
  color: var(--foam);
}
.chain-icons figure {
  margin: 0;
  flex: 1;
  text-align: center;
}
.chain-icons svg {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.4rem;
}
.chain-icons figcaption {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
}
.chain-icons .dash {
  display: none;
}

@media (min-width: 500px) {
  .chain-icons svg { width: 3.6rem; height: 3.6rem; }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.text-link{color:#8A67AE;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.text-link:hover{color:#01233B}

.hero-logo { height: 9rem; width: auto; margin: 0 0 1.5rem; }
@media (max-width: 719px) { .hero-logo { height: 6.5rem; } }
.partner-logo { display: inline-block; margin-top: 0.85rem; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(1,35,59,.15); }
.partner-logo img { height: 4.5rem; width: auto; display: block; }
.partner-logo:hover { box-shadow: 0 4px 16px rgba(1,35,59,.28); }

.wa-float{position:fixed;right:1.25rem;bottom:1.25rem;z-index:50;display:inline-flex;align-items:center;gap:.5rem;background:#25D366;color:#fff;font-weight:700;text-decoration:none;padding:.75rem 1.1rem;border-radius:999px;box-shadow:0 6px 18px rgba(1,35,59,.3)}
.wa-float:hover{background:#1ebe5b}
@media (max-width:719px){.wa-float span{display:none}.wa-float{padding:.85rem}}
.btn-wa{display:inline-flex;align-items:center;gap:.45rem;margin-top:.6rem;background:#25D366;color:#fff !important;font-weight:700;text-decoration:none;padding:.5rem .95rem;border-radius:999px}
.btn-wa:hover{background:#1ebe5b}
.btn-wa{display:flex;width:max-content}

/* Diesel call-to-action */
.btn-lilac {
  background: var(--lilac);
  color: var(--foam);
  border-color: var(--lilac);
}
.btn-lilac:hover { background: var(--lilac-deep); border-color: var(--lilac-deep); }
.site-nav .btn.btn-lilac,
.site-nav .btn.btn-lilac:hover { color: var(--foam); }
.site-nav .nav-diesel { font-size: 0.92rem; white-space: nowrap; }
.site-nav .nav-diesel span { font-weight: 700; color: var(--sand); }
.diesel-banner { background: var(--lilac-soft); border-block: 1px solid rgba(138,103,174,0.25); }
.diesel-banner-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem 1.5rem; padding-block: 1.1rem;
}
.diesel-banner p { margin: 0; font-size: 1.15rem; color: var(--navy); }
.diesel-banner strong { font-family: var(--font-serif); font-weight: 600; }
@media (min-width: 1080px) and (max-width: 1340px) {
  .site-nav { gap: 0.15rem 1.1rem; }
  .site-nav .nav-diesel { font-size: 0.85rem; padding: 0.6rem 0.9rem; }
}
.site-nav .btn { white-space: nowrap; }
@media (min-width: 1080px) and (max-width: 1340px) {
  .site-nav { gap: 0.15rem 0.9rem; }
  .site-nav a { font-size: 0.92rem; }
  .site-nav .btn { padding: 0.55rem 0.85rem; font-size: 0.85rem; }
}
.site-nav .btn, .site-nav a { flex-shrink: 0; }
.lead-callout { font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.35; color: var(--navy, #01233B); border-left: 4px solid var(--lilac, #8E6BB5); padding-left: 1rem; margin-bottom: 1.5rem; }
.lead-callout strong { font-weight: 600; }
.top-bar { background: var(--navy-deep); font-size: 0.82rem; line-height: 1; }
.top-bar .wrap { padding-top: 0.5rem; padding-bottom: 0.5rem; text-align: left; }
.top-bar a { color: var(--sand); text-decoration: none; letter-spacing: 0.02em; }
.top-bar a:hover, .top-bar a:focus-visible { color: var(--foam); text-decoration: underline; }
