/* Dennis Freight — shared styles
   Simple, clean, white & blue — faithful to the original site. */

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

:root {
  --blue:       #3899ec;
  --blue-dark:  #1d6fd6;
  --blue-pale:  #eaf4fc;
  --navy:       #1c2b3a;
  --text:       #2c3e50;
  --muted:      #5f6360;
  --border:     #e2ecf4;
  --white:      #ffffff;
  --radius:     8px;
  --font:       'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* ── Header — logo front and center ── */
.header {
  border-bottom: 1px solid var(--border);
  padding: 28px 24px 0;
  text-align: center;
  background: var(--white);
}
.header__logo img {
  width: min(831px, 92vw);   /* native size, shrinks only on small screens */
  height: auto;
  display: inline-block;
}
.nav {
  margin-top: 20px;
  display: flex; justify-content: center; gap: 8px;
  flex-wrap: wrap;
}
.nav a {
  display: inline-block;
  padding: 12px 22px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav a:hover { color: var(--blue); }
.nav a[aria-current] {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 88px 24px 72px;
}
.hero__headline {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--blue-dark);   /* fallback if background-clip is unsupported */
  text-transform: uppercase;
  background: linear-gradient(160deg, #1d6fd6 0%, #3899ec 55%, #7fccf7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__headline > span { display: block; }
.hero__headline .dot { display: inline; }
.hero__tagline {
  margin: 28px auto 0;
  max-width: 560px;
  font-size: 1.15rem;
  color: var(--muted);
}
.hero__actions {
  margin-top: 36px;
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid var(--blue);
  transition: background 0.2s, color 0.2s;
  font-family: var(--font);
}
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn--outline { background: transparent; color: var(--blue); }
.btn--outline:hover { background: var(--blue-pale); }

/* ── Sections ── */
.section { padding: 72px 24px; }
.section--pale { background: var(--blue-pale); }
.section__title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 12px;
}
.section__sub {
  text-align: center;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 48px;
}

/* ── Value props / cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
}
.card__icon {
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; }
.card p  { font-size: 0.92rem; color: var(--muted); }

/* ── CTA band ── */
.cta-band {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 56px 24px;
}
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; margin-bottom: 10px; }
.cta-band p  { opacity: 0.9; margin-bottom: 28px; }
.cta-band .btn {
  background: var(--white); color: var(--blue); border-color: var(--white);
}
.cta-band .btn:hover { background: var(--blue-pale); }
.cta-band a.phone {
  color: var(--white); font-size: 1.5rem; font-weight: 700;
  text-decoration: none; display: inline-block; margin-bottom: 20px;
}

/* ── Prose (about page) ── */
.prose { max-width: 680px; margin: 0 auto; }
.prose p { margin-bottom: 20px; font-size: 1.02rem; }
.prose h2 { color: var(--navy); font-size: 1.4rem; margin: 36px 0 14px; }
.prose ul { margin: 0 0 20px 22px; }
.prose li { margin-bottom: 8px; }

/* ── Contact page ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-details .item h3 {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); margin-bottom: 4px;
}
.contact-details .item a,
.contact-details .item span {
  font-size: 1.1rem; font-weight: 600; color: var(--navy); text-decoration: none;
}
.contact-details .item a:hover { color: var(--blue); }

/* ── Coverage flags ── */
.coverage-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
}
.flag-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}
.flag-chip .flag {
  width: 28px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(28, 43, 58, 0.12);
  display: block;
  flex-shrink: 0;
}

/* hero + services banner flag chips */
.hero__flags,
.banner__flags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin: 26px 0 4px;
}
.banner__flags { margin: 18px 0 0; }

/* footer flags */
.footer__flags {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer__flags .flag {
  width: 30px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
  display: block;
}

/* ── Map embed ── */
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  line-height: 0;   /* kill iframe baseline gap */
}
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; }

/* ── Form ── */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: span 2; }
.form-field label {
  font-size: 0.82rem; font-weight: 600; color: var(--navy);
}
.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid #cfdeea;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--blue); }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-submit {
  margin-top: 22px;
  width: 100%;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 15px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: background 0.2s;
}
.form-submit:hover { background: var(--blue-dark); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-message { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 6px; font-size: 0.92rem; }
.form-message--success { background: #e8f7ee; border: 1px solid #b5e3c8; color: #1e7c43; }
.form-message--error   { background: #fdeeee; border: 1px solid #f3c1c1; color: #b33333; }

/* ── Pillars ── */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.pillar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 20px 28px;
}
.pillar__art { margin-bottom: 18px; }
.pillar__art svg { width: 100%; height: auto; display: block; }
.pillar h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pillar p { font-size: 0.92rem; color: var(--muted); line-height: 1.7; }

/* ── Service keyword links (home) ── */
.service-links {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 32px;
  font-size: 0.95rem;
  line-height: 2.1;
}
.service-links a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.service-links a:hover { text-decoration: underline; }
.service-links .sep { color: #c9d6e2; margin: 0 10px; }

/* ── FAQ ── */
.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 0 22px;
}
.faq summary {
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--blue);
  flex-shrink: 0;
  line-height: 1;
}
.faq details[open] summary::after { content: '\2212'; }
.faq details p {
  padding: 0 0 18px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}
.faq details p a { color: var(--blue); font-weight: 600; text-decoration: none; }
.faq details p a:hover { text-decoration: underline; }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px 28px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer__logo img { width: min(320px, 80vw); height: auto; margin-bottom: 16px; }
.footer__nav { margin-bottom: 16px; }
.footer__nav a {
  color: var(--muted); text-decoration: none; margin: 0 12px; font-weight: 500;
}
.footer__nav a:hover { color: var(--blue); }
.footer__contact { margin-bottom: 16px; }
.footer__contact a { color: var(--blue); text-decoration: none; font-weight: 600; }
.footer__address { font-size: 0.82rem; color: #9aa5ae; margin-bottom: 14px; }
.footer__copy { font-size: 0.8rem; color: #9aa5ae; }

/* ── Breadcrumbs ── */
.crumbs {
  font-size: 0.8rem;
  color: #9aa5ae;
  margin-bottom: 14px;
}
.crumbs a { color: var(--blue); text-decoration: none; font-weight: 500; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 4px; }

/* ── Linked cards ── */
a.card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}
a.card:hover { border-color: var(--blue); transform: translateY(-2px); }
.card__more {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
}

/* ── Page title banner ── */
.page-banner {
  background: var(--blue-pale);
  text-align: center;
  padding: 56px 24px;
}
.page-banner h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.page-banner p { color: var(--muted); margin-top: 10px; }

/* ── Responsive ── */
@media (max-width: 760px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: span 1; }
  .header__logo img { width: 92vw; }
  .nav a { padding: 10px 14px; font-size: 0.85rem; }
  .hero { padding: 64px 20px 56px; }
  .section { padding: 56px 20px; }
}
