/*
Theme Name: Donohoe Beverage Service
Theme URI: https://donohoebeverage.com
Author: Donohoe Beverage Service
Description: A fast, accessible five-page service website for Donohoe Beverage Service.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: donohoe-beverage
*/

:root {
  --dbs-navy: #0d172a;
  --dbs-navy-2: #18243a;
  --dbs-orange: #f59e0b;
  --dbs-orange-dark: #b94a08;
  --dbs-cream: #fff8ed;
  --dbs-ink: #121a2c;
  --dbs-slate: #55657a;
  --dbs-line: #dfe5ec;
  --dbs-white: #ffffff;
  --dbs-max: 1180px;
  --dbs-radius: 22px;
  --dbs-shadow: 0 22px 50px rgba(13, 23, 42, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--dbs-ink);
  background: #f7f8fa;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 {
  color: var(--dbs-navy);
  font-weight: 850;
  letter-spacing: -.025em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.75rem, 7vw, 5.8rem); margin: 0 0 22px; }
h2 { font-size: clamp(2.1rem, 4vw, 3.45rem); margin: 0 0 18px; }
h3 { font-size: 1.35rem; margin: 0 0 10px; }
p { margin: 0 0 1.1em; }
.wrap { width: min(calc(100% - 40px), var(--dbs-max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.section { padding: clamp(68px, 9vw, 118px) 0; }
.section--tight { padding: 58px 0; }
.section--white { background: var(--dbs-white); }
.section--cream { background: var(--dbs-cream); }
.section--navy { background: var(--dbs-navy); color: #e9eef6; }
.section--navy h2, .section--navy h3 { color: var(--dbs-white); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--dbs-orange-dark);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 4px; border-radius: 99px; background: var(--dbs-orange); }
.lead { max-width: 780px; color: var(--dbs-slate); font-size: clamp(1.08rem, 2vw, 1.28rem); }
.lead--light { color: #cbd5e1; }
.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 21px;
  border: 2px solid transparent;
  border-radius: 13px;
  background: var(--dbs-orange);
  color: var(--dbs-navy);
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
  cursor: pointer;
}
.btn:hover { background: #ffb31f; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(245, 158, 11, .23); }
.btn--ghost { border-color: rgba(255, 255, 255, .34); background: transparent; color: var(--dbs-white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .09); box-shadow: none; }
.btn--dark { background: var(--dbs-navy); color: var(--dbs-white); }
.btn--dark:hover { background: var(--dbs-navy-2); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 9999; background: white; padding: 12px 16px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(13, 23, 42, .96);
  color: var(--dbs-white);
  backdrop-filter: blur(12px);
}
.header-inner { display: flex; min-height: 82px; align-items: center; gap: 24px; }
.brand { display: flex; min-width: 240px; align-items: center; gap: 12px; color: white; text-decoration: none; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand-name { display: grid; font-size: .98rem; font-weight: 900; line-height: 1.05; text-transform: uppercase; }
.brand-name span { color: var(--dbs-orange); }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 25px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { color: #e9eef6; font-size: .92rem; font-weight: 750; text-decoration: none; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--dbs-orange); }
.header-call { white-space: nowrap; }
.menu-toggle { display: none; margin-left: auto; border: 1px solid rgba(255,255,255,.24); border-radius: 10px; background: transparent; color: white; padding: 9px 12px; font: inherit; font-weight: 800; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 10vw, 130px) 0 78px;
  background: var(--dbs-navy);
  color: var(--dbs-white);
}
.hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -210px; top: -230px; border-radius: 50%; background: rgba(245, 158, 11, .09); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(34px, 7vw, 86px); }
.hero h1 { color: white; text-transform: uppercase; }
.hero h1 strong { display: block; color: var(--dbs-orange); }
.hero-copy { color: #d9e2ef; font-size: 1.18rem; max-width: 690px; }
.hero-art { position: relative; min-height: 480px; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; inset: 8% 0 2% 9%; border-radius: 44% 56% 38% 62%; background: linear-gradient(145deg, #26334b, #111a2b); }
.hero-machine { position: relative; z-index: 2; width: min(100%, 700px); filter: drop-shadow(0 32px 30px rgba(0,0,0,.43)); }
.hero-logo { position: absolute; z-index: 3; top: 0; right: 1%; width: 132px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.hero-chip { padding: 7px 11px; border: 1px solid rgba(255, 255, 255, .17); border-radius: 999px; background: rgba(255,255,255,.055); color: #edf3fa; font-size: .82rem; font-weight: 800; }

.offer-band { position: relative; z-index: 5; margin-top: -34px; }
.offer-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 28px 32px; border: 1px solid #fed899; border-radius: 20px; background: white; box-shadow: var(--dbs-shadow); }
.offer-badge { color: var(--dbs-orange-dark); font-size: clamp(2.1rem, 5vw, 4rem); font-weight: 950; line-height: .95; white-space: nowrap; }
.offer-copy strong { display: block; color: var(--dbs-navy); font-size: 1.18rem; }
.offer-copy span { color: var(--dbs-slate); font-size: .94rem; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 42px; }
.section-heading > * { margin-bottom: 0; }
.cards-3, .cards-4 { display: grid; gap: 22px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { padding: 30px; border: 1px solid var(--dbs-line); border-radius: var(--dbs-radius); background: white; box-shadow: 0 14px 34px rgba(13,23,42,.06); }
.card p:last-child { margin-bottom: 0; }
.card-icon { display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 22px; border-radius: 13px; background: var(--dbs-orange); color: var(--dbs-navy); font-size: 1.3rem; font-weight: 950; }
.card--dark { border-color: rgba(255,255,255,.12); background: var(--dbs-navy-2); color: #cfdae8; box-shadow: none; }
.card--dark h3 { color: white; }
.service-list { margin: 16px 0 0; padding: 0; list-style: none; }
.service-list li { position: relative; padding: 8px 0 8px 28px; }
.service-list li::before { content: "✓"; position: absolute; left: 0; color: var(--dbs-orange-dark); font-weight: 950; }
.section--navy .service-list li::before { color: var(--dbs-orange); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(38px, 7vw, 86px); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { padding: 25px; border-left: 5px solid var(--dbs-orange); border-radius: 0 16px 16px 0; background: white; box-shadow: 0 12px 28px rgba(13,23,42,.07); }
.stat strong { display: block; color: var(--dbs-navy); font-size: 1.18rem; }
.stat span { color: var(--dbs-slate); font-size: .92rem; }

.page-hero { padding: 76px 0 64px; background: var(--dbs-navy); color: white; }
.page-hero h1 { max-width: 920px; color: white; font-size: clamp(2.65rem, 6vw, 5rem); }
.page-hero .lead { color: #ced8e6; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.equipment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.equipment-card { padding: 32px; border: 1px solid var(--dbs-line); border-radius: 20px; background: white; }
.equipment-card h2 { font-size: 1.6rem; }
.brand-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.brand-pill { padding: 10px 14px; border: 1px solid #d5dce5; border-radius: 10px; background: white; font-weight: 850; }
.notice { padding: 18px 20px; border-left: 5px solid var(--dbs-orange); background: var(--dbs-cream); color: #46566b; }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 72px); align-items: start; }
.contact-card { padding: 30px; border-radius: var(--dbs-radius); background: var(--dbs-navy); color: #d8e2ef; }
.contact-card h2, .contact-card h3 { color: white; }
.contact-method { display: block; margin: 18px 0; color: white; font-size: 1.15rem; font-weight: 850; text-decoration: none; }
.service-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.service-form .field--full { grid-column: 1 / -1; }
.service-form label { display: block; margin-bottom: 7px; color: var(--dbs-navy); font-size: .9rem; font-weight: 850; }
.service-form input, .service-form select, .service-form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #c8d1dc; border-radius: 11px; background: white; color: var(--dbs-ink); font: inherit;
}
.service-form textarea { min-height: 150px; resize: vertical; }
.service-form input:focus, .service-form select:focus, .service-form textarea:focus { outline: 3px solid rgba(245,158,11,.28); border-color: var(--dbs-orange-dark); }
.form-note { color: var(--dbs-slate); font-size: .85rem; }
.form-status { margin-bottom: 24px; padding: 16px 18px; border-radius: 12px; font-weight: 750; }
.form-status--success { border: 1px solid #86d5a5; background: #edfff3; color: #165d32; }
.form-status--error { border: 1px solid #ef9d9d; background: #fff0f0; color: #8a1f1f; }
.hp-field { position: absolute !important; left: -9999px !important; }

.cta-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: clamp(30px, 6vw, 58px); border-radius: 28px; background: var(--dbs-orange); }
.cta-panel h2 { margin-bottom: 10px; }
.cta-panel p { margin: 0; color: #283449; }
.site-footer { padding: 58px 0 30px; background: #080f1d; color: #aebbd0; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .65fr .8fr; gap: 44px; }
.site-footer h3 { color: white; font-size: 1rem; }
.site-footer a { color: #dfe7f2; text-decoration: none; }
.site-footer a:hover { color: var(--dbs-orange); }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 8px 0; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.mobile-call { display: none; }
.entry-content { padding: 70px 0; }
.entry-content > * { max-width: 820px; margin-left: auto; margin-right: auto; }
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; }

@media (max-width: 1020px) {
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 82px; padding: 16px 20px 24px; background: var(--dbs-navy); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .primary-nav a { display: block; padding: 12px; }
  .menu-toggle { display: block; }
  .header-call { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 360px; }
  .hero-machine { width: min(88%, 670px); }
  .hero-logo { right: 4%; width: 110px; }
  .cards-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body.admin-bar .site-header { top: 46px; }
  body { font-size: 16px; padding-bottom: 66px; }
  .brand { min-width: 0; }
  .brand img { width: 47px; height: 47px; }
  .header-inner { min-height: 72px; }
  .primary-nav { top: 72px; }
  .hero { padding-top: 68px; }
  .hero-art { min-height: 280px; }
  .hero-logo { width: 82px; }
  .offer-card { grid-template-columns: 1fr; gap: 12px; padding: 25px; }
  .offer-card .btn { width: 100%; }
  .section-heading { align-items: start; flex-direction: column; }
  .cards-3, .cards-4, .split, .content-grid, .equipment-grid, .contact-layout, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .stats { grid-template-columns: 1fr; }
  .service-form { grid-template-columns: 1fr; }
  .service-form .field--full { grid-column: auto; }
  .cta-panel { grid-template-columns: 1fr; }
  .cta-panel .btn { width: 100%; }
  .mobile-call { display: flex; position: fixed; z-index: 150; left: 12px; right: 12px; bottom: 10px; min-height: 52px; align-items: center; justify-content: center; border-radius: 14px; background: var(--dbs-orange); color: var(--dbs-navy); font-weight: 950; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.24); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

