/*
Theme Name: Deliveriva
Theme URI: https://example.com/
Author: Deliveriva
Description: A modern, responsive WordPress theme inspired by the Deliveriva brand identity.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: deliveriva
*/

:root {
  --green: #02534d;
  --green-dark: #003f3a;
  --green-soft: #eaf5f2;
  --orange: #ff9d00;
  --orange-dark: #e68900;
  --ink: #111111;
  --white: #ffffff;
  --muted: #64706e;
  --line: #dce7e4;
  --radius: 24px;
  --shadow: 0 18px 50px rgba(0, 63, 58, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Inter Tight", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(2,83,77,.08);
}
.header-inner {
  min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-logo img { display:block; width: 184px; height:auto; }
.main-nav ul { display:flex; align-items:center; gap:28px; list-style:none; margin:0; padding:0; }
.main-nav a { font-weight:700; font-size:15px; }
.main-nav a:hover { color: var(--orange-dark); }
.header-cta, .button {
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  min-height:48px; padding:0 22px; border-radius:999px; font-weight:800;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.header-cta, .button-primary { background:var(--orange); color:#111; }
.header-cta:hover, .button-primary:hover { transform:translateY(-2px); background:#ffab1a; box-shadow:0 10px 24px rgba(255,157,0,.25); }
.button-secondary { background:var(--green); color:#fff; }
.button-secondary:hover { transform:translateY(-2px); background:var(--green-dark); }
.mobile-toggle { display:none; background:none; border:0; font-size:25px; color:var(--green); }

.hero {
  position:relative; overflow:hidden; background:var(--green); color:#fff;
  padding:100px 0 96px;
}
.hero:after {
  content:""; position:absolute; width:760px; height:760px; right:-260px; top:-300px;
  border-radius:50%; background:rgba(255,157,0,.10);
}
.hero-grid { position:relative; z-index:1; display:grid; grid-template-columns:1.05fr .95fr; gap:70px; align-items:center; }
.eyebrow {
  display:inline-flex; align-items:center; gap:9px; padding:8px 13px; border-radius:999px;
  background:rgba(255,255,255,.10); color:#fff; font-weight:800; font-size:13px; letter-spacing:.02em;
}
.eyebrow:before { content:""; width:8px; height:8px; border-radius:50%; background:var(--orange); }
.hero h1 { font-size:clamp(48px, 6vw, 82px); line-height:.94; letter-spacing:-.045em; margin:22px 0 24px; max-width:780px; }
.hero h1 span { color:var(--orange); }
.hero p { max-width:620px; font-size:20px; color:rgba(255,255,255,.82); margin:0 0 32px; }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; }
.hero-card {
  min-height:420px; border-radius:32px; background:linear-gradient(145deg, #0a625a, #01443f);
  position:relative; overflow:hidden; box-shadow:var(--shadow);
}
.hero-card:before {
  content:""; position:absolute; width:460px; height:460px; border:80px solid rgba(255,255,255,.035);
  border-radius:50%; right:-180px; top:-150px;
}
.delivery-box {
  position:absolute; left:42px; right:42px; bottom:42px; padding:28px; border-radius:22px;
  background:#fff; color:var(--green); box-shadow:0 20px 50px rgba(0,0,0,.16);
}
.delivery-box strong { font-size:28px; line-height:1.05; display:block; margin-bottom:8px; }
.delivery-box small { color:var(--muted); }

.section { padding:96px 0; }
.section-heading { max-width:760px; margin-bottom:46px; }
.section-heading .kicker { color:var(--orange-dark); font-weight:900; text-transform:uppercase; letter-spacing:.08em; font-size:13px; }
.section-heading h2 { font-size:clamp(36px, 4.5vw, 58px); line-height:1; letter-spacing:-.035em; margin:10px 0 16px; color:var(--green); }
.section-heading p { font-size:18px; color:var(--muted); margin:0; }

.stats { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.stat { padding:30px; border:1px solid var(--line); border-radius:var(--radius); background:#fff; }
.stat strong { display:block; color:var(--green); font-size:44px; line-height:1; margin-bottom:8px; }
.stat span { color:var(--muted); font-weight:700; }

.services { background:var(--green-soft); }
.service-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.service-card { background:#fff; border-radius:var(--radius); padding:32px; border:1px solid rgba(2,83,77,.08); }
.service-icon {
  width:54px; height:54px; display:grid; place-items:center; border-radius:16px;
  background:var(--orange); color:#111; font-size:24px; font-weight:900; margin-bottom:24px;
}
.service-card h3 { color:var(--green); margin:0 0 10px; font-size:24px; }
.service-card p { color:var(--muted); margin:0; }

.split { display:grid; grid-template-columns:.9fr 1.1fr; gap:70px; align-items:center; }
.brand-panel {
  min-height:430px; border-radius:32px; background:var(--orange); padding:42px; display:flex; align-items:flex-end;
  position:relative; overflow:hidden;
}
.brand-panel:after {
  content:"D"; position:absolute; right:-10px; bottom:-110px; font-size:520px; line-height:1;
  color:rgba(2,83,77,.12); font-weight:900;
}
.brand-panel img { width:min(90%, 360px); position:relative; z-index:1; }
.checks { display:grid; gap:16px; margin:26px 0 32px; padding:0; list-style:none; }
.checks li { display:flex; gap:12px; align-items:flex-start; font-weight:700; }
.checks li:before {
  content:"✓"; flex:0 0 26px; width:26px; height:26px; display:grid; place-items:center;
  background:var(--orange); border-radius:50%; font-size:13px;
}

.cta { padding:76px 0; }
.cta-box {
  border-radius:32px; background:var(--green); color:#fff; padding:58px;
  display:flex; align-items:center; justify-content:space-between; gap:30px;
}
.cta-box h2 { margin:0 0 10px; font-size:clamp(34px,4vw,52px); line-height:1; }
.cta-box p { margin:0; color:rgba(255,255,255,.75); max-width:620px; }

.site-footer { background:#003f3a; color:#fff; padding:58px 0 28px; }
.footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:50px; }
.footer-logo { width:190px; margin-bottom:18px; }
.footer-copy { color:rgba(255,255,255,.66); max-width:420px; }
.footer-col h3 { font-size:15px; text-transform:uppercase; letter-spacing:.08em; color:var(--orange); margin:0 0 16px; }
.footer-col ul { list-style:none; padding:0; margin:0; display:grid; gap:9px; }
.footer-col a { color:rgba(255,255,255,.82); }
.footer-bottom { margin-top:44px; padding-top:22px; border-top:1px solid rgba(255,255,255,.12); color:rgba(255,255,255,.55); font-size:14px; }

.entry-content { max-width:850px; margin:80px auto; padding:0 20px; }
.entry-content h1, .entry-content h2, .entry-content h3 { color:var(--green); line-height:1.1; }
.entry-content img { border-radius:20px; }
.entry-title { color:var(--green); font-size:clamp(40px,6vw,72px); line-height:.98; letter-spacing:-.04em; }

@media (max-width: 900px) {
  .main-nav, .header-cta { display:none; }
  .mobile-toggle { display:block; }
  .hero-grid, .split { grid-template-columns:1fr; }
  .hero { padding:72px 0; }
  .hero-card { min-height:320px; }
  .service-grid { grid-template-columns:1fr 1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .cta-box { flex-direction:column; align-items:flex-start; padding:40px; }
}
@media (max-width: 600px) {
  .container { width:min(100% - 28px, 1160px); }
  .header-inner { min-height:70px; }
  .site-logo img { width:150px; }
  .hero h1 { font-size:50px; }
  .hero p { font-size:17px; }
  .hero-card { min-height:270px; }
  .delivery-box { left:20px; right:20px; bottom:20px; padding:22px; }
  .section { padding:68px 0; }
  .stats, .service-grid, .footer-grid { grid-template-columns:1fr; }
  .brand-panel { min-height:300px; padding:28px; }
  .cta { padding:30px 0 68px; }
}
