/* ======================================================================
   DSR LOGISTICS - MASTER STYLESHEET
   Shared design system across entire website
   Color: Deep Teal + Warm Copper + Cream
   Typography: Fraunces (display) + Geist (body)
   ====================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Geist:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --teal-900: #0E2A2E;
  --teal-800: #143A40;
  --teal-700: #1B4C54;
  --teal-600: #266069;
  --teal-500: #3B7A84;
  --copper-500: #C8763D;
  --copper-400: #D48B57;
  --copper-600: #A15E29;
  --copper-700: #7A451C;
  --cream-50: #FAF6EE;
  --cream-100: #F5EFE1;
  --cream-200: #E8DFC9;
  --cream-300: #D4C7A4;
  --ink-900: #0A1014;
  --ink-700: #2A3137;
  --ink-500: #4A545D;
  --ink-300: #8A9099;
  --line: #D4C7A4;
  --white: #FFFFFF;
  --success: #2E7D5B;
  --whatsapp: #25D366;

  /* Typography */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Layout */
  --max-w: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(14, 42, 46, 0.08);
  --shadow-md: 0 6px 20px rgba(14, 42, 46, 0.12);
  --shadow-lg: 0 20px 50px rgba(14, 42, 46, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px; /* room for mobile sticky bar */
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

a { color: var(--copper-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--copper-700); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--teal-900);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: var(--space-md); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); margin-bottom: var(--space-sm); }
h4 { font-size: 1.15rem; margin-bottom: 0.75rem; }

p { margin-bottom: var(--space-sm); }
ul, ol { margin-bottom: var(--space-md); padding-left: 1.5rem; }
li { margin-bottom: 0.5rem; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.wide { max-width: 1280px; margin: 0 auto; padding: 0 var(--space-md); }

/* =================== TOP UTILITY BAR =================== */
.utility-bar {
  background: var(--teal-900);
  color: var(--cream-100);
  padding: 8px 0;
  font-size: 0.85rem;
  display: none;
}
@media (min-width: 768px) {
  .utility-bar { display: block; }
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.utility-bar a { color: var(--cream-100); }
.utility-bar .social { display: flex; gap: 1rem; font-size: 0.85rem; }

/* =================== HEADER / NAV =================== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--cream-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 1rem;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--teal-900);
  letter-spacing: -0.02em;
  line-height: 1;
  display: flex;
  align-items: center;
}
.logo img { display: block; max-width: 100%; height: auto; }
.site-header .logo img { min-height: 80px; height: 80px; width: auto; }
@media (max-width: 640px) {
  .site-header .logo img { min-height: 60px; height: 60px; }
}
.logo-sub { font-size: 0.7rem; color: var(--copper-600); font-family: var(--font-body); letter-spacing: 0.15em; text-transform: uppercase; display: block; }
.logo a { color: var(--teal-900); display: inline-block; }

.main-nav { display: none; }
@media (min-width: 1024px) {
  .main-nav { display: flex; gap: 1.8rem; font-size: 0.95rem; }
}
.main-nav a {
  color: var(--ink-700);
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all .2s;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--teal-900);
  border-bottom-color: var(--copper-500);
}

.header-cta { display: flex; gap: 10px; align-items: center; }
.header-phone {
  display: none;
  color: var(--teal-900);
  font-weight: 600;
  font-size: 0.95rem;
}
@media (min-width: 768px) {
  .header-phone { display: inline-flex; align-items: center; gap: 6px; }
}

/* =================== BUTTONS =================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--copper-500);
  color: var(--white);
  border-color: var(--copper-500);
}
.btn-primary:hover {
  background: var(--copper-600);
  border-color: var(--copper-600);
  color: var(--white);
}
.btn-secondary {
  background: transparent;
  color: var(--teal-900);
  border-color: var(--teal-900);
}
.btn-secondary:hover {
  background: var(--teal-900);
  color: var(--cream-100);
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  border-color: var(--whatsapp);
}
.btn-whatsapp:hover {
  background: #1ebe58;
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--teal-900);
  border-color: var(--cream-200);
}
.btn-ghost:hover { background: var(--cream-100); }
.btn-large { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* =================== HERO =================== */
.hero {
  position: relative;
  padding: var(--space-xl) 0 var(--space-2xl) 0;
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 100%);
  color: var(--cream-100);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(200, 118, 61, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero .eyebrow {
  display: inline-block;
  color: var(--copper-400);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}
.hero h1 {
  color: var(--cream-50);
  margin-bottom: var(--space-md);
}
.hero h1 em {
  font-style: italic;
  color: var(--copper-400);
  font-weight: 400;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(245, 239, 225, 0.85);
  margin-bottom: var(--space-lg);
  max-width: 600px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--space-md);
}
.hero-trust {
  font-size: 0.85rem;
  color: rgba(245, 239, 225, 0.7);
}

/* =================== TRUST STRIP =================== */
.trust-strip {
  background: var(--cream-100);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--cream-200);
}
.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  text-align: center;
}
@media (min-width: 768px) {
  .trust-strip .container { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trust-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--teal-900);
}
.trust-label {
  font-size: 0.85rem;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =================== SECTION =================== */
section.section {
  padding: var(--space-2xl) 0;
}
.section.alt { background: var(--cream-100); }
.section.dark { background: var(--teal-900); color: var(--cream-100); }
.section.dark h2 { color: var(--cream-50); }
.section-head {
  max-width: 720px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}
.section-head .eyebrow {
  color: var(--copper-600);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
  display: block;
}
.section-head h2 em {
  font-style: italic;
  color: var(--copper-500);
  font-weight: 400;
}

/* =================== CARDS / GRIDS =================== */
.grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: all .25s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--copper-400);
}
.card h3 { color: var(--teal-900); margin-bottom: 0.5rem; }
.card p { color: var(--ink-500); font-size: 0.95rem; margin-bottom: 0.5rem; }
.card-link {
  font-weight: 600;
  color: var(--copper-600);
  font-size: 0.9rem;
  display: inline-flex;
  gap: 6px;
  margin-top: 8px;
}

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--cream-100);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--copper-600);
  margin-bottom: var(--space-sm);
}

/* =================== PROCESS STEPS =================== */
.steps {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative;
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--cream-200);
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--copper-500);
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
}
.step h3 { font-size: 1.15rem; color: var(--teal-900); }
.step p { font-size: 0.9rem; color: var(--ink-500); margin: 0; }

/* =================== TESTIMONIALS =================== */
.testimonial {
  background: var(--cream-100);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--copper-500);
}
.testimonial p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--teal-800);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}
.testimonial .author {
  font-weight: 600;
  color: var(--teal-900);
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.testimonial .meta {
  font-size: 0.85rem;
  color: var(--ink-500);
  font-family: var(--font-body);
}

/* =================== FAQ =================== */
.faq-item {
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: var(--space-md);
  cursor: pointer;
  font-weight: 600;
  color: var(--teal-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--copper-500);
  font-weight: 400;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { background: var(--cream-100); }
.faq-item .faq-a {
  padding: 0 var(--space-md) var(--space-md);
  color: var(--ink-700);
  line-height: 1.7;
}

/* =================== FORM =================== */
.form-block {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--cream-200);
}
.form-row { margin-bottom: var(--space-sm); }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--cream-50);
  color: var(--ink-900);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--copper-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(200, 118, 61, 0.15);
}
.form-row textarea { min-height: 90px; resize: vertical; }
.form-note {
  font-size: 0.82rem;
  color: var(--ink-500);
  text-align: center;
  margin-top: var(--space-sm);
}

/* =================== CTA BAND =================== */
.cta-band {
  background: var(--teal-900);
  color: var(--cream-100);
  padding: var(--space-xl) 0;
  text-align: center;
}
.cta-band h2 {
  color: var(--cream-50);
  margin-bottom: var(--space-sm);
}
.cta-band h2 em { color: var(--copper-400); font-style: italic; font-weight: 400; }
.cta-band p { color: rgba(245, 239, 225, 0.8); max-width: 600px; margin: 0 auto var(--space-md); }
.cta-band-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: var(--space-sm);
}

/* =================== FOOTER =================== */
.site-footer {
  background: var(--teal-900);
  color: var(--cream-100);
  padding: var(--space-xl) 0 var(--space-md);
}
.site-footer .wide { max-width: 1200px; }
.footer-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-lg);
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1.3fr; } }
.footer-col h4 {
  color: var(--copper-400);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(245, 239, 225, 0.75); font-size: 0.9rem; }
.footer-col a:hover { color: var(--copper-400); }
.footer-brand .logo { color: var(--cream-50); }
.footer-brand .logo a { color: var(--cream-50); }
.footer-brand .logo-sub { color: var(--copper-400); }
.footer-about { color: rgba(245, 239, 225, 0.7); font-size: 0.9rem; margin-top: var(--space-sm); line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid rgba(245, 239, 225, 0.1);
  padding-top: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(245, 239, 225, 0.6);
  font-size: 0.82rem;
}
.footer-bottom a { color: rgba(245, 239, 225, 0.75); }
.footer-legal {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* =================== MOBILE STICKY BAR =================== */
.mobile-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--cream-200);
  box-shadow: 0 -4px 20px rgba(14, 42, 46, 0.1);
  z-index: 99;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0;
}
@media (min-width: 768px) { .mobile-sticky { display: none; } }
.mobile-sticky a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal-900);
  background: var(--white);
  min-height: 56px;
}
.mobile-sticky a.primary {
  background: var(--copper-500);
  color: var(--white);
}
.mobile-sticky .ic {
  font-size: 1.1rem;
  margin-bottom: 2px;
  display: block;
}

/* =================== FLOAT WHATSAPP =================== */
.float-whatsapp {
  position: fixed;
  bottom: 84px;
  right: 16px;
  background: var(--whatsapp);
  color: var(--white);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 98;
  font-size: 1.6rem;
  transition: transform .2s;
}
.float-whatsapp:hover { transform: scale(1.08); color: var(--white); }
@media (min-width: 768px) {
  .float-whatsapp { bottom: 20px; }
}

/* =================== BREADCRUMB =================== */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.85rem;
  color: var(--ink-500);
  background: var(--cream-100);
}
.breadcrumb a { color: var(--teal-700); }
.breadcrumb span { margin: 0 6px; color: var(--ink-300); }

/* =================== PAGE INTRO (inner pages) =================== */
.page-intro {
  padding: var(--space-xl) 0 var(--space-lg);
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 100%);
  color: var(--cream-100);
  position: relative;
  overflow: hidden;
}
.page-intro::before {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(200, 118, 61, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.page-intro .eyebrow {
  color: var(--copper-400);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  display: block;
}
.page-intro h1 {
  color: var(--cream-50);
  max-width: 820px;
  margin-bottom: var(--space-md);
}
.page-intro h1 em { color: var(--copper-400); font-style: italic; font-weight: 400; }
.page-intro .lead {
  font-size: 1.1rem;
  color: rgba(245, 239, 225, 0.85);
  max-width: 700px;
  margin-bottom: var(--space-md);
}
.page-intro .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 1;
}

/* =================== PRICING TABLE =================== */
.pricing-tbl {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: var(--space-md) 0;
}
.pricing-tbl th {
  background: var(--teal-900);
  color: var(--cream-100);
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}
.pricing-tbl td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--cream-200);
  font-size: 0.95rem;
}
.pricing-tbl tr:last-child td { border-bottom: none; }
.pricing-tbl tr:nth-child(even) td { background: var(--cream-50); }
.price-band { color: var(--copper-600); font-weight: 600; white-space: nowrap; }

/* =================== TRUST BADGES =================== */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.trust-badges .badge {
  background: var(--cream-100);
  border: 1px solid var(--cream-300);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--teal-800);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* =================== SAFETY GRID =================== */
.safety-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 640px) { .safety-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .safety-grid { grid-template-columns: repeat(4, 1fr); } }
.safety-item {
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--cream-200);
}
.safety-item h4 {
  color: var(--teal-900);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.safety-item p { font-size: 0.9rem; color: var(--ink-500); margin: 0; }

/* =================== LINK LIST =================== */
.link-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .link-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .link-list { grid-template-columns: repeat(3, 1fr); } }
.link-list li { margin: 0; }
.link-list a {
  display: block;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-sm);
  color: var(--teal-800);
  font-weight: 500;
  font-size: 0.92rem;
  transition: all .2s;
}
.link-list a:hover {
  background: var(--cream-100);
  border-color: var(--copper-400);
  color: var(--copper-700);
}

/* =================== CONTENT PROSE =================== */
.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose h2 { margin-top: var(--space-xl); margin-bottom: var(--space-sm); }
.prose h3 { margin-top: var(--space-lg); }
.prose p { color: var(--ink-700); line-height: 1.75; }
.prose ul li, .prose ol li { line-height: 1.7; }

/* =================== CALLOUT =================== */
.callout {
  background: var(--cream-100);
  border-left: 4px solid var(--copper-500);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  margin: var(--space-md) 0;
}
.callout strong { color: var(--teal-900); }

/* =================== UTILITIES =================== */
.text-center { text-align: center; }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
hr { border: none; border-top: 1px solid var(--cream-200); margin: var(--space-lg) 0; }

/* ============================================================
   DROPDOWN NAVIGATION (Phase 20)
   ============================================================ */

.nav-item-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-700);
  cursor: pointer;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active {
  color: var(--teal-900);
  border-bottom-color: var(--copper-500);
}
.dropdown-arrow {
  font-size: 0.7em;
  transition: transform 0.2s;
}
.nav-item-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(14, 42, 46, 0.15);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  z-index: 200;
}
.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown.open .nav-dropdown-menu,
.nav-dropdown-toggle:focus + .nav-dropdown-menu,
.nav-dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: var(--ink-700);
  border-radius: var(--radius-sm);
  border-bottom: none !important;
  transition: background 0.2s, color 0.2s;
}
.nav-dropdown-menu a:hover {
  background: var(--cream-50);
  color: var(--teal-900);
}
.nav-dropdown-menu a strong {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--teal-900);
  margin-bottom: 2px;
}
.nav-dropdown-menu a small {
  font-size: 0.78rem;
  color: var(--ink-500);
  font-weight: 400;
}

/* Mobile hamburger */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.mobile-menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--teal-900);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
@media (min-width: 1024px) {
  .mobile-menu-toggle { display: none; }
}

/* Mobile nav open state */
@media (max-width: 1023px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    gap: 8px !important;
    box-shadow: 0 8px 24px rgba(14,42,46,0.12);
    border-top: 1px solid var(--cream-200);
    z-index: 150;
  }
  .main-nav.open {
    display: flex !important;
  }
  .main-nav > a, .nav-item-dropdown {
    display: block;
    width: 100%;
    padding: 12px 8px;
  }
  .nav-dropdown-toggle {
    width: 100%;
    text-align: left;
    padding: 12px 8px;
    justify-content: space-between;
  }
  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    display: none;
    padding: 0 0 0 16px;
    min-width: 0;
  }
  .nav-item-dropdown.open .nav-dropdown-menu {
    display: block;
  }
}

/* ============================================================
   ENQUIRY FORM + MAP SECTION (Phase 20)
   ============================================================ */

.enquiry-section {
  background: linear-gradient(135deg, #F5EFE1 0%, #FAF6EC 100%);
  padding: 64px 0;
  border-top: 1px solid var(--cream-200);
}
.enquiry-section .eyebrow {
  display: inline-block;
  color: var(--copper-600);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.enquiry-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  color: var(--teal-900);
  margin: 0 0 8px 0;
  line-height: 1.2;
}
.enquiry-section p {
  color: var(--ink-600);
  margin-bottom: 20px;
}

.enquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) {
  .enquiry-grid { grid-template-columns: 1fr; gap: 32px; }
}

.enquiry-form {
  background: white;
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(14,42,46,0.06);
}
.enquiry-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
@media (max-width: 500px) {
  .enquiry-form .form-row { grid-template-columns: 1fr; }
}
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  border: 1.5px solid var(--cream-300);
  border-radius: var(--radius-sm);
  background: var(--cream-50);
  color: var(--ink-700);
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}
.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  outline: none;
  border-color: var(--copper-500);
  background: white;
}
.enquiry-form textarea {
  resize: vertical;
  min-height: 80px;
  margin-bottom: 16px;
  font-family: var(--font-body);
}
.enquiry-form .form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.enquiry-form .form-actions .btn {
  flex: 1;
  min-width: 140px;
}

.office-address {
  font-style: normal;
  font-size: 1rem;
  color: var(--ink-700);
  line-height: 1.7;
  background: white;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--copper-500);
  margin-bottom: 12px;
}
.office-address strong {
  display: block;
  color: var(--teal-900);
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.office-hours {
  font-size: 0.92rem;
  color: var(--ink-600);
  margin-bottom: 16px;
}
.office-hours strong {
  color: var(--teal-900);
}
.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(14,42,46,0.08);
  margin-bottom: 12px;
}
.map-embed iframe {
  display: block;
  width: 100%;
}
.map-directions-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-900);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 0;
  border-bottom: 2px solid var(--copper-500);
  transition: color 0.2s;
}
.map-directions-link:hover {
  color: var(--copper-600);
}


/* ============================================================
   HERO + IMAGE SECTIONS (Phase 22 - Real Images)
   ============================================================ */

/* Homepage hero background image */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(14,42,46,0.85) 0%, rgba(26,66,72,0.80) 100%), url('../images/hero-main.jpg');
  background-size: cover;
  background-position: center;
  color: var(--cream-50);
}
.hero h1, .hero .hero-sub, .hero .eyebrow, .hero .hero-trust {
  color: var(--cream-50);
}
.hero .eyebrow { color: var(--copper-500); }

/* Generic page intro with image */
.page-intro.with-image {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--cream-50);
  padding: 80px 0 64px;
}
.page-intro.with-image::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(14,42,46,0.82) 0%, rgba(26,66,72,0.75) 100%);
  z-index: 0;
}
.page-intro.with-image > .container {
  position: relative;
  z-index: 1;
}
.page-intro.with-image h1,
.page-intro.with-image .lead,
.page-intro.with-image .eyebrow {
  color: var(--cream-50);
}
.page-intro.with-image .eyebrow { color: var(--copper-500); }

/* Service page hero image */
.service-hero-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(14,42,46,0.15);
}

/* Featured blog image */
.blog-featured-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 16px 0 32px;
  box-shadow: 0 8px 24px rgba(14,42,46,0.12);
}

/* Case study hero image */
.case-study-image {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 16px 0 32px;
  box-shadow: 0 8px 24px rgba(14,42,46,0.12);
}

/* Area page zone banner */
.zone-banner {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 16px 0 24px;
  box-shadow: 0 6px 20px rgba(14,42,46,0.1);
}

/* Trust/CTA band backgrounds */
.cta-band-real {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--cream-50);
  padding: 72px 0;
  text-align: center;
}
.cta-band-real::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,42,46,0.88) 0%, rgba(26,66,72,0.82) 100%);
  z-index: 0;
}
.cta-band-real > .container {
  position: relative;
  z-index: 1;
}
.cta-band-real h2, .cta-band-real p { color: var(--cream-50); }

/* Trust badges grid */
.trust-badges-real {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 32px auto;
  text-align: center;
}
.trust-badge-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 12px;
}
.trust-badge-item h4 {
  color: var(--teal-900);
  font-size: 1rem;
  margin-bottom: 4px;
}
.trust-badge-item p {
  font-size: 0.85rem;
  color: var(--ink-500);
  margin: 0;
}

/* 404 / Thank you illustration */
.illustration-center {
  display: block;
  max-width: 400px;
  width: 100%;
  margin: 20px auto 32px;
}

/* Responsive */
@media (max-width: 640px) {
  .blog-featured-image, .case-study-image, .service-hero-image { max-height: 240px; }
  .zone-banner { height: 160px; }
}

/* ============================================================
   FIXES: Trust Badges + Service Cards + Enquiry Form (Phase 23)
   ============================================================ */

/* Trust badges - proper sizing constraints */
.trust-badges-real {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 28px;
  max-width: 1000px;
  margin: 32px auto 0;
  text-align: center;
}
@media (max-width: 768px) {
  .trust-badges-real { grid-template-columns: repeat(2, 1fr) !important; }
}
.trust-badge-item {
  padding: 24px 16px;
  background: var(--cream-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--cream-200);
  box-shadow: 0 4px 12px rgba(14,42,46,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.trust-badge-item img {
  width: 96px !important;
  height: 96px !important;
  max-width: 96px !important;
  max-height: 96px !important;
  object-fit: contain;
  display: block;
  margin: 0 auto 14px;
  background: transparent;
}
.trust-badge-item h4 {
  color: var(--teal-900);
  font-size: 1rem;
  margin: 0 0 6px 0;
  font-family: var(--font-display);
}
.trust-badge-item p {
  font-size: 0.85rem;
  color: var(--ink-500);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   SERVICE CARDS WITH REAL IMAGES (Phase 23)
   ============================================================ */
.service-cards-grid {
  gap: 28px !important;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(14,42,46,0.06);
  border: 1px solid var(--cream-200);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  color: inherit;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(14,42,46,0.12);
  color: inherit;
  border-bottom-color: var(--cream-200);
}
.service-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--cream-100);
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.service-card:hover .service-card-img img {
  transform: scale(1.05);
}
.service-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card-body h3 {
  color: var(--teal-900);
  font-size: 1.25rem;
  margin: 0 0 10px 0;
  font-family: var(--font-display);
  line-height: 1.25;
}
.service-card-body p {
  color: var(--ink-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 16px 0;
  flex: 1;
}
.service-card-body .card-link {
  color: var(--copper-600);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--copper-500);
  align-self: flex-start;
  transition: color 0.2s, border-color 0.2s;
}
.service-card:hover .card-link {
  color: var(--teal-900);
  border-bottom-color: var(--teal-900);
}
@media (max-width: 640px) {
  .service-card-img { height: 170px; }
}

/* ============================================================
   ENQUIRY FORM FIXES (Phase 23)
   ============================================================ */
.enquiry-form textarea,
.enquiry-form input,
.enquiry-form select {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 0.95rem !important;
}
.enquiry-form textarea {
  resize: vertical;
  min-height: 96px;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Ensure form action buttons are styled consistently */
.enquiry-form .form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: stretch;
}
.enquiry-form .form-actions .btn {
  flex: 1;
  min-width: 140px;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.enquiry-form .form-actions button.btn.btn-primary,
.enquiry-form .form-actions a.btn.btn-primary {
  background: var(--copper-500);
  color: var(--white);
  border-color: var(--copper-500);
}
.enquiry-form .form-actions .btn.btn-primary:hover {
  background: var(--copper-600);
  border-color: var(--copper-600);
}
.enquiry-form .form-actions a.btn.btn-outline {
  background: var(--white);
  color: var(--teal-900);
  border: 2px solid var(--teal-900);
}
.enquiry-form .form-actions a.btn.btn-outline:hover {
  background: var(--teal-900);
  color: var(--white);
}

/* Phase 23.1 - Mobile responsive for inline-styled trust badges */
@media (max-width: 768px) {
  .trust-badges-real[style] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 440px) {
  .trust-badges-real[style] {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   PHASE 28 — MOBILE RESPONSIVE POLISH
   ============================================================ */

@media (max-width: 767px) {
  /* Overall container padding */
  .container { padding-left: 16px; padding-right: 16px; }

  /* Hero + page-intro typography scaling */
  .hero h1, .page-intro h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem) !important;
    line-height: 1.2 !important;
    word-wrap: break-word;
    hyphens: auto;
  }
  .hero .hero-sub, .page-intro .lead {
    font-size: 1rem !important;
    line-height: 1.55 !important;
  }
  .hero, .page-intro {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  /* CTAs stack vertically on mobile */
  .hero-ctas, .ctas {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .hero-ctas .btn, .ctas .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    font-size: 0.95rem !important;
    padding: 12px 16px !important;
  }

  /* Section spacing tighter on mobile */
  .section { padding-top: 40px !important; padding-bottom: 40px !important; }
  .section-head h2, h2 {
    font-size: clamp(1.4rem, 5vw, 1.8rem) !important;
    line-height: 1.25 !important;
  }
  h3 { font-size: 1.15rem !important; }

  /* Grid to single column on mobile */
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Cards */
  .card {
    padding: 20px !important;
  }

  /* Service cards img slightly smaller */
  .service-card-img { height: 180px !important; }
  .service-card-body { padding: 20px !important; }
  .service-card-body h3 { font-size: 1.1rem !important; }
  .service-card-body p { font-size: 0.9rem !important; }

  /* Tables — horizontal scroll on mobile */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 0.85rem;
  }

  /* Breadcrumb wrap on mobile */
  .breadcrumb .container {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    font-size: 0.85rem;
  }

  /* Enquiry form - single column rows */
  .enquiry-form .form-row {
    grid-template-columns: 1fr !important;
  }
  .enquiry-form input, .enquiry-form select, .enquiry-form textarea {
    font-size: 16px !important; /* Prevents iOS zoom on focus */
  }
  .enquiry-form .form-actions {
    flex-direction: column;
  }
  .enquiry-form .form-actions .btn,
  .enquiry-form .form-actions button,
  .enquiry-form .form-actions a {
    width: 100% !important;
    flex: 1 1 auto !important;
  }

  /* Enquiry section two-column becomes one */
  .enquiry-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Hero images scale */
  .blog-featured-image, .case-study-image, .service-hero-image {
    max-height: 240px !important;
  }
  .zone-banner {
    height: 140px !important;
  }

  /* Trust strip - stack vertically */
  .trust-strip { padding: 24px 0 !important; }
  .trust-strip .container {
    flex-direction: column !important;
    gap: 20px !important;
    text-align: center !important;
  }
  .trust-num { font-size: 1.4rem !important; }

  /* Utility bar (phone/email strip) — smaller, single-line scroll */
  .utility-bar {
    font-size: 0.72rem !important;
    padding: 6px 0 !important;
  }
  .utility-bar .container {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }
  .utility-bar .social {
    font-size: 0.72rem;
  }

  /* Header logo smaller on mobile */
  .site-header .logo img {
    min-height: 50px !important;
    height: 50px !important;
  }
  .site-header .container {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  /* Main nav items in mobile hamburger - bigger tap targets */
  .main-nav.open a,
  .main-nav.open .nav-dropdown-toggle {
    padding: 14px 12px !important;
    font-size: 1rem !important;
    min-height: 48px;
    display: flex !important;
    align-items: center;
  }

  /* Mobile dropdown - accordion style */
  .nav-item-dropdown .nav-dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 0 0 16px !important;
    margin-top: 4px !important;
    min-width: 0 !important;
    background: transparent !important;
  }
  .nav-dropdown-menu a {
    padding: 10px 8px !important;
    font-size: 0.9rem !important;
  }

  /* Hide header phone number on mobile (redundant with sticky) */
  .header-phone { display: none !important; }

  /* Footer grid stacks */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    text-align: left;
  }
  .footer-col { text-align: left !important; }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
  }

  /* Trust badges 2 columns */
  .trust-badges-real,
  .trust-badges-real[style] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    padding: 0 !important;
  }
  .trust-badge-item {
    padding: 16px 8px !important;
  }
  .trust-badge-item img {
    width: 72px !important;
    height: 72px !important;
  }
  .trust-badge-item h4 { font-size: 0.9rem !important; }
  .trust-badge-item p { font-size: 0.78rem !important; }

  /* Map iframe smaller height */
  .map-embed iframe { height: 220px !important; }

  /* CTA band */
  .cta-band, .cta-band-real {
    padding: 48px 0 !important;
  }
  .cta-band h2 {
    font-size: 1.5rem !important;
  }
  .cta-band-ctas {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .cta-band-ctas .btn {
    width: 100%;
  }

  /* FAQ questions scale */
  .faq-list .faq-item {
    padding: 14px !important;
  }
  .faq-list h3, .faq-item h3 {
    font-size: 0.95rem !important;
  }

  /* Mobile sticky bottom bar buttons proper size */
  .mobile-sticky a {
    font-size: 0.85rem !important;
    padding: 10px 6px !important;
  }
  .mobile-sticky .ic {
    font-size: 1.1rem !important;
  }
}

/* Extra small phones (<400px) */
@media (max-width: 400px) {
  .container { padding-left: 12px; padding-right: 12px; }
  .hero h1, .page-intro h1 { font-size: 1.5rem !important; }
  .trust-badges-real,
  .trust-badges-real[style] {
    grid-template-columns: 1fr !important;
  }
  .header-cta .btn { padding: 8px 14px !important; font-size: 0.85rem !important; }
}

/* Prevent horizontal overflow globally */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
img, video, iframe {
  max-width: 100%;
  height: auto;
}
