/* ===== Tukisoft – Clean static site ===== */
:root {
  --blue: #144E8C;
  --blue-dark: #0C2D4F;
  --blue-light: #EEF5FD;
  --gray: #4A5568;
  --gray-light: #F8FAFC;
  --text: #111827;
  --white: #ffffff;
  --navy: #111827;
  --soft-border: rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --shadow: 0 16px 40px rgba(12, 45, 79, 0.08);
  --shadow-hover: 0 22px 48px rgba(12, 45, 79, 0.12);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
  background:
    radial-gradient(circle at top, rgba(30, 90, 168, 0.05), transparent 30%),
    var(--white);
  -webkit-font-smoothing: antialiased;
}

.js-motion [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-motion [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-motion [data-reveal][data-delay="1"] { transition-delay: 0.08s; }
.js-motion [data-reveal][data-delay="2"] { transition-delay: 0.16s; }
.js-motion [data-reveal][data-delay="3"] { transition-delay: 0.24s; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-ready .eyebrow,
.hero-ready .hero-lead,
.hero-ready .hero-actions {
  animation: heroFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-ready .hero-lead { animation-delay: 0.45s; }
.hero-ready .hero-actions { animation-delay: 0.58s; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--blue), #67a7df);
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color 0.2s ease, transform 0.2s ease; }
a:hover { color: var(--blue-dark); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.04);
  box-shadow: 0 6px 20px rgba(12, 45, 79, 0.04);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(12, 45, 79, 0.09);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--blue-dark);
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: translateY(-1px);
}

.logo-image {
  display: block;
  width: auto;
  height: 42px;
}

.logo-text {
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  margin-left: 0.5rem;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--gray);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.is-active {
  background: var(--blue-dark);
  color: white;
  box-shadow: 0 8px 18px rgba(12, 45, 79, 0.12);
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray);
  position: relative;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus {
  color: var(--blue);
}

.nav a:hover::after,
.nav a:focus::after,
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 1px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.06);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: white;
  box-shadow: 0 14px 24px rgba(12, 45, 79, 0.18);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0a2540, var(--blue));
  color: white;
}

.btn-outline {
  background: rgba(255,255,255,0.65);
  border-color: rgba(20, 78, 140, 0.2);
  color: var(--blue);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--blue-light);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

.btn-full { width: 100%; }

.cf-turnstile {
  width: 100%;
  max-width: 100%;
  margin-bottom: 1rem;
  display: block;
}

.cf-turnstile > div,
.cf-turnstile iframe {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: flex-start;
  padding: 3.25rem 0 4.5rem;
  background: #eef5fb url("assets/images/hero-office-poster.jpg") center 54% / cover no-repeat;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  filter: saturate(0.72) contrast(0.92);
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(244, 249, 255, 0.97) 0%,
      rgba(244, 249, 255, 0.91) 42%,
      rgba(244, 249, 255, 0.68) 68%,
      rgba(244, 249, 255, 0.48) 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: var(--hero-glow-x, 72%);
  top: var(--hero-glow-y, 44%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(103, 167, 223, 0.09), transparent 68%);
  pointer-events: none;
  transition: left 0.35s ease-out, top 0.35s ease-out;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: 3.5rem;
}

.hero-content { max-width: 720px; }

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-orb-one {
  width: 180px;
  height: 180px;
  right: -70px;
  top: 40px;
  background: rgba(20, 78, 140, 0.07);
  animation: floatOrb 9s ease-in-out infinite;
}

.hero-orb-two {
  width: 90px;
  height: 90px;
  left: 42%;
  bottom: -55px;
  background: rgba(103, 167, 223, 0.09);
  animation: floatOrb 7s ease-in-out -2s infinite reverse;
}

@keyframes floatOrb {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -18px, 0); }
}

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 410px;
  justify-self: end;
  width: 100%;
  opacity: 0;
  transform: translateX(24px) scale(0.96);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

.hero-ready .hero-visual {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.visual-grid {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(20, 78, 140, 0.08);
  background:
    linear-gradient(rgba(20, 78, 140, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 78, 140, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle, black 20%, transparent 68%);
}

.visual-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(20, 78, 140, 0.16);
}

.visual-ring-outer {
  inset: 12%;
  border-style: dashed;
  animation: spin 32s linear infinite;
}

.visual-ring-inner {
  inset: 27%;
  border-width: 2px;
  border-color: rgba(20, 78, 140, 0.12);
  animation: spin 18s linear infinite reverse;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.visual-core {
  position: absolute;
  inset: 36%;
  display: grid;
  place-items: center;
  color: var(--blue);
  border: 1px solid rgba(20, 78, 140, 0.12);
  border-radius: 28%;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 50px rgba(12, 45, 79, 0.14);
  backdrop-filter: blur(12px);
  animation: corePulse 4s ease-in-out infinite;
}

.visual-core svg { width: 58%; }

@keyframes corePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 24px 50px rgba(12, 45, 79, 0.14); }
  50% { transform: scale(1.035); box-shadow: 0 28px 60px rgba(12, 45, 79, 0.18); }
}

.visual-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(20, 78, 140, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-dark);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(12, 45, 79, 0.08);
  animation: nodeFloat 5s ease-in-out infinite;
}

.visual-node-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #67a7df;
  box-shadow: 0 0 0 4px rgba(103, 167, 223, 0.12);
}

.visual-node-a { top: 18%; right: 5%; }
.visual-node-b { left: 2%; top: 47%; animation-delay: -1.4s; }
.visual-node-c { right: 10%; bottom: 12%; animation-delay: -2.8s; }

@keyframes nodeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.06em;
  color: var(--blue-dark);
  margin-bottom: 0.9rem;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.typewriter-target {
  display: inline;
  white-space: normal;
  min-height: 0;
}

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--blue-dark);
  vertical-align: -0.08em;
  margin-left: 0.1rem;
  transform: translateY(-0.04em);
  animation: blink 0.9s step-end infinite;
}

.hero-ready .typewriter-cursor {
  opacity: 1;
  animation: blink 0.9s step-end infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

.hero-lead {
  font-size: 1.18rem;
  color: var(--gray);
  margin-bottom: 2.25rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 1;
  transform: none;
  transition: none;
}

.signature-strip {
  border-top: 1px solid rgba(20, 78, 140, 0.07);
  border-bottom: 1px solid rgba(20, 78, 140, 0.07);
  background: rgba(255, 255, 255, 0.88);
}

.signature-strip-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 4vw, 3.25rem);
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 800;
}

.signature-strip-inner span {
  position: relative;
  transition: color 0.25s ease, transform 0.25s ease;
}

.signature-strip-inner span:hover {
  color: var(--blue);
  transform: translateY(-2px);
}

.signature-strip-inner i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #67a7df;
  box-shadow: 0 0 0 5px rgba(103, 167, 223, 0.09);
}

/* ===== Sections ===== */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--gray-light);
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.75rem;
}

.section-index {
  display: block;
  margin-bottom: 0.55rem;
  color: rgba(20, 78, 140, 0.48);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 0.6rem;
  letter-spacing: -0.05em;
}

.section-header p {
  color: var(--gray);
  font-size: 1.08rem;
}

/* ===== Cards / Grid ===== */
.grid {
  display: grid;
  gap: 1.5rem;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease, border-color 0.28s ease;
  border: 1px solid rgba(17, 24, 39, 0.05);
}

.services-grid .card {
  counter-increment: service;
}

.services-grid {
  counter-reset: service;
}

.services-grid .card::after {
  content: "0" counter(service);
  position: absolute;
  right: 1.25rem;
  bottom: 0.8rem;
  color: rgba(20, 78, 140, 0.09);
  font-size: 3.25rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.08em;
  pointer-events: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.services-grid .card:hover::after {
  color: rgba(20, 78, 140, 0.14);
  transform: translateY(-4px);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(260px circle at var(--pointer-x, 50%) var(--pointer-y, 50%),
    rgba(103, 167, 223, 0.13), transparent 52%);
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.card:hover::before { opacity: 1; }

.card:hover {
  transform: perspective(900px) translateY(-6px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  box-shadow: var(--shadow-hover);
  border-color: rgba(20, 78, 140, 0.15);
}

.card-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(20, 78, 140, 0.12), rgba(20, 78, 140, 0.04));
  color: var(--blue-dark);
  border-radius: 16px;
  margin-bottom: 0.9rem;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover .card-icon svg { transform: scale(1.06); }

.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--gray);
}

.card-sm {
  padding: 1.4rem;
}

.card-sm h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 0.4rem;
}

/* ===== Formations ===== */
.formation-highlight {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
  align-items: center;
  gap: 2.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f3f9ff 100%);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  border: 1px solid rgba(20, 78, 140, 0.1);
}

.formation-highlight::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 54%;
  left: 0;
  top: 23%;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, var(--blue), #67a7df);
  box-shadow: 8px 0 28px rgba(20, 78, 140, 0.12);
}

.formation-highlight::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -150px;
  top: -150px;
  border: 1px solid rgba(20, 78, 140, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(20, 78, 140, 0.025);
  pointer-events: none;
}

.formation-content {
  position: relative;
  z-index: 2;
}

.formation-visual {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
}

.formation-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(20, 78, 140, 0.12);
}

.formation-orbit-large {
  width: 220px;
  height: 220px;
  border-style: dashed;
  animation: spin 28s linear infinite;
}

.formation-orbit-small {
  width: 150px;
  height: 150px;
  animation: spin 18s linear infinite reverse;
}

.formation-symbol {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  color: var(--blue);
  border: 1px solid rgba(20, 78, 140, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 48px rgba(12, 45, 79, 0.12);
  backdrop-filter: blur(10px);
  animation: corePulse 5s ease-in-out infinite;
}

.formation-symbol svg {
  width: 72%;
  height: 72%;
}

.formation-pulse {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #67a7df;
  box-shadow: 0 0 0 5px rgba(103, 167, 223, 0.12);
  animation: nodeFloat 4s ease-in-out infinite;
}

.formation-pulse-one {
  top: 18%;
  right: 21%;
}

.formation-pulse-two {
  bottom: 15%;
  left: 19%;
  animation-delay: -2s;
}

.badge {
  display: inline-block;
  background: var(--blue);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.formation-content h3 {
  font-size: 1.35rem;
  color: var(--blue-dark);
  margin-bottom: 0.75rem;
}

.formation-content > p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.check-list {
  list-style: none;
  margin-bottom: 1.25rem;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.4rem;
  color: var(--text);
  font-size: 0.95rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

.check-list li:hover {
  color: var(--blue-dark);
  transform: translateX(4px);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.formation-meta {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 1.25rem;
}

.formation-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-grid h2 {
  font-size: clamp(2rem, 2.8vw, 2.5rem);
  color: var(--blue-dark);
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  text-align: center;
}

.about-grid p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.link-arrow {
  font-weight: 600;
  display: inline-block;
  margin-top: 0.5rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.link-arrow:hover {
  transform: translateX(2px);
}

.about-grid > div:first-child {
  position: relative;
}

.about-grid > div:first-child::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), #67a7df);
}

.about-card {
  background: linear-gradient(180deg, rgba(238, 245, 253, 0.7), rgba(255,255,255,0.9));
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(20, 78, 140, 0.08);
  box-shadow: 0 14px 28px rgba(12, 45, 79, 0.05);
}

.about-card h4 {
  font-size: 1.08rem;
  color: var(--blue-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.about-card ul {
  list-style: none;
}

.about-card li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(30, 90, 168, 0.12);
  font-size: 0.95rem;
  color: var(--text);
}

.about-card li:last-child { border-bottom: none; }

.about-card li {
  transition: transform 0.25s ease, padding-left 0.25s ease, color 0.25s ease;
}

.about-card li:hover {
  color: var(--blue-dark);
  transform: translateX(3px);
  padding-left: 0.35rem;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 2rem;
  align-items: stretch;
}

.contact-card,
.contact-form {
  background: linear-gradient(180deg, #ffffff 0%, #f5fafe 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(17, 24, 39, 0.05);
}

.contact-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 8%, rgba(103, 167, 223, 0.16), transparent 24%),
    linear-gradient(145deg, #ffffff 0%, #edf5fd 100%);
  border-color: rgba(20, 78, 140, 0.1);
}

.contact-card::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 64%;
  left: 0;
  top: 18%;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, #67a7df, var(--blue));
}

.contact-kicker {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.contact-card h3 {
  font-size: 1.8rem;
  line-height: 1.2;
  margin-bottom: 0.9rem;
  color: var(--blue-dark);
  letter-spacing: -0.05em;
}

.contact-card p {
  color: var(--gray);
  margin-bottom: 1.25rem;
}

.contact-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
  padding: 0.7rem;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.contact-item:hover {
  border-color: rgba(20, 78, 140, 0.09);
  background: rgba(255, 255, 255, 0.72);
  transform: translateX(3px);
}

.contact-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--blue);
  border: 1px solid rgba(20, 78, 140, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 18px rgba(12, 45, 79, 0.06);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
  margin-bottom: 0.3rem;
}

.contact-item a,
.contact-item .contact-label {
  font-size: 1rem;
  color: var(--text);
  font-weight: 600;
}

.contact-item a {
  overflow-wrap: anywhere;
}

.contact-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  margin-top: 0.75rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(20, 78, 140, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.contact-status span {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #2fa66a;
  box-shadow: 0 0 0 5px rgba(47, 166, 106, 0.1);
  animation: statusPulse 2.4s ease-in-out infinite;
}

.contact-status p {
  margin: 0;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(47, 166, 106, 0.1); }
  50% { box-shadow: 0 0 0 8px rgba(47, 166, 106, 0.04); }
}

.contact-form {
  padding: 2.2rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}


.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #CBD5E0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 90, 168, 0.15);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(103, 167, 223, 0.45);
  outline-offset: 3px;
}

.cf-turnstile {
  width: 100%;
  margin: 0 0 1rem;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.cf-turnstile > div,
.cf-turnstile iframe {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  display: block;
}

.form-note {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 0.85rem;
  text-align: center;
  transition: color 0.2s ease;
}

.form-note[data-state="success"] {
  color: #0f5132;
}

.form-note[data-state="error"] {
  color: #b42318;
}

.form-note {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 0.85rem;
  text-align: center;
  transition: color 0.2s ease;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: rgba(15, 118, 110, 0.04);
  border: 1px solid rgba(15, 118, 110, 0.08);
}

.form-note[data-state="success"] {
  color: #0f5132;
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.2);
}

.form-note[data-state="error"] {
  color: #b42318;
  background: rgba(220, 38, 38, 0.06);
  border-color: rgba(220, 38, 38, 0.15);
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(180deg, var(--blue-dark) 0%, #0b2b4d 100%);
  color: rgba(255,255,255,0.85);
  padding: 2.5rem 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: white;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.footer-logo {
  height: 28px;
}

.footer-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  margin: 0.7rem 0;
  font-weight: 600;
  flex-wrap: wrap;
}

.footer-meta a,
.footer-links a {
  color: #bfe7ff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.footer-meta a:hover,
.footer-links a:hover {
  color: #ffffff;
}

.footer-links {
  margin-bottom: 0.8rem;
}

.footer p { font-size: 0.9rem; margin-bottom: 0.3rem; }
.footer-copy { opacity: 0.7; font-size: 0.8rem; margin-top: 0.75rem; }

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 150;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(20, 78, 140, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-dark);
  box-shadow: 0 14px 34px rgba(12, 45, 79, 0.14);
  backdrop-filter: blur(12px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease,
    background 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--blue-dark);
  color: white;
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .container {
    padding-inline: 1.25rem;
  }

  .header-inner {
    height: 74px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1.25rem;
    gap: 1rem;
    border-bottom: 1px solid #EDF2F7;
    box-shadow: var(--shadow);
  }

  .nav.open { display: flex; }

  .nav.open a {
    animation: heroFadeUp 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .nav.open a:nth-child(2) { animation-delay: 0.04s; }
  .nav.open a:nth-child(3) { animation-delay: 0.08s; }
  .nav.open a:nth-child(4) { animation-delay: 0.12s; }

  .menu-toggle { display: flex; }

  .hero {
    min-height: 500px;
    padding: 2.25rem 0 2.5rem;
  }
  .hero-media {
    display: block;
    width: 128%;
    min-width: 128%;
    height: 100%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    object-fit: cover;
    object-position: 66% 50%;
  }
  .hero-media-overlay {
    background:
      linear-gradient(180deg,
        rgba(244, 249, 255, 0.92) 0%,
        rgba(244, 249, 255, 0.82) 48%,
        rgba(244, 249, 255, 0.62) 100%);
  }
  .hero-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-visual {
    max-width: 270px;
    justify-self: center;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .formation-highlight { padding: 1.5rem; }
  .formation-highlight {
    grid-template-columns: 1fr;
  }
  .formation-visual {
    min-height: 220px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 1rem;
  }

  .header-inner {
    gap: 0.55rem;
  }

  .logo-image {
    height: 34px;
    max-width: 140px;
  }

  .lang-switch {
    margin-left: 0;
  }

  .lang-btn {
    padding-inline: 0.55rem;
  }

  .hero {
    min-height: 520px;
    padding: 1.75rem 0 2.25rem;
  }

  .hero-media {
    width: 138%;
    min-width: 138%;
    height: 108%;
    top: -4%;
    bottom: auto;
    max-width: none;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    object-position: 68% 46%;
  }

  .hero-media-overlay {
    background:
      linear-gradient(180deg,
        rgba(244, 249, 255, 0.92) 0%,
        rgba(244, 249, 255, 0.82) 52%,
        rgba(244, 249, 255, 0.62) 100%);
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.5rem);
  }

  .services-grid,
  .formation-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .card {
    min-width: 0;
  }

  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .back-to-top { right: 0.8rem; bottom: 0.8rem; }
  .signature-strip-inner {
    min-height: 68px;
    gap: 0.55rem;
    letter-spacing: 0.06em;
    font-size: 0.62rem;
  }

  .signature-strip-inner i {
    width: 3px;
    height: 3px;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js-motion [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-media {
    display: none;
  }
}
