:root {
  --navy: #152444;
  --navy-dark: #111c2b;
  --orange: #c45c35;
  --orange-dark: #ac5332;
  --charcoal: #313031;
  --charcoal-gradient: linear-gradient(100deg, #404041 0%, #231f20 100%);
  --navy-gradient: linear-gradient(100deg, #152444 0%, #1c2836 100%);
  --gray: #eeeeee;
  --white: #ffffff;
  --text: #46454a;
  --radius: 4px;
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  font-family: inherit;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 24px; height: 3px; background: var(--orange); }

/* Header */
.site-header { background: var(--navy-gradient); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--white); }
.logo-img { display: block; height: 46px; width: auto; }
.site-footer .logo-img { height: 60px; }
@media (max-width: 640px) { .logo-img { height: 36px; } .header-inner { height: 68px; } }
.site-nav { display: flex; gap: 32px; }
.site-nav a { color: var(--white); font-size: 13px; font-weight: 500; opacity: .9; }
.site-nav a:hover { color: var(--orange); opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-cta { padding: 12px 20px; font-size: 13px; }
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(255,255,255,.06); cursor: pointer; transition: background .25s, border-color .25s; }
.nav-toggle:hover { background: rgba(255,255,255,.12); }
.nav-toggle:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.nav-toggle .bars { position: absolute; left: 50%; top: 50%; width: 18px; height: 12px; transform: translate(-50%, -50%); }
.nav-toggle .bars i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: #fff; transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .2s, width .3s; }
.nav-toggle .bars i:nth-child(1) { top: 0; }
.nav-toggle .bars i:nth-child(2) { top: 5px; width: 70%; left: auto; }
.nav-toggle .bars i:nth-child(3) { top: 10px; }
.site-header.open .nav-toggle { background: var(--orange); border-color: var(--orange); }
.site-header.open .nav-toggle .bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header.open .nav-toggle .bars i:nth-child(2) { opacity: 0; }
.site-header.open .nav-toggle .bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu { display: none; }

/* Hero */
.hero { background: var(--navy-gradient); color: var(--white); padding: 56px 0 64px; border-bottom: 4px solid var(--orange); }
.hero-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5vw, 56px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px; }
.hero p:not(.eyebrow) { font-size: 15px; color: #d4d9e3; max-width: 420px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); aspect-ratio: 5 / 4; border-bottom: 4px solid var(--orange); }

/* Hero slider */
.hero-slider { position: relative; }
.hero-slider .slides { position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; border-bottom: 4px solid var(--orange); background: var(--navy-dark); }
.hero-slider .slide { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; opacity: 0; transition: opacity .8s ease; }
.hero-slider .slide.is-active { opacity: 1; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(20,35,66,.7); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; transition: background .2s; }
.slider-btn:hover, .slider-btn:focus-visible { background: var(--orange); }
.slider-btn.prev { left: 12px; } .slider-btn.next { right: 12px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; transition: background .2s, transform .2s; }
.slider-dots button.is-active { background: var(--orange); transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) { .hero-slider .slide { transition: none; } }

/* Trust bar */
.trust { background: var(--orange); color: var(--white); }
.trust-inner { display: flex; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding: 14px 24px; font-size: 12px; font-weight: 600; }
.trust-inner li::before { content: "✓"; margin-right: 8px; font-weight: 800; }

/* Section base */
.section { padding: 72px 0; }
.section h2 { font-size: clamp(28px, 3.4vw, 36px); font-weight: 800; color: var(--navy); letter-spacing: -.01em; margin-bottom: 10px; }
.section-sub { font-size: 14px; margin-bottom: 40px; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: var(--gray); padding: 28px; border-radius: var(--radius); }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.service-icon { width: 48px; height: 48px; color: var(--navy); flex: none; transition: color .2s; }
.service-card:hover .service-icon { color: var(--orange); }
.service-card .num { display: flex; align-items: center; gap: 8px; color: var(--orange); font-size: 11px; font-weight: 700; }
.service-card .num::before { content: ""; width: 14px; height: 3px; background: var(--orange); }
.service-card h3 { font-size: 17px; color: var(--navy); font-weight: 700; margin-bottom: 8px; }
.service-card p { font-size: 13px; }

/* Process */
.process { background: var(--navy-gradient); color: var(--white); }
.process h2 { color: var(--white); }
.process .section-sub { color: #b7c0d1; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { border-top: 1px solid rgba(255,255,255,.2); padding-top: 20px; }
.step .n { display: block; font-size: 40px; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 18px; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 13px; color: #b7c0d1; }

/* Projects */
.projects-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 36px; }
.projects-head .section-sub { margin: 0; }
.projects-head .link-all { font-size: 12px; font-weight: 700; color: var(--navy); }
.projects-head .link-all:hover { color: var(--orange); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project .media { overflow: hidden; border-radius: var(--radius); margin-bottom: 14px; }
.project img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; will-change: transform; }
.project .tag { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.project h3 { font-size: 17px; color: var(--navy); margin: 4px 0; }
.project p { font-size: 12px; }

/* Why */
.why { background: var(--gray); }
.why-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.why h2 { font-size: clamp(26px, 3vw, 32px); line-height: 1.2; }
.why-copy p:not(.eyebrow) { font-size: 14px; max-width: 360px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.why-card { background: var(--white); padding: 22px; border-radius: var(--radius); }
.why-icon { display: block; width: 40px; height: 40px; color: var(--navy); margin-bottom: 14px; transition: color .2s, transform .4s cubic-bezier(.2,.7,.2,1); }
.why-card:hover .why-icon { color: var(--orange); transform: translateY(-2px); }
.why-card h3 { font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.why-card p { font-size: 12px; }

/* Contact */
.contact { background: var(--charcoal-gradient); color: var(--white); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.contact h2 { color: var(--white); font-size: clamp(28px, 3.4vw, 36px); line-height: 1.15; }
.contact-copy p:not(.eyebrow) { font-size: 14px; margin-bottom: 24px; max-width: 360px; }
.contact-copy .contact-line { font-weight: 700; display: block; margin: 0; font-size: 14px; }
.contact-copy .contact-line + .contact-line { margin-top: 4px; }
.contact-copy .site-link { font-size: 13px; margin-top: 4px; display: block; }
.contact-form { background: var(--white); color: var(--navy); padding: 28px; border-radius: var(--radius); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 700; }
.field input, .field select, .field textarea {
  background: var(--gray); border: 1px solid transparent; border-radius: var(--radius);
  padding: 12px 14px; font: inherit; font-size: 13px; color: var(--navy);
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--orange); background: var(--white); }
.contact-form .btn { justify-self: start; }

/* Footer */
.site-footer { background: var(--navy-gradient); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--navy); color: var(--white); }
.footer-cta { background: linear-gradient(100deg, var(--orange) 0%, var(--orange-dark) 100%); }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding-top: 40px; padding-bottom: 40px; }
.footer-cta h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.01em; line-height: 1.15; margin-bottom: 6px; }
.footer-cta p { font-size: 14px; color: rgba(255,255,255,.88); max-width: 520px; }
.footer-cta .btn { padding: 16px 28px; white-space: nowrap; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px 56px; padding-top: 64px; padding-bottom: 8px; }
.footer-tagline { margin-top: 16px; font-size: 14px; color: #b7c0d1; max-width: 280px; }
.footer-col h3 { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; padding-bottom: 12px; position: relative; }
.footer-col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; background: var(--orange); }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a { color: #c3cbdb; transition: color .2s; }
.footer-col a:hover, .footer-col a:focus-visible { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; padding-bottom: 28px; font-size: 12px; color: #9aa5bb; max-width: none; }
.footer-bottom p { margin: 0; }
.footer-bottom-row { max-width: calc(var(--container) - 48px); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 8px 22px; flex-wrap: wrap; }
.footer-legal a { color: #c3cbdb; text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.footer-legal a:hover, .footer-legal a:focus-visible { color: #fff; border-bottom-color: var(--orange); }
@media (max-width: 960px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-inner { grid-template-columns: 1fr; padding-top: 48px; } .footer-cta .btn { width: 100%; text-align: center; } }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner, .why-inner, .contact-inner { grid-template-columns: 1fr; }
  .services-grid, .projects-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .trust-inner { justify-content: flex-start; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav, .header-cta { display: none; }
  .site-header.open { background: var(--navy-gradient); box-shadow: none; }

  .mobile-menu {
    display: flex; flex-direction: column; justify-content: space-between;
    position: fixed; inset: 0; z-index: 49; padding: 96px 24px 32px;
    background: radial-gradient(120% 70% at 100% 0%, #1f2f45 0%, var(--navy) 55%, var(--navy-dark) 100%);
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .35s ease, transform .45s cubic-bezier(.2,.7,.2,1), visibility 0s linear .45s;
  }
  .site-header.open ~ .mobile-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .mm-nav { display: flex; flex-direction: column; }
  .mm-nav a {
    display: flex; align-items: baseline; gap: 16px; padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,.12); color: #fff;
    opacity: 0; transform: translateY(18px);
    transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1), color .2s;
  }
  .site-header.open ~ .mobile-menu .mm-nav a, .site-header.open ~ .mobile-menu .mm-foot { opacity: 1; transform: none; transition-delay: calc(.08s + var(--i) * .06s); }
  .mm-n { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--orange); min-width: 22px; }
  .mm-t { font-size: clamp(28px, 8vw, 38px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
  .mm-arrow { margin-left: auto; align-self: center; font-size: 22px; color: rgba(255,255,255,.4); transition: transform .25s, color .25s; }
  .mm-nav a:hover, .mm-nav a:focus-visible { color: var(--orange); }
  .mm-nav a:hover .mm-arrow, .mm-nav a:focus-visible .mm-arrow { transform: translateX(4px); color: var(--orange); }
  .mm-foot { margin-top: 36px; opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
  .mm-cta { display: flex; justify-content: center; width: 100%; padding: 16px 20px; font-size: 15px; }
  .mm-contact { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; text-align: center; }
  .mm-contact a { color: #c3cbdb; font-size: 14px; }
  .mm-contact a:hover { color: #fff; }
  html.menu-open { overflow: hidden; }
}
@media (min-width: 821px) { .mobile-menu { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu, .mm-nav a, .mm-foot { transition: none !important; transform: none !important; }
}
@media (max-width: 600px) {
  .services-grid, .projects-grid, .steps, .why-grid, .contact-form { grid-template-columns: 1fr; }
  .projects-head { flex-direction: column; align-items: flex-start; }
  .section { padding: 52px 0; }
}

/* Eyebrow on blue background needs contrast */
.contact .eyebrow { color: var(--white); }
.contact .eyebrow::before { background: var(--orange); }

/* Language toggle */
.lang-toggle { display: inline-flex; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 3px; }
.lang-toggle a { color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; opacity: .75; transition: background .2s, opacity .2s; }
.lang-toggle a:hover { opacity: 1; }
.lang-toggle a.active { background: var(--orange); opacity: 1; }
@media (max-width: 820px) {
  .header-actions { gap: 8px; }
}

/* Quote popup */
html.modal-open { overflow: hidden; }
.quote-modal { border: 0; padding: 0; background: transparent; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); color: var(--navy); }
.quote-modal::backdrop { background: rgba(20, 35, 66, .72); backdrop-filter: blur(2px); }
.quote-modal[open] { animation: quote-in .22s ease-out; }
@keyframes quote-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.quote-modal__panel { position: relative; background: var(--white); border-top: 4px solid var(--orange); border-radius: var(--radius); padding: 32px; max-height: calc(100vh - 32px); overflow-y: auto; }
.quote-modal__close { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 30px; line-height: 1; color: var(--navy); cursor: pointer; padding: 4px 8px; }
.quote-modal__close:hover { color: var(--orange); }
.quote-modal h2 { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 8px; letter-spacing: -.01em; }
.quote-modal__sub { font-size: 14px; color: var(--text); margin-bottom: 22px; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form .full, .contact-form .full { grid-column: 1 / -1; }
.quote-form .btn { width: 100%; }
.quote-modal__success { text-align: center; padding: 12px 0 4px; }
.quote-modal__success[hidden], .quote-modal__body[hidden] { display: none; }
.quote-modal__check { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--orange); color: var(--white); font-size: 28px; font-weight: 800; display: grid; place-items: center; }
.quote-modal__success p { margin-bottom: 22px; font-size: 14px; }

/* Shared form helpers */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 13px; font-weight: 600; min-height: 0; margin: 0; }
.form-status:empty { display: none; }
.form-status.is-error { color: #c0341d; }
.contact-form .form-status:not(.is-error) { color: #1c7a43; }
.btn[disabled] { opacity: .65; cursor: wait; }

@media (max-width: 600px) {
  .quote-modal__panel { padding: 26px 20px; }
  .quote-form { grid-template-columns: 1fr; }
}

/* Contact form layout fix */
.contact-form .btn { grid-column: 1 / -1; justify-self: start; }
.contact-form .field { min-width: 0; }
.contact-form .field input, .contact-form .field select, .contact-form .field textarea { width: 100%; }

/* ---------- Scroll animations (enabled only when JS runs) ---------- */
.site-header { transition: box-shadow .3s ease, background-color .3s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(8,16,36,.35); background: rgba(21,36,68,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); z-index: 100; pointer-events: none; }

.js .reveal { opacity: 0; transform: translate3d(0, 36px, 0); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.js .reveal.from-left { transform: translate3d(-48px, 0, 0); }
.js .reveal.from-right { transform: translate3d(48px, 0, 0); }
.js .reveal.zoom { transform: scale(.92); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero-image.reveal { transform: scale(.94) translate3d(0, 24px, 0); }
.js .hero-image.reveal.in { transform: none; }
.js .step.reveal .n, .js .service-card.reveal .service-icon { transition: transform .8s cubic-bezier(.2,.7,.2,1) .15s; }
.js .service-card.reveal:not(.in) .service-icon { transform: scale(.6) rotate(-8deg); }
.js .step.reveal:not(.in) .n { transform: translateY(14px); }
.step { position: relative; }
.service-card { transition: transform .35s ease, box-shadow .35s ease, opacity .9s cubic-bezier(.2,.7,.2,1); }
.js .service-card.reveal.in:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(20,35,66,.12); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.in { opacity: 1; transform: none; transition: none; }
  .scroll-progress { display: none; }
}

/* ---------- Legal pages ---------- */
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 4px; z-index: 200; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.legal { padding: 72px 0 96px; }
.legal-inner { max-width: 780px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: var(--navy); margin-bottom: 10px; }
.legal-updated { font-size: 13px; color: #6b7690; margin-bottom: 24px; }
.legal-intro { font-size: 17px; line-height: 1.7; color: var(--navy); margin-bottom: 12px; }
.legal h2 { font-size: 20px; color: var(--navy); margin: 40px 0 10px; font-weight: 700; }
.legal p { font-size: 15px; line-height: 1.75; margin-bottom: 12px; max-width: none; }
.legal ul { margin: 0 0 14px; padding-left: 22px; list-style: disc; }
.legal li { font-size: 15px; line-height: 1.7; margin-bottom: 6px; color: #3d4760; }
.legal li::marker { color: var(--orange); }
.legal a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.legal a:hover { color: var(--orange); }
.legal-back { margin-top: 48px; }
.contact-copy a.contact-line { color: inherit; text-decoration: none; }
.contact-copy a.contact-line:hover, .contact-copy a.contact-line:focus-visible { color: var(--orange); }

/* ---------- Service cards: clickable ---------- */
.service-card[data-open-service] { cursor: pointer; position: relative; }
.service-card[data-open-service]:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.card-more { display: inline-flex; gap: 6px; margin-top: 14px; font-size: 12px; font-weight: 700; color: var(--navy); }
.card-more span { display: inline-block; transition: transform .25s; color: var(--orange); }
.service-card:hover .card-more span, .service-card:focus-visible .card-more span { transform: translateX(5px); }

/* ---------- Service popup ---------- */
.service-modal { border: 0; padding: 0; background: transparent; width: min(1220px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); color: var(--navy); overflow: visible; }
.service-modal::backdrop { background: rgba(10, 20, 42, .78); backdrop-filter: blur(3px); }
.service-modal[open] { animation: svc-in .45s cubic-bezier(.2,.7,.2,1); }
@keyframes svc-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.svc-panel { position: relative; background: #f7f6f4; border-radius: 8px; max-height: calc(100vh - 32px); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; }
.svc-close { position: absolute; top: 16px; right: 18px; z-index: 6; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(20,35,66,.2); background: rgba(247,246,244,.9); color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; transition: background .2s, color .2s, transform .3s; }
.svc-close:hover, .svc-close:focus-visible { background: var(--orange); border-color: var(--orange); color: #fff; transform: rotate(90deg); }
.svc-item[hidden] { display: none; }

.svc-hero { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: 24px; align-items: center; padding: 56px 56px 28px; min-height: 540px; }
.svc-hero.no-img { grid-template-columns: minmax(0, 1fr); }
.svc-copy { position: relative; z-index: 3; max-width: 470px; }
.svc-top { display: flex; align-items: center; gap: 22px; margin-bottom: 26px; color: var(--navy); }
.svc-top .service-icon { width: 60px; height: 60px; }
.svc-line { width: 56px; height: 1px; background: var(--orange); }
.svc-num { color: var(--orange); font-size: 22px; font-weight: 500; }
.svc-title { font-size: clamp(36px, 4.8vw, 66px); line-height: .98; font-weight: 800; letter-spacing: -.035em; color: #0b1527; margin-bottom: 22px; }
.svc-lead { font-size: clamp(18px, 1.9vw, 24px); line-height: 1.35; font-weight: 500; color: #6a7389; margin-bottom: 20px; max-width: none; }
.svc-body { font-size: 14.5px; line-height: 1.7; color: #4a5368; margin-bottom: 30px; max-width: 420px; }
.svc-cta { display: inline-flex; align-items: center; gap: 44px; padding: 17px 26px; border: 1px solid var(--navy); color: var(--navy); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transition: background .25s, color .25s, gap .3s; }
.svc-cta:hover, .svc-cta:focus-visible { background: var(--navy); color: #fff; gap: 56px; }
.svc-tag { position: absolute; top: 34px; right: 84px; z-index: 4; max-width: 280px; font-size: 11px; font-weight: 500; letter-spacing: .22em; line-height: 1.7; text-transform: uppercase; color: #9aa2b4; }
.svc-bignum { position: absolute; top: 74px; right: 52px; z-index: 1; font-size: 150px; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: rgba(20,35,66,.055); pointer-events: none; user-select: none; }

.svc-media { position: relative; z-index: 2; }
.svc-media img { display: block; width: 100%; height: 100%; }
.svc-media:not(.is-cutout) { align-self: center; border-radius: 6px; overflow: hidden; box-shadow: 0 24px 60px rgba(20,35,66,.18); margin-top: 28px; }
.svc-media:not(.is-cutout) img { aspect-ratio: 4 / 3; object-fit: cover; }
.svc-media.is-cutout { position: absolute; right: 0; top: 0; bottom: -8px; width: 68%; z-index: 2; }
.svc-media.is-cutout img { object-fit: contain; object-position: right center; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%); mask-image: linear-gradient(to right, transparent 0, #000 14%); }

.svc-process { display: grid; grid-template-columns: 1.1fr repeat(4, 1fr); gap: 0; padding: 20px 56px 44px; position: relative; z-index: 3; }
.svc-process-head { padding-right: 24px; }
.svc-process-head .eyebrow { margin-bottom: 8px; }
.svc-process-head h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1; font-weight: 800; letter-spacing: -.03em; color: #0b1527; margin-bottom: 10px; }
.svc-process-head p:last-child { font-size: 14px; color: #6a7389; margin: 0; }
.svc-step { padding: 4px 22px 4px 26px; border-left: 1px solid #d9dce3; }
.svc-step-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.svc-step-n { font-size: 26px; font-weight: 600; color: var(--orange); }
.proc-icon { width: 40px; height: 40px; color: var(--navy); }
.svc-step h4 { font-size: 16px; font-weight: 700; color: #0b1527; margin-bottom: 6px; }
.svc-step p { font-size: 13.5px; line-height: 1.55; color: #6a7389; margin: 0; }

/* entrance */
.service-modal[open] .svc-item:not([hidden]) .svc-copy > *, .service-modal[open] .svc-item:not([hidden]) .svc-step, .service-modal[open] .svc-item:not([hidden]) .svc-media { animation: svc-rise .7s cubic-bezier(.2,.7,.2,1) both; }
.service-modal[open] .svc-copy > :nth-child(2) { animation-delay: .06s; } .service-modal[open] .svc-copy > :nth-child(3) { animation-delay: .12s; }
.service-modal[open] .svc-copy > :nth-child(4) { animation-delay: .18s; } .service-modal[open] .svc-copy > :nth-child(5) { animation-delay: .24s; }
.service-modal[open] .svc-media { animation-delay: .1s; }
.service-modal[open] .svc-step:nth-of-type(1) { animation-delay: .3s; } .service-modal[open] .svc-step:nth-of-type(2) { animation-delay: .36s; }
.service-modal[open] .svc-step:nth-of-type(3) { animation-delay: .42s; } .service-modal[open] .svc-step:nth-of-type(4) { animation-delay: .48s; }
@keyframes svc-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
  .svc-process { grid-template-columns: 1fr 1fr; gap: 28px 0; padding: 20px 32px 36px; }
  .svc-process-head { grid-column: 1 / -1; }
  .svc-step:nth-of-type(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 820px) {
  .svc-hero { grid-template-columns: 1fr; padding: 28px 22px 8px; min-height: 0; gap: 8px; }
  .svc-copy { max-width: none; }
  .svc-tag { position: static; max-width: none; margin: 0 40px 22px 0; order: -1; font-size: 10px; letter-spacing: .18em; }
  .svc-bignum { display: none; }
  .svc-top { margin-bottom: 18px; }
  .svc-top .service-icon { width: 46px; height: 46px; }
  .svc-media.is-cutout { position: relative; width: calc(100% + 44px); margin: 8px -22px 0; height: 260px; bottom: auto; }
  .svc-media.is-cutout img { object-position: center; -webkit-mask-image: none; mask-image: none; }
  .svc-media:not(.is-cutout) { margin-top: 16px; }
  .svc-cta { width: 100%; justify-content: space-between; }
  .svc-process { padding: 24px 22px 32px; }
}
@media (max-width: 480px) { .svc-process { grid-template-columns: 1fr; } .svc-step { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid #d9dce3; padding-top: 18px; } }
@media (prefers-reduced-motion: reduce) { .service-modal[open], .service-modal[open] * { animation: none !important; } }

/* ---------- Footer social icons ---------- */
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-links a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); color: var(--white); transition: background .2s, border-color .2s, transform .2s; }
.social-links a:hover, .social-links a:focus-visible { background: var(--orange); border-color: var(--orange); transform: translateY(-2px); }