/* ============================================================
   A.P Facility Management — Premium Multi-Page Site
   Bright, elite theme · blue + silver + navy (from the logo)
   ============================================================ */

:root {
  /* light / bright surfaces */
  --bg:        #eef3f9;
  --bg-soft:   #f6f9fc;
  --surface:   #ffffff;
  --surface-2: #f2f6fb;

  /* dark surfaces (hero, footer) */
  --navy:      #071223;
  --navy-2:    #0b1a30;
  --navy-3:    #10233f;

  /* brand */
  --blue:        #1f7ae0;
  --blue-bright: #3d9bf0;
  --blue-deep:   #12457c;
  --silver:      #c9d4e2;
  --silver-ink:  #8195ad;

  /* text */
  --ink:    #0d1b2e;
  --ink-2:  #46586f;
  --ink-3:  #6d7d94;
  --on-dark:   #eef4fb;
  --on-dark-2: #a7bad3;

  --line:   rgba(20, 45, 80, 0.10);
  --line-2: rgba(20, 45, 80, 0.18);
  --line-dark: rgba(160, 185, 220, 0.14);

  --grad-blue:  linear-gradient(135deg, #3d9bf0 0%, #1f7ae0 45%, #12457c 100%);
  --grad-sky:   linear-gradient(135deg, #eaf3fd 0%, #d3e6fb 100%);
  --grad-navy:  linear-gradient(160deg, #0b1a30 0%, #071223 100%);
  --grad-ink:   linear-gradient(120deg, #0d1b2e 0%, #234a7d 60%, #1f7ae0 100%);
  --grad-light: linear-gradient(120deg, #ffffff 0%, #cfe0f4 50%, #7fb2ec 100%);

  --shadow-sm:  0 6px 18px -8px rgba(15, 40, 80, 0.18);
  --shadow:     0 24px 60px -26px rgba(15, 40, 80, 0.30);
  --shadow-lg:  0 40px 90px -34px rgba(15, 40, 80, 0.40);
  --shadow-blue:0 22px 55px -20px rgba(31, 122, 224, 0.55);

  --radius:    18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --font: "Manrope", system-ui, -apple-system, sans-serif;
  --font-display: "Marcellus", Georgia, serif;
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

/* Kill native video play-button overlay & controls (iOS/Safari/others) */
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-overlay-play-button,
video::-webkit-media-controls { display: none !important; -webkit-appearance: none; appearance: none; }
video { pointer-events: none; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(31,122,224,0.2); }

/* ============================================================
   Utilities
   ============================================================ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section--tight { padding: 4.5rem 0; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.76rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--blue); font-weight: 700; margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad-blue); border-radius: 2px; }
.eyebrow--center { justify-content: center; }
.on-dark .eyebrow { color: var(--blue-bright); }

.h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.14; letter-spacing: 0.3px; color: var(--ink);
  margin-bottom: 1rem;
}
.on-dark .h2 { color: #fff; }
.h2 .accent {
  background: var(--grad-ink);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.on-dark .h2 .accent { background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--ink-2); font-size: 1.08rem; max-width: 640px; }
.center .lead { margin-inline: auto; }
.on-dark .lead { color: var(--on-dark-2); }
.section__head { max-width: 680px; margin: 0 auto 3.4rem; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.95rem 1.9rem; border-radius: 999px;
  font-weight: 700; font-size: 0.97rem; letter-spacing: 0.2px;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.3s ease, background 0.3s, color 0.3s, border-color 0.3s;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad-blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 28px 60px -18px rgba(31,122,224,0.65); }
.btn--light { background: #fff; color: var(--blue-deep); box-shadow: var(--shadow-sm); }
.btn--light:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--blue); color: var(--blue); }
.on-dark .btn--ghost { border-color: rgba(255,255,255,0.28); color: #fff; }
.on-dark .btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 1.1rem 2.3rem; font-size: 1.02rem; }

/* ============================================================
   Scroll progress + nav
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad-blue); z-index: 300;
  box-shadow: 0 0 12px rgba(61,155,240,0.6);
}

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; transition: all 0.35s ease; }
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0.7rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav.scrolled {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 10px 34px -20px rgba(15,40,80,0.4);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__badge {
  width: 50px; height: 50px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #0e1c33, #05070c);
  display: grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 8px 22px -10px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(120,150,190,0.25);
}
.brand__badge img { width: 46px; height: 46px; object-fit: contain; border-radius: 50%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong {
  font-family: var(--font-display); font-size: 1.18rem; letter-spacing: 3px;
  color: var(--ink); transition: color 0.3s;
}
.brand__text em { font-style: normal; font-size: 0.6rem; letter-spacing: 2.4px; text-transform: uppercase; color: var(--ink-3); }

.nav__links { display: flex; align-items: center; gap: 1.15rem; }
.nav__mail { font-weight: 600; }
.navbg { display: none; }
.langsw { display: inline-flex; gap: 2px; background: rgba(20,45,80,0.06); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.langsw button { border: none; background: none; cursor: pointer; font: inherit; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px; color: var(--ink-3); padding: 0.28rem 0.55rem; border-radius: 999px; transition: background 0.2s, color 0.2s; }
.langsw button.active { background: var(--grad-blue); color: #fff; }
.langsw button:hover:not(.active) { color: var(--ink); }
.nav:not(.scrolled).nav--over-hero .langsw { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.28); }
.nav:not(.scrolled).nav--over-hero .langsw button { color: rgba(255,255,255,0.85); }
.nav:not(.scrolled).nav--over-hero .langsw button.active { color: #fff; }
.nav__links > a { font-size: 0.93rem; font-weight: 600; color: var(--ink-2); position: relative; transition: color 0.25s; }
.nav__links > a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--grad-blue); border-radius: 2px; transition: width 0.3s;
}
.nav__links > a:hover, .nav__links > a.active { color: var(--blue-deep); }
.nav__links > a.active::after, .nav__links > a:hover::after { width: 100%; }
.nav__phone { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--blue-deep) !important; font-weight: 700; white-space: nowrap; }
.nav__phone svg { width: 18px; height: 18px; flex-shrink: 0; }
.nav__phone::after { display: none !important; }
.nav__cta {
  padding: 0.62rem 1.3rem; border-radius: 999px; background: var(--grad-blue);
  color: #fff !important; box-shadow: 0 12px 26px -12px rgba(31,122,224,0.6); transition: transform 0.25s;
}
.nav__cta::after { display: none !important; }
.nav__cta:hover { transform: translateY(-2px); }

/* transparent nav over dark hero (top of page, not scrolled) */
.nav:not(.scrolled).nav--over-hero .brand__text strong { color: #fff; }
.nav:not(.scrolled).nav--over-hero .brand__text em { color: var(--on-dark-2); }
.nav:not(.scrolled).nav--over-hero .nav__links > a { color: rgba(255,255,255,0.86); }
.nav:not(.scrolled).nav--over-hero .nav__links > a:hover { color: #fff; }
.nav:not(.scrolled).nav--over-hero .nav__phone { color: #fff !important; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; z-index: 210; }
.nav__toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }
.nav:not(.scrolled).nav--over-hero .nav__toggle span { background: #fff; }
.nav__toggle.active span { background: var(--ink); }
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero (video)
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero__video, .hero__poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(7,18,35,0.55) 0%, rgba(7,18,35,0.62) 45%, rgba(7,18,35,0.85) 100%),
    radial-gradient(120% 90% at 15% 20%, rgba(31,122,224,0.35), transparent 55%);
}
.hero__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 8rem 1.5rem 5rem; width: 100%; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.5rem 1.1rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.08); backdrop-filter: blur(8px);
  font-size: 0.76rem; letter-spacing: 1.6px; text-transform: uppercase; color: #dce9fb; margin-bottom: 1.6rem;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 12px var(--blue-bright); animation: pulse 2s infinite; }
.hero__title {
  font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1.04; letter-spacing: 0.5px; margin-bottom: 1.3rem;
}
.hero__title .accent { background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: #d3e0f2; max-width: 560px; margin-bottom: 2.2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.hero__mini { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.hero__mini div { display: flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; color: #cfe0f4; }
.hero__mini svg { width: 18px; height: 18px; color: var(--blue-bright); }

.hero__card {
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(16px); border-radius: var(--radius-lg); padding: 1.8rem;
  box-shadow: var(--shadow-lg);
}
.hero__card h3 { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 0.3rem; }
.hero__card p { color: #cfe0f4; font-size: 0.9rem; margin-bottom: 1.3rem; }
.hero__card .field { margin-bottom: 0.8rem; }
.hero__card input, .hero__card select {
  width: 100%; padding: 0.8rem 1rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12); color: #fff; font-family: inherit; font-size: 0.92rem;
}
.hero__card input::placeholder { color: rgba(255,255,255,0.7); }
.hero__card option { color: #0d1b2e; }
.hero__card input:focus, .hero__card select:focus { outline: none; border-color: var(--blue-bright); background: rgba(255,255,255,0.2); }

.hero__scroll { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.4); border-radius: 14px; display: flex; justify-content: center; }
.hero__scroll span { width: 4px; height: 9px; border-radius: 3px; margin-top: 7px; background: var(--blue-bright); animation: scrollDot 1.8s infinite; }

@keyframes pulse { 50% { opacity: 0.4; transform: scale(0.8); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(-4px); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* page hero (inner pages) */
.phero { position: relative; padding: 9rem 0 4.5rem; color: #fff; overflow: hidden; }
.phero__bg { position: absolute; inset: 0; z-index: 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.phero__overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(7,18,35,0.78), rgba(7,18,35,0.9)), radial-gradient(90% 80% at 20% 10%, rgba(31,122,224,0.4), transparent 60%); }
.phero__inner { position: relative; z-index: 2; }
.phero h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; margin-bottom: 0.8rem; }
.phero h1 .accent { background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.phero p { color: #d3e0f2; max-width: 620px; font-size: 1.05rem; }
.crumbs { display: flex; gap: 0.5rem; font-size: 0.85rem; color: var(--on-dark-2); margin-bottom: 1.4rem; }
.crumbs a:hover { color: #fff; }
.crumbs span { color: var(--blue-bright); }

/* ============================================================
   Trust marquee
   ============================================================ */
.trust { overflow: hidden; background: var(--navy); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 1rem 0; }
.trust__track { display: flex; align-items: center; gap: 2rem; white-space: nowrap; width: max-content; animation: marquee 34s linear infinite; color: var(--on-dark-2); font-size: 0.9rem; letter-spacing: 1.4px; text-transform: uppercase; }
.trust__track i { color: var(--blue-bright); font-style: normal; font-size: 0.55rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Stat band
   ============================================================ */
.statband { background: var(--grad-navy); color: #fff; }
.statband__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.statband .stat__num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.statband .stat__suffix { color: var(--blue-bright); font-family: var(--font-display); font-size: 1.4rem; }
.statband .stat__label { color: var(--on-dark-2); font-size: 0.86rem; margin-top: 0.5rem; letter-spacing: 0.4px; }
.statband .stat { position: relative; }
.statband .stat + .stat::before { content: ""; position: absolute; left: -0.75rem; top: 15%; bottom: 25%; width: 1px; background: var(--line-dark); }

/* ============================================================
   Service cards
   ============================================================ */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.scard {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2.1rem 1.9rem; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.scard::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--grad-blue); transform: scaleX(0); transform-origin: left; transition: transform 0.4s; }
.scard:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.scard:hover::after { transform: scaleX(1); }
.scard__icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-sky); border: 1px solid rgba(31,122,224,0.16); margin-bottom: 1.3rem; }
.scard__icon svg { width: 28px; height: 28px; color: var(--blue); }
.scard h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }
.scard p { color: var(--ink-2); font-size: 0.95rem; margin-bottom: 1rem; }
.scard__link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--blue); font-weight: 700; font-size: 0.9rem; }
.scard__link svg { width: 16px; height: 16px; transition: transform 0.25s; }
.scard:hover .scard__link svg { transform: translateX(4px); }

/* detailed service rows (services page) */
.srow { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 3.5rem; }
.srow:nth-child(even) .srow__media { order: 2; }
.srow__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.srow__media img, .srow__media video { width: 100%; height: 100%; object-fit: cover; }
.srow__body h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.8rem; }
.srow__body p { color: var(--ink-2); margin-bottom: 1.2rem; }
.ticks { list-style: none; display: grid; gap: 0.7rem; margin-bottom: 1.6rem; }
.ticks li { position: relative; padding-left: 2rem; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad-blue); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 10px; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* ============================================================
   Bio feature
   ============================================================ */
.feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.5rem; align-items: center; }
.feature--rev .feature__media { order: 2; }
.feature__media { position: relative; }
.feature__frame { border-radius: var(--radius-lg); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.feature__frame img, .feature__frame video { width: 100%; height: 100%; object-fit: cover; }
.feature__badge { position: absolute; bottom: -22px; right: -14px; background: var(--grad-blue); padding: 1rem 1.4rem; border-radius: 16px; box-shadow: var(--shadow-blue); color: #fff; }
.feature__badge strong { display: block; font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 2px; }
.feature__badge span { font-size: 0.72rem; opacity: 0.9; }
.feature__body h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 1rem; }
.feature__body > p { color: var(--ink-2); margin-bottom: 1.4rem; }

/* ============================================================
   Video showcase
   ============================================================ */
.vshow__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.vtile { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/5; cursor: default; background: #000; }
.vtile__play { display: none; }
.vtile video, .vtile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.vtile:hover video, .vtile:hover img { transform: scale(1.06); }
.vtile__cap { position: absolute; inset: auto 0 0 0; padding: 1.4rem 1.2rem 1.1rem; z-index: 2; background: linear-gradient(180deg, transparent, rgba(5,10,20,0.85)); color: #fff; }
.vtile__cap strong { display: block; font-size: 1.02rem; }
.vtile__cap span { font-size: 0.82rem; color: rgba(255,255,255,0.8); }
.vtile__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2; width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,0.9); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.4); transition: transform 0.3s; }
.vtile:hover .vtile__play { transform: translate(-50%,-50%) scale(1.12); }
.vtile__play svg { width: 24px; height: 24px; color: var(--blue-deep); margin-left: 3px; }

/* ============================================================
   Why / feature cards
   ============================================================ */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.fcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem; box-shadow: var(--shadow-sm); transition: transform 0.35s; }
.fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.fcard__ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-sky); margin-bottom: 1rem; }
.fcard__ic svg { width: 26px; height: 26px; color: var(--blue); }
.fcard h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.fcard p { color: var(--ink-2); font-size: 0.93rem; }

/* ============================================================
   Process
   ============================================================ */
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.pstep { text-align: center; padding: 1rem; position: relative; }
.pstep__ring { width: 78px; height: 78px; margin: 0 auto 1.2rem; display: grid; place-items: center; border-radius: 50%; font-family: var(--font-display); font-size: 1.7rem; color: #fff; background: radial-gradient(circle at 30% 30%, var(--blue-bright), var(--blue-deep)); box-shadow: var(--shadow-blue); position: relative; }
.pstep__ring svg { width: 34px; height: 34px; color: #fff; }
.pstep__ring::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px dashed var(--line-2); }
.on-dark .pstep__ring::after { border-color: var(--line-dark); }
.pstep h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.pstep p { color: var(--ink-2); font-size: 0.92rem; }
.on-dark .pstep p { color: var(--on-dark-2); }

/* ============================================================
   Gallery
   ============================================================ */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.gitem { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-sm); aspect-ratio: 1/1; }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gitem:hover img { transform: scale(1.08); }
.gitem::after { content: "＋"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 2rem; background: rgba(9,20,40,0.35); opacity: 0; transition: opacity 0.3s; }
.gitem:hover::after { opacity: 1; }
.gitem--wide { grid-column: span 2; aspect-ratio: 2/1; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(5,10,20,0.92); display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox img, .lightbox video { max-width: 92vw; max-height: 88vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 1.4rem; right: 1.6rem; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.1); color: #fff; font-size: 1.4rem; cursor: pointer; }

/* ============================================================
   Testimonials
   ============================================================ */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.tcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); transition: transform 0.35s; }
.tcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tcard__stars { color: #f5b301; letter-spacing: 3px; margin-bottom: 1rem; }
.tcard blockquote { color: var(--ink); font-size: 1rem; font-style: italic; margin-bottom: 1.3rem; }
.tcard figcaption { display: flex; align-items: center; gap: 0.8rem; }
.tcard__av { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--grad-blue); box-shadow: 0 6px 16px -8px rgba(15,40,80,0.4); }
.tcard__av img { width: 100%; height: 100%; object-fit: cover; }
.tcard__who { display: flex; flex-direction: column; line-height: 1.3; }
.tcard__who strong { font-weight: 700; color: var(--ink); }
.tcard__who small { color: var(--ink-3); font-size: 0.82rem; }

/* ---- Cookie consent bar ---- */
.cookiebar { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 250; max-width: 780px; margin: 0 auto;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(12px); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-lg); padding: 1.1rem 1.3rem;
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; justify-content: space-between;
  transform: translateY(160%); transition: transform 0.45s cubic-bezier(0.2,0.7,0.2,1); }
.cookiebar.show { transform: none; }
.cookiebar p { font-size: 0.9rem; color: var(--ink-2); margin: 0; flex: 1 1 300px; }
.cookiebar a { color: var(--blue); font-weight: 600; }
.cookiebar__btns { display: flex; gap: 0.6rem; flex-shrink: 0; }
.cookiebar .btn { padding: 0.62rem 1.1rem; font-size: 0.88rem; }
@media (max-width: 540px) { .cookiebar__btns { width: 100%; } .cookiebar .btn { flex: 1; } }

/* ---- Legal / prose pages ---- */
.legal { padding: 3rem 0 5rem; }
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-family: var(--font-display); font-size: 1.5rem; margin: 2.2rem 0 0.7rem; color: var(--ink); }
.prose h3 { font-size: 1.05rem; margin: 1.4rem 0 0.4rem; color: var(--ink); }
.prose p, .prose li { color: var(--ink-2); margin-bottom: 0.8rem; }
.prose ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.35rem; }
.prose .updated { color: var(--ink-3); font-size: 0.88rem; margin-bottom: 2rem; }
.prose a { color: var(--blue); font-weight: 600; }
.prose strong { color: var(--ink); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 0.8rem; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq__q { width: 100%; text-align: left; background: none; border: none; padding: 1.2rem 1.4rem; font-family: inherit; font-size: 1.02rem; font-weight: 600; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__q span.ic { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--grad-sky); color: var(--blue); display: grid; place-items: center; font-size: 1.2rem; transition: transform 0.3s; }
.faq__item.open .faq__q span.ic { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; color: var(--ink-2); }
.faq__a p { padding: 0 1.4rem 1.2rem; }

/* ============================================================
   CTA band
   ============================================================ */
.ctaband { position: relative; overflow: hidden; color: #fff; border-radius: var(--radius-xl); }
.ctaband__bg { position: absolute; inset: 0; z-index: 0; }
.ctaband__bg img { width: 100%; height: 100%; object-fit: cover; }
.ctaband__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(7,18,35,0.92), rgba(18,69,124,0.82)); }
.ctaband__inner { position: relative; z-index: 2; padding: 4rem 2rem; text-align: center; }
.ctaband h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 0.8rem; }
.ctaband p { color: #d3e0f2; max-width: 560px; margin: 0 auto 1.8rem; }
.ctaband__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Contact + map
   ============================================================ */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; }
.contact__list { list-style: none; display: grid; gap: 1.1rem; margin: 1.6rem 0; }
.contact__list li { display: flex; align-items: center; gap: 1rem; }
.contact__ic { width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center; background: var(--grad-sky); }
.contact__ic svg { width: 22px; height: 22px; color: var(--blue); }
.contact__list small { display: block; font-size: 0.72rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 1px; }
.contact__list a, .contact__list span.v { font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.contact__list a:hover { color: var(--blue); }
.hours { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.3rem; }
.hours strong { display: block; margin-bottom: 0.2rem; }
.hours span { color: var(--ink-2); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.4rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1.05rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-size: 0.82rem; color: var(--ink-2); margin-bottom: 0.4rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: 12px; border: 1.5px solid var(--line-2);
  background: var(--surface-2); color: var(--ink); font-family: inherit; font-size: 0.96rem;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,122,224,0.14); background: #fff; }
.field textarea { resize: vertical; }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236d7d94' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.form__note { margin-top: 1rem; text-align: center; color: var(--blue-deep); font-weight: 600; background: var(--grad-sky); padding: 0.8rem; border-radius: 12px; }

.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); height: 100%; min-height: 340px; }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--grad-navy); color: var(--on-dark); padding: 4rem 0 1.8rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.2rem; padding-bottom: 2.4rem; border-bottom: 1px solid var(--line-dark); }
.footer__brand { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.footer__brand .brand__badge { width: 54px; height: 54px; }
.footer__brand strong { display: block; font-family: var(--font-display); letter-spacing: 2px; color: #fff; }
.footer__brand span { font-size: 0.78rem; color: var(--on-dark-2); }
.footer__col p { color: var(--on-dark-2); font-size: 0.92rem; }
.footer__col h4 { font-size: 0.95rem; margin-bottom: 1rem; color: #fff; letter-spacing: 0.5px; }
.footer__col ul { list-style: none; display: grid; gap: 0.6rem; }
.footer__col ul a, .footer__col ul li { color: var(--on-dark-2); font-size: 0.92rem; transition: color 0.25s; }
.footer__col ul a:hover { color: #fff; }
.footer__social { display: flex; gap: 0.7rem; margin-top: 1rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,0.08); border: 1px solid var(--line-dark); transition: background 0.25s, transform 0.25s; }
.footer__social a:hover { background: var(--blue); transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; color: #fff; }
.footer__legal a { color: var(--on-dark-2); } .footer__legal a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: space-between; padding-top: 1.4rem; color: var(--on-dark-2); font-size: 0.82rem; }

/* ============================================================
   Floating buttons
   ============================================================ */
.fabs { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 150; display: flex; flex-direction: column; gap: 0.8rem; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow); transition: transform 0.3s; }
.fab:hover { transform: scale(1.1) translateY(-2px); }
.fab svg { width: 26px; height: 26px; }
.fab--call { background: var(--grad-blue); color: #fff; }
.fab--wa { background: #25d366; color: #fff; }
.fab--wa svg { width: 30px; height: 30px; }

/* ============================================================
   Section video backgrounds (subtle, behind light sections)
   ============================================================ */
.has-vbg { position: relative; overflow: hidden; }
.has-vbg > .wrap { position: relative; z-index: 1; }
.secvid { position: absolute; inset: 0; z-index: 0; }
.secvid video { width: 100%; height: 100%; object-fit: cover; }
.secvid__veil { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(244,248,252,0.62), rgba(244,248,252,0.48)); }

/* ============================================================
   Reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2,0.7,0.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__card { max-width: 460px; }
  .services__grid, .vshow__grid, .tgrid { grid-template-columns: repeat(2, 1fr); }
  .why__grid, .process__grid, .statband__grid { grid-template-columns: repeat(2, 1fr); }
  .feature, .contact__grid, .srow { grid-template-columns: 1fr; gap: 2.2rem; }
  .srow:nth-child(even) .srow__media, .feature--rev .feature__media { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gitem--wide { grid-column: span 2; }
}
@media (max-width: 1180px) {
  .nav__links { position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.4rem; padding: 2rem; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); box-shadow: -20px 0 60px -30px rgba(15,40,80,0.5); transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.2,0.7,0.2,1); overflow-y: auto; }
  .nav__mail { word-break: break-all; }
  /* language switcher visible on the white mobile drawer */
  .langsw { background: rgba(20,45,80,0.06) !important; border-color: var(--line) !important; }
  .langsw button { color: var(--ink-2) !important; }
  .langsw button.active { color: #fff !important; }
  /* phone stays dark on the white drawer even over the hero */
  .nav:not(.scrolled).nav--over-hero .nav__links .nav__phone { color: var(--blue-deep) !important; }
  /* video background inside the mobile menu drawer */
  .navbg { display: block; position: absolute; inset: 0; z-index: 0; overflow: hidden; }
  .navbg video { width: 100%; height: 100%; object-fit: cover; }
  .navbg__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(248,250,253,0.82), rgba(248,250,253,0.78)); }
  .nav__links > a, .nav__links > .langsw, .nav__links > .nav__phone, .nav__links > .nav__cta { position: relative; z-index: 1; }
  .nav__links.open { transform: translateX(0); }
  .nav__links > a { color: var(--ink-2) !important; font-size: 1.1rem; }
  .nav__links > a.active { color: var(--blue-deep) !important; }
  .nav__phone { color: var(--blue-deep) !important; }
  .nav__toggle { display: flex; }
  .nav:not(.scrolled).nav--over-hero .nav__toggle span { background: #fff; }
}
@media (max-width: 720px) {
  .statband__grid { grid-template-columns: repeat(2, 1fr); }
  .statband .stat + .stat::before { display: none; }
  .section { padding: 4rem 0; }
  .footer__bottom { flex-direction: column; }
}
@media (max-width: 520px) {
  .services__grid, .vshow__grid, .tgrid, .why__grid, .process__grid, .gallery__grid, .footer__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .gitem--wide { grid-column: span 1; aspect-ratio: 1/1; }
  .form { padding: 1.6rem; }
  .brand__text em { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
