:root {
  --navy: #182c3e;
  --navy-2: #2c5063;
  --teal: #0b91a4;
  --teal-dark: #08798b;
  --blue-mid: #477a96;
  --orange: #dd6427;
  --ink: #263846;
  --muted: #65727c;
  --paper: #ffffff;
  --tint: #f4f7f8;
  --line: #dce5e8;
  --shadow: 0 18px 50px rgba(21, 44, 60, .12);
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 1000;
  background: white; color: var(--navy); padding: 8px 12px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(220,229,232,.9);
  backdrop-filter: blur(12px);
}
.nav-wrap {
  width: min(1120px, calc(100% - 40px)); min-height: 82px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; color: var(--navy); font-size: 1.45rem; }
.brand strong { font-weight: 800; }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: .94rem; font-weight: 500; color: #3c4c59; }
.site-nav a { padding: 28px 0 24px; border-bottom: 3px solid transparent; }
.site-nav a:hover, .site-nav a:focus { color: var(--teal-dark); border-bottom-color: var(--teal); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; }
.menu-toggle span:not(.sr-only) { width: 25px; height: 2px; background: var(--navy); display: block; margin: 5px; }

.hero {
  min-height: 610px; position: relative; display: grid; align-items: center;
  background: url("assets/hero.webp") center 42% / cover no-repeat;
  color: white;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,34,48,.92) 0%, rgba(15,34,48,.78) 46%, rgba(15,34,48,.32) 100%);
}
.hero-content { position: relative; padding: 78px 0; }
.eyebrow, .section-kicker {
  margin: 0 0 14px; font-size: .76rem; line-height: 1.2; letter-spacing: .13em; font-weight: 800; color: var(--teal-dark);
}
.eyebrow, .section-kicker.light { color: #a8e5eb; }
.hero h1 {
  max-width: 760px; margin: 0 0 20px;
  font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -.045em;
}
.hero-copy { max-width: 660px; margin: 0 0 34px; font-size: 1.2rem; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-flex; justify-content: center; align-items: center;
  min-height: 50px; padding: 0 22px; border-radius: 6px; font-weight: 700;
  transition: transform .2s, background .2s, border-color .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: white; }
.button-primary:hover { background: #c8541f; }
.button-ghost { border: 1.5px solid rgba(255,255,255,.75); color: white; }
.button-ghost:hover { background: rgba(255,255,255,.1); border-color: white; }
.button-light { background: white; color: var(--navy); }
.button-light:hover { background: #edf5f6; }

.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: start; }
h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.12; letter-spacing: -.035em; color: var(--navy); }
.lead { font-size: 1.13rem; margin: 34px 0 0; color: #53636f; }
.section-heading { max-width: 720px; margin-bottom: 44px; }
.section-heading.centered { text-align: center; margin: 0 auto 44px; }
.section-heading > p:last-child { color: var(--muted); margin-top: 14px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: white; padding: 34px; border-radius: var(--radius); box-shadow: 0 8px 30px rgba(21,44,60,.07);
  border: 1px solid #e7edef; position: relative; overflow: hidden;
}
.service-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--teal); }
.service-icon {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-2); color: white; font-size: .78rem; letter-spacing: .08em; font-weight: 800;
}
.service-card h3 { margin: 24px 0 10px; color: var(--navy); font-size: 1.35rem; }
.service-card p { color: var(--muted); }
.service-card ul { margin: 22px 0 0; padding: 0; list-style: none; }
.service-card li { position: relative; padding: 7px 0 7px 20px; color: #485a66; }
.service-card li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); position: absolute; left: 0; top: 17px; }

.quote-section { min-height: 510px; position: relative; display: grid; align-items: center; color: white; overflow: hidden; }
.quote-photo { position: absolute; inset: 0; background: url("assets/demonstration.webp") center 44% / cover no-repeat; }
.quote-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,32,45,.94), rgba(14,32,45,.72)); }
.quote-inner { position: relative; padding: 86px 0; }
.quote-carousel { max-width: 880px; min-height: 190px; display: grid; align-items: center; }
.quote {
  display: none; margin: 0; font-family: "Source Serif 4", Georgia, serif; font-style: italic;
  font-size: clamp(1.75rem, 4vw, 3.15rem); line-height: 1.22; letter-spacing: -.02em;
}
.quote.active { display: block; animation: fade .5s ease; }
.quote cite {
  display: block;
  margin-top: 22px;
  font-family: Inter, system-ui, sans-serif;
  font-size: .9rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .04em;
  color: #a8e5eb;
}
@keyframes fade { from { opacity: .15; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.quote-controls { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.quote-controls button {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.48);
  background: transparent; color: white; cursor: pointer;
}
.quote-controls button:hover { background: rgba(255,255,255,.12); }
.quote-dots { display: flex; gap: 8px; }
.quote-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.38); }
.quote-dots span.active { background: var(--teal); }

.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 72px; align-items: center; }
.about-image { position: relative; }
.about-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.image-note {
  position: absolute; right: -26px; bottom: 28px; max-width: 245px; padding: 18px 20px;
  background: var(--navy); color: white; border-radius: 8px; font-size: .86rem; box-shadow: var(--shadow);
}
.about-copy p { color: var(--muted); }
.about-copy h2 { margin-bottom: 26px; }
.text-link { display: inline-flex; gap: 10px; margin-top: 10px; color: var(--teal-dark); font-weight: 800; }
.text-link:hover span { transform: translateX(4px); }
.text-link span { transition: transform .2s; }
.stats {
  margin-top: 70px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stats div { padding: 30px 24px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats strong { display: block; color: var(--navy-2); font-size: 2.05rem; line-height: 1; margin-bottom: 9px; }
.stats span { display: block; color: var(--muted); font-size: .83rem; line-height: 1.4; }

.gallery-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 16px;
}
.gallery-grid figure { margin: 0; position: relative; overflow: hidden; border-radius: 10px; background: var(--navy); }
.gallery-feature { grid-row: 1 / 3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.gallery-grid figure:hover img { transform: scale(1.025); }
.gallery-grid figcaption {
  position: absolute; inset: auto 0 0; padding: 26px 20px 16px; color: white; font-size: .84rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(10,25,35,.82));
}

.contact { padding-top: 0; background: var(--tint); }
.contact-panel {
  background: linear-gradient(120deg, var(--navy), #274f63); color: white; padding: 60px 66px; border-radius: var(--radius);
  display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: center; box-shadow: var(--shadow);
}
.contact-panel h2 { color: white; }
.contact-panel p { color: rgba(255,255,255,.76); max-width: 700px; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.contact-detail { color: rgba(255,255,255,.8); font-size: .88rem; }

footer { background: #102433; color: rgba(255,255,255,.72); padding: 66px 0 26px; }
footer .brand { color: white; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 70px; }
.footer-grid h3 { margin: 0 0 14px; color: white; font-size: .9rem; }
.footer-grid > div:not(:first-child) a { display: block; margin: 9px 0; font-size: .88rem; }
.footer-grid a:hover { color: white; }
.footer-brand p { max-width: 430px; font-size: .9rem; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem;
}

@media (max-width: 900px) {
  .section { padding: 74px 0; }
  .intro-grid, .about-grid, .contact-panel { grid-template-columns: 1fr; gap: 42px; }
  .card-grid { grid-template-columns: 1fr; }
  .service-card { padding: 30px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 360px 240px 240px; }
  .gallery-feature { grid-column: 1 / 3; grid-row: auto; }
  .image-note { right: 18px; }
}
@media (max-width: 700px) {
  .shell, .nav-wrap { width: min(100% - 28px, 1120px); }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute; top: 81px; left: 0; right: 0; padding: 10px 20px 20px; background: white;
    display: none; flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 20px 30px rgba(20,40,55,.12);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .hero { min-height: 570px; background-position: 62% center; }
  .hero-overlay { background: rgba(15,34,48,.78); }
  .hero h1 br { display: none; }
  .intro-grid { gap: 18px; }
  .lead { margin-top: 0; }
  .quote-carousel { min-height: 250px; }
  .stats { grid-template-columns: 1fr; }
  .stats div { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats div:last-child { border-bottom: 0; }
  .gallery-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(5, 280px); }
  .gallery-feature { grid-column: auto; }
  .contact-panel { padding: 42px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


.quote footer {
  margin-top: 18px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-style: normal;
  font-size: .95rem;
  line-height: 1.4;
  letter-spacing: .02em;
  font-weight: 600;
  color: rgba(255,255,255,.82);
}


.quote-author {
  display: block;
  margin-top: 16px;
  font-size: .44em;
  line-height: 1.35;
  font-style: normal;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: .01em;
  color: rgba(255,255,255,.82);
}
