/* ===== VARIABLES ===== */
:root {
  --primary: #0C4466;
  --primary-dark: #083350;
  --primary-light: #1a6b9a;
  --accent: #2196F3;
  --accent-glow: rgba(33, 150, 243, 0.15);
  --green: #1a5f2a;
  --green-light: #238636;
  --bg-light: #f7f8fa;
  --bg-warm: #f0f4f8;
  --text-dark: #1C1C1C;
  --text-body: #4a4a4a;
  --text-muted: #6b7280;
  --white: #FFFFFF;
  --max-width: 1200px;
  --header-height: 72px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-card: 0 2px 12px rgba(12,68,102,0.08);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Figtree', sans-serif;
  color: var(--text-body);
  line-height: 1.75;
  font-size: 16px;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: 'DM Serif Text', serif; color: var(--text-dark); line-height: 1.25; }
h1 { font-size: 2.75rem; margin-bottom: 1rem; letter-spacing: -0.02em; }
h2 { font-size: 2.1rem; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-dark); }
p { margin-bottom: 1rem; }

/* Section heading with accent line */
.section-heading { text-align: center; margin-bottom: 3rem; }
.section-heading h2 { margin-bottom: 1rem; }
.section-heading h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 0.75rem auto 0;
  border-radius: 2px;
}
.section-heading p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ===== LAYOUT ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.section--gray { background: var(--bg-light); }
.section--warm { background: var(--bg-warm); }
.text-center { text-align: center; }

/* ===== HEADER (Glassmorphism) ===== */
.header {
  background: rgba(12, 68, 102, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s, box-shadow 0.3s;
}
.header--scrolled {
  background: rgba(12, 68, 102, 0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-family: 'DM Serif Text', serif;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo:hover { text-decoration: none; color: var(--white); }
.logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: transform var(--transition);
}
.logo:hover img { transform: scale(1.05); }

/* Navigation */
.nav { display: flex; align-items: center; gap: 0; }
.nav__item { position: relative; }
.nav__link {
  display: block;
  padding: 0.5rem 1.1rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
  border-radius: 6px;
  position: relative;
}
.nav__link:hover, .nav__link--active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
  text-decoration: none;
}
.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
}

/* Dropdown */
.nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 8px;
  background: rgba(12, 68, 102, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-width: 230px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 100;
  padding: 0.5rem 0;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s;
}
.nav__item:hover .nav__dropdown { display: block; opacity: 1; transform: translateY(0); }
.nav__dropdown a {
  display: block;
  padding: 0.6rem 1.4rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  transition: background var(--transition), padding-left var(--transition);
}
.nav__dropdown a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  text-decoration: none;
  padding-left: 1.6rem;
}

/* Language switcher */
.nav__item--lang { margin-left: auto; }
.nav__link--lang {
  display: inline-block;
  padding: 0.3rem 0.8rem !important;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background var(--transition), border-color var(--transition);
}
.nav__link--lang:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 4.5rem 2rem;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero--large { min-height: 380px; padding: 6rem 2rem; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(8, 51, 80, 0.92) 0%, rgba(12, 68, 102, 0.7) 50%, rgba(8, 51, 80, 0.85) 100%);
  z-index: 1;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform 8s ease-out;
}
.hero:hover .hero__bg { transform: scale(1.03); }
.hero__content { position: relative; z-index: 2; max-width: 800px; }
.hero h1 {
  color: var(--white);
  font-size: 3.2rem;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.hero p { color: rgba(255,255,255,0.92); font-size: 1.25rem; margin-bottom: 1rem; }
.hero .subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  font-style: italic;
  margin-bottom: 2.5rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.8rem 2.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(12, 68, 102, 0.3);
}
.btn--primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  box-shadow: 0 4px 16px rgba(12, 68, 102, 0.4);
}
.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(12, 68, 102, 0.25);
}
.btn--white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.btn--white:hover {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn--hero {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}
.btn--hero:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  box-shadow: 0 4px 20px rgba(255,255,255,0.3);
}
.btn--hero.btn--outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
}
.btn--hero.btn--outline:hover {
  background: rgba(255,255,255,0.15);
}
.hero__content .btn + .btn {
  margin-left: 0.75rem;
}

/* ===== COLUMNS ===== */
.columns { display: grid; gap: 2rem; }
.columns--2 { grid-template-columns: repeat(2, 1fr); }
.columns--3 { grid-template-columns: repeat(3, 1fr); }
.columns--25-75 { grid-template-columns: 1fr 3fr; }

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card:hover::before { opacity: 1; }
.card__img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  transition: transform var(--transition);
}
.card:hover .card__img { transform: scale(1.03); }
.card__title { text-align: center; margin-bottom: 0.75rem; }
.card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }

/* ===== FEATURE SECTIONS (alternating image+text) ===== */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.feature--reverse { direction: rtl; }
.feature--reverse > * { direction: ltr; }
.feature__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.feature__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.feature__img:hover img { transform: scale(1.05); }
.feature__text h2 { margin-bottom: 1rem; }
.feature__text h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin-top: 0.75rem;
  border-radius: 2px;
}
.feature__text p { color: var(--text-body); font-size: 1.05rem; }

/* ===== ICON FEATURES ===== */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.icon-feature {
  text-align: center;
  padding: 2rem 1.5rem;
}
.icon-feature__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: transform var(--transition), background var(--transition);
}
.icon-feature:hover .icon-feature__icon {
  transform: scale(1.1);
  background: rgba(33, 150, 243, 0.25);
}
.icon-feature__icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}
.icon-feature h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.icon-feature p { font-size: 0.92rem; color: var(--text-muted); }

/* ===== STATS BAR ===== */
.stats {
  background: var(--primary);
  padding: 3rem 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stats__item h3 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
}
.stats__item p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  margin: 0;
}

/* ===== BLOG / ACTUALITÉS ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.blog-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.blog-card__body {
  padding: 1.75rem;
}
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.blog-card__tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  background: var(--accent-glow);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
}
.blog-card__title {
  font-family: 'DM Serif Text', serif;
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}
.blog-card__excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.blog-card__link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
}
.blog-card__link:hover { gap: 0.7rem; text-decoration: none; }
.blog-card__link svg { transition: transform var(--transition); }
.blog-card__link:hover svg { transform: translateX(3px); }

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

/* ===== BLOG ARTICLE ===== */
.article { max-width: 800px; margin: 0 auto; }
.article__meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; color: var(--text-muted); font-size: 0.9rem; }
.article__tag { display: inline-block; padding: 0.2rem 0.7rem; border-radius: 20px; background: var(--accent-glow); color: var(--primary); font-size: 0.8rem; font-weight: 600; }
.article__back { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--primary); font-weight: 500; margin-bottom: 2rem; font-size: 0.95rem; }
.article__back:hover { gap: 0.7rem; text-decoration: none; }
.article__back svg { transition: transform var(--transition); }
.article__back:hover svg { transform: translateX(-3px); }
.article__img { width: 100%; border-radius: var(--radius); margin-bottom: 2rem; box-shadow: var(--shadow-md); }
.article h2 { margin-top: 2rem; margin-bottom: 1rem; font-size: 1.6rem; }
.article h3 { margin-top: 1.5rem; margin-bottom: 0.75rem; font-size: 1.25rem; }
.article p { font-size: 1.05rem; line-height: 1.85; margin-bottom: 1.25rem; }
.article ul, .article ol { margin: 1rem 0 1.5rem 1.5rem; }
.article li { margin-bottom: 0.5rem; font-size: 1.05rem; line-height: 1.7; }
.article blockquote { border-left: 4px solid var(--primary); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--bg-light); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; color: var(--text-body); }
.related-posts { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #e5e7eb; }
.related-posts h3 { text-align: center; margin-bottom: 1.5rem; }
.related-posts .columns--3 { gap: 1.5rem; }
.related-post-card { background: var(--white); border-radius: var(--radius-sm); padding: 1.25rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.04); transition: transform var(--transition), box-shadow var(--transition); }
.related-post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.related-post-card h4 { font-family: 'DM Serif Text', serif; font-size: 1rem; margin-bottom: 0.5rem; line-height: 1.35; }
.related-post-card h4 a { color: var(--text-dark); }
.related-post-card h4 a:hover { color: var(--primary); }
.related-post-card .blog-card__meta { margin-bottom: 0; font-size: 0.8rem; }

/* ===== CTA SECTION ===== */
.cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}
.cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.02);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: var(--white); margin-bottom: 0.75rem; font-size: 2.2rem; }
.cta p { color: rgba(255,255,255,0.88); margin-bottom: 2rem; font-size: 1.15rem; }

/* ===== TEAM MEMBER ===== */
.member {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  padding: 2.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}
.member:last-child { border-bottom: none; }
.member__photo {
  width: 160px;
  min-width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-light);
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
  transition: transform var(--transition);
}
.member:hover .member__photo { transform: scale(1.05); }
.member__role {
  color: var(--primary-light);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.member__bio p { font-size: 0.95rem; }
.member__link { color: var(--primary); font-weight: 500; }

/* ===== PORTFOLIO ===== */
.partner-logo {
  width: 120px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 1rem;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter var(--transition), opacity var(--transition);
}
.card:hover .partner-logo { filter: grayscale(0%); opacity: 1; }

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 2rem;
}
.footer h3, .footer h4 { color: var(--white); margin-bottom: 1rem; }
.footer a { color: rgba(255,255,255,0.8); }
.footer a:hover { color: var(--white); }
.footer p { font-size: 0.93rem; line-height: 1.7; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

/* Social Links */
.social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  transition: all var(--transition);
  font-size: 1.2rem;
  border: 1px solid rgba(255,255,255,0.1);
}
.social a:hover {
  background: rgba(255,255,255,0.18);
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ===== SEPARATOR ===== */
.separator {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 2rem 0;
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}
.page-header h1 { color: var(--white); font-size: 2.5rem; }
.page-header p { color: rgba(255,255,255,0.8); }

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ===== CONTACT FORM ===== */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
}

/* ===== LEAD FORM ===== */
.lead-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-grid .form-group--full {
  grid-column: 1 / -1;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-grid .form-group {
  margin-bottom: 0;
}
.form-label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  font-size: 0.925rem;
}
.form-label .required {
  color: #dc2626;
  margin-left: 2px;
}
.form-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #d1d5db;
  border-radius: var(--radius-sm);
  font-family: 'Figtree', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(26, 107, 154, 0.15);
}
.form-input::placeholder {
  color: var(--text-muted);
}
textarea.form-input {
  resize: vertical;
  min-height: 100px;
}
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
}
.form-input--error {
  border-color: #dc2626;
}
.form-input--error:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}
.form-error {
  color: #dc2626;
  font-size: 0.8rem;
  margin-top: 0.3rem;
}
.form-radio-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.form-radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-body);
}
.form-radio input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}
.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}
.form-actions {
  text-align: center;
  margin-top: 1.5rem;
}
.btn--loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.btn--loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.form-success {
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.form-success__icon {
  width: 64px;
  height: 64px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.form-success__icon svg {
  width: 32px;
  height: 32px;
  color: #16a34a;
}
.form-success h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.form-success p {
  color: var(--text-muted);
}
.form-fallback {
  text-align: center;
  padding: 1.5rem;
  background: #fef2f2;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
}
.form-fallback p {
  color: #991b1b;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.cta .btn + .btn {
  margin-left: 0.75rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(12, 68, 102, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }
  .nav--open { display: flex; }
  .nav__link { padding: 0.85rem 2rem; }
  .nav__link--active::after { display: none; }
  .nav__dropdown {
    position: static;
    box-shadow: none;
    background: rgba(0,0,0,0.1);
    border: none;
    border-radius: 0;
    opacity: 1;
    transform: none;
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav__dropdown--open {
    display: block;
    max-height: 500px;
  }
  .nav__item:hover .nav__dropdown { display: none; }
  .nav__item:hover .nav__dropdown--open { display: block; }
  .nav__link--has-dropdown { display: flex; justify-content: space-between; align-items: center; }
  .nav__link--has-dropdown .nav__chevron {
    display: inline-block;
    transition: transform 0.3s ease;
    margin-left: 0.5rem;
    font-size: 0.7em;
  }
  .nav__link--has-dropdown.nav__link--expanded .nav__chevron {
    transform: rotate(180deg);
  }
  .columns--2, .columns--3 { grid-template-columns: 1fr; }
  .columns--25-75 { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 2rem; }
  .feature--reverse { direction: ltr; }
  .icon-grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.2rem; }
  .hero { min-height: 350px; padding: 5rem 1.5rem; }
  .hero--large { min-height: 400px; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .member { flex-direction: column; align-items: center; text-align: center; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
  .section { padding: 3.5rem 0; }
  .btn { padding: 0.9rem 2.2rem; min-height: 44px; }
  .nav__link--lang { padding: 0.45rem 1rem !important; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .tag, .article__tag, .meta, .article__meta { font-size: 0.875rem; }
  .form-grid { grid-template-columns: 1fr; }
  .lead-form { padding: 1.75rem 1.25rem; }
  .form-radio-group { flex-direction: column; gap: 0.75rem; }
  .cta .btn + .btn { margin-left: 0; margin-top: 0.75rem; }
  .cta .btn { display: block; width: max-content; margin: 0 auto; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 2.5rem 0; }
  .hero h1 { font-size: 1.8rem; }
  .stats__grid { grid-template-columns: 1fr; }
}
