:root {
  --deep-teal: #002f3a;
  --blue-gray: #c8dce6;
  --soft-blue: #eaf3f7;
  --warm-gray: #6f6a67;
  --charcoal: #15232b;
  --white: #ffffff;
  --cream: #f7f4ef;
  --shadow: rgba(0, 47, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--soft-blue);
  color: var(--charcoal);
  line-height: 1.6;
}

header {
  background:
    linear-gradient(
      90deg,
      rgba(234, 243, 247, 0.96),
      rgba(200, 220, 230, 0.9)
    );
  color: var(--deep-teal);
  padding: 46px 24px 42px;
  text-align: center;
  border-bottom: 1px solid rgba(0, 47, 58, 0.12);
}

.hero-inner {
  max-width: 920px;
  margin: 0 auto;
}

.hero-logo {
  display: block;
  width: min(360px, 78vw);
  height: auto;
  margin: 0 auto 18px;
}

.hero-kicker {
  margin: 0 auto 14px;
  color: var(--deep-teal);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
}

.hero-copy {
  max-width: 640px;
  margin: 0 auto;
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--charcoal);
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 300;
  letter-spacing: 3px;
}

header p {
  max-width: 760px;
  margin: 22px auto 0;
  font-size: clamp(18px, 2vw, 23px);
  color: var(--charcoal);
}

nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 47, 58, 0.12);
  padding: 17px 24px;
  text-align: center;
}

nav a {
  color: var(--deep-teal);
  text-decoration: none;
  margin: 0 18px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

nav a:hover {
  color: var(--warm-gray);
}

section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 24px;
}

h2 {
  font-size: clamp(32px, 4vw, 46px);
  margin: 0 0 18px;
  color: var(--deep-teal);
  font-weight: 400;
  letter-spacing: 0.5px;
}

p {
  font-size: 17px;
}

.link-header-banner {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
  background: var(--soft-blue);
}

.link-header-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.section-intro {
  max-width: 920px;
  margin-bottom: 42px;
}

.section-label {
  margin: 0 0 12px;
  color: var(--warm-gray);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.section-intro h2 {
  max-width: 860px;
}

.section-intro p {
  max-width: 900px;
  font-size: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.about-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 47, 58, 0.1);
  box-shadow: 0 18px 40px var(--shadow);
  padding: 28px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--deep-teal), var(--blue-gray));
}

.about-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--soft-blue);
  color: var(--deep-teal);
  border: 1px solid rgba(0, 47, 58, 0.12);
  border-radius: 999px;
  font-size: 24px;
  margin-bottom: 18px;
}

.about-card h3 {
  margin: 0 0 12px;
  color: var(--deep-teal);
  font-size: 20px;
}

.about-card p {
  margin: 0;
  font-size: 15.5px;
  color: var(--charcoal);
}

@media screen and (max-width: 1000px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 640px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.local-section {
  max-width: none;
  width: 100%;
  padding: 72px 24px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.88),
      rgba(200, 220, 230, 0.55)
    );
  border-top: 1px solid rgba(0, 47, 58, 0.1);
  border-bottom: 1px solid rgba(0, 47, 58, 0.1);
}

.local-content {
  max-width: 1040px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.78);
  border-left: 6px solid var(--deep-teal);
  box-shadow: 0 18px 40px var(--shadow);
  padding: 42px;
}

.local-content h2 {
  max-width: 900px;
}

.local-content p {
  max-width: 920px;
  font-size: 18px;
}

@media screen and (max-width: 700px) {
  .local-section {
    padding: 52px 18px;
  }

  .local-content {
    padding: 32px 24px;
  }

  .local-content p {
    font-size: 16.5px;
  }
}

.services-section {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.services-section .section-intro {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.services-slider {
  position: relative;
  width: 100%;
  margin-top: 36px;
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(0, 47, 58, 0.1);
  border-bottom: 1px solid rgba(0, 47, 58, 0.1);
  box-shadow: 0 22px 48px var(--shadow);
  overflow: hidden;
}

.service-slide {
  display: none;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}

.service-slide.active {
  display: grid;
}

.service-slide-reverse .service-image {
  order: 2;
}

.service-slide-reverse .service-content {
  order: 1;
}

.service-image {
  background: var(--blue-gray);
  min-height: 540px;
}

.service-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.service-content {
  padding: 56px 52px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-eyebrow {
  margin: 0 0 10px;
  color: var(--warm-gray);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.service-content h3 {
  margin: 0 0 16px;
  color: var(--deep-teal);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 400;
  line-height: 1.1;
}

.service-summary {
  margin: 0 0 26px;
  font-size: 17px;
  color: var(--charcoal);
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 15px;
  font-size: 15.5px;
  color: var(--charcoal);
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  background: var(--deep-teal);
  border-radius: 999px;
}

.service-list strong {
  color: var(--deep-teal);
}

.slider-controls {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border: 1px solid var(--deep-teal);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.slider-dot.active {
  background: var(--deep-teal);
}

@media screen and (max-width: 900px) {
  .service-slide,
  .service-slide.active {
    grid-template-columns: 1fr;
  }

  .service-image {
    min-height: 320px;
  }

  .service-content {
    padding: 42px 28px 72px;
  }
}

@media screen and (max-width: 640px) {
  .service-image {
    min-height: 240px;
  }

  .service-content {
    padding: 34px 22px 68px;
  }

  .service-list li {
    font-size: 15px;
  }
}

.testimonials-section {
  max-width: 1180px;
  padding-top: 78px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.testimonial-card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 47, 58, 0.1);
  box-shadow: 0 18px 40px var(--shadow);
  padding: 34px;
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, var(--deep-teal), var(--blue-gray));
}

.testimonial-mark {
  color: var(--blue-gray);
  font-size: 76px;
  line-height: 0.8;
  font-family: Georgia, serif;
  margin-bottom: 10px;
}

.testimonial-card p {
  margin: 0 0 28px;
  font-size: 16px;
  color: var(--charcoal);
}

.testimonial-meta {
  border-top: 1px solid rgba(0, 47, 58, 0.12);
  padding-top: 18px;
}

.testimonial-meta strong {
  display: block;
  color: var(--deep-teal);
  font-size: 16px;
  margin-bottom: 6px;
}

.testimonial-meta span {
  display: block;
  color: var(--warm-gray);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

@media screen and (max-width: 1000px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Homepage quote/contact CTA */
.contact-box {
  max-width: 1040px;
  margin: 0 auto;
  background:
    linear-gradient(
      135deg,
      rgba(0, 47, 58, 0.96),
      rgba(13, 70, 84, 0.94)
    );
  color: var(--white);
  text-align: center;
  padding: 58px 42px;
  border-radius: 6px;
  box-shadow: 0 22px 48px rgba(0, 47, 58, 0.22);
}

.contact-box .section-label {
  display: block;
  width: 100%;
  color: var(--blue-gray);
  margin: 0 auto 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  text-align: center;
}

.contact-box h2 {
  max-width: 760px;
  margin: 0 auto 22px;
  color: var(--white);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.12;
}

.contact-box p {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.contact-actions a {
  display: inline-block;
  min-width: 190px;
  background: var(--white);
  color: var(--deep-teal);
  padding: 15px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.4px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contact-actions a:hover {
  background: var(--blue-gray);
  transform: translateY(-2px);
}

.contact-actions .secondary-action {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.contact-actions .secondary-action:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

@media screen and (max-width: 640px) {
  .contact-box {
    padding: 42px 24px;
  }

  .contact-actions {
    flex-direction: column;
    align-items: center;
  }

  .contact-actions a {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}

.contact-hero {
  padding: 44px 24px 40px;
}

.contact-page {
  background: var(--soft-blue);
}

.contact-layout {
  max-width: 1180px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: stretch;
}

.contact-info-panel,
.contact-card-large {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 47, 58, 0.1);
  box-shadow: 0 18px 40px var(--shadow);
  padding: 42px;
}

.contact-info-panel h1 {
  margin: 0 0 20px;
  color: var(--deep-teal);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.08;
}

.contact-info-panel p {
  max-width: 760px;
  font-size: 18px;
}

.contact-methods {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.contact-method {
  border-left: 5px solid var(--deep-teal);
  padding: 16px 18px;
  background: var(--soft-blue);
}

.contact-method span {
  display: block;
  color: var(--warm-gray);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contact-method a {
  color: var(--deep-teal);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}

.contact-card-large {
  background:
    linear-gradient(
      135deg,
      var(--deep-teal),
      #0d4654
    );
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-card-large h2 {
  color: var(--white);
  margin-bottom: 18px;
}

.contact-card-large p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}

.contact-button {
  display: inline-block;
  width: fit-content;
  margin-top: 22px;
  padding: 15px 28px;
  border-radius: 999px;
  background: var(--white);
  color: var(--deep-teal);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.contact-button.secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.58);
  margin-top: 14px;
}

.contact-button:hover {
  background: var(--blue-gray);
}

.contact-button.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.contact-social-block {
  margin-top: 32px;
}

.contact-social-block h3 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 17px;
}

.contact-social-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  opacity: 0.82;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-social-icons a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.contact-social-icons img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

@media screen and (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info-panel,
  .contact-card-large {
    padding: 32px 24px;
  }

  .contact-method a {
    font-size: 19px;
  }
}

.quote-page {
  background: var(--soft-blue);
}

.quote-layout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px;
}

.quote-intro {
  max-width: 900px;
  margin: 0 auto 36px;
  text-align: center;
}

.quote-intro h1 {
  margin: 0 0 20px;
  color: var(--deep-teal);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.08;
}

.quote-intro p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
}

.quote-form-wrapper {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 47, 58, 0.1);
  box-shadow: 0 18px 40px var(--shadow);
  padding: 22px;
  overflow: hidden;
}

.quote-form-wrapper iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

@media screen and (max-width: 700px) {
  .quote-layout {
    padding: 52px 16px;
  }

  .quote-form-wrapper {
    padding: 10px;
  }
}

.legal-page {
  background: var(--soft-blue);
}

.legal-content {
  max-width: 920px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 47, 58, 0.1);
  box-shadow: 0 18px 40px var(--shadow);
  padding: 52px;
}

.legal-content h1 {
  margin: 0 0 24px;
  color: var(--deep-teal);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.08;
}

.legal-content h2 {
  margin-top: 38px;
  margin-bottom: 12px;
  color: var(--deep-teal);
  font-size: 26px;
  font-weight: 500;
}

.legal-content p {
  font-size: 16.5px;
  color: var(--charcoal);
}

.legal-content a {
  color: var(--deep-teal);
  font-weight: 700;
}

@media screen and (max-width: 700px) {
  .legal-content {
    padding: 34px 24px;
  }

  .legal-content h2 {
    font-size: 23px;
  }
}

.site-footer {
  background: var(--deep-teal);
  color: rgba(255, 255, 255, 0.82);
  padding: 64px 24px 28px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1.85fr;
  gap: 54px;
  align-items: start;
}

.footer-brand h2 {
  color: var(--white);
  font-size: 30px;
  font-weight: 400;
  margin: 0 0 12px;
}

.footer-brand p {
  max-width: 420px;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.footer-brand p:first-of-type {
  color: var(--blue-gray);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.footer-links h3 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 15px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 15px;
}

.footer-links a:hover {
  color: var(--blue-gray);
}

.footer-social-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 0;
}

.footer-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0;
  opacity: 0.78;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-social-icons a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-social-icons img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-bottom {
  max-width: 1180px;
  margin: 46px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
  text-align: center;
}

@media screen and (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media screen and (max-width: 700px) {
  header {
    padding: 48px 20px 44px;
  }

  .hero-logo {
    width: min(360px, 92vw);
    margin-bottom: 22px;
  }

  .hero-kicker {
    font-size: 14px;
    letter-spacing: 2px;
  }

  nav a {
    display: inline-block;
    margin: 6px 10px;
  }

  section {
    padding: 56px 20px;
  }

  .card {
    padding: 28px;
  }
  @media screen and (max-width: 700px) {
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer-social-icons {
    justify-content: center;
  }
}
}
