/* =========================================================
   ArchiMed-T — landing stylesheet
   ========================================================= */

:root {
	--navy: #0b2440;
	--navy-2: #123a63;
	--navy-3: #0a1f38;
	--teal: #12909a;
	--teal-light: #5cd0d3;
	--silver: #ccd7e0;
	--ink: #0e1b2a;
	--muted: #5c6b7c;
	--muted-2: #8a97a6;
	--bg: #f5f8fa;
	--white: #ffffff;
	--accent: #e2574c;
	--border: #e3e9ee;
	--shadow: 0 20px 45px -20px rgba(11, 36, 64, 0.25);
	--shadow-sm: 0 8px 20px -10px rgba(11, 36, 64, 0.18);
	--radius: 18px;
	--radius-sm: 12px;
	--font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--container: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); margin: 0 0 .5em; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--muted); }
button { font-family: inherit; cursor: pointer; }
svg { display: block; }

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

.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 10000;
	background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border: none; border-radius: 999px; padding: 14px 26px; font-weight: 700; font-size: 15px;
	cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
	white-space: nowrap;
}
.btn--primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(18,144,154,.55); }
.btn--ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--border); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); margin-top: 8px; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(0,0,0,.35); }
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--block { width: 100%; }

.kicker {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	color: var(--teal); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--teal); border-radius: 2px; }
.kicker--light { color: var(--teal-light); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head--center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head__subtitle { font-size: 17px; }

/* =========================================================
   Preloader
   ========================================================= */
.preloader {
	position: fixed; inset: 0; z-index: 9999;
	display: flex; align-items: center; justify-content: center;
	background: radial-gradient(120% 120% at 50% 20%, var(--navy-2) 0%, var(--navy) 55%, var(--navy-3) 100%);
	transition: opacity .6s ease, visibility .6s ease;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__inner { text-align: center; color: #fff; }
.preloader__mark { color: var(--teal-light); margin: 0 auto 18px; }
.preloader__ring { animation: preloader-spin 3.5s linear infinite; transform-origin: center; }
.preloader__anchor {
	stroke-dasharray: 220; stroke-dashoffset: 220;
	animation: preloader-draw 1.6s cubic-bezier(.65,0,.35,1) forwards;
}
.preloader__pulse {
	stroke-dasharray: 260; stroke-dashoffset: 260;
	animation: preloader-draw 1.4s cubic-bezier(.65,0,.35,1) .5s forwards;
	color: var(--accent);
}
.preloader__word {
	font-weight: 800; font-size: 22px; letter-spacing: .04em; opacity: 0; color: #fff;
	animation: preloader-fade .6s ease 1s forwards;
}
.preloader__word span { color: var(--teal-light); }
.preloader__bar {
	width: 160px; height: 3px; margin: 18px auto 0; border-radius: 3px;
	background: rgba(255,255,255,.18); overflow: hidden; opacity: 0;
	animation: preloader-fade .4s ease .9s forwards;
}
.preloader__bar span {
	display: block; height: 100%; width: 40%; border-radius: 3px;
	background: linear-gradient(90deg, var(--teal), var(--teal-light));
	animation: preloader-bar 1.1s ease-in-out infinite;
}

@keyframes preloader-draw { to { stroke-dashoffset: 0; } }
@keyframes preloader-fade { to { opacity: 1; } }
@keyframes preloader-spin { to { transform: rotate(360deg); } }
@keyframes preloader-bar {
	0% { transform: translateX(-100%); }
	50% { transform: translateX(80%); }
	100% { transform: translateX(280%); }
}

@media (prefers-reduced-motion: reduce) {
	.preloader__ring, .preloader__anchor, .preloader__pulse, .preloader__word, .preloader__bar, .preloader__bar span {
		animation-duration: .01s !important; animation-delay: 0s !important;
	}
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
	position: sticky; top: 0; z-index: 500;
	background: rgba(255,255,255,.85); backdrop-filter: blur(14px);
	border-bottom: 1px solid transparent;
	transition: box-shadow .3s ease, border-color .3s ease;
}
body.is-scrolled .site-header { box-shadow: 0 8px 24px -16px rgba(11,36,64,.3); border-color: var(--border); }

.site-header__inner { display: flex; align-items: center; gap: 28px; padding: 14px 24px; }

.site-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-logo__img { border-radius: 8px; }
.site-logo__text { font-weight: 800; font-size: 19px; color: var(--navy); letter-spacing: -.02em; }
.site-logo__text span { color: var(--teal); }

.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav ul { display: flex; gap: 30px; }
.site-nav a { font-weight: 600; font-size: 15px; color: var(--navy); position: relative; padding: 6px 0; }
.site-nav a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
	background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.site-phone { font-weight: 700; font-size: 14.5px; color: var(--navy); white-space: nowrap; }
.site-phone:hover { color: var(--teal); }

.lang-switch { display: flex; align-items: center; gap: 5px; font-weight: 700; font-size: 13px; color: var(--muted-2); }
.lang-switch__item { padding: 3px 4px; }
.lang-switch__item.is-active { color: var(--teal); }
.lang-switch__sep { opacity: .5; }

.hamburger {
	display: none; flex-direction: column; justify-content: center; gap: 5px;
	width: 40px; height: 40px; border: none; background: var(--bg); border-radius: 10px; flex-shrink: 0;
}
.hamburger span { width: 18px; height: 2px; margin: 0 auto; background: var(--navy); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
	position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); z-index: 700;
	background: var(--navy); color: #fff; padding: 22px 26px 30px;
	transform: translateX(100%); transition: transform .4s cubic-bezier(.65,0,.35,1);
	display: flex; flex-direction: column; align-items: flex-end; gap: 26px; overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav__top { width: 100%; display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.mobile-nav__logo { display: flex; align-items: center; gap: 8px; }
.mobile-nav__logo img { border-radius: 7px; }
.mobile-nav__logo span { font-weight: 800; font-size: 16px; color: #fff; }
.mobile-nav__logo span span { color: var(--teal-light); }
.mobile-nav__close {
	width: 38px; height: 38px; border-radius: 50%; border: none; flex-shrink: 0;
	background: rgba(255,255,255,.1); color: #fff; display: flex; align-items: center; justify-content: center;
}
.mobile-nav__close:hover { background: rgba(255,255,255,.2); }

.mobile-nav nav { width: 100%; }
.mobile-nav ul { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; text-align: right; }
.mobile-nav a { font-size: 19px; font-weight: 700; color: #fff; }
.mobile-nav__phone { font-weight: 700; color: var(--teal-light); font-size: 16px; text-align: right; }
.lang-switch--mobile { color: rgba(255,255,255,.6); justify-content: flex-end; width: 100%; }
.lang-switch--mobile .is-active { color: var(--teal-light); }

.nav-backdrop {
	position: fixed; inset: 0; z-index: 590; background: rgba(9,22,38,.55);
	opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

body.nav-open { overflow: hidden; }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; padding: 96px 0 120px; overflow: hidden; color: #fff; }
.hero__bg {
	position: absolute; inset: 0; z-index: -2;
	background-size: cover; background-position: center 62%; background-repeat: no-repeat;
}
.hero__bg::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(100deg, rgba(8,22,40,.97) 0%, rgba(9,26,46,.93) 34%, rgba(10,34,58,.72) 58%, rgba(11,42,74,.42) 78%, rgba(11,42,74,.28) 100%),
		linear-gradient(0deg, rgba(6,16,29,.55), transparent 40%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero__grid > * { min-width: 0; }

.hero__title { font-size: clamp(34px, 4.6vw, 54px); margin-bottom: 20px; color: #fff; }
.hero__subtitle { font-size: 18px; max-width: 540px; margin-bottom: 32px; color: rgba(255,255,255,.82); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 46px; }

.hero__stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.hero .stat__num { font-size: 26px; font-weight: 800; color: #fff; }
.hero .stat__label { font-size: 13.5px; color: rgba(255,255,255,.68); max-width: 160px; }

.hero__art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; }

.hero__orb {
	position: relative; width: 100%; max-width: 380px; aspect-ratio: 1/1; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: radial-gradient(circle at 35% 28%, rgba(255,255,255,.16), rgba(255,255,255,.02) 65%);
	border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px);
	box-shadow: 0 30px 70px -25px rgba(0,0,0,.6), inset 0 0 50px rgba(255,255,255,.05);
}
.hero__art-svg { width: 82%; max-width: 340px; color: #fff; position: relative; z-index: 1; }
.hero__art-ring { opacity: .3; }
.hero__art-ring--dashed { opacity: .45; animation: hero-spin 50s linear infinite; }
.hero__art-anchor { animation: hero-float 5s ease-in-out infinite; filter: drop-shadow(0 6px 16px rgba(0,0,0,.35)); }
.hero__art-pulse {
	stroke-dasharray: 460; stroke-dashoffset: 460;
	animation: preloader-draw 2.4s ease .6s forwards, hero-pulse-glow 2.6s ease 3s infinite;
}
.hero__art-pulse-dot { opacity: 0; animation: hero-pulse-dot 2.6s ease 3s infinite; }
@keyframes hero-spin { to { transform: rotate(360deg); } }
@keyframes hero-pulse-glow { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
@keyframes hero-pulse-dot { 0%, 20% { opacity: 0; } 30% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; } }

.hero__ping {
	position: absolute; inset: 12%; border-radius: 50%; border: 1.5px solid var(--teal-light);
	opacity: 0; animation: hero-ping 3.6s ease-out infinite;
}
.hero__ping--2 { animation-delay: 1.8s; }
@keyframes hero-ping { 0% { transform: scale(.72); opacity: .55; } 100% { transform: scale(1.28); opacity: 0; } }

.hero__orbit { position: absolute; inset: -2%; animation: hero-spin 16s linear infinite; }
.hero__orbit--rev { inset: 6%; animation: hero-spin 22s linear infinite reverse; }
.hero__orbit-dot {
	position: absolute; top: 0; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%;
	background: var(--teal-light); box-shadow: 0 0 14px 3px rgba(92,208,211,.75);
}
.hero__orbit-dot--sm { width: 7px; height: 7px; margin-left: -3.5px; background: #fff; box-shadow: 0 0 10px 2px rgba(255,255,255,.6); }

.hero__bubble {
	position: absolute; border-radius: 50%; background: rgba(255,255,255,.4);
	animation: hero-bubble 5.5s ease-in infinite; z-index: 0;
}
.hero__bubble--1 { width: 9px; height: 9px; left: 14%; bottom: 4%; animation-delay: .2s; }
.hero__bubble--2 { width: 6px; height: 6px; left: 82%; bottom: 10%; animation-delay: 2s; }
.hero__bubble--3 { width: 7px; height: 7px; left: 48%; bottom: -2%; animation-delay: 3.6s; }
@keyframes hero-bubble {
	0% { transform: translateY(0); opacity: 0; }
	12% { opacity: .8; }
	100% { transform: translateY(-320px); opacity: 0; }
}

.hero__badge {
	position: absolute; display: flex; align-items: center; gap: 8px;
	background: #fff; padding: 10px 16px; border-radius: 14px; box-shadow: var(--shadow-sm);
	font-weight: 700; font-size: 13.5px; color: var(--navy); animation: hero-float 5s ease-in-out infinite;
}
.hero__badge svg { width: 18px; height: 18px; color: var(--teal); }
.hero__badge--1 { top: 6%; left: -2%; animation-delay: .3s; }
.hero__badge--2 { bottom: 10%; right: -4%; animation-delay: 1.1s; }
@keyframes hero-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
	.hero__art-ring--dashed, .hero__art-anchor, .hero__badge, .hero__art-pulse, .hero__art-pulse-dot,
	.hero__ping, .hero__orbit, .hero__bubble { animation: none !important; opacity: .01; }
	.hero__art-pulse { opacity: 1; stroke-dashoffset: 0; }
}

/* =========================================================
   Quick nav
   ========================================================= */
.quicknav { margin-top: -46px; position: relative; z-index: 5; }
.quicknav__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quicknav__card {
	background: #fff; border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm);
	border: 1px solid var(--border); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.quicknav__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.quicknav__card--active { border-color: var(--teal); box-shadow: 0 20px 40px -18px rgba(18,144,154,.35); }
.quicknav__icon {
	width: 52px; height: 52px; border-radius: 14px; background: rgba(18,144,154,.1); color: var(--teal);
	display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.quicknav__icon svg { width: 26px; height: 26px; }
.quicknav__card h3 { font-size: 19px; margin-bottom: 8px; }
.quicknav__card p { font-size: 14.5px; margin-bottom: 18px; }
.quicknav__link { background: none; border: none; padding: 0; font-weight: 700; color: var(--teal); font-size: 14.5px; }

/* =========================================================
   Steps
   ========================================================= */
.steps { padding: 110px 0 90px; }
.steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { position: relative; padding: 30px 22px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); }
.step__num { font-size: 34px; font-weight: 800; color: rgba(18,144,154,.28); display: block; margin-bottom: 10px; }
.step h3 { font-size: 17.5px; margin-bottom: 8px; }
.step p { font-size: 14px; margin: 0; }

/* =========================================================
   Timeline / credibility
   ========================================================= */
.timeline {
	position: relative; padding: 90px 0; color: #fff; overflow: hidden;
	background:
		linear-gradient(155deg, rgba(10,31,56,.94), rgba(18,58,99,.90)),
		url('../images/timeline-bg.jpg');
	background-size: cover; background-position: center;
}
.timeline__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.timeline__grid > * { min-width: 0; }
.timeline__intro h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); }
.timeline__intro p { color: rgba(255,255,255,.68); }
.timeline__track {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.timeline__item {
	display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px;
	background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
}
.timeline__year {
	flex-shrink: 0; font-weight: 800; font-size: 13px; color: var(--navy);
	background: var(--teal-light); padding: 4px 9px; border-radius: 999px;
}
.timeline__name { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.92); }

/* =========================================================
   Services
   ========================================================= */
.services { padding: 100px 0; }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
	background: #fff; border-radius: var(--radius-sm); padding: 26px 22px; border: 1px solid var(--border);
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: var(--teal); }
.service-card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--teal-light); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.service-card__icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.service-card p { font-size: 13.5px; margin: 0; }

/* =========================================================
   Leadership
   ========================================================= */
.leadership { padding: 40px 0 100px; }
.leadership__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.leadership__grid > * { min-width: 0; }
.leadership__art { position: relative; height: 400px; }
.leadership__photo {
	width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
	border-radius: 26px; box-shadow: var(--shadow);
}
.leadership__badge {
	position: absolute; left: -22px; bottom: -22px; width: 76px; height: 76px; border-radius: 20px;
	background: linear-gradient(150deg, var(--teal), var(--navy)); color: #fff;
	display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
	border: 4px solid #fff;
}
.leadership__badge svg { width: 34px; height: 34px; }
.leadership__content h2 { font-size: clamp(26px, 3vw, 34px); }
.leadership__people { display: flex; gap: 28px; margin: 26px 0; flex-wrap: wrap; }
.leadership__person { display: flex; flex-direction: column; padding: 16px 20px; background: #fff; border: 1px solid var(--border); border-radius: 14px; min-width: 200px; }
.leadership__person strong { color: var(--navy); font-size: 16px; margin-bottom: 4px; }
.leadership__person span { color: var(--teal); font-size: 13px; font-weight: 700; }

/* =========================================================
   Certificates
   ========================================================= */
.certificates { padding: 20px 0 100px; }
.cert-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.cert-filter {
	background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 9px 18px;
	font-weight: 700; font-size: 13.5px; color: var(--muted); transition: all .25s ease;
}
.cert-filter.is-active, .cert-filter:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.cert-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cert-card {
	background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden;
	text-align: left; padding: 0; transition: transform .3s ease, box-shadow .3s ease; display: block; width: 100%;
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.cert-card.is-hidden { display: none; }
.cert-card__thumb {
	position: relative; display: flex; align-items: center; justify-content: center;
	aspect-ratio: 3/4; background: var(--bg); overflow: hidden;
}
.cert-card__thumb img, .cert-card__thumb canvas { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.cert-card__placeholder { width: 46px; height: 46px; color: var(--muted-2); }
.cert-card__thumb.is-loading::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
	transform: translateX(-100%); animation: cert-shimmer 1.3s infinite;
}
@keyframes cert-shimmer { to { transform: translateX(100%); } }
.cert-card__zoom {
	position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; border-radius: 50%;
	background: rgba(11,36,64,.85); color: #fff; display: flex; align-items: center; justify-content: center;
	opacity: 0; transform: scale(.8); transition: all .25s ease;
}
.cert-card:hover .cert-card__zoom { opacity: 1; transform: scale(1); }
.cert-card__title { display: block; padding: 12px 14px 15px; font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.35; }

/* =========================================================
   Trust marquee
   ========================================================= */
.trust { padding: 90px 0 100px; background: #fff; }
.trust__marquee { overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.trust__track { display: flex; gap: 14px; width: max-content; animation: trust-scroll 34s linear infinite; }
.trust__marquee:hover .trust__track { animation-play-state: paused; }
.trust__badge {
	display: flex; align-items: center; gap: 10px; white-space: nowrap; padding: 12px 22px;
	background: var(--bg); border: 1px solid var(--border); border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--navy);
}
.trust__badge svg { width: 17px; height: 17px; color: var(--teal); }
@keyframes trust-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .trust__track { animation: none; } }

/* =========================================================
   CTA banner
   ========================================================= */

.cta-banner__inner {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 70px 24px;
    background: linear-gradient(135deg, rgba(18, 144, 154, .90), rgba(11, 36, 64, .92)), url(../images/cta-bg.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 28px;
    color: #fff;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
}
.cta-banner__inner h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); max-width: 700px; margin: 0 auto 14px; }
.cta-banner__inner p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 30px; }
.cta-banner__decor {
	position: absolute; width: 500px; height: 500px; border-radius: 50%; top: -220px; right: -160px;
	background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%);
}

/* =========================================================
   Map
   ========================================================= */
.map-section { position: relative; height: 420px; }
.map-section__frame { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.25) contrast(1.05); }
.map-section__badge {
	position: absolute; left: 24px; bottom: 24px; z-index: 2;
	display: flex; align-items: center; gap: 10px; background: #fff; padding: 14px 20px; border-radius: 14px;
	box-shadow: var(--shadow); font-weight: 700; font-size: 14.5px; color: var(--navy);
}
.map-section__badge svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; }
.map-section__badge:hover { color: var(--teal); }

@media (max-width: 640px) {
	.map-section { height: 320px; }
	.map-section__badge { left: 14px; right: 14px; bottom: 14px; font-size: 13px; }
}

/* =========================================================
   Back to top
   ========================================================= */
.back-to-top {
	position: fixed; right: 26px; bottom: 26px; z-index: 400;
	width: 54px; height: 54px; border-radius: 50%; border: none; cursor: pointer;
	background: linear-gradient(150deg, var(--teal), var(--navy)); color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 14px 30px -10px rgba(11,36,64,.5);
	opacity: 0; visibility: hidden; transform: translateY(14px) scale(.85);
	transition: opacity .3s ease, transform .3s ease, visibility .3s ease, box-shadow .25s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.back-to-top:hover { box-shadow: 0 18px 36px -8px rgba(18,144,154,.55); transform: translateY(-3px) scale(1.04); }
.back-to-top__ring {
	position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(92,208,211,.55);
	animation: back-to-top-ping 2.6s ease-out infinite;
}
.back-to-top svg { width: 22px; height: 22px; position: relative; z-index: 1; color: #fff; }
@keyframes back-to-top-ping { 0% { transform: scale(.85); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .back-to-top__ring { animation: none; } }
@media (max-width: 640px) { .back-to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; } }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--navy-3); color: rgba(255,255,255,.75); padding: 70px 0 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer__grid > * { min-width: 0; }
.site-logo--footer .site-logo__text { color: #fff; }
.site-footer__about p { margin-top: 16px; font-size: 14px; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.site-footer__links ul { display: flex; flex-direction: column; gap: 11px; }
.site-footer__links a { font-size: 14px; }
.site-footer__links a:hover { color: var(--teal-light); }
.site-footer__contacts ul { display: flex; flex-direction: column; gap: 14px; }
.site-footer__contacts li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.site-footer__contacts svg { flex-shrink: 0; margin-top: 2px; color: var(--teal-light); }
.site-footer__contacts a:hover { color: var(--teal-light); }
.site-footer__bottom { padding: 22px 24px; font-size: 13px; text-align: center; color: rgba(255,255,255,.5); }
.site-footer__photo-credits { margin-top: 6px; font-size: 11px; color: rgba(255,255,255,.32); }
.site-footer__photo-credits a { color: rgba(255,255,255,.45); text-decoration: underline; }
.site-footer__photo-credits a:hover { color: rgba(255,255,255,.7); }

/* Agency credit badge (provided snippet) */
.joie:hover g circle {
	animation: rotate_alogo .5s linear infinite
}

a.joie svg {
	width: 115px;
	height: auto;
	margin: -14px 7px
}

.joie:hover g > :nth-child(2n) circle {
	animation: rotate_alogo .4s linear infinite
}

@keyframes rotate_alogo {
	0% {
		transform: rotate(0) translate(8px) rotate(0)
	}

	to {
		transform: rotate(360deg) translate(8px) rotate(-360deg)
	}
}



a.joie {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: transparent;
    letter-spacing: 1px;
    margin: 8px auto 0;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    width: -moz-fit-content;
    width: fit-content;
    border-radius: 15px;
    color: rgba(255, 255, 255, .55);
    font-weight: 300;
    font-size: 13px;
    color: #fff;
    font-weight: 500;
    margin-top: 27px;
}

/* =========================================================
   Contact modal
   ========================================================= */
.contact-modal { position: fixed; inset: 0; z-index: 900; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease; }
.contact-modal.is-open { opacity: 1; visibility: visible; }
.contact-modal__backdrop { position: absolute; inset: 0; background: rgba(9,22,38,.6); backdrop-filter: blur(3px); }
.contact-modal__dialog {
	position: relative; width: 100%; max-width: 480px; background: #fff; border-radius: 22px; padding: 40px 36px 34px;
	max-height: 90vh; overflow-y: auto; transform: translateY(24px) scale(.97); opacity: 0; transition: transform .4s cubic-bezier(.2,.9,.3,1.2), opacity .3s ease;
}
.contact-modal.is-open .contact-modal__dialog { transform: translateY(0) scale(1); opacity: 1; }
.contact-modal__close, .cert-lightbox__close {
	position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%; border: none;
	background: var(--bg); color: var(--navy); display: flex; align-items: center; justify-content: center;
}
.contact-modal__anchor { width: 52px; height: 52px; border-radius: 14px; overflow: hidden; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.contact-modal__anchor img { width: 100%; height: 100%; object-fit: cover; }
.contact-modal__dialog h3 { font-size: 23px; margin-bottom: 8px; }
.contact-modal__subtitle { font-size: 14.5px; margin-bottom: 24px; }
.contact-modal__fallback { font-weight: 700; }

/* CF7 form styling */
.archimed-form p { margin-bottom: 16px; }
.archimed-form input[type="text"],
.archimed-form input[type="tel"],
.archimed-form input[type="email"],
.archimed-form select,
.archimed-form textarea {
	width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 12px;
	font-family: inherit; font-size: 14.5px; color: var(--ink); background: var(--bg); transition: border-color .2s ease, background .2s ease;
}
.archimed-form input:focus, .archimed-form select:focus, .archimed-form textarea:focus {
	outline: none; border-color: var(--teal); background: #fff;
}
.archimed-form textarea { min-height: 90px; resize: vertical; }
.archimed-form .wpcf7-acceptance { display: block; font-size: 12.5px; color: var(--muted); }
.archimed-form .wpcf7-list-item { margin: 0; }
.archimed-form .wpcf7-list-item label {
	display: flex; align-items: flex-start; gap: 9px; cursor: pointer;
}
.archimed-form .wpcf7-list-item input[type="checkbox"] {
	width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; accent-color: var(--teal); cursor: pointer;
}
.archimed-form .wpcf7-list-item-label { line-height: 1.45; }
.archimed-form input[type="submit"] {
	width: 100%; border: none; background: var(--teal); color: #fff; font-weight: 700; font-size: 15px;
	padding: 14px; border-radius: 999px; transition: transform .25s ease, box-shadow .25s ease;
}
.archimed-form input[type="submit"]:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.archimed-form input[type="submit"]:disabled { opacity: .7; transform: none; }
.wpcf7-not-valid-tip { color: var(--accent); font-size: 12px; margin-top: 4px; }
.wpcf7-response-output {
	margin-top: 16px !important; border-radius: 12px !important; font-size: 13.5px !important; padding: 12px 14px !important;
}
.archimed-form .wpcf7-spinner { display: block; margin: 10px auto 0; }

/* =========================================================
   Certificate lightbox
   ========================================================= */
.cert-lightbox { position: fixed; inset: 0; z-index: 950; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease; }
.cert-lightbox.is-open { opacity: 1; visibility: visible; }
.cert-lightbox__backdrop { position: absolute; inset: 0; background: rgba(9,22,38,.78); }
.cert-lightbox__dialog {
	position: relative; background: #fff; border-radius: 20px; padding: 30px; width: 100%; max-width: 640px;
	max-height: 88vh; display: flex; flex-direction: column; transform: scale(.95); opacity: 0; transition: transform .35s ease, opacity .3s ease;
}
.cert-lightbox.is-open .cert-lightbox__dialog { transform: scale(1); opacity: 1; }
.cert-lightbox__title { padding-right: 30px; margin-bottom: 14px; }
.cert-lightbox__body { flex: 1; overflow: auto; display: flex; align-items: center; justify-content: center; background: var(--bg); border-radius: 12px; min-height: 300px; }
.cert-lightbox__body img, .cert-lightbox__body canvas { max-width: 100%; height: auto; border-radius: 8px; }
.cert-lightbox__open { margin-top: 20px; align-self: flex-start; }

/* =========================================================
   Misc / basic page fallback
   ========================================================= */
.basic-page { padding: 120px 0 90px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
	.services__grid { grid-template-columns: repeat(3, 1fr); }
	.cert-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
	.site-nav { display: none; }
	.hamburger { display: flex; }
	.site-header__actions .btn--primary { display: none; }
	.site-header__inner { gap: 14px; }
	.hero__grid { grid-template-columns: 1fr; text-align: center; }
	.hero__actions, .hero__stats { justify-content: center; }
	.hero__art { min-height: 320px; margin-top: 20px; }
	.quicknav__grid, .steps__grid { grid-template-columns: repeat(2, 1fr); }
	.timeline__grid, .leadership__grid { grid-template-columns: 1fr; }
	.leadership__art { order: -1; height: 260px; }
	.services__grid { grid-template-columns: repeat(2, 1fr); }
	.cert-grid { grid-template-columns: repeat(3, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__about { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
	.container { padding: 0 18px; }
    .site-header__inner {
        padding: 12px 18px;
        justify-content: space-between;
    }
	.site-header__actions { gap: 10px; }
	.site-phone { display: none; }
	.hero { padding: 50px 0 70px; }
	.hero__art { min-height: 300px; }
	.hero__badge--1 { top: 2%; left: 0; }
	.hero__badge--2 { bottom: 6%; right: 0; }
	.quicknav__grid, .steps__grid, .services__grid { grid-template-columns: 1fr; }
	.cert-grid { grid-template-columns: repeat(2, 1fr); }
	.timeline__track { grid-template-columns: 1fr; }
	.leadership__people { flex-direction: column; }
	.contact-modal__dialog { padding: 32px 22px 26px; }
	.cta-banner__inner { padding: 50px 20px; border-radius: 20px; }
	.site-footer__grid { grid-template-columns: 1fr; }
}
