:root {
  --teal: #008e7e;
  --teal-dark: #007264;
  --teal-deep: #006557;
  --red: #cc0000;
  --ink: #2b2b2b;
  --muted: #6b6b6b;
  --line: #dcdcdc;
  --bg: #f4f5f4;
  --bg-panel: #ffffff;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  --radius: 8px;
  --container: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--teal); }
a:hover { color: var(--red); }

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

h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  line-height: 1.15;
  color: var(--teal-deep);
  margin: 0 0 0.5em;
  letter-spacing: 0.2px;
}

/* ------------------------------------------------------------------ *
 * Header
 * ------------------------------------------------------------------ */
.topbar {
  background: var(--teal-deep);
  color: #cfeae5;
  font-size: 0.82rem;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
  gap: 10px;
}
.topbar-strap { text-transform: uppercase; letter-spacing: 1px; }
.topbar-phone { color: #fff; text-decoration: none; }
.topbar-phone:hover { color: #fff; }
.topbar-phone-label { color: #a9d8d0; }

.masthead { background: var(--teal); }
.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
}
.logo { display: inline-flex; }
.logo img { display: block; border-radius: 4px; }
.masthead-banner img { display: block; border-radius: 4px; }

/* Navigation */
.mainnav {
  background: var(--teal-deep);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow);
}
.mainnav-inner { display: flex; align-items: center; }
.nav-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  width: 100%;
}
.nav-menu li { display: flex; }
.nav-menu a {
  display: block;
  color: #eafaf7;
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.6px;
  padding: 15px 18px;
  transition: background 0.15s ease;
}
.nav-menu a:hover,
.nav-menu a.active {
  background: var(--teal);
  color: #fff;
}
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  color: #fff;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  padding: 14px 0;
  cursor: pointer;
}
.nav-toggle-bar {
  width: 22px;
  height: 3px;
  background: #fff;
  display: block;
  border-radius: 2px;
}
.nav-toggle .nav-toggle-bar + .nav-toggle-bar { margin-top: -6px; }

/* ------------------------------------------------------------------ *
 * Hero
 * ------------------------------------------------------------------ */
.hero {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff;
}
.hero-inner { padding: 46px 20px; text-align: center; }
.hero-tagline {
  font-size: 1.5rem;
  line-height: 1.45;
  max-width: 820px;
  margin: 0 auto 26px;
  font-weight: 600;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------------------ *
 * Buttons
 * ------------------------------------------------------------------ */
.btn {
  display: inline-block;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #a30000; color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--teal-deep); }

/* ------------------------------------------------------------------ *
 * Page layout
 * ------------------------------------------------------------------ */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 32px;
  padding-top: 34px;
  padding-bottom: 50px;
  align-items: start;
}
.content {
  background: var(--bg-panel);
  padding: 30px 34px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb span { margin: 0 6px; }
.page-title {
  font-size: 2.2rem;
  border-bottom: 3px solid var(--teal);
  padding-bottom: 10px;
  margin-bottom: 22px;
}

/* Rich text content */
.rich-text { font-size: 1rem; }
.rich-text h2 { font-size: 1.5rem; margin-top: 1.4em; color: var(--teal-deep); }
.rich-text h3 { font-size: 1.25rem; margin-top: 1.2em; }
.rich-text p { margin: 0 0 1em; }
.rich-text ul, .rich-text ol { margin: 0 0 1em; padding-left: 1.4em; }
.rich-text li { margin-bottom: 0.4em; }
.rich-text a { font-weight: 600; }
.rich-text address { font-style: normal; background: var(--bg); padding: 14px 18px; border-left: 4px solid var(--teal); border-radius: 4px; margin: 0 0 1em; }
.rich-text blockquote {
  margin: 0 0 1.2em;
  padding: 16px 20px;
  background: #f0f8f6;
  border-left: 4px solid var(--teal);
  border-radius: 4px;
  font-style: italic;
  color: #333;
}
.rich-text blockquote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-weight: 700;
  color: var(--teal-deep);
}
.rich-text img { border-radius: 6px; }

/* Feature grid on home */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.feature {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  border: 1px solid var(--line);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.feature h3 { font-size: 1.2rem; margin-bottom: 6px; }
.feature p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ------------------------------------------------------------------ *
 * Sidebar
 * ------------------------------------------------------------------ */
.sidebar { display: flex; flex-direction: column; gap: 18px; }
.side-card {
  background: var(--bg-panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.side-card-title {
  background: var(--teal);
  color: #fff;
  margin: 0;
  padding: 10px 16px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.side-shop-link {
  display: block;
  padding: 14px 16px;
  font-weight: 700;
  text-decoration: none;
}
.side-phone {
  display: block;
  padding: 14px 16px;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  color: var(--teal-deep);
  text-decoration: none;
}
.side-hours { list-style: none; margin: 0; padding: 8px 16px 14px; }
.side-hours li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.9rem;
}
.side-hours li:last-child { border-bottom: 0; }
.side-hours span { font-weight: 600; }
.side-hours em { font-style: normal; color: var(--muted); }
.side-address { font-style: normal; padding: 14px 16px; color: var(--muted); }
.side-promo { display: block; text-align: center; }
.side-promo img { border-radius: var(--radius); box-shadow: var(--shadow); }
.side-card--secure { padding: 14px; text-align: center; }
.side-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 4px;
  font-size: 0.9rem;
}
.side-links a { text-decoration: none; }

/* ------------------------------------------------------------------ *
 * Forms
 * ------------------------------------------------------------------ */
.tde-form {
  margin-top: 24px;
  background: var(--bg);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; margin-bottom: 6px; }
.req { color: var(--red); }
.tde-form input,
.tde-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  background: #fff;
}
.tde-form input:focus,
.tde-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 142, 126, 0.15);
}

.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.alert-success { background: #e3f6ef; border: 1px solid #9fd8c7; color: #14624f; }
.alert-error { background: #fdecec; border: 1px solid #f2b8b8; color: #a30000; }

/* ------------------------------------------------------------------ *
 * Footer
 * ------------------------------------------------------------------ */
.site-footer { background: #1f2b29; color: #c9d4d1; margin-top: 20px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 40px 20px;
}
.footer-col h4 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.footer-col address { font-style: normal; line-height: 1.7; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-links a, .footer-col a { color: #9fd8c7; text-decoration: none; }
.footer-links a:hover, .footer-col a:hover { color: #fff; }
.footer-phone a { font-size: 1.4rem; font-weight: 700; font-family: 'Barlow Condensed', Arial, sans-serif; }
.footer-cta {
  display: inline-block;
  margin-top: 12px;
  background: var(--red);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  text-transform: uppercase;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-weight: 600;
}
.footer-cta:hover { background: #a30000; }
.footer-bar { background: #16211f; font-size: 0.8rem; }
.footer-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  gap: 10px;
}
.footer-admin { color: #6f8a84; text-decoration: none; }
.footer-admin:hover { color: #fff; }

/* ------------------------------------------------------------------ *
 * Responsive
 * ------------------------------------------------------------------ */
@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { flex-direction: row; flex-wrap: wrap; }
  .sidebar > * { flex: 1 1 220px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .masthead-inner { flex-direction: column; text-align: center; }
  .masthead-banner { width: 100%; }
  .masthead-banner img { width: 100%; max-width: 480px; margin: 0 auto; }

  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a { width: 100%; padding: 14px 4px; border-top: 1px solid rgba(255,255,255,0.08); }
  .mainnav-inner { flex-direction: column; align-items: stretch; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .hero-tagline { font-size: 1.2rem; }
  .content { padding: 22px 18px; }
  .page-title { font-size: 1.8rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-strap { display: none; }
  .topbar-inner { justify-content: center; }
}
