/*
Theme Name: Happy Senior Solutions
Theme URI: https://happyseniorsolutions.com
Author: Iron Legacy Financial
Author URI: https://happyseniorsolutions.com
Description: A warm, trust-first homepage theme for Happy Senior Solutions — built for guiding people through turning 65 and choosing Medicare coverage. Includes a Customizer panel for phone number, email, and booking link.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: happy-senior-solutions
*/

:root{
  --teal-900:#153936;
  --teal-800:#1F4A47;
  --teal-700:#2C5D59;
  --gold-500:#F2A23C;
  --gold-400:#F6B860;
  --gold-100:#FDE9C9;
  --coral-500:#E2734F;
  --coral-100:#F9DED2;
  --linen:#FBF3E4;
  --linen-2:#F5E9D3;
  --ink:#2A241C;
  --ink-soft:#5B5346;
  --white:#FFFFFF;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-soft: 0 12px 32px rgba(42,36,28,0.08);
  --maxw: 1140px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--linen);
  color:var(--ink);
  font-family:'Public Sans', system-ui, sans-serif;
  font-size:18px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'Fraunces', Georgia, serif;
  color:var(--teal-900);
  margin:0 0 0.4em 0;
  line-height:1.12;
  font-weight:600;
  letter-spacing:-0.01em;
}
p{margin:0 0 1em 0;}
a{color:inherit;}
img,svg{display:block;max-width:100%;}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 28px;}
.eyebrow{
  font-family:'Public Sans',sans-serif;
  font-weight:700;
  font-size:14px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--coral-500);
  margin-bottom:14px;
  display:flex; align-items:center; gap:10px;
}
.eyebrow svg{width:18px;height:18px;flex-shrink:0;}
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:'Public Sans',sans-serif;
  font-weight:700;
  font-size:17px;
  padding:16px 30px;
  border-radius:999px;
  text-decoration:none;
  border:2px solid transparent;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover{transform:translateY(-2px);}
.btn:focus-visible{outline:3px solid var(--teal-800); outline-offset:3px;}
.btn-primary{background:var(--coral-500); color:var(--white); box-shadow:0 8px 20px rgba(226,115,79,0.35);}
.btn-primary:hover{background:#d5673f;}
.btn-ghost{background:transparent; border-color:var(--teal-800); color:var(--teal-800);}
.btn-ghost:hover{background:var(--teal-800); color:var(--white);}
.btn-light{background:var(--white); color:var(--teal-800);}

/* ---------- HEADER ---------- */
header.site{
  position:sticky; top:0; z-index:50;
  background:rgba(251,243,228,0.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(42,36,28,0.08);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 28px;
  max-width:var(--maxw); margin:0 auto;
}
.logo{display:flex; align-items:center; gap:12px; text-decoration:none;}
.logo svg{width:46px;height:46px;}
.logo-word{font-family:'Fraunces',serif; font-weight:600; font-size:21px; color:var(--teal-900); line-height:1.1;}
.logo-word span{display:block; font-family:'Public Sans',sans-serif; font-weight:600; font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:var(--coral-500); margin-top:2px;}
nav.links{display:flex; gap:34px; list-style:none; margin:0; padding:0;}
nav.links ul{display:flex; gap:34px; list-style:none; margin:0; padding:0;}
nav.links a{text-decoration:none; font-weight:600; font-size:15.5px; color:var(--ink);}
nav.links a:hover{color:var(--coral-500);}
.nav-cta{display:flex; align-items:center; gap:18px;}
.phone-pill{display:flex; align-items:center; gap:8px; font-weight:700; color:var(--teal-800); text-decoration:none; font-size:15px;}
.phone-pill svg{width:18px;height:18px;}
@media (max-width:880px){ nav.links{display:none;} }

/* ---------- SUNRISE DIVIDER (signature element) ---------- */
.sunrise-rail{
  position:relative;
  height:64px;
  max-width:var(--maxw); margin:0 auto;
  padding:0 28px;
}
.sunrise-rail svg{width:100%; height:100%; overflow:visible;}

/* ---------- HERO ---------- */
.hero{ position:relative; padding:76px 0 40px; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center; }
.hero h1{font-size:clamp(34px,4.6vw,54px); max-width:11.5ch;}
.hero .lede{font-size:19px; color:var(--ink-soft); max-width:46ch; margin-bottom:30px;}
.hero-ctas{display:flex; gap:16px; flex-wrap:wrap; margin-bottom:26px;}
.hero-trust{display:flex; gap:22px; flex-wrap:wrap; font-size:14.5px; font-weight:600; color:var(--teal-800);}
.hero-trust span{display:flex; align-items:center; gap:7px;}
.hero-trust svg{width:17px;height:17px; color:var(--coral-500);}
.hero-art{position:relative;}
.hero-art .sun-badge{
  position:absolute; top:-26px; right:6%;
  background:var(--gold-500); color:var(--teal-900);
  font-family:'Fraunces'; font-weight:600; font-size:14.5px;
  padding:14px 18px; border-radius:16px;
  box-shadow:var(--shadow-soft);
  transform:rotate(4deg);
  max-width:170px; line-height:1.3;
}
@media (max-width:880px){
  .hero-grid{grid-template-columns:1fr; text-align:left;}
  .hero-art{order:-1;}
}

/* ---------- TRUST BAR ---------- */
.trust-bar{background:var(--teal-800); color:var(--linen); padding:22px 0;}
.trust-bar .wrap{display:flex; flex-wrap:wrap; gap:28px; justify-content:space-between; align-items:center;}
.trust-item{display:flex; align-items:center; gap:10px; font-weight:600; font-size:15px;}
.trust-item svg{width:20px;height:20px; color:var(--gold-400); flex-shrink:0;}

/* ---------- SECTION SHELL ---------- */
section{padding:88px 0;}
.section-head{max-width:640px; margin-bottom:52px;}
.section-head.center{margin-left:auto; margin-right:auto; text-align:center;}
.section-head h2{font-size:clamp(28px,3.4vw,40px);}
.section-head p{color:var(--ink-soft); font-size:18px;}

/* ---------- JOURNEY STEPS ---------- */
.journey{background:var(--linen-2); position:relative;}
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; position:relative; }
.step-card{ background:var(--white); border-radius:var(--radius-md); padding:34px 28px 30px; box-shadow:var(--shadow-soft); position:relative; }
.step-mark{
  display:flex; align-items:center; justify-content:center;
  width:52px; height:52px; border-radius:50%;
  background:var(--gold-100); color:var(--teal-800);
  font-family:'Fraunces'; font-weight:700; font-size:20px;
  margin-bottom:20px;
}
.step-card:nth-child(2) .step-mark{background:var(--coral-100);}
.step-card:nth-child(3) .step-mark{background:var(--gold-100);}
.step-card h3{font-size:21px; margin-bottom:8px;}
.step-card p{color:var(--ink-soft); font-size:16px; margin-bottom:0;}
@media (max-width:880px){ .steps{grid-template-columns:1fr;} }

/* ---------- WHY LOCAL (benefits) ---------- */
.benefits{display:grid; grid-template-columns:repeat(2,1fr); gap:24px;}
.benefit{ display:flex; gap:18px; padding:26px; border-radius:var(--radius-md); border:1px solid rgba(42,36,28,0.09); background:var(--white); }
.benefit svg{width:30px;height:30px; color:var(--coral-500); flex-shrink:0;}
.benefit h4{font-size:18px; margin-bottom:6px;}
.benefit p{font-size:15.5px; color:var(--ink-soft); margin-bottom:0;}
@media (max-width:700px){ .benefits{grid-template-columns:1fr;} }

/* ---------- ABOUT JON ---------- */
.about{background:var(--teal-900); color:var(--linen); border-radius:var(--radius-lg); }
.about-inner{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:52px; align-items:center; padding:64px 56px; }
.about h2{color:var(--white);}
.about p{color:#D9E4E2; font-size:18px;}
.about-photo{
  aspect-ratio:4/5; border-radius:var(--radius-md);
  background:linear-gradient(155deg, var(--gold-500), var(--coral-500));
  display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,0.85); font-family:'Public Sans'; font-weight:700; font-size:14px;
  letter-spacing:0.04em; text-align:center; padding:20px;
  box-shadow:0 20px 44px rgba(0,0,0,0.28);
  overflow:hidden;
}
.about-photo img{width:100%;height:100%;object-fit:cover;}
.about-quote{font-family:'Fraunces'; font-size:22px; font-weight:500; line-height:1.4; margin:22px 0 22px; color:var(--white);}
.about-sig{font-weight:700; color:var(--gold-400); font-size:15px;}
@media (max-width:880px){ .about-inner{grid-template-columns:1fr; padding:44px 28px;} }

/* ---------- TESTIMONIAL STRIP ---------- */
.testimonial{ background:var(--gold-100); border-radius:var(--radius-lg); padding:54px 56px; display:grid; grid-template-columns:auto 1fr; gap:36px; align-items:center; }
.testimonial .mark{font-family:'Fraunces'; font-size:64px; color:var(--gold-500); line-height:1; font-weight:700;}
.testimonial p.quote{font-family:'Fraunces'; font-size:23px; font-weight:500; color:var(--teal-900); margin-bottom:10px;}
.testimonial .who{font-weight:700; color:var(--coral-500); font-size:15px;}
@media (max-width:700px){ .testimonial{grid-template-columns:1fr; padding:40px 26px; text-align:left;} .testimonial .mark{display:none;} }

/* ---------- FAQ ---------- */
.faq-list{max-width:760px; margin:0 auto;}
details{ background:var(--white); border-radius:16px; padding:22px 26px; margin-bottom:14px; border:1px solid rgba(42,36,28,0.08); }
summary{
  font-family:'Fraunces'; font-weight:600; font-size:18.5px; color:var(--teal-900);
  cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px;
}
summary::-webkit-details-marker{display:none;}
summary .plus{font-size:22px; color:var(--coral-500); font-family:'Public Sans'; transition:transform .2s ease; flex-shrink:0;}
details[open] summary .plus{transform:rotate(45deg);}
details p{margin-top:14px; color:var(--ink-soft); font-size:16px;}

/* ---------- FINAL CTA ---------- */
.final-cta{ background:linear-gradient(135deg, var(--coral-500), var(--gold-500)); border-radius:var(--radius-lg); padding:68px 56px; text-align:center; color:var(--white); }
.final-cta h2{color:var(--white); font-size:clamp(28px,4vw,42px); max-width:18ch; margin:0 auto 14px;}
.final-cta p{color:rgba(255,255,255,0.92); font-size:18px; max-width:46ch; margin:0 auto 30px;}

/* ---------- FOOTER ---------- */
footer{background:var(--teal-900); color:#B9C9C6; padding:56px 0 30px; margin-top:20px;}
.footer-grid{display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:40px; margin-bottom:40px;}
.footer-grid h5{font-family:'Public Sans'; color:var(--white); font-size:14px; letter-spacing:0.06em; text-transform:uppercase; margin-bottom:16px;}
.footer-grid ul{list-style:none; margin:0; padding:0;}
.footer-grid li{margin-bottom:10px; font-size:15px;}
.footer-grid a{text-decoration:none; color:#B9C9C6;}
.footer-grid a:hover{color:var(--gold-400);}
.footer-logo{display:flex; align-items:center; gap:10px; margin-bottom:14px;}
.footer-logo svg{width:34px;height:34px;}
.footer-logo span{font-family:'Fraunces'; font-weight:600; color:var(--white); font-size:18px;}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.12); padding-top:22px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size:13.5px; color:#8FA5A1;
}
.disclosure{font-size:12.5px; color:#7E938F; max-width:900px; margin-top:14px; line-height:1.6;}
.section-wrap-tight{padding-top:0; padding-bottom:0;}
@media (max-width:880px){ .footer-grid{grid-template-columns:1fr 1fr;} }

/* ---------- WP DEFAULTS / FALLBACKS ---------- */
.site-main{ }
.entry-content{ padding: 60px 0; }
.entry-content .wrap{ max-width: 760px; }
