/* Go Green Sod — site styles */

:root {
  --green-900: #14251A;
  --green-800: #1D4A2E;
  --green-600: #2F7A45;
  --lime: #C5E86C;
  --ground: #F3F5EF;
  --ground-2: #E4EBDD;
  --surface: #FFFFFF;
  --ink: #14251A;
  --ink-2: #3E4D43;
  --muted: #4A5A4F;
  --line: #DCE2D6;
  --line-2: #E4E9DF;
  --on-dark: #E8F0E2;
  --red: #C62828;
  --radius: 14px;
  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Public Sans", "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ground);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--green-800); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--green-600); outline-offset: 2px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 10px; border: none;
  font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
}
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { color: var(--ink); filter: brightness(0.96); }
.btn-dark { background: var(--green-800); color: #fff; }
.btn-dark:hover { color: #fff; background: var(--green-900); }
.btn-outline-light { border: 2px solid var(--on-dark); color: #fff; background: transparent; font-weight: 600; }
.btn-outline-light:hover { color: #fff; background: rgba(255,255,255,0.08); }
.btn-lg { min-height: 52px; padding: 0 26px; border-radius: 12px; font-size: 17px; }
.btn-block { display: flex; width: 100%; min-height: 56px; font-size: 18px; border-radius: 12px; }
.btn[disabled] { background: #C9D3C1; color: var(--ink-2); cursor: not-allowed; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 16px; padding-bottom: 16px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-emblem { height: 60px; width: auto; }
.logo-wordmark { height: 24px; width: auto; }
.main-nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 15px; font-weight: 500; }
.main-nav a { color: var(--ink); text-decoration: none; }
.main-nav a:hover { text-decoration: underline; }
.header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.phone-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px;
}

/* Hero */
.hero { background: var(--green-800); color: #fff; }
.hero .container { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 72px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-600); }
.hero .eyebrow { color: var(--lime); font-weight: 600; }
.hero h1 {
  margin: 0; font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.02em;
}
.hero-lead { margin: 0; font-size: 19px; line-height: 1.55; color: var(--on-dark); max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { list-style: none; margin: 0; padding: 8px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.hero-facts li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--on-dark); }
@media (max-width: 520px) { .hero-facts { grid-template-columns: 1fr; } }
.hero-photo { flex: 1 1 420px; min-width: 0; height: 460px; border-radius: 20px; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }

/* Section headings */
.section { padding-top: 80px; padding-bottom: 40px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 40rem; margin-bottom: 32px; }
.section h2, .heading-xl {
  margin: 0; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.015em;
}
.section-lead { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); }

/* Sun matcher */
.sun-picker { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 20px; }
.sun-picker-label { font-weight: 700; font-size: 17px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  min-height: 44px; padding: 0 18px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer; background: var(--surface); color: var(--ink); border: 2px solid #B9C5B1;
}
.pill[aria-pressed="true"] { background: var(--green-800); color: #fff; border-color: var(--green-800); }

/* Turf cards */
.turf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.turf-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: opacity 0.2s;
}
.turf-card.is-dimmed { opacity: 0.45; }
.turf-card > img { width: 100%; height: 150px; object-fit: cover; }
.turf-body { display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 24px; flex: 1; }
.turf-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.turf-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.fit-badge { white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--ink); background: var(--lime); padding: 3px 9px; border-radius: 999px; }
.turf-card h3 { margin: 0; font-family: var(--font-display); font-size: 26px; font-weight: 800; line-height: 1.1; }
.turf-desc { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); flex: 1; }
.sun-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.sun-row strong { color: var(--ink); }
.sun-meter { display: flex; gap: 3px; }
.sun-meter span { flex: 1; height: 8px; border-radius: 2px; background: #D6DDD0; }
.sun-meter span.on { background: var(--green-800); }
.turf-buy { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.price { display: flex; flex-direction: column; }
.price-amount { font-family: var(--font-display); font-size: 30px; font-weight: 800; line-height: 1; }
.price-unit { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Quantity stepper */
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
  border: 2px solid var(--green-800); border-radius: 10px; background: var(--surface); color: var(--green-800);
  font: inherit; font-size: 22px; font-weight: 700; cursor: pointer; padding: 0;
}
.stepper output { min-width: 28px; text-align: center; font-weight: 700; font-size: 18px; }

/* Order */
.order-box { display: flex; flex-wrap: wrap; gap: 28px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.order-lines { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.order-lines h2 { margin: 0; font-family: var(--font-display); font-size: 32px; font-weight: 800; }
.cart-empty { margin: 0; padding: 22px; border: 2px dashed #C9D3C1; border-radius: 12px; font-size: 16px; color: var(--ink-2); }
.cart-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.cart-line-name { display: flex; flex-direction: column; flex: 1 1 200px; min-width: 0; }
.cart-line-name strong { font-size: 17px; }
.cart-line-name span { font-size: 14px; color: var(--muted); }
.cart-line-total { min-width: 90px; text-align: right; font-size: 18px; }
.link-btn { min-height: 44px; padding: 0 6px; border: none; background: none; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.order-summary { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--ground); border-radius: var(--radius); align-self: flex-start; }
.sum-row { display: flex; justify-content: space-between; font-size: 16px; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid #D3DACB; }
.sum-total span { font-size: 17px; font-weight: 600; }
.sum-total strong { font-family: var(--font-display); font-size: 30px; font-weight: 800; }
.notice { margin: 0; padding: 12px 14px; border-radius: 10px; font-size: 15px; line-height: 1.45; }
.notice-warn { background: #FFF1D6; }
.notice-ok { background: #E6F4D2; }
.notice-no { background: #F3E3E1; }
.fine-print { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.step { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step-num { font-family: var(--font-display); font-size: 44px; font-weight: 800; color: var(--green-600); line-height: 1; }
.step h3 { margin: 0; font-family: var(--font-display); font-size: 22px; font-weight: 800; }
.step p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }

/* Delivery */
.delivery { background: var(--ground-2); margin-top: 40px; }
.delivery .container { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.delivery-copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.delivery-copy p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.zip-box { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: var(--surface); border: 1px solid #C9D3C1; border-radius: var(--radius); }
.zip-box label { font-weight: 700; font-size: 17px; }
.zip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.zip-row input {
  flex: 1 1 160px; min-width: 0; min-height: 52px; padding: 0 16px; border: 2px solid #B9C5B1; border-radius: 10px;
  font: inherit; font-size: 18px; letter-spacing: 0.06em; color: var(--ink); background: var(--surface);
}
.zip-row .btn { min-height: 52px; font-size: 17px; }
.zip-result:empty { display: none; }
.zip-result .notice { font-size: 16px; }
.zip-error { font-size: 15px; color: #8A2A1F; font-weight: 600; }

.map-figure { flex: 1 1 440px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; padding: 20px 20px 16px; border-radius: 18px; border: 1px solid #C9D3C1; background: var(--ground); }
.map-frame { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid #C9D3C1; }
.map-frame > img { width: 100%; height: auto; }
.map-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-figure figcaption { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.route { stroke-dasharray: 1; stroke-dashoffset: 1; animation: route-draw 2.6s ease-in-out 0.3s forwards; }
@keyframes route-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .route { animation: none; stroke-dashoffset: 0; } }

/* Review */
.review { padding-top: 88px; padding-bottom: 24px; }
.review figure { margin: 0; display: flex; flex-direction: column; gap: 22px; max-width: 52rem; }
.stars { display: flex; gap: 4px; }
.review blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.review figcaption { font-size: 16px; font-weight: 600; color: var(--ink-2); }

/* FAQ */
.faq .container { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 72px; padding-bottom: 72px; }
.faq-intro { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.faq-list { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq-list summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; min-height: 60px; font-weight: 600; font-size: 17px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { flex-shrink: 0; transition: transform 0.2s; }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list p { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* Contact */
.contact { background: var(--green-800); color: #fff; }
.contact .container { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; padding-top: 80px; padding-bottom: 80px; }
.contact-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact h2 { margin: 0; font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; }
.contact p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--on-dark); }
.contact-actions { flex: 0 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-actions .btn-outline-light { min-height: 56px; font-size: 18px; border-radius: 12px; }
.contact-email { text-align: center; color: var(--on-dark); font-size: 16px; padding: 10px 0; }
.contact-email:hover { color: #fff; }

/* Footer */
.site-footer { background: var(--green-900); color: #C9D6C2; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; font-size: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: #C9D6C2; }
.site-footer a:hover { color: #fff; }
#checkout-status { margin-bottom: 16px; }

/* Outline button (light backgrounds) */
.btn-outline { border: 2px solid var(--green-800); color: var(--green-800); background: var(--surface); }
.btn-outline:hover { color: #fff; background: var(--green-800); }

/* Social widgets (homepage, blog sidebar) */
.social-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.social-card {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.social-card:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20, 37, 26, 0.12); }
.social-icon { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; color: #fff; }
.social-fb .social-icon { background: #1877F2; }
.social-ig .social-icon { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.social-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.social-text strong { font-size: 17px; }
.social-text span { font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-cta { font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: var(--ground-2); color: var(--green-800); }
@media (prefers-reduced-motion: reduce) { .social-card { transition: none; } .social-card:hover { transform: none; } }

/* Homepage: latest posts + follow us */
.from-field { padding-top: 88px; padding-bottom: 72px; }
.from-field .section-head { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; max-width: none; }
.from-field .section-head > div { display: flex; flex-direction: column; gap: 12px; max-width: 40rem; }
.from-field .social-cards { margin-top: 28px; }
#latest-posts:empty { display: none; }

/* Blog */
.blog-hero { background: var(--green-800); color: #fff; }
.blog-hero .container { display: flex; flex-direction: column; gap: 16px; padding-top: 56px; padding-bottom: 56px; max-width: 1200px; }
.blog-hero .eyebrow { color: var(--lime); }
.blog-hero h1 { margin: 0; font-family: var(--font-display); font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; max-width: 20ch; }
.blog-hero p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--on-dark); max-width: 40rem; }
.blog-hero a { color: var(--lime); }
.back-link { font-weight: 600; text-decoration: none; }
.blog-layout { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 48px; padding-bottom: 80px; align-items: flex-start; }
.blog-main { flex: 1 1 600px; min-width: 0; }
.blog-aside { flex: 0 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.aside-box { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.aside-box h2 { margin: 0; font-family: var(--font-display); font-size: 22px; font-weight: 800; }
.aside-box p { margin: 0; font-size: 15px; color: var(--ink-2); }
.aside-box .social-cards { grid-template-columns: 1fr; }
.aside-box .social-card { border-color: var(--line-2); background: var(--ground); }
.aside-order .btn-block { min-height: 48px; font-size: 16px; }
.fb-embed { padding: 0; overflow: hidden; }
.fb-embed iframe { display: block; width: 100%; max-width: 340px; height: 480px; border: 0; margin: 0 auto; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-card-link { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.post-card-link:hover { color: var(--ink); }
.post-card-link:hover h3 { text-decoration: underline; }
.post-card img, .post-card-placeholder { width: 100%; height: 170px; object-fit: cover; }
.post-card-placeholder { background: linear-gradient(135deg, var(--green-800), var(--green-600)); }
.post-card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; flex: 1; }
.post-card time { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-600); }
.post-card h3 { margin: 0; font-family: var(--font-display); font-size: 21px; font-weight: 800; line-height: 1.2; }
.post-card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); flex: 1; }
.post-card-more { font-size: 14px; font-weight: 700; color: var(--green-800); }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }

.post-cover { width: 100%; max-height: 520px; object-fit: cover; border-radius: 18px; margin-bottom: 32px; }
.post-body { font-size: 18px; line-height: 1.7; color: var(--ink); max-width: 44rem; }
.post-body > * { margin: 0 0 1.1em; }
.post-body h2, .post-body h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.15; margin-top: 1.6em; }
.post-body h2 { font-size: 30px; }
.post-body h3 { font-size: 23px; }
.post-body ul, .post-body ol { padding-left: 1.4em; }
.post-body li + li { margin-top: 0.35em; }
.post-body blockquote { padding: 16px 22px; border-left: 4px solid var(--lime); background: var(--surface); border-radius: 0 12px 12px 0; }
.post-body blockquote p { margin: 0; font-weight: 600; }
.post-body img { border-radius: 12px; height: auto; }
.post-body figure { margin-left: 0; margin-right: 0; }
.post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 600; max-width: 44rem; }
.more-posts { margin-top: 56px; }
.more-posts h2 { margin: 0 0 20px; font-family: var(--font-display); font-size: 28px; font-weight: 800; }
@media (max-width: 640px) { .post-body { font-size: 17px; } .blog-layout { padding-top: 32px; } }
