/* Andrew Pravlik — homepage rebuild
   Tokens measured from the original site (see visual-extractor analysis) */

@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/poppins.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("../assets/fonts/work-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Font Awesome 5 Brands";
  src: url("../assets/fonts/fontawesome-brands.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --text: #333333;
  --accent: #1088cd;
  --pink: #cc3366;
  --black: #000000;
  --white: #ffffff;
  --font-body: "Poppins", sans-serif;
  --font-heading: "Work Sans", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 23px;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
}

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  top: 10px; left: 10px;
  width: auto; height: auto;
  clip: auto;
  z-index: 100;
  background: var(--white);
  color: var(--pink);
  padding: 8px 16px;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--white);
}

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

.logo img { width: 260px; height: auto; }

.main-nav ul {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
}

.main-nav a {
  display: block;
  font-size: 21px;
  font-weight: 400;
  line-height: 20px;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  padding: 13px 20px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
}

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

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
}

/* ---------- Hero ---------- */

.hero-grid {
  display: grid;
  grid-template-columns: 540px 640px;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 20px;
}

.hero-copy h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-copy p {
  font-family: var(--font-heading);
  font-weight: 300;
}

/* ---------- Banner (black) ---------- */

.banner {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 30px 0;
}

.banner p {
  font-weight: 300;
}

.banner-cta { margin-top: 35px; }

.btn {
  display: inline-block;
  font-size: 21px;
  font-weight: 500;
  line-height: 21px;
  color: var(--white);
  background: var(--accent);
  text-decoration: none;
  padding: 12px 24px;
}

.btn:hover { background: #0d76b4; }

/* ---------- Quote ---------- */

.quote-grid {
  display: grid;
  grid-template-columns: 660px 660px;
  justify-content: space-between;
  align-items: center;
  padding: 70px 10px;
}

.quote-photo img { width: 660px; }

/* ---------- Insurance ---------- */

.insurance-grid {
  display: grid;
  grid-template-columns: 660px 660px;
  justify-content: space-between;
  align-items: center;
  padding: 38px 10px 70px;
}

.insurance-copy h2 {
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 20px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--black);
  color: var(--white);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 30px;
  flex-wrap: wrap;
}

.logo-footer img { width: 261px; }

.footer-nav ul {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav a {
  display: block;
  font-size: 21px;
  font-weight: 400;
  line-height: 20px;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  padding: 13px 20px;
}

.footer-nav a:hover { color: var(--accent); }

.social {
  display: flex;
  gap: 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 10%;
  text-decoration: none;
}

.social-link .fab {
  font-family: "Font Awesome 5 Brands";
  font-style: normal;
  font-weight: 400;
  font-size: 25px;
  line-height: 1;
  color: var(--white);
}

.social-linkedin { background: #0077b1; }
.social-quora { background: #69727d; }
.social-medium { background: #00ab6b; }

.footer-bottom {
  text-align: center;
  padding: 20px 20px 30px;
}

.form-crs { margin-bottom: 20px; }

.form-crs a {
  color: var(--pink);
  text-decoration: none;
}

.form-crs a:hover { text-decoration: underline; }

.legal {
  font-size: 15px;
  line-height: 1.5;
  color: var(--white);
}

.legal + .legal { margin-top: 15px; }

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
  .hero-grid,
  .quote-grid,
  .insurance-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 767px) {
  body { font-size: 18px; }

  .header-inner {
    min-height: 90px;
    padding: 10px 20px;
  }

  .logo img { width: 180px; }

  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    z-index: 20;
  }

  .nav-open .main-nav { display: block; }

  .site-header { position: relative; }

  .main-nav ul {
    flex-direction: column;
    padding: 8px 0;
  }

  .hero-grid,
  .quote-grid,
  .insurance-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px;
  }

  .hero-photo { justify-self: center; }

  .banner { padding: 30px 0 40px; }

  .insurance-grid .insurance-photo { order: -1; }

  .insurance-copy h2 { font-size: 32px; }

  .footer-top {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: 40px;
  }

  .footer-nav ul { justify-content: center; }
}

/* ---------- About page ---------- */

.about-intro-grid {
  display: grid;
  grid-template-columns: 560px 1fr;
  align-items: center;
  padding: 0 0 6px;
}

.about-photo img { width: 560px; }

.about-intro-copy {
  padding-left: 20px;
  max-width: 860px;
}

.about-band {
  background: var(--black);
  color: var(--white);
  padding: 32px 0;
}

.about-band-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
  align-items: center;
  padding-left: 240px;
}

.about-band h1 {
  font-family: var(--font-heading);
  font-size: 41px;
  font-weight: 400;
  line-height: 1;
  color: var(--white);
}

.about-band p { font-weight: 300; }

.timeline-section { padding: 90px 0 105px; }

.timeline {
  position: relative;
  margin-left: 140px;
  padding-left: 91px;
  max-width: 1080px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: #e8e8e8;
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -91px;
  top: 8px;
  width: 40px;
  height: 40px;
  background: url("../assets/images/timeline-dot.webp") center / contain no-repeat;
}

.timeline-item h2 {
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 18px;
}

.timeline-item h3 {
  font-size: 23px;
  font-weight: 500;
  line-height: 1.5;
}

.timeline-item p {
  font-weight: 300;
  margin-top: 12px;
}

.about-family {
  max-width: 980px;
  margin: 150px 0 0 210px;
  font-weight: 300;
}

/* ---------- In The News page ---------- */

.news { padding: 40px 0 80px; }

.news h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  margin-bottom: 40px;
}

.news-list {
  padding-left: 40px;
}

.news-list li {
  font-weight: 300;
  line-height: 1.5;
}

.news-list a {
  color: var(--pink);
  text-decoration: none;
}

.news-list a:hover { text-decoration: underline; }

/* ---------- Contact page ---------- */

.contact { padding: 50px 0 125px; }

.contact h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  margin-bottom: 30px;
}

.contact-intro {
  max-width: 710px;
  margin: 0 auto 55px;
  text-align: center;
  font-weight: 300;
}

.contact-form {
  max-width: 830px;
  margin: 0 auto;
}

.form-field {
  margin-bottom: 22px;
}

.form-field label {
  display: block;
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.required {
  color: #cc3333;
  font-style: italic;
  text-transform: none;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: #f2f2f2;
  border: 1px solid #e0e0e0;
  padding: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}

.form-field textarea { height: 160px; resize: vertical; }

.form-submit {
  text-align: right;
  margin-top: 30px;
}

.send-btn {
  width: 200px;
  padding: 10px 15px;
  background: #428bca;
  color: var(--white);
  border: 0;
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.5;
  text-transform: uppercase;
  cursor: pointer;
}

.send-btn:hover { background: #3276b1; }

/* ---------- Responsive: subpages ---------- */

@media (max-width: 1200px) {
  .about-intro-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 32px; padding: 24px 20px; }
  .about-photo img { width: 100%; }
  .about-band-grid { padding-left: 20px; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .about-family { margin-left: 140px; }
}

@media (max-width: 767px) {
  .about-intro-grid { grid-template-columns: 1fr; }
  .about-photo { justify-self: center; }
  .about-band-grid { grid-template-columns: 1fr; gap: 16px; }
  .about-band { padding: 30px 0 40px; }
  .about-band h1 { font-size: 32px; }
  .timeline { margin-left: 8px; padding-left: 52px; }
  .timeline::before { left: 9px; }
  .timeline-item::before { left: -52px; width: 28px; height: 28px; top: 4px; }
  .timeline-item h2 { font-size: 30px; }
  .about-family { margin: 70px 0 0 0; }
  .news-list { padding-left: 24px; }
  .contact { padding: 30px 0 70px; }
  .form-submit { text-align: center; }
}
