/* SUN2SUN — style.css */

/* Manrope (variable, self-hosted, OFL) */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #16233a;
  --ink: #1b2638;
  --yellow: #ffcc00;
  --yellow-dark: #8a6200;
  --muted: #566077;
  --muted-light: #8993a8;
  --white: #ffffff;
  --off-white: #f7f8fb;
  --border: #e4e8f0;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 16px -8px rgba(16, 24, 40, 0.12);
  --shadow-md: 0 10px 30px -12px rgba(16, 24, 40, 0.16);
  --container: 1180px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 800; line-height: 1.15; margin: 0 0 0.5em; color: var(--navy); }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--yellow);
  color: var(--navy);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
  font-weight: 700;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--yellow-dark);
  margin-bottom: 0.6em;
}

.text-yellow { color: var(--yellow-dark); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.98rem;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  background: var(--yellow);
  color: var(--navy);
}
.btn-primary:hover { background: #ffd93d; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--yellow-dark); color: var(--yellow-dark); transform: translateY(-2px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}
.logo img { height: 28px; width: auto; }
.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}
.main-nav a:hover, .main-nav a.active { color: var(--yellow-dark); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.phone-link { display: flex; align-items: center; gap: 8px; color: var(--navy); text-decoration: none; font-weight: 700; }
.phone-link svg { color: var(--yellow-dark); }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }

/* Hero */
.hero { background: var(--white); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 56px;
}
.hero-sub { color: var(--yellow-dark); font-weight: 700; font-size: 1.15rem; margin-bottom: 0.8em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.hero-text { color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 1.4em; }
.hero-media picture {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 8px solid var(--yellow);
  box-shadow: var(--shadow-md);
}

.trust-strip { background: var(--off-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  justify-content: center;
  padding: 16px 24px;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}
.trust-strip-inner span::before { content: "●"; color: var(--yellow-dark); margin-right: 8px; font-size: 0.6em; vertical-align: middle; }

/* Sections */
.section { padding: 88px 0; background: var(--white); }
.section-dark { background: var(--off-white); }

/* About */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.about-copy p { color: var(--muted); max-width: 56ch; }

/* Cards */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 2em; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.card h3 { color: var(--navy); margin-bottom: 0.5em; }
.card p { color: var(--muted); margin: 0; }

/* Benefits */
.quote {
  margin: 1.5em 0 2em;
  padding: 24px 28px;
  border-left: 4px solid var(--yellow);
  background: var(--off-white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.quote p { font-size: 1.2rem; font-style: italic; margin: 0 0 0.3em; color: var(--navy); }
.quote cite { color: var(--muted); font-style: normal; font-size: 0.9rem; }

.benefits-grid {
  list-style: none;
  margin: 0 0 2em;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.benefits-grid li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-weight: 700;
  color: var(--navy);
}
.benefit-icon { flex-shrink: 0; width: 28px; }

/* Steps */
.steps-grid {
  list-style: none;
  margin: 2em 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step h3 { color: var(--navy); }
.step p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.step img { margin-bottom: 14px; }

/* FAQ */
.faq-list { margin-top: 1.5em; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px 22px;
  background: var(--off-white);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 0;
  list-style: none;
  position: relative;
  padding-right: 30px;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 1.4rem;
  color: var(--yellow-dark);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: center; }
.contact-lead { color: var(--muted); max-width: 48ch; }
.contact-info address { font-style: normal; color: var(--muted); line-height: 1.8; }
.contact-info address strong { color: var(--navy); }
.contact-links { display: flex; flex-direction: column; gap: 10px; margin-top: 1.2em; }
.contact-links a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 700; }
.contact-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 1.6em; }
.contact-portrait { border-radius: var(--radius-lg); max-width: 320px; width: 100%; box-shadow: var(--shadow-md); justify-self: center; }

/* Footer */
.site-footer { background: var(--off-white); color: var(--muted); padding: 56px 0 28px; border-top: 1px solid var(--border); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; align-items: start; }
.footer-inner p { color: var(--muted); font-size: 0.9rem; }
.footer-inner nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-inner nav a { text-decoration: none; color: var(--navy); font-size: 0.92rem; }
.footer-inner nav a:hover { color: var(--yellow-dark); }
.copyright { font-size: 0.82rem; color: var(--muted-light); justify-self: end; }

/* Floating UI */
.back-to-top, .mobile-call-fab {
  position: fixed;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: var(--navy);
  text-decoration: none;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 90;
}
.back-to-top { bottom: 20px; font-size: 1.2rem; }
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.mobile-call-fab { bottom: 80px; display: none; }

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
  z-index: 200;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: 0.88rem; flex: 1 1 240px; }
.cookie-banner a { color: var(--yellow-dark); }

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].in-view { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .main-nav, .header-cta .phone-link { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 48px; padding-bottom: 40px; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .copyright { justify-self: start; }
  .mobile-call-fab { display: flex; }

  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    height: calc(100vh - 76px);
    overflow-y: auto;
    background: var(--white);
    display: flex;
    flex-direction: column;
    padding: 24px;
    height: calc(100dvh - 76px);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0s linear 0.25s;
  }
  .main-nav.open { visibility: visible; opacity: 1; transform: none; transition: transform 0.25s ease, opacity 0.25s ease, visibility 0s; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .header-cta .btn-primary { padding: 10px 18px; font-size: 0.85rem; white-space: nowrap; }
}

@media (max-width: 640px) {
  .cards-grid, .steps-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .contact-portrait { max-width: 220px; }
  .header-inner { gap: 12px; height: 68px; }
  .main-nav { top: 68px; height: calc(100vh - 68px); height: calc(100dvh - 68px); }
  .logo img { height: 24px; }
  .header-cta .btn-primary { padding: 8px 14px; font-size: 0.8rem; }
}
