@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Roboto:wght@400;500;700&display=swap");

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section--gray {
  background: var(--gray-100);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section--cream {
  background: var(--cream);
}

.eyebrow {
  display: inline-block;
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 1rem;
}

.section-title--light {
  color: var(--white);
}

.section-lead {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  color: var(--gray-600);
  text-align: center;
}

.text-center {
  text-align: center;
}

/* Top bar */
.top-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.85rem;
  color: var(--gray-600);
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  flex-wrap: wrap;
}

.top-bar__loc {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.top-bar__loc svg {
  width: 16px;
  height: 16px;
  fill: var(--teal);
}

.top-bar__social {
  display: flex;
  gap: 0.65rem;
}

.top-bar__social a {
  color: var(--gray-600);
  text-decoration: none;
  font-size: 0.9rem;
}

.top-bar__social a:hover {
  color: var(--teal);
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 42px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--gray-800);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--teal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-search {
  background: none;
  border: none;
  color: var(--gray-800);
  padding: 0.35rem;
}

.nav-toggle {
  display: none;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.6rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.btn--quote {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
}

.btn--quote:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
}

.btn--teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn--teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--teal);
}

.btn--outline-dark {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn--white {
  background: var(--white);
  color: var(--teal);
  border-color: var(--white);
}

.btn--block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 29, 61, 0.82) 0%, rgba(0, 29, 61, 0.45) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 4rem 0;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.15;
}

.hero p {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__nav {
  position: absolute;
  bottom: 2rem;
  right: max(1rem, calc((100% - var(--container)) / 2));
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.hero__nav button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.25);
  color: var(--white);
  cursor: pointer;
}

/* Page hero */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
}

.page-hero p {
  margin: 0.75rem auto 0;
  max-width: 36rem;
  opacity: 0.88;
}

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  opacity: 0.75;
}

.breadcrumb a {
  color: var(--teal);
  text-decoration: none;
}

/* About split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split__media {
  position: relative;
}

.split__media img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
}

.split__frame {
  position: absolute;
  inset: -12px 12px 12px -12px;
  border: 3px solid var(--teal);
  border-radius: var(--radius);
  z-index: -1;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* Service cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card__img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__icon {
  position: absolute;
  bottom: -24px;
  right: 1.25rem;
  width: 56px;
  height: 56px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.35rem;
  box-shadow: var(--shadow-card);
}

.service-card__body {
  padding: 2.25rem 1.5rem 1.5rem;
}

.service-card h3 {
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-size: 1.2rem;
}

.service-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.read-more {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}

/* Shield features */
.shield-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.shield-card {
  background: var(--white);
  color: var(--gray-800);
  padding: 2rem 1.5rem;
  border-radius: 12px 12px 8px 8px;
  clip-path: polygon(0 8%, 50% 0, 100% 8%, 100% 100%, 0 100%);
  text-align: center;
  min-height: 220px;
}

.shield-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: rgba(255, 77, 0, 0.12);
  color: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.shield-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.shield-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team-card {
  background: var(--white);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}

.team-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.team-card__body {
  padding: 1.25rem;
}

.team-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--navy);
}

.team-card span {
  display: block;
  color: var(--teal);
  font-size: 0.88rem;
  margin-top: 0.25rem;
}

.team-card__social {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.team-card__social a {
  color: var(--gray-600);
  text-decoration: none;
  font-size: 0.85rem;
}

/* CTA band */
.cta-band {
  background: var(--teal);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath fill='%23ffffff' fill-opacity='0.08' d='M0,64L48,69.3C96,75,192,85,288,80C384,75,480,53,576,48C672,43,768,53,864,64C960,75,1056,85,1152,80C1248,75,1344,53,1392,42.7L1440,32L1440,120L1392,120C1344,120,1248,120,1152,120C1056,120,960,120,864,120C768,120,672,120,576,120C480,120,384,120,288,120C192,120,96,120,48,120L0,120Z'/%3E%3C/svg%3E") bottom center / cover no-repeat;
  opacity: 0.5;
}

.cta-band__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 3rem 0;
}

.cta-band img {
  max-height: 320px;
  justify-self: center;
}

.cta-band h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.75rem;
}

.blog-feature {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
}

.blog-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.blog-feature__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 29, 61, 0.85), transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  background: var(--white);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  overflow: hidden;
}

.blog-item img {
  width: 100%;
  height: 100%;
  min-height: 100px;
  object-fit: cover;
}

.blog-item__body {
  padding: 0.85rem 0.85rem 0.85rem 0;
}

.tag {
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Quote form section */
.quote-section {
  background: var(--navy);
  color: var(--white);
  position: relative;
}

.quote-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
}

.quote-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  position: relative;
  z-index: 1;
}

.quote-form {
  background: var(--white);
  color: var(--gray-800);
  padding: 2rem;
  border-radius: var(--radius);
  max-width: none;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 2rem;
}

.quote-steps {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  counter-reset: step;
}

.quote-step {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.quote-step.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.quote-fields {
  display: grid;
  gap: 1rem;
}

.quote-fields .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.quote-photo {
  max-width: 280px;
  border-radius: var(--radius);
  display: none;
}

@media (min-width: 900px) {
  .quote-photo {
    display: block;
  }
}

/* Partners */
.partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem 3rem;
  opacity: 0.55;
  filter: grayscale(1);
}

.partner-logo {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gray-800);
  letter-spacing: 0.02em;
}

/* Testimonial block */
.testimonial-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: center;
}

.testimonial-split img {
  border-radius: var(--radius);
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.testimonial-box {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  position: relative;
}

.testimonial-box::before {
  content: "\201C";
  font-size: 4rem;
  line-height: 0;
  color: var(--teal);
  opacity: 0.35;
  display: block;
  margin-bottom: 0.5rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 4px solid var(--gray-200);
}

.price-card--featured {
  border-top-color: var(--teal);
  transform: scale(1.03);
}

.price-card h3 {
  margin: 0 0 0.5rem;
  color: var(--navy);
}

.price-card .price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--teal);
  margin: 1rem 0;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  text-align: left;
}

.price-card li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.92rem;
}

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--white);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project-card__body {
  padding: 1.25rem;
}

/* Content prose */
.prose {
  max-width: 52rem;
  margin: 0 auto;
}

.prose h2 {
  color: var(--navy);
  margin-top: 2rem;
}

.prose p,
.prose li {
  color: var(--gray-600);
}

.prose ul {
  padding-left: 1.25rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-form {
  max-width: none;
  background: var(--white);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
}

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
}

.contact-info-card h3 {
  margin-top: 0;
  color: var(--teal);
}

/* Footer extras */
.footer-brand .logo img {
  height: 48px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.88rem;
  opacity: 0.85;
}

.payment-icons {
  display: flex;
  gap: 0.5rem;
  font-size: 0.75rem;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
  margin-top: 2rem;
}

.stat-item strong {
  display: block;
  font-size: 2rem;
  color: var(--teal);
}

.stat-item span {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* Responsive */
@media (max-width: 1024px) {
  .card-grid,
  .shield-grid,
  .team-grid,
  .pricing-grid,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid,
  .split,
  .cta-band__inner,
  .testimonial-split,
  .contact-grid,
  .quote-wrap {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-card);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-header {
    position: relative;
  }

  .site-header__inner {
    flex-wrap: wrap;
  }

  .card-grid,
  .shield-grid,
  .team-grid,
  .pricing-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .price-card--featured {
    transform: none;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .quote-fields .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 480px;
  }
}
