/* Diversity Insurance - style.css */

:root {
  --navy: #1b3a5c;
  --teal: #1f7a8c;
  --teal-dark: #17606f;
  --light: #f3f7fa;
  --border: #d9e2ea;
  --text: #25313c;
  --muted: #5b6b79;
  --white: #ffffff;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

h1, h2, h3 { color: var(--navy); line-height: 1.25; margin: 0 0 0.6em; }
h1 { font-size: 2.6rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; }
a  { color: var(--teal-dark); }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid #f2b705;
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.logo span { color: var(--teal); font-weight: 400; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a { text-decoration: none; color: var(--navy); font-weight: 500; }
.main-nav a:hover { color: var(--teal); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  background: var(--teal);
  color: var(--white);
  border: 2px solid var(--teal);
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }
.main-nav a.btn { color: var(--white); }
.main-nav a.btn:hover { color: var(--white); }
.btn-small { padding: 8px 18px; }
.btn-outline { background: transparent; color: var(--teal-dark); }
.btn-outline:hover { background: var(--teal-dark); color: var(--white); }

/* Hero */
.hero {
  background: linear-gradient(135deg, #e6f1f5 0%, #f3f7fa 100%);
  padding: 80px 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-text p { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 5px solid var(--teal);
  border-radius: 4px;
  padding: 28px;
}
.hero-card h2 { font-size: 1.3rem; }
.hero-card p:last-child { margin-bottom: 0; color: var(--muted); }

/* Sections */
.section { padding: 70px 0; }
.section-alt { background: var(--light); }
.section-title { margin-bottom: 0.5em; }
.section-intro { max-width: 40em; color: var(--muted); margin-bottom: 36px; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px;
}
.card ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
.card li { margin-bottom: 4px; }

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 40px;
  margin-top: 30px;
}
.feature h3 { margin-bottom: 0.3em; }
.feature p { margin: 0; color: var(--muted); }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  margin: 30px 0 20px;
  padding: 0;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 24px;
  padding-top: 64px;
  background: var(--light);
  border-radius: 4px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 20px;
  left: 24px;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
}
.steps p { margin: 0; color: var(--muted); }
.note { font-size: 0.95rem; color: var(--muted); }

/* About */
.two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.info-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px;
}
.info-box address { font-style: normal; margin-bottom: 1em; }

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-form {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px;
}
.contact-form label {
  display: block;
  margin: 14px 0 6px;
  font-weight: 600;
  color: var(--navy);
}
.contact-form label:first-child { margin-top: 0; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  color: var(--text);
  background: var(--white);
  border: 1px solid #b8c5d0;
  border-radius: 4px;
}
.contact-form .btn { margin-top: 20px; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #dbe5ee;
  padding: 40px 0 20px;
  font-size: 0.95rem;
}
.site-footer a { color: #dbe5ee; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-legal {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
}
.footer-legal p { margin: 0; }

/* Tablet and mobile */
@media (max-width: 860px) {
  h1 { font-size: 2.1rem; }
  .hero { padding: 56px 0; }
  .hero-inner, .two-col, .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
  .card-grid, .feature-grid, .steps { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }

  .header-inner { flex-direction: column; padding-top: 12px; padding-bottom: 12px; gap: 8px; }
  .main-nav ul { flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
