/*
Theme Name: Sweet Retreat
Theme URI: https://sweetretreatvending.com
Author: Helium Digital
Author URI: https://heliumdigital.co
Description: A fast, SEO-optimized, conversion-focused landing theme for Sweet Retreat Vending. Built for cold-email traffic to learn about the company and book a placement appointment. Includes LocalBusiness schema, Open Graph tags, a GoHighLevel booking embed slot, and reusable industry landing-page templates.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sweet-retreat
Tags: landing-page, business, one-page, custom-colors, custom-logo, conversion, seo
*/

/* ============================================================
   DESIGN TOKENS
   Brand palette pulled from Sweet Retreat brochure + logo.
   ============================================================ */
:root {
  --sr-teal: #2BAA8E;          /* logo machine green */
  --sr-teal-dark: #1A4D3C;     /* logo wordmark dark green */
  --sr-teal-deep: #14463A;
  --sr-mint: #A9DBC9;          /* sage/mint blobs */
  --sr-mint-soft: #E8F5EF;
  --sr-mint-tint: #F2FAF6;
  --sr-yellow: #F6D44A;        /* yellow accents */
  --sr-yellow-soft: #FCEFB4;
  --sr-coral: #F08C7B;         /* coral accent */
  --sr-lavender: #C9B7E1;      /* lavender accent */
  --sr-lavender-soft: #EDE6F6;
  --sr-ink: #1B2E27;           /* body text */
  --sr-muted: #5A6B64;         /* secondary text */
  --sr-line: #E3ECE8;
  --sr-white: #FFFFFF;
  --sr-bg: #FFFFFF;

  --sr-radius: 16px;
  --sr-radius-lg: 28px;
  --sr-radius-pill: 999px;
  --sr-shadow: 0 10px 30px rgba(20, 70, 58, 0.10);
  --sr-shadow-lg: 0 24px 60px rgba(20, 70, 58, 0.16);
  --sr-maxw: 1140px;
  --sr-font-head: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --sr-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sr-font-body);
  color: var(--sr-ink);
  background: var(--sr-bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sr-teal-dark); text-decoration: none; transition: color .15s ease, opacity .15s ease; }
a:hover { color: var(--sr-teal); }
h1, h2, h3, h4 { font-family: var(--sr-font-head); color: var(--sr-teal-dark); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }

.sr-container { width: 100%; max-width: var(--sr-maxw); margin: 0 auto; padding: 0 24px; }
.sr-section { padding: clamp(56px, 8vw, 110px) 0; position: relative; }
.sr-eyebrow {
  display: inline-block; font-family: var(--sr-font-head); font-weight: 600;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sr-teal); margin-bottom: 14px;
}
.sr-lead { font-size: 1.15rem; color: var(--sr-muted); max-width: 60ch; }
.sr-center { text-align: center; }
.sr-center .sr-lead { margin-left: auto; margin-right: auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.sr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sr-font-head); font-weight: 600; font-size: 1rem;
  padding: 15px 30px; border-radius: var(--sr-radius-pill);
  border: 2px solid transparent; cursor: pointer; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  will-change: transform;
}
.sr-btn:hover { transform: translateY(-2px); }
.sr-btn-primary { background: var(--sr-teal); color: #fff; box-shadow: 0 8px 20px rgba(43,170,142,.35); }
.sr-btn-primary:hover { background: var(--sr-teal-dark); color: #fff; }
.sr-btn-accent { background: var(--sr-yellow); color: var(--sr-teal-dark); box-shadow: 0 8px 20px rgba(246,212,74,.45); }
.sr-btn-accent:hover { background: #f2c722; color: var(--sr-teal-dark); }
.sr-btn-ghost { background: transparent; color: var(--sr-teal-dark); border-color: var(--sr-teal); }
.sr-btn-ghost:hover { background: var(--sr-mint-soft); color: var(--sr-teal-dark); }
.sr-btn-lg { padding: 18px 38px; font-size: 1.08rem; }
.sr-btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.sr-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--sr-line);
}
.sr-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; }
.sr-brand { display: flex; align-items: center; gap: 12px; }
.sr-brand svg, .sr-brand img { height: 46px; width: auto; }
.sr-nav { display: flex; align-items: center; gap: 28px; }
.sr-nav a { font-family: var(--sr-font-head); font-weight: 500; font-size: .98rem; color: var(--sr-ink); }
.sr-nav a:hover { color: var(--sr-teal); }
.sr-header-cta { display: flex; align-items: center; gap: 16px; }
.sr-nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.sr-nav-toggle span { display: block; width: 24px; height: 2px; background: var(--sr-teal-dark); margin: 5px 0; transition: .2s; }

@media (max-width: 900px) {
  .sr-nav, .sr-header-cta .sr-phone { display: none; }
  .sr-nav-toggle { display: block; }
  .sr-nav.is-open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 74px; left: 0; right: 0; background: #fff;
    padding: 16px 24px 24px; border-bottom: 1px solid var(--sr-line); box-shadow: var(--sr-shadow);
  }
  .sr-nav.is-open a { padding: 10px 0; width: 100%; }
}

/* ============================================================
   HERO
   ============================================================ */
.sr-hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--sr-mint-tint) 0%, #fff 55%); }
.sr-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; padding: clamp(48px,7vw,96px) 0; }
.sr-hero h1 span { color: var(--sr-teal); }
.sr-hero .sr-lead { margin-top: 6px; font-size: 1.22rem; }
.sr-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.sr-hero-trust { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 30px; font-size: .92rem; color: var(--sr-muted); }
.sr-hero-trust span { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.sr-hero-trust svg { width: 18px; height: 18px; color: var(--sr-teal); flex: none; }
.sr-hero-art { position: relative; display: flex; justify-content: center; }
.sr-hero-art .sr-machine { width: min(360px, 80%); filter: drop-shadow(0 30px 50px rgba(20,70,58,.22)); }
.sr-blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; z-index: 0; }
.sr-blob-1 { width: 260px; height: 260px; background: var(--sr-mint); top: -40px; right: -30px; }
.sr-blob-2 { width: 180px; height: 180px; background: var(--sr-yellow-soft); bottom: -20px; left: -10px; }

@media (max-width: 860px) {
  .sr-hero-grid { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .sr-hero .sr-lead { margin-left: auto; margin-right: auto; }
  .sr-hero-actions, .sr-hero-trust { justify-content: center; }
  .sr-hero-art { order: -1; }
}

/* ============================================================
   TRUST / LOGO STRIP
   ============================================================ */
.sr-strip { background: var(--sr-teal-dark); color: #fff; }
.sr-strip .sr-section { padding: 26px 0; }
.sr-strip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; align-items: center; }
.sr-strip-row .sr-stat { display: flex; flex-direction: column; align-items: center; min-width: 150px; }
.sr-strip-row .sr-stat b { font-family: var(--sr-font-head); font-size: 1.5rem; color: var(--sr-yellow); }
.sr-strip-row .sr-stat small { font-size: .85rem; opacity: .9; letter-spacing: .03em; }

/* ============================================================
   FEATURE CARDS (Why us)
   ============================================================ */
.sr-grid { display: grid; gap: 24px; }
.sr-grid-2 { grid-template-columns: repeat(2, 1fr); }
.sr-grid-3 { grid-template-columns: repeat(3, 1fr); }
.sr-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .sr-grid-4 { grid-template-columns: repeat(2,1fr); } .sr-grid-3 { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 760px) { .sr-grid-2, .sr-grid-3, .sr-grid-4 { grid-template-columns: 1fr; } }

.sr-card {
  background: #fff; border: 1px solid var(--sr-line); border-radius: var(--sr-radius-lg);
  padding: 32px 28px; box-shadow: var(--sr-shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.sr-card:hover { transform: translateY(-4px); box-shadow: var(--sr-shadow-lg); }
.sr-card h3 { margin-bottom: 8px; }
.sr-card p { margin: 0; color: var(--sr-muted); font-size: .98rem; }
.sr-ico {
  width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.sr-ico svg { width: 28px; height: 28px; }
.sr-ico-mint { background: var(--sr-mint-soft); color: var(--sr-teal-dark); }
.sr-ico-yellow { background: var(--sr-yellow-soft); color: #9a7b06; }
.sr-ico-coral { background: #fde6e1; color: #c75a47; }
.sr-ico-lav { background: var(--sr-lavender-soft); color: #6b4e96; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.sr-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; counter-reset: step; }
@media (max-width: 760px){ .sr-steps { grid-template-columns: 1fr; } }
.sr-step { position: relative; background: var(--sr-mint-tint); border-radius: var(--sr-radius-lg); padding: 36px 28px 30px; }
.sr-step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--sr-teal); color: #fff;
  font-family: var(--sr-font-head); font-weight: 700; font-size: 1.15rem; margin-bottom: 18px;
}
.sr-step h3 { margin-bottom: 6px; }
.sr-step p { margin: 0; color: var(--sr-muted); }

/* ============================================================
   WHO IT'S FOR
   ============================================================ */
.sr-aud { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 980px){ .sr-aud { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .sr-aud { grid-template-columns: 1fr; } }
.sr-aud-item {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--sr-line);
  border-radius: var(--sr-radius); padding: 18px 20px; box-shadow: 0 4px 14px rgba(20,70,58,.05);
}
.sr-aud-item .sr-dot { width: 40px; height: 40px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.sr-aud-item svg { width: 22px; height: 22px; }
.sr-aud-item b { font-family: var(--sr-font-head); font-weight: 600; font-size: 1rem; color: var(--sr-teal-dark); }

/* ============================================================
   ABOUT / SPLIT
   ============================================================ */
.sr-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
@media (max-width: 860px){ .sr-split { grid-template-columns: 1fr; gap: 30px; } }
.sr-about-card {
  background: linear-gradient(150deg, var(--sr-teal) 0%, var(--sr-teal-dark) 100%);
  color: #fff; border-radius: var(--sr-radius-lg); padding: 44px 40px; box-shadow: var(--sr-shadow-lg);
}
.sr-about-card h2 { color: #fff; }
.sr-about-card .sr-eyebrow { color: var(--sr-yellow); }
.sr-about-card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.sr-about-card li { display: flex; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.16); }
.sr-about-card li:first-child { border-top: 0; }
.sr-about-card li svg { width: 22px; height: 22px; color: var(--sr-yellow); flex: none; margin-top: 2px; }
.sr-pill-women {
  display: inline-flex; align-items: center; gap: 8px; background: var(--sr-lavender-soft);
  color: #6b4e96; font-weight: 600; font-family: var(--sr-font-head); font-size: .85rem;
  padding: 8px 16px; border-radius: var(--sr-radius-pill); margin-bottom: 16px;
}

/* ============================================================
   FAQ
   ============================================================ */
.sr-faq { max-width: 820px; margin: 0 auto; }
.sr-faq details {
  background: #fff; border: 1px solid var(--sr-line); border-radius: var(--sr-radius);
  padding: 4px 24px; margin-bottom: 14px; box-shadow: 0 4px 14px rgba(20,70,58,.04);
}
.sr-faq summary {
  list-style: none; cursor: pointer; font-family: var(--sr-font-head); font-weight: 600;
  font-size: 1.05rem; color: var(--sr-teal-dark); padding: 18px 0; position: relative; padding-right: 36px;
}
.sr-faq summary::-webkit-details-marker { display: none; }
.sr-faq summary::after {
  content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.6rem; font-weight: 400;
  color: var(--sr-teal); transition: transform .2s ease;
}
.sr-faq details[open] summary::after { transform: rotate(45deg); }
.sr-faq details p { margin: 0 0 18px; color: var(--sr-muted); }

/* ============================================================
   BOOKING / CTA
   ============================================================ */
.sr-book { background: var(--sr-mint-soft); }
.sr-book-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
@media (max-width: 860px){ .sr-book-grid { grid-template-columns: 1fr; gap: 28px; } }
.sr-book-info ul { list-style: none; padding: 0; margin: 22px 0 0; }
.sr-book-info li { display: flex; gap: 14px; align-items: center; padding: 12px 0; }
.sr-book-info li svg { width: 24px; height: 24px; color: var(--sr-teal); flex: none; }
.sr-book-info li a { color: var(--sr-ink); font-weight: 500; }
.sr-embed-wrap {
  background: #fff; border-radius: var(--sr-radius-lg); padding: 12px; box-shadow: var(--sr-shadow-lg);
  border: 1px solid var(--sr-line); min-height: 200px;
}
.sr-embed-wrap iframe { width: 100%; border: 0; border-radius: var(--sr-radius); display: block; }
.sr-embed-placeholder {
  border: 2px dashed var(--sr-mint); border-radius: var(--sr-radius); padding: 48px 28px; text-align: center;
  color: var(--sr-muted); background: var(--sr-mint-tint);
}
.sr-embed-placeholder b { color: var(--sr-teal-dark); font-family: var(--sr-font-head); }

.sr-cta-band {
  background: linear-gradient(150deg, var(--sr-teal-dark), var(--sr-teal-deep));
  color: #fff; border-radius: var(--sr-radius-lg); padding: clamp(40px,6vw,64px); text-align: center;
  position: relative; overflow: hidden;
}
.sr-cta-band h2 { color: #fff; }
.sr-cta-band p { color: rgba(255,255,255,.85); max-width: 56ch; margin: 0 auto 26px; }
.sr-cta-band .sr-blob-y { position: absolute; width: 220px; height: 220px; border-radius: 50%; background: var(--sr-yellow); opacity: .14; top: -60px; right: -40px; }

/* ============================================================
   FOOTER
   ============================================================ */
.sr-footer { background: var(--sr-teal-deep); color: rgba(255,255,255,.8); padding: 56px 0 28px; }
.sr-footer a { color: rgba(255,255,255,.8); }
.sr-footer a:hover { color: #fff; }
.sr-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
@media (max-width: 760px){ .sr-footer-grid { grid-template-columns: 1fr; gap: 26px; } }
.sr-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.sr-footer ul { list-style: none; padding: 0; margin: 0; }
.sr-footer li { padding: 5px 0; }
.sr-footer .sr-brand svg { height: 52px; }
.sr-footer-social { display: flex; gap: 12px; margin-top: 16px; }
.sr-footer-social a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
}
.sr-footer-social a:hover { background: var(--sr-teal); }
.sr-footer-social svg { width: 18px; height: 18px; color: #fff; }
.sr-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 12px; font-size: .85rem; opacity: .8;
}

/* ============================================================
   MOBILE STICKY CTA
   ============================================================ */
.sr-mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 99; display: none;
  background: #fff; border-top: 1px solid var(--sr-line); padding: 10px 16px;
  box-shadow: 0 -8px 24px rgba(20,70,58,.10);
}
.sr-mobile-cta .sr-btn { width: 100%; }
@media (max-width: 700px){ .sr-mobile-cta { display: block; } body { padding-bottom: 76px; } }

/* ============================================================
   WORDPRESS CORE / GENERIC PAGE CONTENT
   ============================================================ */
.sr-page-hero { background: linear-gradient(160deg, var(--sr-mint-tint), #fff); padding: clamp(40px,6vw,80px) 0 clamp(30px,4vw,50px); }
.sr-prose { max-width: 760px; margin: 0 auto; }
.sr-prose h2 { margin-top: 1.6em; }
.sr-prose img { border-radius: var(--sr-radius); margin: 1.4em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.aligncenter { display: block; margin: 1em auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .85rem; color: var(--sr-muted); text-align: center; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; width: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal !important;
}
.sr-skip-link { position: absolute; left: -9999px; }
.sr-skip-link:focus { left: 16px; top: 12px; z-index: 1000; background: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: var(--sr-shadow); }
