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

:root {
  --navy: #12263a;
  --teal: #12807c;
  --sand: #f4efe8;
  --amber: #d77a2b;
  --ink: #1f2933;
  --muted: #52606d;
  --line: #d8e1e8;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 8% -10%, #d8efe9 0, #f9f6f1 45%, #eff4f9 100%);
  color: var(--ink);
  font-family: 'Manrope', 'Segoe UI', sans-serif;
}

.page-wrapper {
  min-height: 100vh;
  margin: 14px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #d5dee6;
  box-shadow: 0 24px 50px rgba(18, 38, 58, 0.12);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding: 16px 22px;
  background: linear-gradient(95deg, var(--navy), #1d3d5a);
  border-bottom: 3px solid var(--amber);
}

nav a {
  color: #f3f6f9;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

nav a:hover,
nav a.active {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.hero {
  padding: 86px 20px 72px;
  text-align: center;
  background: linear-gradient(140deg, #13324d 0%, #1d5675 60%, #12807c 100%);
  color: #ffffff;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  width: min(540px, 78vw);
  height: min(540px, 78vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  top: -250px;
  right: -150px;
}

.hero h1 {
  margin: 0;
  position: relative;
  font-family: 'Merriweather', serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.hero p {
  position: relative;
  margin: 14px auto 0;
  max-width: 760px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.square-btn,
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 186px;
  padding: 14px 24px;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.square-btn {
  background: var(--amber);
  color: #fff;
  box-shadow: 0 12px 24px rgba(23, 28, 33, 0.24);
}

.square-btn:hover,
.outline-btn:hover {
  transform: translateY(-2px);
  opacity: 0.96;
}

.outline-btn {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.importance-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 54px 22px 34px;
}

.importance-section h1,
.importance-section h2 {
  color: var(--navy);
  margin: 0 0 14px;
}

.importance-section p,
.importance-section li {
  line-height: 1.72;
  color: var(--ink);
}

.importance-section ul {
  padding-left: 18px;
}

.trust-strip {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 22px 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.trust-tile {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f6fbfa);
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
}

.trust-tile h3 {
  margin: 0;
  color: var(--teal);
  font-size: 1.55rem;
}

.trust-tile p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.insurance-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  padding: 20px 22px 34px;
  max-width: 1100px;
  margin: 0 auto;
}

.insurance-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 18px;
  background: linear-gradient(180deg, #fff, #f8fbfd);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.insurance-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(18, 38, 58, 0.14);
}

.icon-wrapper {
  font-size: 32px;
  color: var(--teal);
  margin-bottom: 10px;
}

.insurance-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
}

.insurance-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.quote-jump {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 6px 22px 58px;
}

.quote-note {
  max-width: 760px;
  margin: 0;
  color: #5f6c77;
  font-size: 0.84rem;
  text-align: center;
  line-height: 1.5;
}

.quote-note a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}

.quote-note a:hover {
  text-decoration: underline;
}

.quote-header {
  background: linear-gradient(95deg, var(--navy), #1d3d5a);
  border-bottom: 3px solid var(--amber);
  text-align: center;
  padding: 34px 20px;
}

.quote-header h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}

.quote-embed-section {
  padding: 34px 20px 60px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.quote-subtext {
  margin: 0 auto 20px;
  max-width: 650px;
  color: #3f4d59;
  line-height: 1.6;
}

.form-embed {
  max-width: 760px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 26px rgba(18, 38, 58, 0.12);
}

.form-embed.centered {
  margin: 0 auto;
}

.form-embed iframe {
  width: 100%;
  height: 1150px;
  border: 0;
}

.quote-help {
  margin-top: 14px;
  color: #3e4a54;
}

.quote-help a,
footer a,
.importance-section a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}

.quote-help a:hover,
footer a:hover,
.importance-section a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 18px;
  border-top: 1px solid var(--line);
  background: #f8fafc;
  font-size: 0.93rem;
}

footer p {
  margin: 6px 0;
}

@media (max-width: 768px) {
  .page-wrapper {
    margin: 8px;
    border-radius: 12px;
  }

  .hero {
    padding: 74px 18px 58px;
  }

  .importance-section {
    padding: 40px 18px 24px;
  }

  .insurance-types {
    padding: 10px 18px 28px;
  }

  .quote-jump {
    padding: 4px 18px 44px;
  }

  .form-embed iframe {
    height: 1450px;
  }
}
