/* Sunize Life — shared stylesheet
   Brand palette: warm orange gradient + gold sun dot (matches sunize logo) */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --orange-light: #FFD27A;
  --orange: #F5A524;
  --orange-dark: #E08816;
  --gold: #FFCB36;       /* the sun dot */
  --cream: #FFFBF4;
  --sand: #FFF3DD;
  --warm-white: #FFFDF8;
  --text: #2D2417;       /* warm dark brown */
  --text-soft: #4A3F2F;
  --muted: #7A6B55;
  --line: #F1E5D0;
  --dark: #2A1F10;       /* deep warm brown — replaces old navy */
  --dark-grad: linear-gradient(135deg, #3A2817 0%, #5A3E1F 100%);
  --orange-grad: linear-gradient(180deg, #FFD27A 0%, #F5A524 100%);
  --orange-grad-rev: linear-gradient(135deg, #F5A524 0%, #FFC857 100%);
  --shadow: 0 10px 30px rgba(58, 40, 23, 0.08);
  --shadow-lg: 0 20px 50px rgba(58, 40, 23, 0.12);
  --radius: 14px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-soft);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange-dark); text-decoration: none; }
a:hover { color: var(--orange); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: "Nunito", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  color: var(--text);
  line-height: 1.22;
  margin: 0 0 .5em;
  letter-spacing: -0.5px;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

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

/* ---------- Logo / Wordmark ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.brand:hover { color: inherit; }

.logo {
  font-family: 'Nunito', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.8px;
  line-height: 1;
  background: var(--orange-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  white-space: nowrap;
}
/* Footer: brighten slightly so the gradient pops on dark background */
.site-footer .logo { filter: brightness(1.08) saturate(1.05); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 244, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: .97rem;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--orange-dark);
  border-bottom-color: var(--orange);
}
.nav-cta {
  display: inline-block;
  padding: 10px 20px;
  background: var(--orange-grad-rev);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  border: 0;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(245, 165, 36, 0.3);
  transition: transform .15s ease, box-shadow .15s ease;
}
.nav-cta:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(245, 165, 36, 0.4);
}

.mobile-toggle { display:none; background:none; border:0; font-size:1.6rem; color:var(--text); cursor:pointer;}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 62px; left: 0; right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 18px 24px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
  .nav-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 80px;
  background:
    radial-gradient(1200px 520px at 85% -10%, #FFE5B8 0%, transparent 55%),
    radial-gradient(900px 500px at 0% 100%, #FFEBC1 0%, transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 span.accent {
  background: var(--orange-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .eyebrow {
  display: inline-block;
  background: #FFEBC1;
  color: var(--orange-dark);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 520px;
}
.hero-ctas { display:flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* Trust avatars (under hero CTAs) */
.trust-avatars {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.avatar-stack { display: inline-flex; }
.avatar-stack .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--cream);
  background: #F5E3C2;
  margin-left: -12px;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(58, 40, 23, .12);
  flex-shrink: 0;
}
.avatar-stack .avatar:first-child { margin-left: 0; }
.avatar-stack .avatar img { width: 100%; height: 100%; object-fit: cover; }
.trust-text strong {
  display: block;
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.2;
}
.trust-stars {
  display: block;
  font-size: .85rem;
  color: var(--orange);
  letter-spacing: 1.5px;
  margin-top: 2px;
}
.trust-stars .trust-meta {
  color: var(--muted);
  margin-left: 6px;
  font-size: .8rem;
  letter-spacing: 0;
}

/* Family mosaic */
.family-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.family-mosaic .face {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: #F5E3C2;
  box-shadow: 0 4px 14px rgba(58, 40, 23, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.family-mosaic .face:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(58, 40, 23, .15);
}
.family-mosaic .face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.family-mosaic .face:hover img { transform: scale(1.06); }
@media (max-width: 820px) { .family-mosaic { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn-primary {
  background: var(--orange-grad-rev);
  color: #fff;
  box-shadow: 0 8px 20px rgba(245, 165, 36, 0.3);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(245, 165, 36, 0.42);
}
.btn-secondary {
  background: var(--gold);
  color: var(--dark);
}
.btn-secondary:hover { background: var(--orange); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
}
.btn-ghost:hover { background: var(--text); color: var(--cream); }

.hero-art {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  background: #F5E3C2;
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  left: -16px;
  bottom: 22px;
  background: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero-badge .dot {
  width: 10px; height: 10px; border-radius: 50%; background: #22C55E;
  box-shadow: 0 0 0 4px rgba(34,197,94,.18);
}
.hero-badge span { font-weight: 700; color: var(--text); font-size: .92rem; }

@media (max-width: 820px) {
  .hero { padding: 56px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.sand { background: var(--sand); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--orange-grad-rev);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(245, 165, 36, 0.3);
}
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .97rem; margin: 0;}

@media (max-width: 820px) { .features { grid-template-columns: 1fr; } }

/* ---------- Carriers strip ---------- */
.carriers-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.carrier-chip {
  background: #fff;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .2px;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.carrier-chip:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 165, 36, .18);
}
@media (max-width: 820px) { .carriers-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(58, 40, 23, .06);
  display: flex; flex-direction: column;
}
.testimonial-photo { aspect-ratio: 4/3; background: #ddd; overflow: hidden;}
.testimonial-photo img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.stars { color: var(--orange); letter-spacing: 2px; margin-bottom: 10px; }
.testimonial blockquote {
  margin: 0 0 18px;
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.65;
}
.testimonial blockquote::before {
  content: '\201C';
  color: var(--orange);
  font-size: 1.8rem;
  line-height: 0;
  vertical-align: -.3em;
  margin-right: 2px;
  font-family: Georgia, serif;
}
.testimonial-meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: .9rem;
}
.testimonial-meta strong { color: var(--text); font-family: 'Nunito', sans-serif; font-size: 1rem; font-weight: 800; }
.testimonial-meta .loc { color: var(--muted); display: block; margin-top: 2px;}
.policy-tag {
  display: inline-block;
  margin-top: 8px;
  background: #FFEBC1;
  color: var(--orange-dark);
  font-size: .78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
@media (max-width: 820px) { .testimonials { grid-template-columns: 1fr; } }

/* ---------- Video testimonial grid ---------- */
.videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.video-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(58, 40, 23, .06);
  transition: transform .2s ease;
}
.video-card:hover { transform: translateY(-3px); }
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--dark);
  overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .88; }
.play-btn {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .15s ease;
  cursor: pointer;
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.07); }
.play-btn::after {
  content: "";
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent var(--orange);
  margin-left: 6px;
}
.video-length {
  position: absolute;
  right: 12px; bottom: 12px;
  background: rgba(0,0,0,.7);
  color: #fff; font-size: .78rem;
  padding: 4px 8px; border-radius: 4px;
}
.video-card-body { padding: 22px; }
.video-card-body h3 { margin-bottom: 6px; }
.video-card-body .meta { color: var(--muted); font-size: .9rem; margin: 0; }
@media (max-width: 820px) { .videos { grid-template-columns: 1fr; } }

/* ---------- Carriers page ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.product {
  background: #fff;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.product h3 { color: var(--orange-dark); margin-bottom: 8px; }
.product p { color: var(--muted); margin: 0; }

.carrier-detail {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
}
.carrier-name {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -.3px;
}
.carrier-meta { color: var(--muted); font-size: .9rem; margin-top: 4px;}
.carrier-detail p { margin: 0; color: var(--text-soft); }
.carrier-pills { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  background: var(--sand);
  color: var(--orange-dark);
  font-size: .78rem;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}
@media (max-width: 820px) {
  .products { grid-template-columns: 1fr; }
  .carrier-detail { grid-template-columns: 1fr; }
}

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}
.value {
  text-align: center;
  padding: 24px 20px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.value .num {
  display:inline-block;
  width:48px;height:48px;line-height:48px;border-radius:50%;
  background: var(--orange-grad-rev); color:#fff; font-weight:800;
  font-family: 'Nunito', sans-serif;
  margin-bottom: 10px;
  box-shadow: 0 6px 16px rgba(245, 165, 36, 0.3);
}
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .values { grid-template-columns: 1fr; }
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.step {
  background: #fff;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  position: relative;
}
.step-num {
  font-family: 'Nunito', sans-serif;
  font-size: 2rem;
  background: var(--orange-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
}
.step h4 { margin: 0 0 6px; font-size: 1.05rem; font-family: 'Nunito', sans-serif; color: var(--text); font-weight: 800;}
.step p { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Quote form ---------- */
.quote {
  background: var(--dark-grad);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.quote::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 203, 54, 0.18) 0%, transparent 60%);
  top: -200px; right: -150px;
  pointer-events: none;
}
.quote h2 { color: #fff; }
.quote .section-head p { color: #E8D6B8; }
.quote-form {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  color: var(--text-soft);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  position: relative;
  z-index: 1;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field label { display:block; font-size: .85rem; font-weight: 700; color: var(--text); margin-bottom: 6px; font-family: 'Nunito', sans-serif;}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--cream);
  color: var(--text);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(245, 165, 36, .18);
}
.field textarea { min-height: 90px; resize: vertical; }
.field-full { grid-column: 1 / -1; }
.form-disclaimer { font-size: .82rem; color: var(--muted); margin: 6px 0 18px; }
.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  background: var(--orange-grad-rev);
  color: #fff;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(245, 165, 36, 0.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(245, 165, 36, 0.45); }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: #E8D6B8;
  padding: 48px 0 28px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 203, 54, 0.12) 0%, transparent 60%);
  bottom: -200px; left: -150px;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; font-family: 'Nunito', sans-serif;}
.site-footer a { color: #E8D6B8; display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: #B8A077;
  position: relative;
  z-index: 1;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page banner (sub-pages) ---------- */
.page-banner {
  padding: 72px 0 48px;
  background:
    radial-gradient(900px 400px at 90% 0%, #FFE5B8 0%, transparent 55%),
    radial-gradient(700px 400px at 0% 100%, #FFEBC1 0%, transparent 55%),
    var(--cream);
  text-align: center;
}
.page-banner .eyebrow {
  display: inline-block;
  background: #FFEBC1;
  color: var(--orange-dark);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.page-banner p { max-width: 640px; margin: 8px auto 0; color: var(--muted); font-size: 1.08rem;}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
