a { color: var(--color-teal); }
a:hover { color: var(--color-orange); }

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-orange);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 9999;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* Top bar */
.top-bar {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  font-size: 0.88rem;
}
.top-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.65rem 0;
}
.top-bar ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--color-muted);
}
.top-bar a { color: var(--color-navy); text-decoration: none; font-weight: 600; }
.top-bar a:hover { color: var(--color-orange); }

/* Main header */
.site-header {
  background: var(--color-navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
}
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.brand__tag {
  font-size: 0.72rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a.is-active {
  color: #fff;
  border-bottom-color: var(--color-orange);
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--orange { background: var(--color-orange); color: #fff; }
.btn--orange:hover { background: var(--color-orange-dark); color: #fff; }
.btn--teal { background: var(--color-teal); color: #fff; }
.btn--teal:hover { background: var(--color-teal-dark); color: #fff; }
.btn--outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn--outline:hover { background: #fff; color: var(--color-navy); }

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  color: #fff;
  background: var(--color-navy);
}
.hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0, 29, 61, 0.88) 0%, rgba(0, 29, 61, 0.45) 55%, rgba(0, 126, 167, 0.35) 100%);
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  padding: 3.5rem 0;
  align-items: center;
}
.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin: 0 0 0.75rem;
  text-transform: capitalize;
}
.hero .lead {
  font-size: 1.05rem;
  max-width: 32rem;
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.92);
}
.hero-quote {
  background: #fff;
  color: var(--color-text);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.hero-quote h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: var(--color-navy);
}
.hero-quote p.sub {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}
.hero-quote form { max-width: none; }
.hero-quote .btn { width: 100%; margin-top: 0.25rem; }

/* Sections */
.section { padding: 4.5rem 0; }
.section--soft { background: var(--color-bg-soft); }
.section--navy {
  background: var(--color-navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section--navy::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(circle at 20% 30%, #fff 1px, transparent 1px);
  background-size: 28px 28px;
}
.section--teal {
  background: linear-gradient(120deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
  color: #fff;
}
.section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}
.section-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-navy);
}
.section-head p { margin: 0; color: var(--color-muted); }
.section--navy .section-head h2,
.section--teal .section-head h2 { color: #fff; }
.section--navy .section-head p,
.section--teal .section-head p { color: rgba(255, 255, 255, 0.85); }
.section-head .eyebrow {
  display: inline-block;
  color: var(--color-orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
}
.section--navy .section-head .eyebrow { color: var(--color-orange); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.split img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  width: 100%;
}
.split h2 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  margin: 0 0 1rem;
  color: var(--color-navy);
}
.split h2 span { color: var(--color-orange); }
.check-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}
.check-list li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: 0.55rem;
  color: var(--color-muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-orange);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 29, 61, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 126, 167, 0.18);
}
.service-card img { width: 100%; height: 200px; object-fit: cover; }
.service-card__body { padding: 1.25rem 1.35rem 1.5rem; }
.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--color-navy);
}
.service-card p { margin: 0 0 0.85rem; font-size: 0.92rem; color: var(--color-muted); }
.service-card a {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--color-teal);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}
.feature-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px 12px 8px 8px;
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.feature-card .icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}
.feature-card h3 { margin: 0 0 0.45rem; font-size: 1rem; }
.feature-card p { margin: 0; font-size: 0.88rem; color: rgba(255, 255, 255, 0.82); }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}
.stat-box {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}
.stat-box strong {
  display: block;
  font-size: 1.65rem;
  color: var(--color-orange);
  font-family: var(--font-display);
}
.stat-box span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.85); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.team-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 29, 61, 0.08);
}
.team-card img { width: 100%; height: 260px; object-fit: cover; }
.team-card__body { padding: 1rem 1rem 1.25rem; }
.team-card h3 { margin: 0; font-size: 1rem; color: var(--color-navy); }
.team-card p { margin: 0.25rem 0 0; font-size: 0.85rem; color: var(--color-teal); font-weight: 600; }

.cta-banner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}
.cta-banner img {
  border-radius: 8px;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}
.cta-banner h2 { margin: 0 0 0.65rem; font-size: 1.75rem; }

.blog-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}
.blog-feature {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 360px;
  color: #fff;
}
.blog-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-feature__content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 29, 61, 0.92), transparent 70%);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.blog-list { display: grid; gap: 1rem; }
.blog-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 29, 61, 0.06);
}
.blog-item img { width: 100%; height: 100%; min-height: 100px; object-fit: cover; }
.blog-item h3 { margin: 0 0 0.35rem; font-size: 0.95rem; color: var(--color-navy); }
.blog-item p { margin: 0; font-size: 0.85rem; color: var(--color-muted); }
.blog-item__body { padding: 0.85rem 0.85rem 0.85rem 0; }

.quote-section {
  display: grid;
  grid-template-columns: 0.35fr 1fr 0.55fr;
  gap: 1.5rem;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.quote-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.5rem;
}
.quote-step {
  background: var(--color-orange);
  color: #fff;
  font-weight: 800;
  font-family: var(--font-display);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.quote-form-wrap {
  background: #fff;
  color: var(--color-text);
  border-radius: 8px;
  padding: 1.75rem;
}
.quote-form-wrap h2 { margin: 0 0 0.5rem; color: var(--color-navy); }
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.quote-section img {
  border-radius: 8px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  margin-bottom: 2.5rem;
}
.partner-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: #9aa3ad;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.partner-logo:hover { color: var(--color-teal); }

.testimonial-slider {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.testimonial-slider [data-slide] {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  border: 1px solid #e4e9ee;
  box-shadow: var(--shadow);
  color: var(--color-muted);
}
.testimonial-slider [data-slide] p { margin: 0 0 0.75rem; }
.testimonial-slider [data-slide] strong { color: var(--color-navy); }

.testimonial-slide-card {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  border: 1px solid #e4e9ee;
  box-shadow: var(--shadow);
}
.testimonial-slide-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.5rem;
  border: 3px solid var(--color-orange);
}
.testimonial-slide-card p {
  margin: 0 0 0.75rem;
  color: var(--color-muted);
}
.testimonial-slide-card strong {
  color: var(--color-navy);
}

.section--navy .testimonial-slider [data-slide] {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
  color: rgba(255, 255, 255, 0.88);
}
.section--navy .testimonial-slider [data-slide] strong { color: #fff; }
.testimonial-slider img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid var(--color-orange);
}
.stars {
  display: block;
  color: var(--color-orange);
  font-size: 1.45rem;
  line-height: 1;
  margin: 0.35rem 0 0.85rem;
  letter-spacing: 0.22em;
}
.stars::before {
  content: "\2605\2605\2605\2605\2605";
}
.testimonial-slider .stars { margin-bottom: 0.75rem; }
.slider-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.slider-controls button {
  background: var(--color-orange);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.75rem;
}

/* Inner pages */
.page-hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, #003566 55%, var(--color-teal-dark) 100%);
  color: #fff;
  padding: 3.25rem 0;
  text-align: center;
}
.page-hero h1 { margin: 0 0 0.5rem; font-size: clamp(1.75rem, 3.5vw, 2.35rem); }
.page-hero p { margin: 0; max-width: 40rem; margin-inline: auto; color: rgba(255, 255, 255, 0.88); }
.breadcrumb {
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
  opacity: 0.85;
}
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.content-prose {
  max-width: 52rem;
  margin: 0 auto;
}
.content-prose h2 {
  margin: 2rem 0 0.75rem;
  color: var(--color-navy);
  font-size: 1.35rem;
}
.content-prose h3 { margin: 1.5rem 0 0.5rem; color: var(--color-teal-dark); font-size: 1.1rem; }
.content-prose p,
.content-prose li { color: var(--color-muted); }
.content-prose ul { padding-left: 1.25rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.price-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--color-teal);
  display: flex;
  flex-direction: column;
}
.price-card--featured {
  border-top-color: var(--color-orange);
  transform: scale(1.03);
}
.price-card h3 { margin: 0; color: var(--color-navy); }
.price-card .price {
  font-size: 2rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-orange);
  margin: 0.75rem 0;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  flex: 1;
}
.price-card li {
  padding: 0.4rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
  color: var(--color-muted);
}
.price-card .btn { width: 100%; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.project-card {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.project-card img { width: 100%; height: 220px; object-fit: cover; }
.project-card__body { padding: 1.25rem; }
.project-card h3 { margin: 0 0 0.5rem; color: var(--color-navy); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-info-box {
  background: var(--color-bg-soft);
  padding: 1.75rem;
  border-radius: 8px;
  border-left: 4px solid var(--color-orange);
}
.contact-info-box h2 { margin-top: 0; color: var(--color-navy); }
.form-panel {
  background: #fff;
  padding: 1.75rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.form-panel form { max-width: none; }

[data-form-status] {
  color: var(--color-teal-dark);
  margin-top: 0.5rem;
}

.site-footer .footer-brand img { width: 48px; margin-bottom: 0.75rem; }
.site-footer .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-top: 0.75rem;
}
.site-footer .social-links a {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  font-size: 0.8rem;
}

@media (max-width: 992px) {
  .hero__grid,
  .split,
  .cta-banner,
  .blog-grid,
  .quote-section,
  .contact-layout { grid-template-columns: 1fr; }
  .card-grid,
  .feature-grid,
  .team-grid,
  .pricing-grid,
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .quote-steps { flex-direction: row; }
  .price-card--featured { transform: none; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .main-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-navy);
    flex-direction: column;
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .main-nav { position: relative; }
  .main-nav.is-open ul { display: flex; }
  .main-nav .btn--orange { display: none; }
  .card-grid,
  .feature-grid,
  .team-grid,
  .pricing-grid,
  .project-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .blog-item { grid-template-columns: 1fr; }
  .blog-item img { min-height: 160px; }
}
