/* ================================================
   TFOREEX — CSS complet (conversion Tailwind → CSS pur)
   ================================================ */

/* --- CSS Variables (Palette Navy / Steel) --- */
:root {
  --navy-50: #f0f4f8;
  --navy-100: #d9e2ec;
  --navy-200: #b6c7d8;
  --navy-300: #8da5bb;
  --navy-400: #5f809b;
  --navy-500: #3d6480;
  --navy-600: #2B4C6E;
  --navy-700: #1E3A5F;
  --navy-800: #162D4A;
  --navy-900: #0F2035;

  --steel-50: #f7f9fb;
  --steel-100: #edf1f5;
  --steel-200: #dce3eb;
  --steel-300: #c2cdd9;
  --steel-400: #8C9BAA;
  --steel-500: #6E8CA0;
  --steel-600: #5A7A94;
  --steel-700: #4A6578;
  --steel-800: #3A4F5E;
  --steel-900: #2B3E50;

  --green-500: #22c55e;
  --green-600: #16a34a;

  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--navy-700);
  background: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

::selection {
  background-color: var(--navy-600);
  color: white;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
}

/* --- Container --- */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}

@keyframes slideUp {
  from {
    opacity: 1;
    max-height: 500px;
  }
  to {
    opacity: 0;
    max-height: 0;
  }
}

/* Scroll reveal base */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.36s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.48s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.60s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   HEADER
   ================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 15px -3px rgba(15, 32, 53, 0.05);
  border-bottom: 1px solid rgba(217, 226, 236, 0.5);
}

.header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.header-logo img {
  height: 2rem;
  width: auto;
  transition: all 0.3s ease;
}

.header-logo img.logo-light {
  filter: brightness(0) invert(1);
}

.header.scrolled .header-logo img.logo-light {
  filter: none;
}

/* Desktop Nav */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
  color: rgba(255, 255, 255, 0.9);
}

.header.scrolled .nav-link {
  color: var(--navy-700);
}

.nav-link:hover {
  color: var(--navy-600);
}

.header:not(.scrolled) .nav-link:hover {
  color: #fff;
}

.nav-cta {
  display: inline-flex;
  padding: 0.625rem 1.5rem;
  background: var(--navy-700);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(30, 58, 95, 0.25);
}

.nav-cta:hover {
  background: var(--navy-800);
  box-shadow: 0 10px 15px -3px rgba(30, 58, 95, 0.4);
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  padding: 0.5rem;
  border-radius: 0.5rem;
  color: #fff;
  transition: color 0.3s ease;
}

.header.scrolled .mobile-toggle {
  color: var(--navy-900);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--navy-100);
  overflow: hidden;
}

.mobile-menu.open {
  display: block;
  animation: slideDown 0.3s ease forwards;
}

.mobile-menu-inner {
  padding: 1.5rem 1rem;
}

.mobile-menu-inner a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--navy-700);
  font-weight: 500;
  border-radius: 0.5rem;
  transition: background 0.2s ease;
}

.mobile-menu-inner a:hover {
  background: var(--navy-50);
}

.mobile-menu-cta {
  display: block;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--navy-700) !important;
  color: #fff !important;
  text-align: center;
  font-weight: 600;
  border-radius: 0.5rem;
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(15,32,53,0.9), rgba(22,45,74,0.85), rgba(43,62,80,0.9));
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  padding: 6rem 1rem 6rem;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text {
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--steel-500);
  animation: pulse 2s infinite;
}

.hero-badge span:last-child {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

.hero h1 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.025em;
  animation: fadeInUp 0.8s ease-out 0.15s both;
}

.hero h1 .gradient-text {
  background: linear-gradient(to right, var(--steel-300), var(--steel-100));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  margin-top: 2rem;
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  max-width: 36rem;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  animation: fadeInUp 0.8s ease-out 0.45s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background: #fff;
  color: var(--navy-700);
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.2);
  font-size: 0.875rem;
}

.btn-primary:hover {
  background: var(--navy-50);
}

.btn-primary svg {
  transition: transform 0.3s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  color: #fff;
  font-weight: 600;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.2);
}

.hero-stats {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 24rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
}

.hero-image-wrapper {
  display: none;
  position: relative;
}

.hero-image-container {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.3);
}

.hero-image-container img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  object-position: top;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,32,53,0.4), rgba(15,32,53,0.15), transparent);
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, #fff, transparent);
}

/* ================================================
   SECTION COMMON
   ================================================ */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 5rem;
}

.section-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: var(--navy-50);
  color: var(--navy-700);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--navy-100);
}

.section-badge-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: var(--navy-700);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.section-badge-dark svg {
  width: 14px;
  height: 14px;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--navy-700);
  letter-spacing: -0.025em;
}

.section-subtitle {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--steel-600);
  line-height: 1.7;
}

/* ================================================
   DOMAINS / FORMATIONS GRID
   ================================================ */
.domains {
  background: #fff;
}

.domains-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.domain-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  height: 320px;
  display: block;
}

.domain-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.domain-card:hover .domain-card-image {
  transform: scale(1.1);
}

.domain-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--navy-900), rgba(15,32,53,0.7), rgba(15,32,53,0.2));
  transition: all 0.5s ease;
}

.domain-card:hover .domain-card-overlay {
  background: linear-gradient(to top, var(--navy-900), rgba(15,32,53,0.6), rgba(15,32,53,0.2));
}

.domain-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
}

.domain-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.5s ease;
}

.domain-card:hover .domain-card-icon {
  background: rgba(255,255,255,0.25);
}

.domain-card-icon svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

.domain-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.domain-card p {
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.domain-card-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 500;
  font-size: 0.875rem;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.4s ease;
}

.domain-card:hover .domain-card-cta {
  opacity: 1;
  transform: translateY(0);
}

.domain-card-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.domain-card:hover .domain-card-cta svg {
  transform: translateX(4px);
}

/* ================================================
   WHY US SECTION
   ================================================ */
.whyus {
  background: rgba(240, 244, 248, 0.5);
}

.whyus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

/* Images grid */
.whyus-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.whyus-image-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(30, 58, 95, 0.1);
  height: 120px;
}

.whyus-image-item:first-child {
  grid-row: span 2;
  height: 250px;
}

.whyus-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.whyus-image-item:hover img {
  transform: scale(1.05);
}

.whyus-image-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,32,53,0.3), transparent);
}

/* Features */
.whyus-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.whyus-feature {
  display: flex;
  gap: 1rem;
}

.whyus-feature-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, var(--navy-700), var(--navy-600));
  display: flex;
  align-items: center;
  justify-content: center;
}

.whyus-feature-icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.whyus-feature h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy-700);
  margin-bottom: 0.375rem;
}

.whyus-feature p {
  color: var(--steel-600);
  line-height: 1.6;
  font-size: 0.9375rem;
}

/* ================================================
   CTA SECTION
   ================================================ */
.cta-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, var(--navy-800), var(--navy-700), var(--steel-900));
}

.cta-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.cta-section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.025em;
}

.cta-section h2 span {
  color: var(--steel-300);
}

.cta-section > .cta-content > div > p {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: rgba(255,255,255,0.6);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-description {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: rgba(255,255,255,0.6);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.cta-buttons .btn-primary {
  width: 100%;
}

.cta-buttons .btn-outline {
  width: 100%;
}

/* ================================================
   CONTACT SECTION
   ================================================ */
.contact {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(to bottom, #fff, rgba(240,244,248,0.3), #fff);
  overflow: hidden;
}

.contact-blob-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: rgba(217,226,236,0.3);
  border-radius: 50%;
  filter: blur(48px);
  transform: translate(50%, -50%);
}

.contact-blob-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: rgba(237,241,245,0.3);
  border-radius: 50%;
  filter: blur(48px);
  transform: translate(-50%, 50%);
}

.contact-inner {
  position: relative;
  z-index: 10;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Contact Info Card */
.contact-info-card {
  border-radius: 1rem;
  background: linear-gradient(to bottom right, var(--navy-700), var(--navy-800));
  padding: 1.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 10rem;
  height: 10rem;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.contact-info-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 8rem;
  height: 8rem;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  transform: translate(-50%, 50%);
}

.contact-info-inner {
  position: relative;
  z-index: 10;
}

.contact-info-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.contact-phone-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-phone-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon-box {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-box svg {
  width: 18px;
  height: 18px;
  color: #fff;
}

.contact-phone-item a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-phone-item a:hover {
  color: var(--steel-200);
}

.contact-phone-item .whatsapp-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.125rem;
}

.contact-location {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-location p:first-of-type {
  font-weight: 500;
}

.contact-location .location-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.125rem;
}

.btn-whatsapp {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background: var(--green-500);
  color: #fff;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(34,197,94,0.3);
  width: 100%;
}

.btn-whatsapp:hover {
  background: var(--green-600);
}

/* Contact Form */
.contact-form-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--navy-100);
  box-shadow: 0 20px 25px -5px rgba(30, 58, 95, 0.05);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-700);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--navy-200);
  background: rgba(240,244,248,0.3);
  color: var(--navy-700);
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--steel-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  ring: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(43, 76, 110, 0.15);
  background: #fff;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238C9BAA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group textarea {
  resize: none;
}

.btn-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--navy-700);
  color: #fff;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(30, 58, 95, 0.25);
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

.btn-submit:hover {
  background: var(--navy-800);
  box-shadow: 0 10px 15px -3px rgba(30, 58, 95, 0.4);
}

.btn-submit svg {
  width: 18px;
  height: 18px;
}

/* Form messages */
.form-message {
  padding: 1rem;
  border-radius: 0.75rem;
  font-weight: 500;
  text-align: center;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  color: var(--green-600);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--navy-800);
  color: #fff;
}

.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1rem 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-brand {
  grid-column: span 2;
}

.footer-brand img {
  height: 2.5rem;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a,
.footer-links span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--steel-300);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact-item svg {
  width: 14px;
  height: 14px;
  color: rgba(255,255,255,0.4);
}

.footer-contact-item span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--steel-300);
  transition: color 0.3s ease;
}

.footer-whatsapp:hover {
  color: #fff;
}

.footer-whatsapp svg {
  width: 14px;
  height: 14px;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom p:first-child {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

.footer-bottom p:last-child {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
}

/* ================================================
   FORMATION PAGE
   ================================================ */

/* Formation Hero */
.formation-hero {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

.formation-hero-bg {
  position: absolute;
  inset: 0;
}

.formation-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.formation-hero-gradient {
  position: absolute;
  inset: 0;
}

.formation-hero-dark {
  position: absolute;
  inset: 0;
  background: rgba(15,32,53,0.6);
}

.formation-hero-content {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.formation-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s ease;
  margin-bottom: 2rem;
}

.formation-back:hover {
  color: #fff;
}

.formation-back svg {
  width: 18px;
  height: 18px;
}

.formation-hero-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.formation-hero-icon svg {
  width: 30px;
  height: 30px;
  color: #fff;
}

.formation-hero h1 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.formation-hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 48rem;
  line-height: 1.7;
}

.formation-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.formation-meta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border-radius: 0.75rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.formation-meta-item svg {
  width: 18px;
  height: 18px;
  color: rgba(255,255,255,0.7);
}

.formation-meta-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.formation-meta-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}

/* Formation Content */
.formation-content {
  padding: 3rem 0;
  background: #fff;
}

.formation-content-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.formation-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.formation-main {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Objectives / Program */
.formation-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.formation-section-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.formation-section-icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.formation-section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-700);
}

.objectives-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.objective-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.objective-number {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: var(--navy-50);
  color: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  border: 1px solid var(--navy-100);
}

.objective-item p {
  color: var(--steel-700);
  line-height: 1.6;
}

.program-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.program-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: rgba(240,244,248,0.5);
  border: 1px solid rgba(217,226,236,0.5);
  transition: background 0.3s ease;
}

.program-item:hover {
  background: var(--navy-50);
}

.program-number {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--navy-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.program-item p {
  color: var(--steel-700);
  line-height: 1.6;
  padding-top: 0.25rem;
}

/* Sidebar */
.formation-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(240,244,248,0.5);
  border: 1px solid var(--navy-100);
}

.sidebar-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.sidebar-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-card-icon svg {
  width: 18px;
  height: 18px;
  color: #fff;
}

.sidebar-card-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy-700);
}

.careers-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.career-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--steel-700);
}

.career-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--navy-700);
  flex-shrink: 0;
}

/* Sidebar CTA */
.sidebar-cta {
  padding: 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, var(--navy-700), var(--navy-800));
  color: #fff;
}

.sidebar-cta h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.sidebar-cta p {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.sidebar-cta .btn-whatsapp {
  margin-top: 0;
}

.sidebar-cta .btn-outline {
  width: 100%;
  margin-top: 0.75rem;
}

/* ================================================
   404 PAGE
   ================================================ */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.not-found h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy-700);
  margin-bottom: 1rem;
}

.not-found p {
  color: var(--steel-600);
  margin-bottom: 2rem;
}

/* ================================================
   RESPONSIVE — sm (640px)
   ================================================ */
@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
  .header-inner { padding: 0 1.5rem; }
  .header-logo img { height: 2.5rem; }

  .section { padding: 8rem 0; }

  .hero-content { padding: 8rem 1.5rem 8rem; }
  .hero h1 { font-size: 2.25rem; }
  .hero-actions {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
  }
  .btn-primary, .btn-outline {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 28rem;
    margin-top: 4rem;
  }
  .hero-stat-value { font-size: 1.5rem; }

  .domain-card { height: 420px; }

  .section-title { font-size: 2.25rem; }

  .whyus-images { gap: 1rem; }
  .whyus-image-item { height: 200px; }
  .whyus-image-item:first-child { height: auto; }
  .whyus-feature-icon { width: 3rem; height: 3rem; }
  .whyus-feature { gap: 1.25rem; }

  .cta-section { padding: 8rem 0; }
  .cta-section h2 { font-size: 2.25rem; }
  .cta-buttons { flex-direction: row; }
  .cta-buttons .btn-primary,
  .cta-buttons .btn-outline { width: auto; }

  .contact { padding: 8rem 0; }
  .contact-info-card { padding: 2rem; }
  .contact-form-card { padding: 2rem; }
  .contact-form { gap: 1.5rem; }
  .form-row { grid-template-columns: repeat(2, 1fr); }
  .btn-whatsapp { width: auto; }

  .footer-inner { padding: 4rem 1.5rem; }
  .footer-bottom { flex-direction: row; }

  .formation-hero { padding-top: 8rem; padding-bottom: 5rem; }
  .formation-hero h1 { font-size: 2.25rem; }
  .formation-hero-desc { font-size: 1.125rem; }
  .formation-meta { gap: 1.5rem; }
  .formation-content { padding: 4rem 0; }
  .sidebar-card { padding: 2rem; }
  .sidebar-cta { padding: 2rem; }
}

/* ================================================
   RESPONSIVE — lg (1024px)
   ================================================ */
@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
  .header-inner { padding: 0 2rem; }

  .nav-desktop { display: flex; }
  .mobile-toggle { display: none; }
  .mobile-menu { display: none !important; }

  .hero-content { padding: 10rem 2rem 10rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .hero h1 { font-size: 3rem; }
  .hero-image-wrapper { display: block; }

  .domains-grid { grid-template-columns: repeat(3, 1fr); }

  .section-title { font-size: 3rem; }

  .whyus-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }

  .contact-grid { grid-template-columns: 5fr 7fr; gap: 2.5rem; }
  .contact-info-card { padding: 2.5rem; }
  .contact-form-card { padding: 2.5rem; }

  .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; }
  .footer-brand { grid-column: span 1; }
  .footer-inner { padding: 4rem 2rem; }
  .footer-bottom { margin-top: 4rem; }

  .formation-hero h1 { font-size: 3rem; }
  .formation-hero-desc { font-size: 1.25rem; }
  .formation-content { padding: 5rem 0; }
  .formation-layout { grid-template-columns: 2fr 1fr; gap: 4rem; }
  .formation-main { gap: 4rem; }
}

/* ================================================
   RESPONSIVE — xl (1280px)
   ================================================ */
@media (min-width: 1280px) {
  .hero h1 { font-size: 3.75rem; }
  .formation-hero h1 { font-size: 3.75rem; }
}

/* ================================================
   RESPONSIVE — md (768px) - grid adjustments
   ================================================ */
@media (min-width: 768px) {
  .domains-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: span 2; }
}

/* ================================================
   MAP — Contact Section
   ================================================ */
.contact-map {
  width: 100%;
}

.contact-map-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-map-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-map-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--green-500);
}

.contact-map-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.125rem;
}

.contact-map-header p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

.contact-map-frame {
  width: 100%;
  height: 350px;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
}

@media (min-width: 768px) {
  .contact-map-frame {
    height: 400px;
  }
}

/* ---- Map icon fix + Open Maps button ---- */
.contact-map-icon {
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  border-radius: 0.5rem;
}

.contact-map-icon svg {
  width: 18px;
  height: 18px;
}

.contact-map-header {
  flex-wrap: wrap;
}

.btn-open-maps {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  padding: 0.5rem 1.125rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.5rem;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn-open-maps:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.35);
}

@media (max-width: 480px) {
  .btn-open-maps {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }
}


/* ================================================
   PREMIUM AD BANNER v2
   ================================================ */
.ad-banner {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #0F2035 0%, #1E3A5F 50%, #162D4A 100%);
  padding: 0;
}

/* Inner layout: two columns */
.ad-banner-inner {
  display: flex;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 260px;
  position: relative;
  z-index: 2;
}

/* Left: text content */
.ad-banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 2.5rem 2.5rem 3rem;
  position: relative;
  z-index: 3;
}

/* Right: image */
.ad-banner-visual {
  width: 420px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Fade from left over image */
.ad-banner-visual::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 80px;
  background: linear-gradient(90deg, #162D4A, transparent);
  z-index: 1;
}

/* Decorative accents */
.ad-banner::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  top: -200px; right: 200px;
  background: radial-gradient(circle, rgba(34,197,94,0.07) 0%, transparent 70%);
  z-index: 1;
}
.ad-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #22c55e 50%, transparent 100%);
  z-index: 5;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.ad-banner:hover::after {
  opacity: 1;
}

/* Badge */
.ad-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #4ade80;
  margin-bottom: 0.75rem;
  width: fit-content;
}
.ad-banner-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,0.8);
  animation: adPulse 1.8s ease-in-out infinite;
}
@keyframes adPulse {
  0%, 100% { box-shadow: 0 0 6px rgba(34,197,94,0.8); }
  50% { box-shadow: 0 0 14px rgba(34,197,94,0.4); }
}

/* Title */
.ad-banner-title {
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 0.5rem;
}

/* Description */
.ad-banner-desc {
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  max-width: 480px;
}

/* CTA row */
.ad-banner-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* CTA Button */
.ad-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(34,197,94,0.25);
  white-space: nowrap;
}
.ad-banner:hover .ad-banner-cta {
  box-shadow: 0 4px 20px rgba(34,197,94,0.45);
  transform: translateY(-1px);
}

/* Secondary tag */
.ad-banner-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-left: 2px solid rgba(255,255,255,0.1);
  padding-left: 1.25rem;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .ad-banner-visual {
    width: 320px;
  }
}
@media (max-width: 768px) {
  .ad-banner-inner {
    flex-direction: column;
    min-height: auto;
  }
  .ad-banner-text {
    padding: 2rem 1.5rem;
  }
  .ad-banner-visual {
    width: 100%;
    height: 200px;
    order: -1;
  }
  .ad-banner-visual::before {
    display: none;
  }
  .ad-banner-visual::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(to top, #162D4A, transparent);
    z-index: 1;
  }
  .ad-banner-title {
    font-size: 1.25rem;
  }
  .ad-banner-desc {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
  }
  .ad-banner-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .ad-banner-tag {
    border-left: none;
    padding-left: 0;
  }
}
