/*
Theme Name: Your Delivery Guy
Author: Your Delivery Guy
Description: Warehouse and e-commerce delivery theme for Your Delivery Guy, a collective of verified delivery companies serving vendors across multiple states in Nigeria.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: your-delivery-guy
Tags: custom-colors, custom-menu, delivery, business, one-column, two-columns

This is the main stylesheet, enqueued via functions.php.
*/

/* ============================================================
   Your Delivery Guy — Design System
   Responsive, image-led design for warehousing and e-commerce delivery.
   ============================================================ */

:root {
  --green-50: #fbf2f2;
  --green-100: #f0dada;
  --green-500: #8b2424;
  --green-600: #731d1d;
  --green-700: #8b2424;
  --forest-900: #3d0d0d;
  --forest-800: #8b2424;
  --hero-1: #8b2424;
  --hero-2: #4f1010;
  --ink: #0f172a;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white: #ffffff;

  --font-display: "Plus Jakarta Sans", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(13, 40, 24, 0.08);
  --shadow-lg: 0 24px 60px rgba(13, 40, 24, 0.14);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--slate-600); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-500);
  flex: none;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--green-50); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--green-600); color: var(--white); box-shadow: 0 6px 18px rgba(139,36,36,0.28); }
.btn-primary:hover { background: var(--green-700); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(139,36,36,0.34); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--slate-200); }
.btn-secondary:hover { border-color: var(--green-500); color: var(--green-700); }
.btn-ghost-invert { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-ghost-invert:hover { background: rgba(255,255,255,0.12); }
.btn-block { width: 100%; justify-content: center; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--green-600);
  outline-offset: 2px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: var(--container); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.brand-has-logo { min-height: 40px; }
.brand-has-logo .custom-logo-link { display: flex; align-items: center; }
.brand-has-logo img.custom-logo { max-height: 40px; width: auto; display: block; }
.brand-logo-img { height: 30px; width: 30px; display: block; border-radius: 50%; object-fit: cover; }
.brand-mark {
  width: 30px; height: 30px; flex: none;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  border-radius: 8px;
  transform: rotate(45deg);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute; inset: 7px;
  background: var(--white);
  border-radius: 3px;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--slate-600); transition: color 0.15s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--green-700); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--slate-200);
    background: var(--white);
  }
  .nav-actions .btn-secondary-mobile-hide { display: none; }
}

/* ---------- Hero + Script Weave signature ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--hero-1), var(--hero-2));
  color: var(--white);
  padding: 110px 0 130px;
}
.script-weave {
  position: absolute; inset: 0;
  display: flex; flex-wrap: wrap;
  align-content: center; justify-content: center;
  gap: 22px 34px;
  padding: 40px;
  opacity: 0.16;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 78%);
}
.script-weave span {
  font-family: var(--font-display);
  color: var(--green-500);
  white-space: nowrap;
  line-height: 1;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; text-align: center; }
.hero .eyebrow { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.32); color: var(--white); }
.hero .eyebrow::before { background: var(--white); }
.hero h1 { color: var(--white); margin-top: 18px; }
.hero p.lead { color: rgba(255,255,255,0.72); font-size: 1.12rem; max-width: 600px; margin: 0 auto 32px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.trust-bar { color: rgba(255,255,255,0.5); font-size: 0.85rem; letter-spacing: 0.03em; }

/* ---------- Signature graphic: animated route line ---------- */
.route-wrap { position: relative; z-index: 1; margin-top: 56px; }
.route-svg { width: 100%; height: auto; display: block; }
.route-path { fill: none; stroke: url(#routeGrad); stroke-width: 1.5; stroke-dasharray: 6 8; opacity: 0.6; }
.route-path-solid { fill: none; stroke: rgba(255,255,255,0.14); stroke-width: 1; }
.route-pulse { filter: drop-shadow(0 3px 5px rgba(0,0,0,0.35)); offset-rotate: auto; }
.route-node { fill: var(--hero-2); stroke: var(--white); stroke-width: 1.5; }
.route-label { font-family: var(--font-display); font-size: 11px; font-weight: 600; fill: rgba(255,255,255,0.6); letter-spacing: 0.05em; text-transform: uppercase; }
@media (prefers-reduced-motion: no-preference) {
  .route-pulse { animation: ydg-travel 7s linear infinite; }
}
@keyframes ydg-travel {
  0% { offset-distance: 0%; }
  100% { offset-distance: 100%; }
}

/* ---------- Scroll reveal (progressive fade-in) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

.page-hero {
  background: linear-gradient(135deg, var(--hero-1), var(--hero-2));
  color: var(--white);
  padding: 76px 0 68px;
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1; max-width: 780px; }
.page-hero h1 { color: var(--white); }
.page-hero p.lead { color: rgba(255,255,255,0.72); font-size: 1.05rem; max-width: 620px; margin: 0; }
.page-hero .eyebrow { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.32); color: var(--white); margin-bottom: 16px; }
.page-hero .eyebrow::before { background: var(--white); }

.breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--green-100); }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--green-50);
  color: var(--green-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  flex: none;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 0.9rem; color: var(--green-700); }
.card-link svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.card:hover .card-link svg { transform: translateX(3px); }

/* Pain point card variant */
.pain-card { display: flex; gap: 18px; align-items: flex-start; padding: 26px; border: 1px solid var(--slate-200); border-radius: var(--radius-md); background: var(--white); }
.pain-num { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--green-500); opacity: 0.85; flex: none; width: 46px; }
.pain-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.pain-card p { font-size: 0.92rem; margin: 0; }

/* ---------- Section header helper ---------- */
.section-head { max-width: 660px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin: 0 0 48px; text-align: left; }
.section-head p.lead { font-size: 1.05rem; }

/* ---------- Solution / split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-visual {
  background: linear-gradient(135deg, var(--hero-1), var(--hero-2));
  border-radius: var(--radius-lg);
  padding: 40px;
  min-height: 340px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.split-visual .script-weave { opacity: 0.22; }
.workflow-steps { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0; width: 100%; }
.workflow-step { display: flex; align-items: center; gap: 16px; padding: 16px 0; color: var(--white); }
.workflow-step + .workflow-step { border-top: 1px solid rgba(255,255,255,0.12); }
.workflow-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--green-500); color: var(--forest-900); font-weight: 800; font-family: var(--font-display); display: flex; align-items: center; justify-content: center; flex: none; font-size: 0.9rem; }
.workflow-step strong { display: block; font-family: var(--font-display); font-size: 0.98rem; }
.workflow-step span { color: rgba(255,255,255,0.6); font-size: 0.85rem; }

/* ---------- Language directory ---------- */
.lang-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.lang-tab {
  font-size: 0.85rem; font-weight: 600; padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--slate-200); background: var(--white); color: var(--slate-600);
  cursor: pointer; transition: all 0.15s ease;
}
.lang-tab.is-active, .lang-tab:hover { background: var(--green-600); color: var(--white); border-color: var(--green-600); }
.lang-group { margin-bottom: 40px; }
.lang-group-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.lang-group-head h3 { margin: 0; }
.lang-group-head span { color: var(--slate-500); font-size: 0.85rem; }
.lang-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.lang-pill {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 18px; border-radius: var(--radius-sm);
  background: var(--green-50); border: 1px solid var(--green-100);
  font-weight: 600; font-size: 0.92rem; color: var(--ink);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.lang-pill:hover { background: var(--green-100); border-color: var(--green-500); }
.lang-pill small { font-weight: 500; color: var(--slate-500); font-size: 0.76rem; }

.scout-banner {
  margin-top: 8px;
  background: var(--forest-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.scout-banner .script-weave { opacity: 0.14; }
.scout-banner-text { position: relative; z-index: 1; max-width: 560px; }
.scout-banner-text h3 { color: var(--white); margin-bottom: 8px; }
.scout-banner-text p { color: rgba(255,255,255,0.68); margin: 0; }
.scout-banner .btn { position: relative; z-index: 1; }

/* ---------- Industries ---------- */
.industry-row {
  display: grid; grid-template-columns: 260px 1fr; gap: 40px;
  padding: 40px 0; border-top: 1px solid var(--slate-200);
  align-items: start;
}
.industry-row:last-child { border-bottom: 1px solid var(--slate-200); }
.industry-tag { font-family: var(--font-display); font-weight: 700; color: var(--green-700); font-size: 1.05rem; }
.industry-row p { margin: 0; font-size: 1rem; }

/* ---------- Stats ---------- */
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--green-700); }
.stat span { font-size: 0.85rem; color: var(--slate-500); }

/* ---------- Testimonial / quote strip ---------- */
.quote-strip { background: var(--green-50); border-radius: var(--radius-lg); padding: 46px; }
.quote-strip p { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
.quote-strip footer { font-size: 0.85rem; color: var(--slate-500); margin-top: 14px; }

/* ---------- Bottom CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--hero-1), var(--hero-2));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  position: relative; overflow: hidden;
  margin: 0 24px;
}
.cta-banner .script-weave { opacity: 0.14; }
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.7); margin-bottom: 26px; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field .hint { font-size: 0.78rem; color: var(--slate-500); margin-top: 6px; }
input, select, textarea {
  width: 100%; font-family: var(--font-body); font-size: 0.95rem;
  padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--slate-200);
  background: var(--white); color: var(--ink); transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(139,36,36,0.15); outline: none; }
textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.phone-row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }

.quote-steps { display: flex; gap: 10px; margin-bottom: 34px; }
.quote-step { flex: 1; }
.quote-step .num { width: 30px; height: 30px; border-radius: 50%; background: var(--slate-100); color: var(--slate-500); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; font-family: var(--font-display); margin-bottom: 8px; }
.quote-step.is-active .num { background: var(--green-600); color: var(--white); }
.quote-step .bar { height: 4px; border-radius: 2px; background: var(--slate-200); margin-bottom: 10px; }
.quote-step.is-active .bar, .quote-step.is-done .bar { background: var(--green-500); }
.quote-step .label { font-size: 0.82rem; font-weight: 600; color: var(--slate-500); }
.quote-step.is-active .label { color: var(--ink); }

.upload-box {
  border: 2px dashed var(--slate-300); border-radius: var(--radius-md);
  padding: 40px; text-align: center; color: var(--slate-500);
  background: var(--slate-100);
}
.upload-box strong { color: var(--ink); display: block; margin-bottom: 6px; }

.success-card { text-align: center; padding: 60px 40px; }
.success-icon {
  width: 68px; height: 68px; border-radius: 50%; background: var(--green-100); color: var(--green-700);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}

/* ---------- Form alerts (not in the original RLT stylesheet, added for the contact form) ---------- */
.form-alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.9rem; margin-bottom: 20px; }
.form-alert-success { background: var(--green-50); color: var(--green-700); border: 1px solid var(--green-100); }
.form-alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.field-optional { font-weight: 400; color: var(--slate-500); }
.field-hint { font-size: 0.78rem; color: var(--slate-500); margin-top: 6px; }
.hp-field { position: absolute; left: -9999px; }

/* ---------- Contact info list ---------- */
.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-item svg { width: 22px; height: 22px; color: var(--green-600); flex: none; margin-top: 2px; }
.contact-info-item span { display: block; font-size: 0.78rem; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px; }
.contact-info-item strong { display: block; font-size: 0.95rem; color: var(--ink); }
.contact-info-phone { display: inline-block; margin-top: 4px; font-weight: 600; color: var(--green-700); }

/* ---------- Blog / resources ---------- */
.post-card { display: flex; flex-direction: column; gap: 10px; }
.post-tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--green-700); }
.post-meta { font-size: 0.8rem; color: var(--slate-500); }

/* ---------- Footer ---------- */
.site-footer { background: #8b2424; color: rgba(255,255,255,0.7); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-grid h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; font-family: var(--font-display); }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.65); transition: color 0.15s ease; }
.footer-grid ul li a:hover { color: var(--green-500); }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; color: var(--white); margin-bottom: 14px; }
.footer-brand .footer-logo { display: inline-flex; align-items: center; justify-content: center; background: var(--white); border-radius: 8px; padding: 5px 8px; line-height: 0; }
.footer-brand .footer-logo img.custom-logo { max-height: 24px; width: auto; display: block; }
.footer-logo-img { height: 26px; width: 26px; display: block; border-radius: 50%; object-fit: cover; }
.footer-brand .brand-mark { width: 26px; height: 26px; }
.footer-desc { font-size: 0.88rem; max-width: 300px; color: rgba(255,255,255,0.55); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; font-size: 0.82rem; color: rgba(255,255,255,0.45); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .industry-row { grid-template-columns: 1fr; gap: 10px; }
  .field-row { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .cta-banner { margin: 0 16px; padding: 40px 24px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 90px; }
  .scout-banner { padding: 30px 24px; }
}

/* ============================================================
   Your Delivery Guy 1.0.1 — GoDash-inspired visual homepage
   Structure: image-led hero, service cards, impact, 3-step flow,
   partner cards, download CTA and FAQ. Existing inner pages/components
   remain available and keep their original design system.
   ============================================================ */

.dg-home { --dg-green:#8b2424; --dg-lime:#d9a6a6; --dg-dark:#3d0d0d; --dg-ink:#8b2424; --dg-muted:#66756f; --dg-soft:#fbf2f2; overflow:hidden; }
.dg-container { width:min(1180px, calc(100% - 48px)); margin:0 auto; }
.dg-home a { text-decoration:none; }
.dg-modern-header { position:sticky; top:0; z-index:100; background:rgba(255,255,255,.94); backdrop-filter:blur(16px); border-bottom:1px solid rgba(60,20,20,.07); }
.dg-modern-header .nav-inner { max-width:1180px; }
.dg-modern-header .brand-logo-img { width:auto; height:44px; max-width:190px; object-fit:contain; border-radius:50%; }
.dg-modern-header .brand-name { font-family:var(--font-display); font-weight:800; font-size:1.05rem; }
.dg-nav-links { align-items:center; }
.dg-nav-links a { font-size:.9rem; color:#53615c; font-weight:600; transition:color .2s ease; }
.dg-nav-links a:hover { color:var(--dg-ink); }
.nav-order-btn { padding:10px 18px; font-size:.88rem; }
.nav-order-btn svg { width:17px; height:17px; }

.dg-hero { background:linear-gradient(135deg,#fcf5f5 0%,#f4dfdf 48%,#f8e9e9 100%); padding:74px 0 58px; position:relative; }
.dg-hero:after { content:""; position:absolute; left:-10%; bottom:-150px; width:420px; height:420px; border-radius:50%; background:rgba(139,36,36,.08); pointer-events:none; }
.dg-hero-grid { display:grid; grid-template-columns:1.02fr .98fr; gap:38px; align-items:center; min-height:620px; }
.dg-kicker,.dg-overline { display:inline-flex; align-items:center; gap:9px; color:#8b2424; font-size:.78rem; text-transform:uppercase; letter-spacing:.12em; font-weight:800; }
.dg-kicker { padding:9px 13px; border-radius:999px; background:#fff; box-shadow:0 8px 24px rgba(60,20,20,.07); }
.dg-kicker-dot { width:8px; height:8px; border-radius:50%; background:var(--dg-green); box-shadow:0 0 0 5px rgba(139,36,36,.12); }
.dg-hero h1 { font-size:clamp(3rem,6vw,5.5rem); line-height:.98; letter-spacing:-.055em; margin:22px 0 24px; color:var(--dg-ink); }
.dg-hero h1 em { font-style:normal; color:#6f1d1d; }
.dg-hero-lead { max-width:600px; font-size:1.12rem; line-height:1.7; color:#53635c; }
.dg-hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.dg-btn { display:inline-flex; align-items:center; justify-content:center; gap:9px; border-radius:999px; padding:14px 22px; font-weight:800; font-size:.92rem; transition:transform .18s ease, box-shadow .18s ease, background .18s ease; }
.dg-btn:hover { transform:translateY(-2px); }
.dg-btn svg { width:18px; height:18px; }
.dg-btn-dark { background:var(--dg-ink); color:#fff; box-shadow:0 12px 28px rgba(60,20,20,.18); }
.dg-btn-light { background:#fff; color:var(--dg-ink); box-shadow:0 8px 20px rgba(60,20,20,.07); }
.dg-trust-row { display:flex; align-items:center; gap:13px; margin-top:34px; }
.dg-trust-row strong,.dg-trust-row small { display:block; }
.dg-trust-row strong { color:var(--dg-ink); font-size:.88rem; }
.dg-trust-row small { color:#74827d; font-size:.78rem; margin-top:2px; }
.dg-trust-avatars { display:flex; }
.dg-trust-avatars span { width:36px; height:36px; display:grid; place-items:center; border-radius:50%; border:3px solid #f6e5e5; background:var(--dg-ink); color:var(--dg-lime); font-size:.67rem; font-weight:900; margin-left:-8px; }
.dg-trust-avatars span:first-child { margin-left:0; background:#fff; color:var(--dg-ink); }
.dg-trust-avatars span:nth-child(2) { background:var(--dg-green); color:#fff; }

.dg-hero-art { position:relative; min-height:600px; display:grid; place-items:center; }
.dg-main-art { width:min(100%,590px); position:relative; z-index:2; filter:drop-shadow(0 28px 35px rgba(60,20,20,.14)); animation:dgFloat 5s ease-in-out infinite; }
.dg-hero-orb { position:absolute; border-radius:50%; }
.dg-orb-one { width:430px; height:430px; background:rgba(139,36,36,.18); }
.dg-orb-two { width:170px; height:170px; background:rgba(139,36,36,.18); right:0; top:40px; }
.dg-hero-badge { position:absolute; z-index:4; top:95px; right:20px; background:#fff; border-radius:18px; padding:13px 18px; box-shadow:0 16px 40px rgba(60,20,20,.12); transform:rotate(5deg); }
.dg-hero-badge strong,.dg-hero-badge span { display:block; }
.dg-hero-badge strong { font-size:1.15rem; color:var(--dg-ink); }
.dg-hero-badge span { color:#708078; font-size:.72rem; }
.dg-floating-card { position:absolute; z-index:5; display:flex; align-items:center; gap:10px; padding:12px 15px; background:#fff; border-radius:16px; box-shadow:0 16px 40px rgba(60,20,20,.12); }
.dg-floating-card strong,.dg-floating-card small { display:block; }
.dg-floating-card strong { font-size:.78rem; color:var(--dg-ink); }
.dg-floating-card small { color:#75817d; font-size:.67rem; margin-top:2px; }
.dg-float-order { left:0; bottom:135px; }
.dg-float-time { right:0; bottom:65px; }
.dg-mini-icon { width:32px; height:32px; border-radius:10px; display:grid; place-items:center; background:#f4e3e3; color:#8b2424; font-weight:900; }

.dg-impact { background:var(--dg-ink); color:#fff; padding:42px 0; }
.dg-impact-grid { display:grid; grid-template-columns:2fr repeat(3,1fr); gap:28px; align-items:center; }
.dg-impact-intro h2 { color:#fff; font-size:1.55rem; margin:7px 0 0; max-width:390px; }
.dg-impact-intro .dg-overline { color:var(--dg-lime); }
.dg-stat { padding-left:28px; border-left:1px solid rgba(255,255,255,.14); }
.dg-stat strong { display:block; color:var(--dg-lime); font-size:1.7rem; font-family:var(--font-display); }
.dg-stat span { color:rgba(255,255,255,.65); font-size:.78rem; }

.dg-section { padding:105px 0; }
.dg-section-head { display:grid; grid-template-columns:1fr .8fr; gap:60px; align-items:end; margin-bottom:42px; }
.dg-section-head h2,.dg-how-copy h2,.dg-faq h2 { color:var(--dg-ink); font-size:clamp(2.3rem,4vw,3.7rem); line-height:1; letter-spacing:-.045em; margin:10px 0 0; }
.dg-section-head p { color:var(--dg-muted); max-width:500px; margin:0 0 5px; font-size:1rem; line-height:1.75; }
.dg-service-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.dg-service-card { min-height:365px; border-radius:28px; overflow:hidden; padding:31px; display:grid; grid-template-columns:1.1fr .9fr; gap:12px; align-items:end; position:relative; transition:transform .22s ease, box-shadow .22s ease; }
.dg-service-card:hover { transform:translateY(-5px); box-shadow:0 22px 50px rgba(60,20,20,.13); }
.dg-service-green { background:#f4e3e3; }
.dg-service-orange { background:#f6e8e8; }
.dg-service-dark { background:#8b2424; color:#fff; }
.dg-service-yellow { background:#f7ebeb; }
.dg-service-copy { position:relative; z-index:2; align-self:stretch; display:flex; flex-direction:column; }
.dg-service-number { font-size:.7rem; font-weight:900; letter-spacing:.12em; opacity:.55; }
.dg-service-card h3 { font-size:1.7rem; margin-top:auto; margin-bottom:10px; color:inherit; }
.dg-service-card p { color:inherit; opacity:.7; font-size:.9rem; line-height:1.6; margin:0 0 18px; }
.dg-card-link,.dg-partner-card a,.dg-text-link { display:inline-flex; align-items:center; gap:7px; font-size:.82rem; font-weight:800; color:inherit; }
.dg-card-link svg,.dg-partner-card a svg,.dg-text-link svg { width:16px; height:16px; }
.dg-service-card img { width:100%; max-height:250px; object-fit:contain; align-self:end; filter:drop-shadow(0 16px 18px rgba(60,20,20,.1)); }
.dg-service-dark h3,.dg-service-dark p,.dg-service-dark .dg-card-link { color:#fff; }

.dg-how { background:#faf3f3; }
.dg-how-grid { display:grid; grid-template-columns:1fr 1fr; gap:85px; align-items:center; }
.dg-how-art img { width:100%; max-width:520px; margin:auto; }
.dg-how-copy > p { max-width:480px; color:var(--dg-muted); font-size:1rem; line-height:1.7; margin:22px 0 30px; }
.dg-overline-light { color:var(--dg-lime); }
.dg-steps { border-top:1px solid #ead2d2; }
.dg-step { display:grid; grid-template-columns:55px 1fr; gap:14px; padding:20px 0; border-bottom:1px solid #ead2d2; }
.dg-step > span { font-family:var(--font-display); color:#6f1d1d; font-size:.82rem; font-weight:800; padding-top:3px; }
.dg-step strong { color:var(--dg-ink); font-size:.96rem; }
.dg-step p { margin:4px 0 0; color:#718079; font-size:.83rem; line-height:1.6; }

.dg-partner { background:#fff; }
.dg-partner-head { margin-bottom:36px; }
.dg-partner-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.dg-partner-card { background:#fbf5f5; border:1px solid #f0dddd; border-radius:24px; padding:18px; overflow:hidden; transition:transform .2s ease, box-shadow .2s ease; }
.dg-partner-card:hover { transform:translateY(-4px); box-shadow:0 18px 45px rgba(60,20,20,.08); }
.dg-partner-card img { width:100%; height:190px; object-fit:contain; background:#f4e3e3; border-radius:17px; margin-bottom:20px; }
.dg-partner-card:nth-child(2) img { background:#f7ebeb; }
.dg-partner-card:nth-child(3) img { background:#f4e3e3; }
.dg-partner-card h3 { color:var(--dg-ink); margin-bottom:7px; font-size:1.15rem; }
.dg-partner-card p { color:#6c7973; font-size:.83rem; line-height:1.65; min-height:72px; }
.dg-partner-card a { color:#8b2424; }

.dg-download { padding:0 0 105px; }
.dg-download-card { border-radius:34px; background:linear-gradient(135deg,#8b2424,#731d1d); min-height:440px; padding:65px 72px; display:grid; grid-template-columns:1fr .55fr; align-items:center; overflow:hidden; position:relative; }
.dg-download-card:after { content:""; position:absolute; width:430px; height:430px; right:-120px; bottom:-190px; border-radius:50%; background:rgba(139,36,36,.12); }
.dg-download-card h2 { color:#fff; font-size:clamp(2.5rem,4.5vw,4rem); line-height:.98; letter-spacing:-.045em; margin:12px 0 18px; }
.dg-download-card p { color:rgba(255,255,255,.7); max-width:450px; }
.dg-btn-white { background:#fff; color:var(--dg-ink); }
.dg-btn-outline { border:1px solid rgba(255,255,255,.35); color:#fff; }
.dg-download-card img { width:100%; max-height:410px; object-fit:contain; position:relative; z-index:2; transform:rotate(3deg); filter:drop-shadow(0 25px 30px rgba(0,0,0,.22)); }

.dg-faq { background:#fbf5f5; }
.dg-faq-grid { display:grid; grid-template-columns:.7fr 1.3fr; gap:90px; }
.dg-faq-grid > div:first-child p { max-width:340px; margin:22px 0; color:#6c7973; }
.dg-text-link { color:#8b2424; }
.dg-faq-list details { border-top:1px solid #ead2d2; padding:0; }
.dg-faq-list details:last-child { border-bottom:1px solid #ead2d2; }
.dg-faq-list summary { list-style:none; cursor:pointer; padding:23px 38px 23px 0; color:var(--dg-ink); font-weight:800; font-size:1rem; position:relative; }
.dg-faq-list summary::-webkit-details-marker { display:none; }
.dg-faq-list summary:after { content:"+"; position:absolute; right:5px; top:17px; font-size:1.45rem; font-weight:400; color:#5f7268; }
.dg-faq-list details[open] summary:after { content:"−"; }
.dg-faq-list details p { margin:0 38px 22px 0; color:#6f7c76; font-size:.88rem; line-height:1.7; }

@keyframes dgFloat { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-10px) rotate(.5deg)} }

@media (max-width: 980px) {
  .dg-hero-grid,.dg-how-grid { grid-template-columns:1fr; }
  .dg-hero { padding-top:55px; }
  .dg-hero-copy { text-align:center; }
  .dg-hero-lead { margin-left:auto; margin-right:auto; }
  .dg-hero-actions,.dg-trust-row { justify-content:center; }
  .dg-hero-art { min-height:520px; }
  .dg-impact-grid { grid-template-columns:1fr 1fr 1fr; }
  .dg-impact-intro { grid-column:1/-1; }
  .dg-section-head { grid-template-columns:1fr; gap:14px; }
  .dg-partner-grid { grid-template-columns:1fr 1fr; }
  .dg-partner-card:last-child { grid-column:1/-1; }
  .dg-download-card { padding:55px 45px; }
  .dg-faq-grid { gap:50px; }
}
@media (max-width: 760px) {
  .dg-container { width:min(100% - 32px,1180px); }
  .dg-modern-header .nav-inner { padding:0 16px; }
  .dg-modern-header .nav-actions .btn { display:none; }
  .dg-hero { padding:45px 0 25px; }
  .dg-hero-grid { min-height:0; }
  .dg-hero h1 { font-size:clamp(2.75rem,13vw,4.3rem); }
  .dg-hero-art { min-height:430px; margin-top:10px; }
  .dg-orb-one { width:330px; height:330px; }
  .dg-orb-two { width:110px; height:110px; top:30px; right:5%; }
  .dg-main-art { width:100%; max-width:500px; }
  .dg-hero-badge { top:25px; right:4px; }
  .dg-float-order { left:0; bottom:65px; }
  .dg-float-time { right:0; bottom:15px; }
  .dg-impact-grid { grid-template-columns:1fr 1fr; }
  .dg-stat { padding-left:18px; }
  .dg-section { padding:75px 0; }
  .dg-section-head h2,.dg-how-copy h2,.dg-faq h2 { font-size:2.55rem; }
  .dg-service-grid { grid-template-columns:1fr; }
  .dg-service-card { min-height:340px; }
  .dg-how-grid { gap:35px; }
  .dg-partner-grid { grid-template-columns:1fr; }
  .dg-partner-card:last-child { grid-column:auto; }
  .dg-download { padding-bottom:75px; }
  .dg-download-card { grid-template-columns:1fr; padding:45px 28px 0; min-height:0; }
  .dg-download-card img { max-width:270px; margin:20px auto 0; }
  .dg-faq-grid { grid-template-columns:1fr; gap:45px; }
}
@media (max-width: 520px) {
  .dg-hero-actions .dg-btn { width:100%; }
  .dg-hero-art { min-height:360px; }
  .dg-floating-card { transform:scale(.9); }
  .dg-float-order { left:-8px; }
  .dg-float-time { right:-8px; }
  .dg-impact-grid { grid-template-columns:1fr 1fr; gap:22px 12px; }
  .dg-impact-intro { grid-column:1/-1; }
  .dg-service-card { padding:24px; grid-template-columns:1fr .82fr; min-height:310px; }
  .dg-service-card h3 { font-size:1.4rem; }
  .dg-service-card p { font-size:.78rem; }
  .dg-service-card img { max-height:175px; }
  .dg-download-card .dg-hero-actions { align-items:stretch; }
  .dg-download-card .dg-btn { width:100%; }
}


/* ---------- Your Delivery Guy contact + social identity ---------- */
.header-socials, .footer-socials, .contact-social-links { display:flex; align-items:center; gap:9px; }
.social-icon { width:38px; height:38px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; transition:transform .18s ease, background .18s ease, color .18s ease; }
.social-icon:hover { transform:translateY(-2px); }
.social-icon svg { width:20px; height:20px; }
.social-whatsapp { background:#f4e1e1; color:#8b2424; }
.social-whatsapp:hover { background:#8b2424; color:#fff; }
.social-facebook { background:#f4e1e1; color:#8b2424; }
.social-facebook:hover { background:#8b2424; color:#fff; }
.footer-contact-list li { color:rgba(255,255,255,.65); font-size:.9rem; margin-bottom:10px; }
.footer-contact-list li a { color:rgba(255,255,255,.75); }
.footer-socials { margin-top:16px; }
.site-footer .social-icon { background:rgba(255,255,255,.1); color:#fff; }
.site-footer .social-icon:hover { background:#8b2424; }
.contact-social-links { margin-top:4px; }
@media (max-width: 900px) {
  .header-socials { display:none; }
  .dg-modern-header .brand-logo-img { height:40px; max-width:170px; }
}
@media (max-width: 520px) {
  .dg-modern-header .brand-logo-img { height:36px; max-width:150px; }
}

/* v1.0.2: enforce the current Your Delivery Guy ox-blood identity on every page. */
.site-footer { background: #8b2424 !important; }


/* v1.0.3: final site-wide ox-blood enforcement.
 * Contact, legal pages and footer must use the Your Delivery Guy brand color.
 */
:root {
  --ydg-oxblood: #8b2424 !important;
}
.site-footer,
body .site-footer,
html body .site-footer {
  background: #8b2424 !important;
  background-color: #8b2424 !important;
}
.page-template-page-templates-contact .page-hero,
.page-template-page-templates-terms .page-hero,
.page-template-page-templates-privacy .page-hero {
  background: linear-gradient(135deg, #8b2424, #6f1d1d) !important;
}
.page-template-page-templates-contact .eyebrow,
.page-template-page-templates-terms .eyebrow,
.page-template-page-templates-privacy .eyebrow {
  color: #8b2424 !important;
}
.page-template-page-templates-contact .contact-info-item svg,
.page-template-page-templates-contact .contact-info-phone,
.page-template-page-templates-contact .contact-social-links .social-icon,
.page-template-page-templates-terms .entry-content a,
.page-template-page-templates-terms .entry-content h2,
.page-template-page-templates-privacy .entry-content a,
.page-template-page-templates-privacy .entry-content h2 {
  color: #8b2424 !important;
}
.page-template-page-templates-contact .btn-primary,
.page-template-page-templates-terms .btn-primary,
.page-template-page-templates-privacy .btn-primary {
  background: #8b2424 !important;
  border-color: #8b2424 !important;
}
.page-template-page-templates-contact .btn-primary:hover,
.page-template-page-templates-terms .btn-primary:hover,
.page-template-page-templates-privacy .btn-primary:hover {
  background: #731d1d !important;
  border-color: #731d1d !important;
}
.page-template-page-templates-contact input:focus,
.page-template-page-templates-contact select:focus,
.page-template-page-templates-contact textarea:focus {
  border-color: #8b2424 !important;
  box-shadow: 0 0 0 3px rgba(139,36,36,.15) !important;
}
.footer-grid a:hover,
.site-footer a:hover { color: #fff !important; }

/* ---------- Entry content (block-editor page content: Privacy, Terms) ---------- */
.entry-content h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin: 34px 0 14px; }
.entry-content h2:first-child { margin-top: 0; }
.entry-content h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin: 26px 0 10px; }
.entry-content p { margin-bottom: 16px; }
.entry-content ul, .entry-content ol { margin: 0 0 16px; padding-left: 1.4em; }
.entry-content li { margin-bottom: 8px; }
.entry-content a { font-weight: 600; text-decoration: underline; }
