/*
Theme Name: North Florida Ice
Theme URI: https://northfloridaice.com/
Author: Austin Spires
Description: Custom theme converted from the North Florida Ice static site (HTML/CSS/JS).
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: north-florida-ice
*/

/* ---- Original site CSS ---- */
/* styles.css (UPDATED) */

:root {
  --bg: #ffffff;
  --ink: #1b2430;
  --muted: #5b6675;
  --line: #e8edf3;
  --brand: #0b5bd3; /* clean blue */
  --brand2: #0ea5e9; /* sky */
  --accent: #16a34a; /* green CTA */
  --shadow: 0 18px 50px rgba(16, 24, 40, 0.12);
  --radius: 16px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}

/* Header (similar feel to UTR) */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

/* Logo sizing (rem-based, larger) */
.brand img {
  width: 4.75rem; /* ~76px */
  height: 4.75rem;
  border-radius: 0.9rem;
  object-fit: contain;
  /* background: #fff;
  border: 0.0625rem solid var(--line);
  box-shadow: 0 0.625rem 1.5rem rgba(16, 24, 40, 0.08); */
}

/* Wider content container (used inside full-width sections) */
.container-wide {
  max-width: calc(var(--max) + 20rem);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Contact: full-width section background */
.contact-full {
  width: 100%;
  background: #f7faff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Contact: full-width CONTENT wrapper */
.contact-inner {
  width: 100%;
  max-width: none; /* key */
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .contact-inner {
    padding-left: 1.125rem;
    padding-right: 1.125rem;
  }
}

/* Service Area: map should NOT be full-width */
.service-area-full .map-full {
  width: 100%;
  max-width: var(--max);
  margin: 18px auto 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  min-height: 22rem;
  height: 50vh;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.service-area-full .map-full iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Header logo sizing + alignment */
.brand {
  gap: 14px;
}
.brand .name {
  font-size: 16px;
}
@media (max-width: 720px) {
  .brand img {
    width: 4rem; /* ~64px */
    height: 4rem;
    border-radius: 0.9rem;
  }
  .brand .name {
    font-size: 15px;
  }
  .container-wide {
    padding-left: 1.125rem;
    padding-right: 1.125rem;
  }
  .service-area-full .map-full {
    height: 52vh;
    min-height: 20rem;
  }
}
.brand .name {
  font-weight: 900;
  letter-spacing: 0.2px;
  font-size: 15px;
  line-height: 1.15;
}
.brand .sub {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav a {
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
  padding: 10px 10px;
  border-radius: 12px;
}
nav a:hover {
  background: #f5f7fb;
  color: var(--ink);
}
nav .cta {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 28px rgba(22, 163, 74, 0.25);
  white-space: nowrap; /* keep phone number on one line */
}
nav .cta:hover {
  filter: brightness(1.03);
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  font-size: 18px;
  cursor: pointer;
}
.mobile-nav {
  display: none;
  padding: 0 0 12px 0;
}
.mobile-nav a {
  display: block;
  padding: 12px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 800;
}
.mobile-nav a:hover {
  background: #f5f7fb;
  color: var(--ink);
}
.mobile-nav .cta {
  margin-top: 8px;
  background: var(--accent);
  color: #fff;
  text-align: center;
  white-space: nowrap; /* keep phone number on one line */
}

/* Hero (large image + overlay text like UTR) */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);

  /* lighter overlay so the photo shows more */
  background: url("/wp-content/uploads/2026/01/hero.jpg") center/cover no-repeat;
}

.hero .inner {
  padding: 64px 0;
  max-width: 740px;
}

/* Hero text box to separate from image */
.hero-box {
  display: inline-block;
  background: rgb(255 255 255 / 46%);
  border: 1px solid #e8edf347;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 22px;
}

@media (max-width: 720px) {
  .hero-box {
    padding: 18px 16px;
  }
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(11, 91, 211, 0.08);
  color: #0b3f9e;
  font-weight: 900;
  font-size: 13px;
}
h1 {
  margin: 14px 0 8px 0;
  font-size: clamp(34px, 4.5vw, 56px);
  letter-spacing: -0.8px;
  line-height: 1.05;
}
.location {
  font-size: 18px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 16px;
}
.hero p {
  margin: 0 0 18px 0;
  color: #334155;
  font-size: 16px;
  max-width: 62ch;
}
.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
}
.btn:hover {
  background: #f7f9fc;
}
.btn.primary {
  border: none;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 28px rgba(11, 91, 211, 0.22);
}
.btn.primary:hover {
  filter: brightness(1.03);
}
.btn.green {
  border: none;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.2);
}

/* Thin full-width banner CTA */
.thin-cta {
  padding: 18px 0;
  background: #0b5bd3;
  color: #fff;
}
.thin-cta .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.thin-cta strong {
  font-size: 15px;
}
.thin-cta span {
  display: block;
  opacity: 0.9;
  font-weight: 600;
  font-size: 13px;
  margin-top: 2px;
}
.thin-cta .btn {
  border: none;
  background: #fff;
  color: #0b5bd3;
  font-weight: 950;
}

/* Sections */
section {
  padding: 58px 0;
}

.section-alt {
  background: #f7faff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.title {
  font-size: 30px;
  margin: 0 0 10px 0;
  letter-spacing: -0.4px;
}
.sub {
  margin: 0 0 22px 0;
  color: var(--muted);
  max-width: 78ch;
  font-weight: 600;
}

/* 3 feature blocks like UTR */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* 2-up grid (Community Programs) */
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 760px) {
  .grid2 {
    grid-template-columns: 1fr;
  }
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 18px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.2px;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}
.card .spacer {
  flex: 1;
}

.contact-card .btn {
  width: auto;
  align-self: center;
  min-width: 12rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Community Programs cards */
.card-feature {
  min-height: 260px;
}
.card-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.card-top .icon-badge {
  margin-bottom: 0;
}
.bullet {
  margin: 12px 0 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 650;
}
#water .icon-badge i {
  color: var(--brand2);
}
#multivend .icon-badge i {
  color: var(--accent);
}
#business .icon-badge i {
  color: var(--brand);
}
.features-cta {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
}

/* Full-width “Our Water” info band */
.band {
  background: #f7faff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: center;
}
.pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: #075985;
  font-weight: 950;
  font-size: 12px;
  letter-spacing: 0.2px;
}
.band h2 {
  margin: 10px 0 10px 0;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.6px;
}
.band p {
  margin: 0;
  color: #334155;
  font-weight: 600;
  max-width: 70ch;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.stat {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.06);
}
.stat strong {
  display: block;
  font-size: 16px;
}
.stat span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}

/* Service area */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.map {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  min-height: 360px;
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.info {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 18px;
}
.list {
  margin: 12px 0 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 650;
}

/* ================================
   Footer (UTR-style)
   ================================ */

footer {
  border-top: 1px solid var(--line);
  background: #0b1220;
  color: #e5e7eb;
  padding: 2.5rem 0 1.125rem;
}

/* 4-column footer grid */
.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.9fr;
  gap: 1.125rem; /* 18px */
  align-items: start;
}

/* Footer headings + links */
.foot h4 {
  margin: 0 0 0.625rem;
  font-size: 0.875rem;
  letter-spacing: 0.2px;
}

.foot a {
  color: #cbd5e1;
  text-decoration: none;
}

.foot a:hover {
  color: #fff;
}

/* Small text inside footer */
.foot .small {
  color: #cbd5e1;
  font-size: 0.8125rem; /* 13px */
  line-height: 1.6;
  margin: 0 0 0.5rem;
}

/* Brand column */
.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.foot-logo {
  display: inline-flex;
  width: fit-content;
}

.foot-logo img {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 1rem;
  object-fit: contain;
  /* background: #fff;
  border: 0.0625rem solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0.625rem 1.5rem rgba(0, 0, 0, 0.25); */
}

/* Links column stacked */
.foot-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.foot-links a {
  color: #cbd5e1;
  font-size: 0.8125rem; /* 13px */
  font-weight: 700;
  line-height: 1.6;
}

.foot-links a:hover {
  color: #fff;
}

/* CTA column */
.foot-cta-col .small {
  margin-bottom: 0.75rem;
}

/* Footer CTA button (keeps it compact, not full width) */
.footer-cta {
  margin-top: 0.25rem;
  width: auto;
  display: inline-flex;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  align-self: flex-start;
}

/* Copyright row */
.copy {
  margin-top: 1.125rem;
  padding-top: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

/* Responsive: stack on smaller screens */
@media (max-width: 920px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .footer-cta {
    align-self: flex-start;
  }
}

.small {
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.6;
}
.social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  align-items: center;
}
.icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
}
.icon:hover {
  background: rgba(255, 255, 255, 0.1);
}
.icon-badge i {
  font-size: 1.6rem;
  line-height: 1;
  color: var(--brand);
}
.copy {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

/* Chat (front-end ready; needs backend to send SMS) */
.chat-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  border: none;
  background: var(--brand);
  color: #fff;
  font-weight: 950;
  border-radius: 999px;
  padding: 12px 14px;
  box-shadow: 0 18px 40px rgba(11, 91, 211, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-panel {
  position: fixed;
  right: 18px;
  bottom: 74px;
  z-index: 101;
  width: min(360px, calc(100vw - 36px));
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: none;
}
.chat-panel.open {
  display: block;
}
.chat-head {
  padding: 14px;
  background: #f7f9fc;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.chat-head strong {
  font-size: 14px;
}
.chat-close {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.chat-body {
  padding: 14px;
}
label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 6px;
}
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
}
textarea {
  min-height: 96px;
  resize: vertical;
}
.chat-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  padding: 10px 12px;
  border-radius: 14px;
  display: none;
  z-index: 200;
  font-weight: 800;
  font-size: 13px;
}

/* Multi-vend modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 120;
  padding: 18px;
}
.modal.open {
  display: flex;
}
.modal-card {
  width: min(560px, 100%);
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.modal-card header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f7f9fc;
}
.modal-card main {
  padding: 16px;
}
.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

/* Responsive */
@media (max-width: 920px) {
  nav {
    display: none;
  }
  .hamburger {
    display: inline-grid;
    place-items: center;
  }
  .mobile-nav.show {
    display: block;
  }
  .band .wrap {
    grid-template-columns: 1fr;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .grid3 {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .thin-cta .row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Feature card icon badge */
.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #f1f6ff;
  border: 1px solid #e3ecff;
  margin-bottom: 10px;
}
.icon-badge img {
  width: 28px;
  height: 28px;
  opacity: 0.95;
}

/* Status pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: #fff;
}
.status-pill[data-open="true"] {
  color: #0a7a2a;
  border-color: #bfe8c9;
  background: #f3fff6;
}
.status-pill[data-open="false"] {
  color: #7a0a0a;
  border-color: #f1c1c1;
  background: #fff5f5;
}

/* ZIP checker */
.zip-check {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.zip-check label {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
}
.zip-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.zip-row input {
  flex: 1;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0 12px;
}
#zipResult[data-state="ok"] {
  color: #166534;
}
#zipResult[data-state="warn"] {
  color: #92400e;
}
#zipResult[data-state="idle"] {
  color: var(--muted);
}
#zipResult a {
  text-decoration: underline;
}

/* Estimator */
.est-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 900px) {
  .est-grid {
    grid-template-columns: 1fr;
  }
}
.field {
  margin: 10px 0;
}
.field label {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
}
.field input,
.field select {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0 12px;
}

/* Accordion */
.accordion details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 10px 14px;
}
.accordion details + details {
  margin-top: 10px;
}
.accordion summary {
  cursor: pointer;
  font-weight: 900;
}
.acc-body {
  padding-top: 8px;
  color: var(--ink);
}

/* ---- Gutenberg full-width support (alignfull / hero cover) ---- */
body.home main {
  padding: 0;
}

/* Full-width blocks */
.alignfull,
.wp-block-cover.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Ensure the hero cover stretches edge-to-edge even if alignment isn't set */
body.home .hero-cover {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Prevent horizontal scroll from 100vw full-bleed blocks */
body {
  overflow-x: hidden;
}

/* Footer pattern support (Gutenberg image block) */
.foot .wp-block-image.foot-logo img {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.9rem;
  object-fit: contain;
  background: #fff;
  border: 0.0625rem solid rgba(255, 255, 255, 0.18);
}
.foot-links-col .foot-links p {
  margin: 0;
}

/* Footer CTA button color */
.foot .footer-cta {
  background: var(--accent);
  color: #ffffff;
  border-color: rgba(0, 0, 0, 0.0);
}
.foot .footer-cta:hover,
.foot .footer-cta:focus {
  filter: brightness(0.95);
  color: #ffffff;
}

/* Hero cover text centering (Gutenberg Cover block) */
.hero-cover .wp-block-cover__inner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-cover .wp-block-cover__inner-container > * {
  margin-left: auto;
  margin-right: auto;
}

/* Hero box horizontal centering */
.hero-box{
  display: block;
  width: fit-content;
  max-width: calc(100% - 2rem);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}



/* Center the hero box in the middle of the banner */
.hero {
  display: flex;               /* already set, but keep it explicit */
  align-items: center;         /* vertical center */
  justify-content: center;     /* horizontal center */
}

.hero .wp-block-group__inner-container {
  width: 100%;
}

/* Gutenberg Group that you also named "container" inside the hero */
.hero .container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;

  display: flex;
  justify-content: center;     /* centers the inner group */
}

/* The inner wrapper that currently limits width and keeps it left */
.hero .inner {
  width: 100%;
  max-width: 740px;            /* keep your intended text width */
  padding: 64px 0;

  display: flex;
  justify-content: center;     /* centers the hero-box */
  text-align: center;
}

/* TRUE center the hero-box (fixes extra padding + H1 margins) */
.hero{
  display: grid;          /* easier than flex for perfect centering */
  place-items: center;    /* centers both vertically + horizontally */
  min-height: 540px;      /* keep your height */
}

/* keep your site width behavior */
.hero .wp-block-group__inner-container{
  width: 100%;
}

.hero .container{
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
  display: grid;
  place-items: center;
}

/* remove the vertical padding that was throwing off “middle” */
.hero .inner{
  padding: 0 !important;
  max-width: 740px;
  width: 100%;
  text-align: center;
}

/* remove default heading margins so the box looks centered */
.hero-box h1{
  margin: 0;
}

