/* ===== Reset & base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #c8102e;
  --red-dark: #a30d26;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-light: #f1f1f1;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Merriweather", Georgia, serif;
  --nav-height: 80px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.875rem 1.75rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--red-dark);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
}

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

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3.5rem;
}

.navbar__logo img {
  height: 52px;
  width: auto;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.navbar__link {
  color: #444;
  text-decoration: none;
  font-size: 1.0625rem;
  transition: color 0.2s ease;
}

.navbar__link:hover {
  color: var(--red);
}

/* Hamburger (hidden on desktop) */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.navbar__toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-height) + 4rem) 1.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("assets/hero-bg.png") center / cover no-repeat, #6e6e6e;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  text-align: center;
  color: var(--white);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--red);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.15;
  margin-bottom: 1.75rem;
}

.hero__highlight {
  display: inline-block;
  background: var(--white);
  color: var(--red);
  padding: 0 0.35em;
  border-radius: 8px;
}

.hero__text {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-light);
  max-width: 850px;
  margin: 0 auto 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero__trust {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 0;
  font-size: 0.9375rem;
  color: var(--text-light);
}

.hero__trust li {
  padding: 0 1.25rem;
}

.hero__trust li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.5);
}

/* ===== About / Benefits ===== */
.about {
  background: var(--white);
  padding: 4rem 2.5rem;
}

.about__panel {
  max-width: 1760px;
  margin: 0 auto;
  background: linear-gradient(135deg, #d0152e 0%, #b50d24 55%, #c11128 100%);
  border-radius: 28px;
  padding: 4.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4.5rem;
  align-items: start;
  color: var(--white);
}

.about__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.25;
  margin-bottom: 1.75rem;
}

.about__title em {
  font-style: italic;
}

.about__text {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.about__note {
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.25rem;
}

.btn--white {
  background: var(--white);
  color: var(--red);
}

.btn--white:hover {
  background: #f3f3f3;
}

.about__card {
  background: var(--white);
  color: var(--text-dark);
  border-radius: 18px;
  padding: 2.25rem 2rem;
}

.about__eyebrow {
  color: var(--red);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.about__item {
  border: 1px solid #f1d6da;
  border-radius: 12px;
  padding: 1.5rem 1.5rem;
}

.about__item + .about__item {
  margin-top: 1.25rem;
}

.about__item h3 {
  font-family: var(--font-body);
  font-size: 1.1875rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.about__item p {
  color: #8a8a8a;
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ===== How it works ===== */
.how {
  background: var(--white);
  padding: 5.5rem 1.5rem 6rem;
  text-align: center;
}

.how__eyebrow {
  color: var(--red);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.how__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 1.75rem;
}

.how__red {
  color: var(--red);
}

.how__text {
  max-width: 1060px;
  margin: 0 auto 3.5rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: #5d6b78;
}

.how__steps {
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
  display: grid;
  gap: 1.5rem;
}

.how__step {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #fdfafa;
  border: 1px solid #f3e4e6;
  border-radius: 16px;
  padding: 1.75rem 2rem;
}

.how__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1.125rem;
}

.how__step h3 {
  font-family: var(--font-body);
  font-size: 1.1875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.how__step p {
  color: #8a8a8a;
  font-size: 1rem;
  line-height: 1.6;
}

/* ===== We meet you where you are ===== */
.meet {
  background: #141414;
  color: var(--white);
  padding: 6rem 2.5rem;
}

.meet__inner {
  max-width: 1760px;
  margin: 0 auto;
}

.meet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.meet__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.meet__text {
  color: #b9b9b9;
  font-size: 1.125rem;
  line-height: 1.6;
}

.meet__cta {
  flex-shrink: 0;
}

.meet__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.meet__card {
  background: #1d1d1d;
  border: 1px solid #2c2c2c;
  border-radius: 16px;
  padding: 2.25rem 2rem;
}

.meet__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: #fdeeee;
  color: var(--red);
  margin-bottom: 2.5rem;
}

.meet__card h3 {
  font-family: var(--font-body);
  font-size: 1.1875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.meet__card p {
  color: #b9b9b9;
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* ===== Insurance products ===== */
.products {
  background: var(--white);
  padding: 6rem 2.5rem;
  text-align: center;
}

.products__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.products__red {
  color: var(--red);
  font-style: italic;
}

.products__text {
  max-width: 780px;
  margin: 0 auto 4rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: #5d6b78;
}

.products__grid {
  max-width: 1760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.products__card {
  background: #fdfafa;
  border: 1px solid #f3dfe2;
  border-radius: 16px;
  padding: 2rem 1.5rem 1.75rem;
}

.products__icon {
  display: inline-flex;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.products__card h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.products__card p {
  color: #9a9a9a;
  font-size: 1rem;
}

/* ===== Register / Contact ===== */
.register {
  background: var(--white);
  padding: 4rem 2.5rem;
}

.register__panel {
  max-width: 1760px;
  margin: 0 auto;
  background: linear-gradient(135deg, #d0152e 0%, #b50d24 55%, #c11128 100%);
  border-radius: 28px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.register__form-card,
.register__contact-card {
  background: var(--white);
  border-radius: 18px;
  padding: 2.75rem 2.5rem;
}

.register__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  color: var(--text-dark);
  margin-bottom: 0.875rem;
}

.register__subtitle {
  color: #7c8a97;
  font-size: 1.0625rem;
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

/* Form */
.form__group {
  margin-bottom: 1.5rem;
}

.form__group label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.625rem;
}

.form__group input,
.form__group select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid #d8dde2;
  border-radius: 10px;
  padding: 0.875rem 1rem;
  outline: none;
  transition: border-color 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form__group input::placeholder {
  color: #9aa4ae;
}

.form__group select:invalid {
  color: #9aa4ae;
}

.form__group input:focus,
.form__group select:focus {
  border-color: var(--red);
}

.form__select-wrap {
  position: relative;
}

.form__select-wrap::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1.8px solid #5d6b78;
  border-bottom: 1.8px solid #5d6b78;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.form__submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1.05rem;
  font-size: 1.0625rem;
  border: none;
  cursor: pointer;
}

.form__status {
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  text-align: center;
}

.form__status--success {
  color: #1d7a3a;
}

.form__status--error {
  color: var(--red);
}

.form__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Contact card */
.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact__item + .contact__item {
  margin-top: 1.75rem;
}

.contact__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fdeeee;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact__label {
  color: #7c8a97;
  font-size: 0.9375rem;
  margin-bottom: 0.375rem;
}

.contact__value {
  color: var(--text-dark);
  font-size: 1.0625rem;
  line-height: 1.55;
}

/* ===== Footer ===== */
.footer {
  background: #b50d24;
  color: var(--white);
  padding: 3.5rem 3.5rem 4rem;
}

.footer__inner {
  max-width: 1760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer__logo {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1.25rem;
}

.footer__tagline {
  font-size: 1.0625rem;
}

.footer__socials {
  display: flex;
  gap: 1rem;
}

.footer__social {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: #b50d24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.footer__social:hover {
  transform: translateY(-2px);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  :root {
    --nav-height: 68px;
  }

  .navbar {
    padding: 0 16px;
  }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .navbar__logo img {
    height: 42px;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__nav {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    display: none;
  }

  .navbar__nav.is-open {
    display: flex;
  }

  .hero__title br {
    display: none;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 340px;
  }

  .hero__trust {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero__trust li + li {
    border-left: none;
  }

  .about {
    padding: 2.5rem 16px;
  }

  .about__panel {
    grid-template-columns: 1fr;
    padding: 2.5rem 16px;
    gap: 2.5rem;
    border-radius: 20px;
  }

  .about__card {
    padding: 1.5rem 1.25rem;
  }

  /* Tighter, more premium type scale on mobile */
  .hero__title {
    font-size: 40px;
    line-height: 1.3;
  }

  .hero__badge {
    font-size: 0.8125rem;
    padding: 0.4rem 1rem;
  }

  .hero__text {
    font-size: 0.9375rem;
  }

  .hero__trust {
    font-size: 0.8125rem;
  }

  .btn--lg {
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
  }

  .about__title {
    font-size: 1.625rem;
  }

  .about__text {
    font-size: 0.9375rem;
  }

  .about__note {
    font-size: 0.875rem;
  }

  .about__eyebrow {
    font-size: 0.75rem;
  }

  .about__item h3 {
    font-size: 1.0625rem;
  }

  .about__item p {
    font-size: 0.875rem;
  }

  .btn {
    font-size: 0.9375rem;
  }

  .how {
    padding: 3.5rem 16px 4rem;
  }

  .how__title {
    font-size: 1.75rem;
  }

  .how__title br {
    display: none;
  }

  .how__text {
    font-size: 0.9375rem;
    margin-bottom: 2.5rem;
  }

  .how__step {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 16px;
  }

  .how__num {
    width: 38px;
    height: 38px;
    font-size: 0.9375rem;
  }

  .how__step h3 {
    font-size: 1.0625rem;
  }

  .how__step p {
    font-size: 0.875rem;
  }

  .meet {
    padding: 3.5rem 16px;
  }

  .meet__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
  }

  .meet__title {
    font-size: 1.75rem;
  }

  .meet__text {
    font-size: 0.9375rem;
  }

  .meet__cards {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .meet__card {
    padding: 1.75rem 16px;
  }

  .meet__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 1.5rem;
  }

  .meet__card h3 {
    font-size: 1.0625rem;
  }

  .meet__card p {
    font-size: 0.9375rem;
  }

  .products {
    padding: 3.5rem 16px;
  }

  .products__title {
    font-size: 1.75rem;
  }

  .products__title br {
    display: none;
  }

  .products__text {
    font-size: 0.9375rem;
    margin-bottom: 2.5rem;
  }

  .products__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .products__card {
    padding: 1.5rem 16px 1.25rem;
  }

  .products__card h3 {
    font-size: 1.0625rem;
  }

  .products__card p {
    font-size: 0.875rem;
  }

  .register {
    padding: 2.5rem 16px;
  }

  .register__panel {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 1.25rem;
    border-radius: 20px;
  }

  .register__form-card,
  .register__contact-card {
    padding: 1.75rem 16px;
  }

  .register__title {
    font-size: 1.5rem;
  }

  .register__subtitle {
    font-size: 0.9375rem;
    margin-bottom: 1.75rem;
  }

  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* 16px minimum prevents iOS Safari from auto-zooming on focus */
  .form__group input,
  .form__group select {
    font-size: 16px;
  }

  .contact__value {
    font-size: 0.9375rem;
  }

  .contact__label {
    font-size: 0.875rem;
  }

  .footer {
    padding: 2.5rem 16px 3rem;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
  }

  .footer__logo {
    height: 46px;
  }

  .footer__tagline {
    font-size: 0.9375rem;
  }

  .footer__social {
    width: 42px;
    height: 42px;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about__panel {
    grid-template-columns: 1fr;
    padding: 3rem 2.5rem;
    gap: 3rem;
  }

  .register__panel {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .meet__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
  }
}
