:root {
  --bg: #f5f8fb;
  --surface: #ffffff;
  --surface-strong: #eef3f8;
  --text: #1f2937;
  --muted: #64748b;
  --primary: #0f5fa3;
  --primary-dark: #0b4c85;
  --accent: #17a085;
  --accent-dark: #117563;
  --border: #d6e2ec;
  --shadow: 0 18px 40px rgba(15, 95, 163, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f6faff 0%, #eff5fb 100%);
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 95, 163, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.main-nav a {
  color: var(--text);
  font-weight: 500;
}

.header-actions {
  display: flex;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.8rem;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 14px 30px rgba(15, 95, 163, 0.15);
}

.button:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
  box-shadow: 0 18px 36px rgba(15, 95, 163, 0.2);
}

.button-secondary {
  background: rgba(15, 95, 163, 0.12);
  color: var(--primary);
  border: 1px solid rgba(15, 95, 163, 0.16);
}

.button-secondary:hover {
  background: rgba(15, 95, 163, 0.18);
}

.section {
  padding: 5.5rem 0;
}

.section + .section {
  padding-top: 4.5rem;
}

.page-intro {
  background: linear-gradient(180deg, #f8fbff 0%, #f5f8fb 100%);
  border-bottom: 1px solid rgba(15, 95, 163, 0.08);
}

.section:nth-of-type(even):not(.hero) {
  background: #f8fbff;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.page-intro .section-heading {
  text-align: center;
}

.section-heading h1,
.section-heading h2 {
  color: var(--text);
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.section-heading p {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 60ch;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent-dark);
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.1;
}

p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.8;
}

.hero {
  background-image: linear-gradient(180deg, rgba(15,95,163,0.52), rgba(15,95,163,0.18)), url('https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 80vh;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero .hero-copy p,
.hero .trust-bar span {
  color: rgba(255,255,255,0.92);
}

.hero-copy h1 {
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.hero .button,
.hero .button-secondary {
  min-width: 170px;
}

.hero .button-secondary {
  background: rgba(255,255,255,0.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  color: var(--text);
}

.hero-form-card {
  position: relative;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(15, 95, 163, 0.12);
}

.lead-form label,
.form-card label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.lead-form input,
.lead-form textarea,
.lead-form select,
.form-card input,
.form-card textarea,
.form-card select,
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(15, 95, 163, 0.18);
  border-radius: 1rem;
  background: #f8fbff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus,
.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 6px rgba(15, 95, 163, 0.12);
  transform: translateY(-1px);
}

.privacy-note {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.search-box {
  margin-bottom: 1.5rem;
}

.search-box input {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid #cbd5e1;
  background: #f8fbff;
}

.services-preview .services-grid,
.services-list .services-grid,
.testimonial-grid,
.team-grid,
.stats-grid,
.certification-grid,
.benefits-grid,
.faq-grid,
.category-grid,
.gallery-grid,
.why-grid,
.subcontracting-grid {
  display: grid;
  gap: 1.5rem;
}

.service-card,
.category-card,
.faq-card,
.team-card,
.stat-card,
.certification-card,
.benefit-card,
.contact-card,
.direct-contact,
.policy-card,
.trust-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-grid .service-card,
.category-card,
.faq-card,
.team-card,
.stat-card,
.certification-card,
.benefit-card,
.contact-card,
.direct-contact,
.policy-card,
.trust-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 12px 30px rgba(15, 95, 163, 0.06);
}

.services-grid .service-card {
  min-height: 220px;
}

.services-grid .service-card:hover,
.category-card:hover,
.faq-card:hover,
.team-card:hover,
.certification-card:hover,
.benefit-card:hover,
.contact-card:hover,
.direct-contact:hover,
.policy-card:hover,
.trust-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 45px rgba(15, 95, 163, 0.12);
}

.service-card h3,
.category-card h2,
.faq-card h3,
.team-card h3,
.certification-card h3,
.benefit-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p,
.category-card p,
.faq-card p,
.team-card p,
.certification-card p,
.benefit-card p {
  margin-bottom: 0;
}

.highlight-section {
  background: #f8fbff;
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
}

.trust-card {
  border: none;
  background: linear-gradient(180deg, #fff 0%, #eef7ff 100%);
}

.trust-list {
  display: grid;
  gap: 1rem;
}

.testimonial-card {
  min-height: 220px;
}

.testimonial-card span {
  display: block;
  margin-top: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.cta-banner {
  background: linear-gradient(90deg, rgba(15,95,163,0.95), rgba(23,160,133,0.95));
  color: #fff;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 3rem 0;
}

.cta-banner-inner h2 {
  margin-bottom: 0.5rem;
}

.cta-banner p {
  max-width: 560px;
}

.cta-banner .button {
  background: #fff;
  color: var(--primary);
}

.site-footer {
  background: #0c3f78;
  color: #eef2ff;
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer-branding,
.footer-links,
.footer-info {
  display: grid;
  gap: 1rem;
}

.footer-grid h3 {
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
}

.footer-links a,
.footer-branding p a,
.footer-bottom a {
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover,
.footer-branding p a:hover,
.footer-bottom a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.footer-branding p,
.footer-info p {
  color: #cbd5e1;
  line-height: 1.85;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.5rem 0 0;
  flex-wrap: wrap;
}

.footer-links h3,
.footer-info h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.05rem;
}

.footer-links a {
  display: inline-block;
  color: #dbeafe;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-branding a,
.footer-bottom a,
.footer-branding p a {
  color: #dbeafe;
}

.footer-branding p,
.footer-info p {
  color: #cbd5e1;
  line-height: 1.8;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-badges span {
  display: inline-flex;
  margin: 0;
  padding: 0.55rem 0.9rem;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 0.88rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.5rem 0 0;
}

.footer-bottom p,
.footer-bottom a {
  color: #dbeafe;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  animation: fadeInUp 0.6s ease both;
}

.live-chat-widget {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: min(360px, calc(100% - 2rem));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  transform: translateY(120%);
  transition: transform 0.3s ease;
  overflow: hidden;
  z-index: 50;
}

.live-chat-widget.open {
  transform: translateY(0);
}

.live-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.live-chat-header h3 {
  margin: 0;
}

.live-chat-widget p,
.live-chat-widget a {
  padding: 0 1.5rem 1.5rem;
}

.live-chat-widget button {
  border: none;
  background: none;
  font-size: 1rem;
  cursor: pointer;
}

.contact-grid,
.about-grid,
.subcontracting-grid,
.map-section .container,
.gallery-grid {
  display: grid;
  gap: 2rem;
}

.contact-grid {
  grid-template-columns: 1.65fr 1fr;
  align-items: start;
}

.contact-card,
.direct-contact {
  gap: 1.25rem;
}

.contact-card {
  display: grid;
  padding: 2.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  border: 1px solid rgba(15, 95, 163, 0.12);
  box-shadow: 0 22px 50px rgba(15, 95, 163, 0.08);
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.form-field {
  display: grid;
  gap: 0.5rem;
}

.form-field.full-width {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 700;
  color: #10315e;
  letter-spacing: 0.01em;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(15, 95, 163, 0.18);
  background: #f8fcff;
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(17, 52, 93, 0.55);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 6px rgba(15, 95, 163, 0.12);
  transform: translateY(-1px);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-actions .button {
  box-shadow: 0 14px 25px rgba(15, 95, 163, 0.12);
}

.privacy-note {
  color: #3c5b7d;
  font-size: 0.95rem;
}

.privacy-note a {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.25s ease;
}

.privacy-note a:hover {
  color: var(--accent);
}

.form-actions .button {
  width: auto;
  padding: 1rem 1.95rem;
}

.contact-info .card {
  background: #f2f8ff;
}

.direct-contact {
  background: #ffffff;
}

.direct-contact h3 {
  margin-top: 0;
}

.direct-contact h3 {
  margin-top: 0;
}

.map-frame {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 1rem;
  color: var(--text);
  font-weight: 600;
}

.policy-card {
  max-width: 900px;
  margin: 0 auto;
}

.table-wrap {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  border: 1px solid var(--border);
  text-align: left;
}

.comparison-table thead {
  background: #f8fbff;
}

.requirements-list,
.why-grid ul,
.trust-list,
.grid .service-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.requirements-list li::before,
.grid .service-card ul li::before,
.why-grid ul li::before {
  content: "•";
  color: var(--accent);
  margin-right: 0.5rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .contact-grid,
  .highlight-grid,
  .gallery-grid,
  .about-grid,
  .subcontracting-grid,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-toggle {
    display: inline-flex;
    align-self: flex-end;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    gap: 0.65rem;
    background: var(--surface);
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 0.95rem;
    background: rgba(15, 95, 163, 0.05);
    color: var(--text);
  }

  .header-actions {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 2rem 0;
  }

  .container {
    width: min(1140px, calc(100% - 1.5rem));
  }

  .hero-grid,
  .contact-grid,
  .highlight-grid,
  .gallery-grid,
  .about-grid,
  .subcontracting-grid,
  .why-grid,
  .footer-grid,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions .button {
    width: 100%;
  }

  .contact-info {
    display: grid;
    gap: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
  }

  .footer-links,
  .footer-info,
  .footer-branding {
    text-align: left;
  }

  .footer-links a {
    display: inline-block;
    margin-bottom: 0.65rem;
  }

  .table-wrap,
  .policy-card {
    overflow-x: auto;
  }

  .gallery-item img {
    width: 100%;
    height: auto;
  }

  .section-heading h2 {
    font-size: 1.9rem;
  }

  .section-heading p.eyebrow {
    font-size: 0.95rem;
  }
}
