:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-strong: #edf2f7;
  --text: #132032;
  --muted: #4e5f74;
  --primary: #0d3b66;
  --primary-strong: #0a2f52;
  --accent: #f4b942;
  --border: #d8e0ea;
  --shadow: 0 18px 40px rgba(13, 59, 102, 0.12);
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(244, 185, 66, 0.16), transparent 35%),
    radial-gradient(circle at 90% 20%, rgba(13, 59, 102, 0.12), transparent 40%),
    linear-gradient(180deg, #f9fbfd 0%, var(--bg) 85%);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  letter-spacing: 0.02em;
}

p,
li,
label,
input,
textarea,
a,
button {
  font-size: 1.05rem;
}

a {
  color: var(--primary);
}

.app-shell {
  max-width: 1180px;
}

.site-header {
  backdrop-filter: blur(10px);
  background: rgba(13, 34, 56, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.navbar {
  padding: 0.7rem 0;
}

.brand img {
  width: 172px;
  height: auto;
  background: #102d49;
  border-radius: 10px;
  padding: 0.35rem 0.55rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--accent);
}

.navbar-toggler {
  border-color: rgba(244, 185, 66, 0.9);
  background: rgba(13, 59, 102, 0.7);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28244,185,66,0.98%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:hover,
.navbar-toggler:focus-visible {
  border-color: #f4b942;
  background: rgba(13, 59, 102, 0.95);
  box-shadow: 0 0 0 0.2rem rgba(244, 185, 66, 0.2);
}

.cta-link {
  background: var(--accent);
  color: #1d2c3f;
  border-radius: 999px;
  border: 2px solid var(--accent);
  padding: 0.68rem 1.35rem !important;
  font-weight: 700;
  margin-left: 0.4rem;
}

.cta-link:hover,
.cta-link:focus-visible {
  background: #e8aa2f;
  border-color: #e8aa2f;
  color: #1a2837;
}

.site-main {
  padding: 1.6rem 0 3.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.2rem;
  align-items: center;
  background: linear-gradient(140deg, var(--primary) 0%, #14558f 60%, #1f6aad 100%);
  border-radius: 24px;
  padding: 2.6rem;
  color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: rise 0.75s ease-out;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.9rem);
  line-height: 0.95;
  margin-bottom: 1rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 52ch;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-media img {
  width: 100%;
  border-radius: 18px;
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.btn {
  border-radius: 999px;
  padding: 0.68rem 1.35rem;
  font-weight: 700;
  border-width: 2px;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #1d2c3f;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #e8aa2f;
  border-color: #e8aa2f;
  color: #1a2837;
}

.btn-outline-light {
  color: #fff;
}

.section-card {
  margin-top: 1.5rem;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 1.75rem;
  box-shadow: 0 6px 20px rgba(19, 32, 50, 0.05);
  animation: rise 0.6s ease-out;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.value-grid article,
.process-detail-grid article,
.faq-list article {
  background: var(--surface-strong);
  border-radius: 16px;
  padding: 1.2rem;
}

.icon-grid article,
.process-detail-grid article {
  background: #102d49;
  color: #fff;
}

.process-detail-grid article p {
  color: rgba(255, 255, 255, 0.88);
}

.value-grid h2,
.process-detail-grid h2,
.faq-list h2,
.split-section h2,
.callout h2,
.page-header h1 {
  margin-top: 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.split-section img {
  width: 100%;
  border-radius: 16px;
}

.text-link {
  text-decoration: none;
  font-weight: 700;
}

.icon-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.icon-grid article {
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.icon-grid img,
.process-detail-grid img {
  width: 54px;
  height: 54px;
  margin-bottom: 0.65rem;
}

.process-preview > .btn {
  display: block;
  width: fit-content;
  margin: 1.25rem auto 0;
}

.process-detail-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

.process-preview {
  background: linear-gradient(125deg, #0d2238 0%, #123452 55%, #1a4c75 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

.process-preview .eyebrow,
.process-preview h2,
.process-preview h3 {
  color: #ffffff;
}

.callout {
  text-align: center;
  background: linear-gradient(120deg, #0f416f 0%, #16619f 100%);
  color: #fff;
}

.callout p {
  color: rgba(255, 255, 255, 0.9);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
}

.quote-form {
  display: grid;
  gap: 0.9rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.quote-form label {
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid #bccad9;
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  background: #fdfefe;
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: 2px solid rgba(13, 59, 102, 0.25);
  border-color: var(--primary);
}

.contact-aside {
  background: var(--surface-strong);
  border-radius: 16px;
  padding: 1rem;
}

.contact-logo {
  width: 146px;
  margin-bottom: 0.9rem;
  background: #102d49;
  border-radius: 10px;
  padding: 0.35rem 0.55rem;
}

.feature-list {
  margin-bottom: 1rem;
}

.site-footer {
  margin-top: 1rem;
  background: #0d2238;
  color: rgba(255, 255, 255, 0.9);
  padding: 2rem 0 1.2rem;
}

.site-footer h3 {
  font-size: 1.35rem;
  color: #fff;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 1rem;
}

.footer-logo {
  width: 156px;
  margin-bottom: 0.5rem;
  background: #102d49;
  border-radius: 10px;
  padding: 0.35rem 0.55rem;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-list article {
  border-left: 4px solid var(--accent);
  padding: 1.15rem 1.2rem 1.05rem;
}

.faq-list article p {
  margin-bottom: 0;
}

.footer-tagline {
  margin-bottom: 0.35rem;
}

.copyright {
  margin-top: 1.2rem;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.project-grid {
  display: grid;
  gap: 1rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #f9fbfe;
  overflow: hidden;
}

.project-media-slider {
  background: #0f2c48;
  padding: 0.75rem;
}

.project-carousel {
  border-radius: 10px;
  overflow: hidden;
}

.project-carousel-image {
  width: 100%;
  height: clamp(240px, 35vw, 380px);
  object-fit: cover;
  background: #0b1f33;
}

.project-indicators {
  margin-bottom: 0.4rem;
}

.project-indicators button {
  width: 9px !important;
  height: 9px !important;
  border-radius: 50%;
}

.project-carousel .carousel-control-prev,
.project-carousel .carousel-control-next {
  width: 12%;
}

.project-content {
  padding: 1rem;
}

.project-content h2 {
  margin: 0;
}

.project-meta {
  margin-top: 0.7rem;
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 600;
}

.project-placeholder {
  width: 100%;
  min-height: 220px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.9);
  border: 1px dashed rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1199px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .contact-grid,
  .split-section,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .navbar-collapse {
    margin-top: 0.7rem;
    background: #0f2b45;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 0.6rem;
  }

  .cta-link {
    margin-left: 0;
  }

  .navbar-collapse .cta-link {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 0.35rem;
    padding: 0.5rem 0.9rem !important;
    font-size: 0.95rem;
    border-width: 1.5px;
  }

  .value-grid,
  .icon-grid,
  .process-detail-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .project-content {
    padding: 0.8rem;
  }

  .project-carousel-image {
    height: clamp(200px, 52vw, 300px);
  }
}

@media (max-width: 767px) {
  .site-main {
    padding-top: 1rem;
  }

  .hero,
  .section-card {
    padding: 1.2rem;
    border-radius: 16px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }
}