/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
  --color-cream: #f5efe6;
  --color-rose: #b8566b;
  --color-rose-dark: #9a4458;
  --color-sage: #5c7a5c;
  --color-sage-light: #eef2ee;
  --color-sage-dark: #3d5a3d;
  --color-dark: #2d2d2d;
  --color-light: #f8f8f8;
  --color-white: #ffffff;
  --color-border: #e0e0e0;

  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
  --transition: 0.3s ease;
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-dark);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-rose);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-rose-dark);
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

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

.section {
  padding: 5rem 0;
}

.section--cream {
  background: var(--color-cream);
}
.section--white {
  background: #fff;
}
.section--sage {
  background: var(--color-sage-light);
}

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

.section--dark {
  background: var(--color-sage-dark);
  color: var(--color-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark strong {
  color: var(--color-white);
}

.section--dark h3 {
  margin-top: 3rem;
  margin-bottom: 1.25rem;
}

.section--dark p {
  margin-bottom: 1rem;
}

.section--dark p:last-child {
  margin-bottom: 0;
}

.section__intro {
  font-size: 1.125rem;
  max-width: 680px;
  margin-bottom: 2.5rem;
  color: inherit;
  opacity: 0.9;
}

.section__note {
  margin-top: 2.5rem;
  font-style: italic;
  opacity: 0.85;
}

.section__cta {
  margin-top: 3rem;
  text-align: center;
}

/* ===========================
   Navigation
   =========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(245, 239, 230, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--transition);
}

.nav--scrolled {
  box-shadow: var(--shadow);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo img {
  border-radius: 50%;
}

.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  align-items: center;
}

.nav__links a {
  color: var(--color-dark);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav__links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-rose);
  transition: width var(--transition);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__cta {
  background: var(--color-rose);
  color: var(--color-white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.nav__cta::after {
  display: none !important;
}

.nav__cta:hover {
  background: var(--color-rose-dark);
  color: var(--color-white) !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn--primary {
  background: var(--color-rose);
  color: var(--color-white);
  border-color: var(--color-rose);
}

.btn--primary:hover {
  background: var(--color-rose-dark);
  border-color: var(--color-rose-dark);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(184, 86, 107, 0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--secondary:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

.btn--full {
  width: 100%;
}

/* ===========================
   Hero
   =========================== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("images/maximus-mazar-osna6qxLwzw-unsplash.jpg") center/cover
    no-repeat;
  text-align: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(45, 45, 45, 0.55) 0%,
    rgba(45, 45, 45, 0.65) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 6rem 1.5rem 4rem;
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  color: var(--color-white);
  margin-bottom: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   About
   =========================== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about__text h2 {
  color: var(--color-rose);
}

.about__text p {
  margin-bottom: 1rem;
}

.about__portrait {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 4px solid var(--color-sage-light);
}

.about__image img:not(.about__portrait) {
  border-radius: var(--radius);
  object-fit: cover;
  width: 100%;
  max-height: 400px;
  margin-top: 2rem;
}

.quote {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--color-sage);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: white;
}

.quote p {
  font-size: 1.2rem;
  font-weight: 500;
  font-style: italic;
  color: var(--color-sage-dark);
  margin-bottom: 0.5rem;
}

.quote__caption {
  font-size: 0.95rem;
  color: var(--color-sage);
  font-style: normal;
}

/* ===========================
   Cards
   =========================== */
.cards {
  display: grid;
  gap: 1.5rem;
}

.cards--4 {
  grid-template-columns: repeat(4, 1fr);
}

.cards--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-sage-light);
  border-radius: var(--radius-sm);
  color: var(--color-sage);
  margin-bottom: 1rem;
}

.card--outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.card--outline:hover {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
  transform: translateY(-2px);
}

.card--outline h4,
.card--outline p {
  color: var(--color-white);
}

.card--outline p {
  opacity: 0.85;
}

/* ===========================
   Tabs
   =========================== */
.tabs__nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 0;
}

.tabs__btn {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-dark);
  cursor: pointer;
  position: relative;
  opacity: 0.6;
  transition: all var(--transition);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.tabs__btn:hover {
  opacity: 1;
}

.tabs__btn.active {
  opacity: 1;
  color: var(--color-rose);
  border-bottom-color: var(--color-rose);
}

.tabs__panel {
  display: none;
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tabs__panel.active {
  display: block;
}

.tabs__panel ul {
  list-style: none;
  padding: 0;
}

.tabs__panel li {
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}

.tabs__panel li:last-child {
  border-bottom: none;
}

.tabs__panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 8px;
  height: 8px;
  background: var(--color-sage);
  border-radius: 50%;
}

/* ===========================
   Parallax block
   =========================== */
.parallax-block {
  height: 500px;
  background: url("images/ouder-stel.jpg") center/cover no-repeat fixed;
  position: relative;
}

.parallax-block__overlay {
  position: absolute;
  inset: 0;
  background: rgba(92, 122, 92, 0.3);
}

/* ===========================
   Stats
   =========================== */
.stat-banner {
  display: flex;
  gap: 3rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat__number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.stat__label {
  font-size: 1rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

/* ===========================
   Steps
   =========================== */
.steps {
  list-style: none;
  padding: 0;
  counter-reset: step;
  margin: 1.5rem 0 2.5rem;
}

.steps li {
  counter-increment: step;
  padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  position: relative;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  margin-left: 1rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: -1.1rem;
  top: 1.25rem;
  width: 2rem;
  height: 2rem;
  background: var(--color-rose);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.steps li strong {
  display: block;
  margin-bottom: 0.25rem;
}

.steps li p {
  opacity: 0.85;
  margin: 0;
}

/* ===========================
   Signals
   =========================== */
.signals {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 2rem;
  margin-bottom: 1rem;
}

.signals li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  opacity: 0.9;
}

.signals li svg {
  color: var(--color-rose);
  flex-shrink: 0;
}

/* ===========================
   Tariff
   =========================== */
.tariff {
  margin-top: 3rem;
  text-align: center;
  padding: 2.5rem;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid var(--color-sage);
}

.tariff__label {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-sage);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.tariff__price {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-dark);
}

.tariff__note {
  display: block;
  font-size: 0.95rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}

/* ===========================
   Contact
   =========================== */
.contact {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
}

.contact--centered {
  display: flex;
  justify-content: center;
}

.contact--centered .contact__info {
  width: 100%;
  max-width: 480px;
}

.contact__form {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  transition: border-color var(--transition);
  background: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-sage);
  box-shadow: 0 0 0 3px rgba(92, 122, 92, 0.1);
}

.form-group textarea {
  resize: vertical;
}

.form-group fieldset {
  border: none;
  padding: 0;
}

fieldset.form-group {
  border: none;
}

fieldset.form-group legend {
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 400;
  cursor: pointer;
}

.form-group--checkbox label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
}

.form-group--checkbox input {
  width: auto;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.insurance-fields {
  padding: 1rem 1.25rem;
  background: var(--color-light);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.insurance-fields .form-group:last-child {
  margin-bottom: 0;
}

.contact__info {
  background: var(--color-cream);
  padding: 2rem;
  border-radius: var(--radius);
}

.contact__info h3 {
  color: var(--color-rose);
  margin-bottom: 0.75rem;
}

.contact__details {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__details li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact__details li svg {
  margin-top: 0.15rem;
}

.contact__details svg {
  color: var(--color-sage);
  flex-shrink: 0;
}

.contact__details a {
  color: var(--color-dark);
  font-weight: 500;
}

.contact__details a:hover {
  color: var(--color-rose);
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 1.5rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand img {
  border-radius: 50%;
}

.footer__registrations h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer__badges {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  text-align: center;
}

.footer__badge img {
  background: var(--color-white);
  padding: 4px 8px;
  border-radius: 4px;
}

.footer__legal {
  font-size: 0.85rem;
  line-height: 2;
}

.footer__legal em {
  opacity: 0.5;
}

.footer__bottom {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
  .cards--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav__links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-cream);
    flex-direction: column;
    padding: 0 1.5rem;
    gap: 0;
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition:
      max-height var(--transition),
      padding var(--transition);
    z-index: 999;
  }

  .nav__links.open {
    max-height: 500px;
    padding: 1rem 1.5rem 1.5rem;
  }

  .nav__links li {
    width: 100%;
  }

  .nav__links a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav__links a::after {
    display: none;
  }

  .nav__cta {
    text-align: center;
    margin-top: 0.5rem;
  }

  .nav__toggle {
    display: flex;
  }

  .hero {
    min-height: 85vh;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__image {
    order: -1;
  }

  .cards--4,
  .cards--3 {
    grid-template-columns: 1fr;
  }

  .signals {
    grid-template-columns: 1fr;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer__brand {
    display: flex;
    justify-content: center;
  }

  .footer__badges {
    justify-content: center;
  }

  .footer__badge {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .parallax-block {
    background-attachment: scroll;
    height: 200px;
  }

  .section {
    padding: 3.5rem 0;
  }

  .stat-banner {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .tabs__nav {
    gap: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tabs__nav::-webkit-scrollbar {
    display: none;
  }

  .tabs__btn {
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .contact__form {
    padding: 1.5rem;
  }
}
