/* ═══════════════════════════════════════════════
   HemTrygg – Shared Stylesheet
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --forest: #1a3a2a;
  --pine: #2d5f3f;
  --moss: #4a7c5c;
  --leaf: #6db87a;
  --sun: #f2c94c;
  --sun-light: #fef5d4;
  --cream: #faf8f3;
  --sand: #f0ece4;
  --bark: #3d2c1e;
  --stone: #6b6560;
  --white: #ffffff;
  --warm-black: #1a1714;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  color: var(--warm-black);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 { font-family: 'DM Serif Display', serif; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 4%;
  background: rgba(250, 248, 243, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.08); }
.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem; color: var(--forest);
  display: flex; align-items: center; gap: 0.5rem;
}
.logo-icon {
  width: 36px; height: 36px; background: var(--forest);
  border-radius: 10px; display: grid; place-items: center;
  color: var(--sun); font-size: 1.1rem;
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  color: var(--stone); font-weight: 500; font-size: 0.95rem; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--forest); }
.nav-cta {
  background: var(--forest) !important; color: var(--white) !important;
  padding: 0.65rem 1.5rem !important; border-radius: 50px;
  font-weight: 600 !important; transition: transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,58,42,0.3); }
.mobile-menu-btn {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 1.5rem; color: var(--forest);
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--forest); color: var(--white);
  padding: 1rem 2rem; border-radius: 60px;
  font-weight: 600; font-size: 1.05rem; font-family: 'Outfit', sans-serif;
  transition: all 0.25s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--pine); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(26,58,42,0.25); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--forest);
  padding: 1rem 2rem; border-radius: 60px;
  font-weight: 600; font-size: 1.05rem; font-family: 'Outfit', sans-serif;
  border: 2px solid var(--forest); transition: all 0.25s; cursor: pointer;
}
.btn-secondary:hover { background: var(--forest); color: var(--white); }
.btn-gold {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--sun); color: var(--bark);
  padding: 1.1rem 2.5rem; border-radius: 60px;
  font-weight: 700; font-size: 1.1rem; font-family: 'Outfit', sans-serif;
  transition: all 0.25s; border: none; cursor: pointer;
  justify-content: center;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(242,201,76,0.4); }
.btn-white {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--white); color: var(--forest);
  padding: 1rem 2rem; border-radius: 60px;
  font-weight: 600; font-size: 1.05rem; font-family: 'Outfit', sans-serif;
  transition: all 0.25s; border: none; cursor: pointer;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }

/* ─── SECTION SHARED ─── */
section { padding: 6rem 4%; }
.section-label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(109,184,122,0.12); color: var(--pine);
  font-weight: 600; font-size: 0.85rem;
  padding: 0.4rem 1rem; border-radius: 50px;
  margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.5px;
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--forest); margin-bottom: 1rem; line-height: 1.15;
}
.section-sub {
  font-size: 1.1rem; color: var(--stone);
  max-width: 600px; line-height: 1.7;
}
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .section-sub { margin: 0 auto; }
.container { max-width: 1200px; margin: 0 auto; }
.container-sm { max-width: 800px; margin: 0 auto; }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding: 10rem 4% 4rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -100px; right: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(109,184,122,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; bottom: -40px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(242,201,76,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  color: var(--forest); margin-bottom: 1rem; line-height: 1.1;
}
.page-hero p {
  font-size: 1.2rem; color: var(--stone);
  max-width: 600px; margin: 0 auto 2rem; line-height: 1.7;
}
.page-hero .hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--sun-light); color: var(--bark);
  padding: 0.5rem 1rem; border-radius: 50px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem;
}

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--forest);
  padding: 2.5rem 4%;
  display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 0.8rem;
  color: rgba(255,255,255,0.9); font-weight: 500;
}
.trust-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,0.1);
  display: grid; place-items: center; font-size: 1.3rem;
}

/* ─── CARDS ─── */
.card {
  background: var(--white); border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }

/* ─── FOOTER ─── */
footer {
  background: var(--warm-black); color: rgba(255,255,255,0.6);
  padding: 4rem 4% 2rem;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo { color: var(--white); margin-bottom: 1rem; }
.footer-brand .logo-icon { background: rgba(255,255,255,0.1); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
footer h4 {
  color: var(--white); font-size: 0.9rem; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 1rem;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.6rem; }
footer ul a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: color 0.2s; }
footer ul a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem; text-align: center; font-size: 0.85rem;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav-links { 
    display: none; position: fixed; top: 70px; left: 0; right: 0;
    background: var(--cream); flex-direction: column; padding: 2rem;
    gap: 1.2rem; box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  }
  .nav-links.show { display: flex; }
  .mobile-menu-btn { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .trust-bar { gap: 1.5rem; padding: 2rem 4%; }
  .trust-item span { font-size: 0.85rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  section { padding: 4rem 4%; }
}
