/* ===========================
   VARIABLES & RESET
   =========================== */
:root {
  --sand: #d2b48c;
  --rose: #bc8f8f;
  --blush: #ffe4e1;
  --stone: #dcdcdc;
  --ink: #1d1a19;
  --soft: #5f5552;
  --white: #ffffff;
  --hero: linear-gradient(180deg, #fff8f6 0%, #fff2ef 48%, #ffffff 100%);
  --radius: 28px;
  --radius-lg: 36px;
  --shadow-soft: 0 24px 60px rgba(70,46,43,0.08);
  --shadow-card: 0 16px 35px rgba(70,46,43,0.06);
  --border: 1px solid rgba(188,143,143,0.2);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fffdfc;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

button, input, select, textarea { font: inherit; }

svg {
  width: 100%; height: 100%;
  fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* Focus visible — accessibilidad */
:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===========================
   LAYOUT
   =========================== */
.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section { padding: 96px 0; }

.section-soft {
  background: linear-gradient(180deg, rgba(255,228,225,0.42), rgba(255,255,255,0.92));
}

/* ===========================
   HEADER & NAV
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(210,180,140,0.14);
}

.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }

.brand-mark {
  width: 56px; height: 56px;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255,228,225,0.45);
  padding: 8px;
}

.brand-copy { display: flex; flex-direction: column; min-width: 0; }

.brand-name, .brand-subtitle { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.brand-name { font-size: 0.98rem; font-weight: 800; }

.brand-subtitle { font-size: 0.82rem; color: var(--soft); }

.site-nav { display: flex; align-items: center; gap: 26px; }

.site-nav a:not(.btn) {
  color: var(--soft);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.25s ease;
}

.site-nav a:not(.btn):hover,
.footer-links a:hover { color: var(--rose); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 228, 225, 0.55);
  border: 1px solid rgba(188,143,143,0.18);
}

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soft);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.lang-link:hover {
  color: var(--ink);
  background: rgba(255,255,255,0.75);
}

.lang-link.is-active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 10px 20px rgba(70,46,43,0.08);
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
  cursor: pointer;
  text-align: center;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--ink); color: var(--white); box-shadow: var(--shadow-card); }
.btn-primary:hover { background: var(--rose); }

.btn-secondary {
  background: rgba(255,255,255,0.94);
  color: var(--ink);
  border-color: rgba(95,85,82,0.14);
}
.btn-secondary:hover { border-color: var(--sand); color: var(--rose); }

.btn-full { width: 100%; }

.btn-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  fill: currentColor;
  stroke: none;
}

/* ===========================
   HERO
   =========================== */
.hero { background: var(--hero); position: relative; overflow: hidden; }

.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.55;
  pointer-events: none;
}

.hero::before { width: 320px; height: 320px; top: 20px; right: -80px; background: rgba(188,143,143,0.18); }
.hero::after  { width: 280px; height: 280px; bottom: -40px; left: -60px; background: rgba(210,180,140,0.18); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0 36px;
}

.eyebrow-pill, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(210,180,140,0.22);
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.section-kicker { margin-bottom: 18px; }

.eyebrow {
  margin: 28px 0 0;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--rose);
}

h1, h2, h3, h4 { margin: 0; line-height: 1.08; }

h1, h2 { font-family: "Cormorant Garamond", Georgia, serif; letter-spacing: -0.02em; }

h1 { margin-top: 18px; font-size: clamp(3.15rem, 6vw, 5.35rem); }
h2 { font-size: clamp(2.25rem, 4vw, 3.6rem); margin-bottom: 18px; }
h3 { font-size: 1.3rem; }

.hero-text, .section-copy p, .section-heading p, .feature-card p,
.service-card p, .value-card p, .timeline p, .faq-list p,
.contact-card p, .footer-copy, .address-block, .attention-strip p,
.portrait-copy p, .testimonial-card p {
  color: var(--soft);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

/* ===========================
   CARDS & BADGES
   =========================== */
.mini-card, .service-card, .value-card, .testimonial-card,
.contact-card, .feature-card, .timeline article,
.faq-list details, .gallery-placeholder, .credentials-panel,
.portrait-panel, .attention-strip article {
  background: rgba(255,255,255,0.88);
  border: var(--border);
  box-shadow: var(--shadow-card);
}

.mini-card { padding: 20px; border-radius: 24px; }

.icon-card { display: flex; gap: 14px; align-items: flex-start; }

.mini-card strong { display: block; margin-top: 8px; font-size: 1rem; color: var(--ink); }

.mini-label {
  display: block;
  color: var(--soft);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.icon-badge, .service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--rose);
}

.icon-badge {
  width: 54px; height: 54px;
  border-radius: 18px;
  background: rgba(255,228,225,0.7);
  border: 1px solid rgba(188,143,143,0.22);
}

.icon-badge.small { width: 44px; height: 44px; border-radius: 15px; }

.service-icon {
  width: 42px; height: 42px;
  border-radius: 14px;
  background: rgba(255,228,225,0.6);
  border: 1px solid rgba(188,143,143,0.2);
  padding: 10px;
  margin-bottom: 16px;
}

/* ===========================
   HERO VISUAL
   =========================== */
.visual-shell { position: relative; }

.visual-card {
  border-radius: var(--radius-lg);
  padding: 16px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.hero-portrait-frame {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff, #fff3f1);
  border: 1px solid rgba(220,220,220,0.9);
  min-height: 640px;
}

.hero-portrait-frame img {
  width: 100%; height: 100%;
  min-height: 640px;
  object-fit: cover;
  object-position: center top;
}

/* ===========================
   ATTENTION STRIP
   =========================== */
.attention-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 28px;
}

.attention-strip article {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-radius: 24px;
  padding: 22px;
}

/* ===========================
   STATS STRIP
   =========================== */
.stats-strip {
  background: var(--ink);
  padding: 32px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.25s ease;
}

.stat-item:hover { background: rgba(255,255,255,0.1); }

.stat-icon {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: rgba(210,180,140,0.2);
  border: 1px solid rgba(210,180,140,0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sand);
  padding: 10px;
}

.stat-item strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.stat-item span {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

/* ===========================
   ABOUT / SPLIT LAYOUT
   =========================== */
.split-layout, .faq-layout {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 42px;
  align-items: start;
}

.about-layout { align-items: stretch; }

.about-side { display: grid; gap: 18px; align-content: start; }

.portrait-panel, .credentials-panel { border-radius: 32px; padding: 28px; }

.portrait-frame {
  border-radius: 28px;
  padding: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(255,228,225,0.45));
  border: 1px solid rgba(220,220,220,0.9);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.portrait-copy { margin-top: 18px; }

.portrait-copy strong { color: var(--ink); }

/* ===========================
   SERVICES
   =========================== */
.section-heading { max-width: 760px; margin-bottom: 34px; }

.category-block + .category-block { margin-top: 44px; }

.category-head { margin-bottom: 18px; }

.icon-heading { display: flex; gap: 16px; align-items: flex-start; }

.category-head p { max-width: 760px; color: var(--soft); }

.card-grid { display: grid; gap: 18px; }
.three-up  { grid-template-columns: repeat(3, 1fr); }
.four-up   { grid-template-columns: repeat(4, 1fr); }

.service-card, .contact-card, .timeline article, .gallery-placeholder {
  border-radius: 28px;
  padding: 24px;
}

.service-card h4, .value-card h3, .timeline h3,
.attention-strip h3 { margin-bottom: 10px; }

.service-card span:last-child {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rose);
}

/* ===========================
   VALUE CARDS
   =========================== */
.feature-card, .value-card { border-radius: 24px; padding: 22px; }

.icon-surface .icon-badge { margin-bottom: 16px; }

/* ===========================
   GALLERY
   =========================== */
.gallery-only { padding-top: 100px; padding-bottom: 100px; }

.gallery-only .container { max-width: 1456px; }

.gallery-photo { padding: 0; overflow: hidden; }

.gallery-photo img {
  width: 100%; height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

.gallery-grid { display: grid; gap: 16px; align-items: stretch; }

.gallery-card-small {
  min-height: 0;
  aspect-ratio: 0.86 / 1.2;
  border-radius: 24px;
  border: 1px solid rgba(188,143,143,0.18);
  background: rgba(255,255,255,0.78);
  box-shadow: 0 18px 34px rgba(70,46,43,0.08);
  overflow: hidden;
}

.gallery-card-small img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.35s ease;
}

.gallery-card-small:hover img { transform: scale(1.03); }

.gallery-grid.refined-gallery.three-photo-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

/* ===========================
   TIMELINE
   =========================== */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.timeline article { position: relative; }

.timeline span {
  display: inline-flex;
  width: 48px; height: 48px;
  border-radius: 999px;
  background: rgba(255,228,225,0.8);
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--rose);
  margin-bottom: 18px;
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonial-card {
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-stars {
  font-size: 1.1rem;
  color: var(--sand);
  letter-spacing: 2px;
}

.testimonial-card p {
  color: var(--soft);
  font-size: 0.97rem;
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: rgba(255,228,225,0.7);
  border: 1px solid rgba(188,143,143,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--rose);
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
}

.testimonial-author span {
  display: block;
  font-size: 0.8rem;
  color: var(--soft);
}

/* ===========================
   FAQ
   =========================== */
.faq-list { display: grid; gap: 16px; }

.faq-list details { border-radius: 24px; padding: 20px 22px; }

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding-right: 24px;
  position: relative;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0; top: -2px;
  font-size: 1.4rem;
  color: var(--rose);
}

.faq-list details[open] summary::after { content: "−"; }

.faq-list p { margin: 14px 0 0; }

/* ===========================
   CONTACT
   =========================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-list, .footer-links { display: grid; gap: 14px; }

.contact-list a {
  display: block;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,228,225,0.28);
  border: 1px solid rgba(188,143,143,0.16);
  transition: transform 0.25s ease, background 0.25s ease;
}

.contact-list a:hover { transform: translateY(-2px); background: rgba(255,228,225,0.48); }

.contact-list span {
  display: block;
  color: var(--soft);
  font-size: 0.84rem;
  margin-bottom: 4px;
}

.contact-list strong { color: var(--ink); }

.hours-list { padding-left: 18px; margin: 0; }
.hours-list li { color: var(--soft); }

.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.contact-actions .btn { flex: 1 1 180px; }

.address-block { margin-top: 14px; }

.contact-form { display: grid; gap: 14px; }

.contact-form label { display: grid; gap: 8px; font-weight: 600; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(95,85,82,0.15);
  background: rgba(255,255,255,0.95);
  padding: 14px 16px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--sand);
  box-shadow: 0 0 0 4px rgba(210,180,140,0.18);
}

/* ===========================
   SOCIAL
   =========================== */
.social-row, .footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.social-icon {
  width: 54px; height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255,228,225,0.5);
  border: 1px solid rgba(188,143,143,0.22);
  color: var(--ink);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
  background: rgba(210,180,140,0.28);
  border-color: rgba(210,180,140,0.5);
  color: var(--rose);
}

.footer-social { margin-top: 18px; }

/* ===========================
   MAP
   =========================== */
.map-section { padding-top: 24px; }

.map-heading { margin-bottom: 28px; }

.map-card {
  overflow: hidden;
  border-radius: 34px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(188,143,143,0.16);
  box-shadow: 0 20px 44px rgba(70,46,43,0.08);
}

.map-card iframe { display: block; width: 100%; height: 460px; border: 0; }

.map-card-actions {
  display: flex;
  justify-content: center;
  padding: 22px 20px 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,244,243,0.7) 100%);
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  padding-top: 30px;
  background: #fff9f8;
  border-top: 1px solid rgba(210,180,140,0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr;
  gap: 22px;
  padding: 32px 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-brand img { width: 54px; height: 54px; object-fit: contain; }

.footer-brand strong { display: block; color: var(--ink); }
.footer-brand span { display: block; font-size: 0.92rem; color: var(--soft); }

.footer-links a { color: var(--soft); font-size: 0.94rem; }
.footer-links a:hover { color: var(--rose); }

.footer-copy { max-width: 560px; color: var(--soft); }

.footer-bottom {
  padding: 20px 0 34px;
  border-top: 1px solid rgba(220,220,220,0.8);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--soft);
}

.footer-bottom a { color: var(--ink); font-weight: 600; }
.footer-bottom a:hover { color: var(--rose); }

/* ===========================
   FLOATING WHATSAPP BUTTON
   =========================== */
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(29,26,25,0.4); }
  70%  { box-shadow: 0 0 0 14px rgba(29,26,25,0); }
  100% { box-shadow: 0 0 0 0 rgba(29,26,25,0); }
}

.floating-whatsapp {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 999;
  min-height: 54px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
  animation: wa-pulse 2.8s ease-out infinite;
  transition: background 0.25s ease, transform 0.25s ease;
}

.floating-whatsapp:hover {
  background: var(--rose);
  transform: translateY(-2px);
}

.wa-icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  fill: currentColor;
  stroke: none;
}

/* ===========================
   BACK TO TOP
   =========================== */
.back-to-top {
  position: fixed;
  right: 20px; bottom: 88px;
  z-index: 998;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(188,143,143,0.3);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  pointer-events: none;
}

.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

.back-to-top:hover { background: rgba(255,228,225,0.9); }

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

/* ===========================
   HAMBURGER MENU
   =========================== */
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ===========================
   REVEAL ANIMATIONS
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-delay { transition-delay: 0.15s; }

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

/* ===========================
   FORMATION CARDS
   =========================== */
.formation-panel { background: transparent; border: 0; padding: 28px 0 0; }

.formation-panel h3 { margin-bottom: 18px; }

.formation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.formation-card {
  min-height: 100%;
  padding: 28px;
  border-radius: 30px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(188,143,143,0.16);
  box-shadow: 0 18px 40px rgba(70,46,43,0.06);
}

.formation-icon {
  width: 68px; height: 68px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,228,225,0.7);
  border: 1px solid rgba(188,143,143,0.18);
  color: var(--rose);
  margin-bottom: 22px;
}

.formation-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.formation-card h4 { font-size: 2rem; line-height: 1.05; margin-bottom: 18px; }

.formation-card p { margin: 0; font-size: 1.14rem; line-height: 1.75; color: var(--soft); }

.formation-highlight {
  display: inline-block;
  margin-top: 22px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rose);
}

/* Formation titles grid (4 columns) */
.formation-grid.formation-titles-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.formation-card.title-card { padding: 24px 22px; border-radius: 28px; }

.formation-card.title-card h4 {
  font-size: 1.18rem;
  line-height: 1.18;
  margin-bottom: 14px;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 800;
}

.formation-card.title-card p { font-size: 1rem; line-height: 1.62; }

.formation-card.title-card .formation-highlight { margin-top: 16px; font-size: 0.75rem; }

/* ===========================
   RESPONSIVE — 1160px
   =========================== */
@media (max-width: 1160px) {
  .hero-grid, .split-layout, .faq-layout,
  .contact-grid, .footer-grid, .timeline, .attention-strip {
    grid-template-columns: 1fr;
  }

  .three-up, .four-up, .hero-highlights,
  .gallery-grid, .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .formation-grid.formation-titles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .gallery-grid.refined-gallery.three-photo-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .gallery-grid.refined-gallery.three-photo-gallery .gallery-card-small:last-child {
    grid-column: 1 / -1;
    max-width: 360px;
    justify-self: center;
    width: 100%;
  }

  .hero-visual { max-width: 720px; width: 100%; margin: 0 auto; }
}

/* ===========================
   RESPONSIVE — 860px
   =========================== */
@media (max-width: 860px) {
  .menu-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 1rem; right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    gap: 14px;
    border-radius: 24px;
    background: rgba(255,255,255,0.97);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(210,180,140,0.2);
  }

  .site-nav.is-open { display: flex; }

  .nav-cta { width: 100%; }
  .lang-switch { align-self: flex-start; }

  .brand-subtitle { display: none; }

  .nav-wrap { min-height: 78px; }

  .brand-name { font-size: 0.9rem; }

  .formation-grid { gap: 18px; }

  .formation-card { padding: 24px; }

  .formation-grid.formation-titles-grid { grid-template-columns: 1fr; }

  .formation-card.title-card h4 { font-size: 1.08rem; }
}

/* ===========================
   RESPONSIVE — 640px
   =========================== */
@media (max-width: 640px) {
  .section { padding: 76px 0; }

  .hero-grid { padding: 42px 0 28px; gap: 34px; }

  .hero-copy { order: 2; }
  .hero-visual { order: 1; }

  .three-up, .four-up, .hero-highlights,
  .gallery-grid, .stats-grid { grid-template-columns: 1fr; }

  .container { width: min(calc(100% - 1.2rem), var(--container)); }

  .btn, .contact-actions .btn { width: 100%; }

  .visual-card.portrait-visual-card { padding: 10px; border-radius: 28px; }

  .hero-portrait-frame,
  .hero-portrait-frame img { min-height: 360px; }

  .hero-actions { margin-top: 24px; }

  .mini-card, .service-card, .value-card, .testimonial-card,
  .contact-card, .feature-card, .timeline article,
  .gallery-placeholder, .credentials-panel, .portrait-panel,
  .attention-strip article { border-radius: 24px; }

  .portrait-panel, .credentials-panel, .contact-card { padding: 22px; }

  .portrait-frame { padding: 12px; }

  .portrait-frame img { aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center top; }

  .gallery-grid.refined-gallery.three-photo-gallery { grid-template-columns: 1fr; gap: 14px; }

  .gallery-grid.refined-gallery.three-photo-gallery .gallery-card-small:last-child {
    grid-column: auto;
    max-width: none;
  }

  .gallery-card-small { border-radius: 20px; aspect-ratio: 0.85 / 1.02; }

  .gallery-only { padding-top: 56px; padding-bottom: 56px; }

  .gallery-only .container { max-width: 100%; }

  .contact-actions { flex-direction: column; }

  .floating-whatsapp { right: 14px; bottom: 14px; min-height: 50px; padding: 0 16px 0 13px; font-size: 0.92rem; }

  .back-to-top { right: 14px; bottom: 78px; }

  .footer-bottom { padding-bottom: 90px; }

  .icon-card, .attention-strip article, .icon-heading { flex-direction: column; }

  .map-card { border-radius: 24px; }
  .map-card iframe { height: 320px; }
  .map-section { padding-top: 10px; }
  .map-card-actions { padding: 18px 16px 22px; }
  .map-card-actions .btn { width: 100%; justify-content: center; }

  .social-row, .footer-social { gap: 12px; }
  .social-icon { width: 50px; height: 50px; border-radius: 16px; }

  .formation-panel { padding-top: 22px; }
  .formation-card { padding: 22px; border-radius: 24px; }
  .formation-icon { width: 60px; height: 60px; border-radius: 18px; margin-bottom: 18px; }
  .formation-card h4 { font-size: 1.6rem; margin-bottom: 14px; }
  .formation-card p { font-size: 1rem; line-height: 1.68; }
  .formation-highlight { margin-top: 18px; font-size: 0.76rem; letter-spacing: 0.14em; }

  h4 { font-size: 1.05rem; }
}

