:root {
  --blue: #0071b0;
  --blue-dark: #044f79;
  --orange: #db630c;
  --orange-dark: #b84d00;
  --ink: #17202a;
  --muted: #607080;
  --light: #f4f8fb;
  --white: #ffffff;
  --border: #dbe6ee;
  --shadow: 0 24px 60px rgba(10, 38, 64, 0.14);
  --radius: 22px;
  --max: 1160px;
}

* { 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(--white);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}
.narrow { max-width: 820px; }
.section { padding: 88px 0; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 1000;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus { left: 12px; }
.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 230, 238, 0.85);
}
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: var(--white);
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  box-shadow: 0 10px 25px rgba(0, 113, 176, 0.24);
}
.brand-text { display: grid; line-height: 1.1; }
.brand-text small { color: var(--muted); }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.96rem;
}
.nav-menu a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}
.nav-menu a:hover { color: var(--orange); }
.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white) !important;
}
.nav-cta:hover { background: var(--orange); }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-expanded="true"] { color: var(--orange); }
.nav-caret {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.nav-dropdown-toggle[aria-expanded="true"] .nav-caret { transform: rotate(-135deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  min-width: 220px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 30;
}
.nav-dropdown-menu.is-open { display: flex; }
.nav-dropdown-menu a {
  padding: 11px 14px;
  border-radius: 10px;
  font-weight: 700;
}
.nav-dropdown-menu a:hover { background: var(--light); color: var(--orange); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--light);
  cursor: pointer;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(219, 99, 12, 0.13), transparent 28%),
    linear-gradient(135deg, #eef7fc 0%, #ffffff 48%, #f7fbff 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% 45%;
  height: 400px;
  background: rgba(0, 113, 176, 0.08);
  transform: rotate(-8deg);
  border-radius: 60px;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
h1, h2, h3 { line-height: 1.12; margin: 0 0 18px; }
h1 {
  font-size: clamp(2.45rem, 6vw, 5rem);
  letter-spacing: -0.06em;
  max-width: 940px;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.045em;
}
h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
p { margin: 0 0 18px; }
.lead {
  font-size: clamp(1.05rem, 2vw, 1.26rem);
  color: #394b5c;
  max-width: 680px;
}
.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 16px 32px rgba(219, 99, 12, 0.24);
}
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary {
  background: var(--white);
  color: var(--blue-dark);
  border: 1px solid var(--border);
}
.btn-secondary:hover { box-shadow: var(--shadow); }
.trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}
.trust-list li {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,0.74);
  color: var(--muted);
}
.trust-list strong { display: block; color: var(--ink); }
.hero-media {
  position: relative;
  min-height: 560px;
}
.hero-media img {
  height: 620px;
  width: 100%;
  object-fit: cover;
  object-position: center 58%;
  border-radius: 32px;
  box-shadow: var(--shadow);
}
.hero-card {
  position: absolute;
  left: -24px;
  bottom: 38px;
  display: grid;
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.hero-card span { color: var(--muted); }

.intro-block { background: var(--blue); color: var(--white); }
.intro-block p { color: rgba(255,255,255,0.86); font-size: 1.08rem; }

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}
.section-heading > p:last-child { color: var(--muted); font-size: 1.06rem; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.service-card,
.reference-card,
.region-panel,
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--orange);
  box-shadow: 0 12px 32px rgba(10, 38, 64, 0.07);
  color: var(--white);
  text-align: center;
}
.service-card {
  padding: 28px;
}
.service-card p { color: var(--white); }
.icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--light);
  font-size: 1.4rem;
}

.region { background: var(--light); }
.region-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 38px;
  align-items: start;
}
.region-grid p { color: #415365; }
.region-panel { padding: 28px; }
.region-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.region-panel li {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--light);
  font-weight: 800;
}

.references { background: var(--white); }
.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.reference-card {
  padding: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  text-align: left;
  overflow: hidden;
}
.reference-card img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
}
.reference-card-body {
  padding: 22px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.reference-card h3 { margin: 0; }
.reference-card-body p { color: var(--white); margin: 0; }
.reference-card span {
  margin-top: auto;
  padding-top: 6px;
  display: inline-flex;
  color: var(--white);
  font-weight: 900;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

/* Make entire card clickable when wrapped in a link */
.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.card-link:focus-visible {
  outline: 3px solid rgba(219,99,12,0.18);
  outline-offset: 6px;
  border-radius: 12px;
}

.seo-plan { background: #fbfcfe; }
.landing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.landing-grid a {
  padding: 16px;
  border-radius: 16px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 900;
  color: var(--blue-dark);
}
.landing-grid a:hover { border-color: var(--orange); color: var(--orange); }

.faq { background: var(--light); }
details {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  padding: 18px 20px;
  margin: 12px 0;
}
summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 1.08rem;
}
details p { margin: 14px 0 0; color: var(--muted); }

.contact {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0,113,176,0.94), rgba(4,79,121,0.98)),
    radial-gradient(circle at top right, rgba(219, 99, 12, 0.4), transparent 32%);
}
.contact .eyebrow { color: #ffd7b7; }
.contact p { color: rgba(255,255,255,0.84); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
}
.contact-card {
  padding: 30px;
  color: var(--white);
  font-style: normal;
}
.contact-card a { color: var(--white); font-weight: 900; }

.site-footer {
  padding: 46px 0 26px;
  background: linear-gradient(160deg, #0a3a59 0%, #062b44 52%, #041d30 100%);
  color: rgba(255,255,255,0.78);
}
.site-footer strong { color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: start;
}
.footer-grid p { max-width: 620px; margin: 8px 0 0; }
.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}
.footer-grid a,
.footer-bottom a {
  color: rgba(255,255,255,0.86);
  text-decoration: none;
}
.footer-grid a:hover,
.footer-bottom a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero {
  position: relative;
  overflow: hidden;
  background: #07131d;
}
.hero-slider {
  min-height: min(820px, calc(100vh - 78px));
  display: grid;
  align-items: stretch;
  color: var(--white);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s ease, transform 5.5s ease;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.hero-slide:nth-child(2) img { object-position: center 46%; }
.hero-slide:nth-child(3) img { object-position: center 68%; }
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 19, 29, 0.88) 0%, rgba(7, 19, 29, 0.68) 38%, rgba(7, 19, 29, 0.24) 100%),
    linear-gradient(0deg, rgba(7, 19, 29, 0.62) 0%, rgba(7, 19, 29, 0.04) 48%, rgba(7, 19, 29, 0.32) 100%);
}
.hero-slider-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  min-height: min(820px, calc(100vh - 78px));
  padding-block: 96px 120px;
}
.hero-copy-panel {
  max-width: 820px;
}
.hero-copy-panel--centered {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}
.hero-copy-panel--centered .lead { margin-inline: auto; }
.hero-copy-panel--centered .hero-actions { justify-content: center; }
.hero-copy-panel .eyebrow { color: #ffd7b7; }
.hero-copy-panel .lead {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.18);
}
.hero-copy-panel h1 {
  color: var(--white);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
.slider-controls {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.slider-arrow,
.slider-dot {
  border: 0;
  cursor: pointer;
}
.slider-arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  font-size: 2rem;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}
.slider-arrow:hover,
.slider-arrow:focus-visible {
  background: var(--orange);
  transform: translateY(-2px);
}
.slider-dots {
  display: flex;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(7, 19, 29, 0.34);
  backdrop-filter: blur(14px);
}
.slider-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  transition: width 0.25s ease, background 0.25s ease;
}
.slider-dot.is-active {
  width: 34px;
  background: var(--orange);
}
.trust-section {
  position: relative;
  z-index: 3;
  padding: 0 0 54px;
  background: var(--white);
}
.trust-list-below {
  margin-top: -42px !important;
  padding: 20px !important;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.trust-list-below li {
  background: var(--light);
}

.reviews {
  background:
    radial-gradient(circle at top left, rgba(219, 99, 12, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.review-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(10, 38, 64, 0.07);
}

.review-stars {
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.review-card blockquote {
  margin: 0;
  color: #394b5c;
  font-size: 1.05rem;
  line-height: 1.65;
}

.review-author {
  margin-top: auto;
  padding-top: 24px;
  display: grid;
  gap: 2px;
}

.review-author strong {
  color: var(--ink);
}

.review-author span {
  color: var(--muted);
  font-size: 0.95rem;
}

.reviews-cta {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

@media (max-width: 980px) {
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .review-card {
    min-height: auto;
  }
}


@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    inset: 78px 20px auto 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 13px 12px; border-radius: 12px; }
  .nav-menu a:hover { background: var(--light); }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 13px 12px;
    border-radius: 12px;
  }
  .nav-dropdown-toggle:hover { background: var(--light); }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    display: none;
    min-width: 0;
    margin: 0 0 0 14px;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: none;
  }
  .nav-dropdown-menu.is-open { display: flex; }
  .hero-grid,
  .region-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-media { min-height: auto; }
  .hero-media img { height: 520px; }
  .card-grid,
  .reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .landing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 62px 0; }
  .hero { padding-top: 20px; }
  .hero-media img { height: 420px; border-radius: 24px; }
  .hero-card { left: 12px; right: 12px; bottom: 16px; }
  .trust-list,
  .card-grid,
  .reference-grid,
  .landing-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .footer-grid nav { justify-content: flex-start; }
  .brand-text small { display: none; }
}

/* Slide-in / reveal utilities */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(.2,.9,.3,1), transform 700ms cubic-bezier(.2,.9,.3,1);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

.reveal.slide-left { transform: translateX(-28px); }
.reveal.slide-right { transform: translateX(28px); }
.reveal.slide-up { transform: translateY(22px); }

/* Allow stagger via data-delay attribute */
.reveal[data-delay] { transition-delay: var(--reveal-delay, 0ms); }

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.in-view {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Default targets: apply subtle initial state to common blocks (keeps HTML untouched) */
.hero-copy-panel, .section-heading, .service-card, .reference-card, .review-card, .contact-card {
  opacity: 0;
}

/* ── Subpage hero ── */
.subpage-hero {
  padding: 80px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
  background: var(--blue-dark);
}
.subpage-hero h1 { color: var(--white); text-shadow: 0 2px 16px rgba(0,0,0,0.22); }
.subpage-hero .eyebrow { color: #ffd7b7; }
.subpage-hero .lead { color: rgba(255,255,255,0.88); }
.subpage-hero-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 56px;
  align-items: center;
}
.subpage-image-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.subpage-image-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

/* ── Service detail layout ── */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}
.service-checklist {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--light);
}
.service-checklist h3 { margin: 0 0 16px; }
.service-checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.service-checklist li {
  padding: 10px 12px 10px 34px;
  border-radius: 10px;
  background: var(--white);
  position: relative;
  font-weight: 600;
  font-size: 0.97rem;
}
.service-checklist li::before {
  content: "✓";
  position: absolute;
  left: 11px;
  color: var(--orange);
  font-weight: 900;
}

/* ── Process steps ── */
.process-section { background: var(--light); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 8px;
}
.process-grid article {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.process-grid > article > span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--orange);
  color: var(--white);
  font-weight: 900;
  font-size: 0.88rem;
  margin-bottom: 14px;
}
.process-grid h3 { margin: 0 0 8px; }
.process-grid p { color: var(--muted); margin: 0; }

/* ── Local SEO copy ── */
.local-seo-copy { background: var(--light); }

@media (max-width: 980px) {
  .subpage-hero-grid,
  .service-detail-grid { grid-template-columns: 1fr; }
  .subpage-image-card { max-width: 520px; }
  .process-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .subpage-hero { padding: 56px 0; }
  .subpage-image-card img { height: 340px; }
}
