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

:root {
  --color-bg-base:            #FFFFFF;
  --color-bg-light:           #F2F8F8;
  --color-bg-section:         #E5F1F1;
  --color-bg-dark:            #0D2B2E;   /* deep petrol/teal, hero + footer only */
  --color-accent-primary:     #12736E;   /* protective teal */
  --color-accent-primary-dark:#0A4E4B;
  --color-accent-warm:        #E8A455;   /* warm amber, sparing use for reassurance highlights */
  --color-text-primary:       #0D2B2E;
  --color-text-secondary:     #3E5B5C;
  --color-text-light:         #F2F8F8;
  --color-text-muted:         #85A3A2;
  --color-border:             #D6E7E6;
  --color-cta:                #12736E;
  --color-cta-hover:          #0A4E4B;
  
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container-width: 1200px;
}

/* RESET */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  background-color: var(--color-bg-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* TYPOGRAPHY */
.heading-xl { font-size: 3.25rem; font-weight: 700; margin-bottom: 1rem; }
.heading-lg { font-size: 2.5rem; font-weight: 600; margin-bottom: 1.5rem; }
.heading-md { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; }
.heading-sm { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }

.text-lg { font-size: 1.125rem; }
.text-md { font-size: 1rem; }
.text-sm { font-size: 0.875rem; }

.text-center { text-align: center; }
.color-light { color: var(--color-text-light); }
.color-muted { color: var(--color-text-muted); }
.color-primary { color: var(--color-accent-primary); }

/* LAYOUT */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
}

.section-light {
  background-color: var(--color-bg-base);
}

.section-teal {
  background-color: var(--color-bg-light);
}

.section-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
}
.section-dark h1, .section-dark h2, .section-dark h3 {
  color: var(--color-text-light);
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }
.gap-3 { gap: 3rem; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; }

/* COMPONENTS */
/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--color-bg-base);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease;
}
.preloader.hidden {
  opacity: 0;
  pointer-events: none;
}
.preloader-text {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}
.preloader-bar-container {
  width: 220px;
  height: 4px;
  background: var(--color-bg-light);
  border-radius: 2px;
  overflow: hidden;
}
.preloader-bar {
  height: 100%;
  background: var(--color-accent-primary);
  width: 0%;
  transition: width 3s linear;
}

/* Disclosure Bar */
.disclosure-bar {
  background-color: var(--color-bg-dark);
  color: var(--color-text-muted);
  text-align: center;
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s ease;
}
.navbar.scrolled {
  padding: 0.85rem 0;
  box-shadow: 0 8px 24px rgba(13, 43, 46, 0.04);
}
.logo-img {
  height: 80px;
  width: 80px;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-link {
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: var(--color-accent-primary);
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.mobile-menu-icon {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--color-text-primary);
  position: relative;
  transition: background-color 0.3s;
}
.mobile-menu-icon::before, .mobile-menu-icon::after {
  content: '';
  position: absolute;
  width: 26px;
  height: 2px;
  background-color: var(--color-text-primary);
  left: 0;
  transition: transform 0.3s;
}
.mobile-menu-icon::before { top: -7px; }
.mobile-menu-icon::after { top: 7px; }
.mobile-menu-btn.active .mobile-menu-icon { background-color: transparent; }
.mobile-menu-btn.active .mobile-menu-icon::before { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active .mobile-menu-icon::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg-base);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(13, 43, 46, 0.06);
    border-bottom: 1px solid var(--color-border);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.125rem 2.25rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.btn-cta {
  background-color: var(--color-cta);
  color: #FFF;
}
.btn-cta:hover {
  background-color: var(--color-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(18, 115, 110, 0.25);
}
.btn-outline {
  background-color: transparent;
  color: var(--color-text-light);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
}
.btn-outline-dark {
  background-color: transparent;
  color: var(--color-text-primary);
  border: 2px solid var(--color-border);
}
.btn-outline-dark:hover {
  border-color: var(--color-accent-primary);
  color: var(--color-accent-primary);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-color: var(--color-bg-dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  mix-blend-mode: multiply;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(232, 164, 85, 0.15);
  color: var(--color-accent-warm);
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(232, 164, 85, 0.4);
}
.hero-btns {
  display: flex;
  gap: 1.25rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.trust-badges {
  display: flex;
  gap: 2.5rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-light);
  font-size: 0.95rem;
  font-weight: 500;
}
.trust-badge-icon {
  color: var(--color-accent-warm);
}

/* Image Split */
.image-split-img {
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(13, 43, 46, 0.1);
}

/* Steps */
.step-card {
  padding: 2.5rem;
  background: var(--color-bg-base);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(13, 43, 46, 0.04);
  position: relative;
}
.step-number {
  position: absolute;
  top: -1.75rem;
  left: 2.5rem;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--color-bg-light);
  color: var(--color-accent-primary);
  border: 2px solid var(--color-accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
}

/* Feature Grid */
.feature-card {
  background: var(--color-bg-base);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(13, 43, 46, 0.03);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(13, 43, 46, 0.08);
}
.feature-icon {
  color: var(--color-accent-warm);
  margin-bottom: 1.25rem;
}

/* Testimonials */
.testimonial-card {
  background: var(--color-bg-base);
  padding: 3rem;
  border-radius: 16px;
  border-left: 4px solid var(--color-accent-primary);
  box-shadow: 0 4px 24px rgba(13, 43, 46, 0.04);
}
.stars {
  color: var(--color-accent-warm);
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}
.testimonial-author {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.author-avatar {
  width: 54px;
  height: 54px;
  background: var(--color-bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--color-accent-primary);
  font-size: 1.25rem;
}

/* FAQ */
.faq-list {
  max-width: 850px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-question {
  padding: 1.75rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text-primary);
  font-size: 1.125rem;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer {
  max-height: 600px;
  padding-bottom: 1.75rem;
}
.faq-icon {
  transition: transform 0.4s ease;
  color: var(--color-accent-primary);
  font-size: 1.5rem;
  font-weight: 400;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Footer */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 5rem 0 2.5rem;
}
.footer-logo {
  filter: brightness(0) invert(1);
  margin-bottom: 2rem;
}
.footer-links {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.footer-link {
  color: var(--color-text-muted);
  transition: color 0.3s;
}
.footer-link:hover {
  color: var(--color-text-light);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-bg-base);
  border: 1px solid var(--color-accent-primary);
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 12px 48px rgba(13, 43, 46, 0.15);
  z-index: 9999;
  transform: translateY(150%);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cookie-popup.show {
  transform: translateY(0);
}
.cookie-text {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.cookie-btns {
  display: flex;
  gap: 1rem;
}
.btn-cookie {
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  flex: 1;
  text-align: center;
  transition: all 0.2s;
}
.btn-cookie-accept {
  background: var(--color-accent-primary);
  color: white;
}
.btn-cookie-accept:hover {
  background: var(--color-accent-primary-dark);
}
.btn-cookie-reject {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
}
.btn-cookie-reject:hover {
  background: var(--color-bg-light);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .hero { min-height: 65vh; padding: 5rem 0; }
  .heading-xl { font-size: 2.5rem; }
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; }
}
