/* =========================================
   VARIABLES GLOBALES
========================================= */
:root {
  --azul: #1A5276;
  --azul2: #2980B9;
  --dorado: #C8960C;
  --crema: #FDF9F0;
  --texto: #1C1C1C;
  --gris: #6B7280;
  --linea: #E5DDD0;
  --dark: #0A2B40;
}

/* =========================================
   RESETEO Y ESTILOS BASE
========================================= */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

html { 
  scroll-behavior: smooth; 
}

body { 
  font-family: 'DM Sans', sans-serif; 
  background: #fff; 
  color: var(--texto); 
  overflow-x: hidden; 
}

a { 
  text-decoration: none; 
  color: inherit; 
}

/* =========================================
   SCROLLBAR HOMOGÉNEO (BARRA LATERAL)
========================================= */
::-webkit-scrollbar { 
  width: 12px; 
}

::-webkit-scrollbar-track { 
  background: var(--crema); 
}

::-webkit-scrollbar-thumb { 
  background: var(--azul); 
  border-radius: 6px; 
  border: 3px solid var(--crema); 
}

::-webkit-scrollbar-thumb:hover { 
  background: var(--azul2); 
}

/* =========================================
   NAVBAR (MENÚ DE NAVEGACIÓN)
========================================= */
.navbar {
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  z-index: 9999;
  background: rgba(255, 255, 255, 0.97); 
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--linea); 
  height: 80px; 
  padding: 0 5%;
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06); 
  transition: all 0.3s ease;
}

.navbar.scrolled { 
  height: 65px; 
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1); 
}

.nav-logo { 
  display: flex; 
  align-items: center; 
  gap: 16px; 
}

.nav-logo-img { 
  width: 56px; 
  height: 56px; 
  border-radius: 10px; 
  object-fit: contain; 
}

.nav-logo-text { 
  font-family: 'Playfair Display', serif; 
  font-weight: 700; 
  font-size: 20px; 
  color: var(--azul); 
  letter-spacing: 0.02em; 
}

.nav-links { 
  display: flex; 
  gap: 32px; 
  list-style: none; 
}

.nav-links a { 
  font-size: 15px; 
  font-weight: 600; 
  color: var(--texto); 
  letter-spacing: 0.02em; 
  transition: color 0.2s; 
  position: relative; 
}

.nav-links a::after { 
  content: ''; 
  position: absolute; 
  bottom: -6px; 
  left: 0; 
  right: 0; 
  height: 3px; 
  background: var(--dorado); 
  transform: scaleX(0); 
  transition: transform 0.2s; 
}

.nav-links a:hover { 
  color: var(--azul); 
}

.nav-links a:hover::after { 
  transform: scaleX(1); 
}

.nav-langs { 
  display: flex; 
  gap: 8px; 
}

.lang-btn { 
  padding: 6px 14px; 
  border: 1.5px solid var(--linea); 
  border-radius: 20px; 
  font-size: 13px; 
  font-weight: 600; 
  cursor: pointer; 
  transition: all 0.2s; 
  background: #fff; 
  color: var(--texto); 
}

.lang-btn:hover, 
.lang-btn.active { 
  background: var(--azul); 
  color: #fff; 
  border-color: var(--azul); 
}

.nav-toggle { 
  display: none; 
  flex-direction: column; 
  gap: 6px; 
  cursor: pointer; 
  padding: 6px; 
}

.nav-toggle span { 
  width: 28px; 
  height: 3px; 
  background: var(--texto); 
  border-radius: 3px; 
  transition: all 0.3s; 
}

/* =========================================
   MENÚ MÓVIL
========================================= */
.mobile-menu {
  position: fixed; 
  top: 80px; 
  left: 0; 
  right: 0; 
  bottom: 0;
  background: rgba(255, 255, 255, 0.98); 
  backdrop-filter: blur(16px);
  padding: 40px 5%; 
  z-index: 9998; 
  transform: translateX(100%); 
  transition: transform 0.3s ease;
  display: flex; 
  flex-direction: column; 
  gap: 12px;
}

.mobile-menu.open { 
  transform: none; 
}

.mobile-menu a { 
  font-size: 20px; 
  font-weight: 600; 
  color: var(--texto); 
  padding: 16px 0; 
  border-bottom: 1px solid var(--linea); 
}

.mobile-menu a:last-child { 
  border: none; 
}

/* =========================================
   HERO (SECCIÓN PRINCIPAL)
========================================= */
.hero {
  min-height: 100vh;
  background-color: var(--dark); /* Color de respaldo */
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  align-items: center;
  padding: 120px 5% 80px; 
  position: relative; 
  overflow: hidden;
}

.hero::before {
  content: ''; 
  position: absolute; 
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content, 
.hero-visual { 
  position: relative; 
  z-index: 3; 
}

.hero-badge { 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  background: rgba(255, 255, 255, 0.1); 
  border: 1px solid rgba(255, 255, 255, 0.2); 
  border-radius: 30px; 
  padding: 8px 18px; 
  margin-bottom: 32px; 
}

.hero-badge-dot { 
  width: 7px; 
  height: 7px; 
  border-radius: 50%; 
  background: var(--dorado); 
  flex-shrink: 0; 
}

.hero-badge span { 
  color: rgba(255, 255, 255, 0.85); 
  font-size: 12px; 
  font-weight: 500; 
  letter-spacing: 0.08em; 
  text-transform: uppercase; 
}

.hero h1 { 
  font-family: 'Playfair Display', serif; 
  font-weight: 900; 
  font-size: clamp(38px, 4.5vw, 60px); 
  line-height: 1.1; 
  color: #fff; 
  margin-bottom: 28px; 
}

.hero h1 em { 
  color: var(--dorado); 
  font-style: italic; 
}

.hero-desc { 
  color: rgba(255, 255, 255, 0.78); 
  font-size: 17px; 
  line-height: 1.75; 
  max-width: 500px; 
  margin-bottom: 48px; 
}

.hero-ctas { 
  display: flex; 
  gap: 18px; 
  flex-wrap: wrap; 
}



/* Botones Base */
.btn-gold, 
.btn-primary {
  padding: 16px 36px; 
  background: var(--dorado); 
  color: #1C1C1C; 
  border: none; 
  border-radius: 8px; 
  font-weight: 700; 
  font-size: 15px; 
  cursor: pointer; 
  transition: all 0.2s; 
  display: inline-block;
  box-shadow: 0 4px 16px rgba(200, 150, 12, 0.3);
}

.btn-gold:hover, 
.btn-primary:hover { 
  background: #e5aa14; 
  transform: translateY(-2px); 
  box-shadow: 0 6px 20px rgba(200, 150, 12, 0.4); 
}

.btn-ghost, 
.btn-outline {
  padding: 16px 36px; 
  background: transparent; 
  color: #fff; 
  border: 1.5px solid rgba(255, 255, 255, 0.4); 
  border-radius: 8px; 
  font-weight: 500; 
  font-size: 15px; 
  cursor: pointer; 
  transition: all 0.2s; 
  display: inline-block;
}

.btn-ghost:hover, 
.btn-outline:hover { 
  border-color: #fff; 
  background: rgba(255, 255, 255, 0.1); 
  transform: translateY(-2px); 
}

/* Tarjetas Flotantes del Hero */
.hero-visual { 
  display: flex; 
  flex-direction: column; 
  gap: 20px; 
  align-items: flex-end; 
}

.stat-card {
  background: rgba(255, 255, 255, 0.1); 
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15); 
  border-radius: 20px;
  padding: 26px 36px; 
  min-width: 320px; 
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2); 
  transition: transform 0.3s ease;
}

.stat-card:hover { 
  transform: translateY(-5px) scale(1.02); 
}

.stat-num { 
  font-family: 'Playfair Display', serif; 
  font-size: 52px; 
  font-weight: 900; 
  color: #fff; 
  line-height: 1; 
}

.stat-num span { 
  font-size: 28px; 
  color: var(--dorado); 
  vertical-align: super; 
}

.stat-label { 
  font-size: 13px; 
  color: rgba(255, 255, 255, 0.7); 
  margin-top: 6px; 
  line-height: 1.5; 
  font-weight: 500; 
}

.hero-scroll { 
  position: absolute; 
  bottom: 32px; 
  left: 50%; 
  transform: translateX(-50%); 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  animation: bounce 2s infinite; 
}

.hero-scroll::before { 
  content: ''; 
  width: 1px; 
  height: 32px; 
  background: rgba(255, 255, 255, 0.2); 
}

/* =========================================
   SECCIONES GENÉRICAS
========================================= */
.section { 
  padding: 120px 5%; 
}

.section-tag { 
  font-size: 11px; 
  font-weight: 700; 
  letter-spacing: 0.15em; 
  text-transform: uppercase; 
  color: var(--azul2); 
  margin-bottom: 12px; 
}

.section-title { 
  font-family: 'Playfair Display', serif; 
  font-size: clamp(30px, 3.8vw, 48px); 
  font-weight: 700; 
  line-height: 1.2; 
  margin-bottom: 16px; 
  color: var(--texto); 
}

.section-lead { 
  font-size: 17px; 
  color: var(--gris); 
  line-height: 1.8; 
  max-width: 600px; 
  margin-bottom: 60px; 
}

.section-divider { 
  width: 60px; 
  height: 4px; 
  background: var(--dorado); 
  margin: 24px 0 48px; 
  border-radius: 2px; 
}

/* =========================================
   QUI SOMMES-NOUS
========================================= */
.quienes { 
  background: var(--crema); 
}

.quienes-grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 100px; 
  align-items: center; 
}

/* Slider */
.slider-wrap { 
  position: relative; 
  border-radius: 24px; 
  overflow: hidden; 
  aspect-ratio: 4/5; 
  cursor: pointer; 
  box-shadow: 0 24px 60px rgba(26, 82, 118, 0.2); 
}

.slider-wrap:hover .slider-overlay { 
  opacity: 1; 
}

.slides { 
  display: flex; 
  height: 100%; 
  transition: transform 0.7s cubic-bezier(.4,0,.2,1); 
}

.slide { 
  min-width: 100%; 
  height: 100%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  flex-direction: column; 
  gap: 12px; 
  position: relative; 
}

.slide-1 { background: linear-gradient(145deg, #1A5276, #2980B9); }
.slide-2 { background: linear-gradient(145deg, #0E6655, #1E8449); }
.slide-3 { background: linear-gradient(145deg, #6C3483, #884EA0); }

.slide svg { 
  width: 72px; 
  height: 72px; 
  opacity: 0.25; 
}

.slide span { 
  color: rgba(255, 255, 255, 0.45); 
  font-size: 13px; 
  font-family: 'DM Sans', sans-serif; 
}

.slider-overlay { 
  position: absolute; 
  inset: 0; 
  background: rgba(26, 82, 118, 0.5); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  opacity: 0; 
  transition: opacity 0.3s; 
}

.slider-overlay span { 
  color: #fff; 
  font-size: 14px; 
  font-weight: 600; 
  border: 1.5px solid rgba(255, 255, 255, 0.6); 
  padding: 10px 24px; 
  border-radius: 8px; 
}

.slider-dots { 
  position: absolute; 
  bottom: 20px; 
  left: 50%; 
  transform: translateX(-50%); 
  display: flex; 
  gap: 8px; 
  z-index: 10; 
}

.dot { 
  width: 8px; 
  height: 8px; 
  border-radius: 50%; 
  background: rgba(255, 255, 255, 0.4); 
  cursor: pointer; 
  border: none; 
  transition: all 0.3s; 
  padding: 0; 
}

.dot.active { 
  background: var(--dorado); 
  width: 24px; 
  border-radius: 4px; 
}

/* Pilares con SVG originales */
.pillar { 
  display: flex; 
  gap: 20px; 
  margin-bottom: 28px; 
  align-items: flex-start; 
}

.pillar-icon { 
  width: 44px; 
  height: 44px; 
  min-width: 44px; 
  border-radius: 12px; 
  background: var(--azul); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  box-shadow: 0 4px 12px rgba(26, 82, 118, 0.25); 
}

.pillar-icon svg { 
  width: 20px; 
  height: 20px; 
  fill: none; 
  stroke: #fff; 
  stroke-width: 2; 
  stroke-linecap: round; 
  stroke-linejoin: round; 
}

.pillar-text strong { 
  font-size: 15px; 
  font-weight: 700; 
  display: block; 
  margin-bottom: 6px; 
  color: var(--dark); 
}

.pillar-text p { 
  font-size: 14px; 
  color: var(--gris); 
  line-height: 1.65; 
}

/* =========================================
   PROYECTOS
========================================= */
.projets { 
  background: #fff; 
}

.projets-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 28px; 
  margin-top: 48px; 
}

.project-card { 
  border: 1px solid var(--linea); 
  border-radius: 16px; 
  overflow: hidden; 
  transition: all 0.25s; 
  cursor: pointer; 
}

.project-card:hover { 
  transform: translateY(-6px); 
  box-shadow: 0 20px 40px rgba(26, 82, 118, 0.12); 
  border-color: var(--azul2); 
}

.project-card-header { 
  height: 160px; 
  display: flex; 
  align-items: flex-end; 
  padding: 20px; 
}

.project-card-header.blue { background: linear-gradient(135deg, #1A5276, #2980B9); }
.project-card-header.teal { background: linear-gradient(135deg, #0E6655, #1E8449); }
.project-card-header.orange { background: linear-gradient(135deg, #884EA0, #6C3483); }
.project-card-header.rust { background: linear-gradient(135deg, #922B21, #E74C3C); }
.project-card-header.indigo { background: linear-gradient(135deg, #1F3A6B, #2E4DA3); }

.project-tag { 
  background: rgba(255, 255, 255, 0.2); 
  color: #fff; 
  font-size: 11px; 
  font-weight: 700; 
  letter-spacing: 0.1em; 
  text-transform: uppercase; 
  padding: 4px 12px; 
  border-radius: 20px; 
}

.project-card-body { 
  padding: 20px; 
}

.project-card-title { 
  font-family: 'Playfair Display', serif; 
  font-size: 17px; 
  font-weight: 700; 
  line-height: 1.3; 
  margin-bottom: 8px; 
}

.project-card-desc { 
  font-size: 13px; 
  color: var(--gris); 
  line-height: 1.6; 
  margin-bottom: 16px; 
}

.project-partners { 
  display: flex; 
  gap: 8px; 
  flex-wrap: wrap; 
}

.partner-badge { 
  font-size: 11px; 
  font-weight: 600; 
  color: var(--azul); 
  background: #EBF5FB; 
  padding: 3px 10px; 
  border-radius: 4px; 
}

.card-more { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  min-height: 240px; 
  border-style: dashed; 
  background: #f9fafb; 
}

.card-more:hover { 
  border-color: var(--azul2); 
  background: #f0f7ff; 
}

.card-more-inner { 
  text-align: center; 
  color: #aaa; 
}

.card-more-inner .plus { 
  font-size: 40px; 
  margin-bottom: 12px; 
  line-height: 1; 
}

.card-more-inner span { 
  font-size: 13px; 
  font-weight: 600; 
}

/* =========================================
   ACOMPAÑAMIENTO
========================================= */
.accompagnement { 
  background: var(--crema); 
}

.accom-grid { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 24px; 
  margin-top: 48px; 
}

.accom-item { 
  background: #fff; 
  border-radius: 14px; 
  padding: 28px; 
  border: 1px solid var(--linea); 
  position: relative; 
  overflow: hidden; 
}

.accom-item::before { 
  content: ''; 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 4px; 
  height: 100%; 
  background: var(--azul); 
}

.accom-num { 
  font-size: 48px; 
  font-family: 'Playfair Display', serif; 
  font-weight: 900; 
  color: var(--linea); 
  position: absolute; 
  top: 12px; 
  right: 20px; 
  line-height: 1; 
}

.accom-title { 
  font-size: 15px; 
  font-weight: 700; 
  margin-bottom: 8px; 
  color: var(--azul); 
}

.accom-text { 
  font-size: 13px; 
  color: var(--gris); 
  line-height: 1.65; 
}

/* =========================================
   DOCUMENTOS
========================================= */
.documents { 
  background: #fff; 
}

.docs-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 24px; 
  margin-top: 48px; 
}

.doc-card { 
  background: var(--crema); 
  border: 1px solid var(--linea); 
  border-radius: 14px; 
  padding: 28px; 
  text-align: center; 
  transition: all 0.2s; 
  cursor: pointer; 
}

.doc-card:hover { 
  border-color: var(--azul2); 
  transform: translateY(-3px); 
}

.doc-icon { 
  width: 56px; 
  height: 72px; 
  background: var(--azul); 
  border-radius: 8px 8px 0 0; 
  margin: 0 auto 16px; 
  position: relative; 
}

.doc-icon::after { 
  content: 'PDF'; 
  position: absolute; 
  bottom: -10px; 
  left: 50%; 
  transform: translateX(-50%); 
  background: #E74C3C; 
  color: #fff; 
  font-size: 10px; 
  font-weight: 800; 
  padding: 3px 8px; 
  border-radius: 3px; 
  letter-spacing: 0.1em; 
}

.doc-title { 
  font-size: 14px; 
  font-weight: 600; 
  margin-bottom: 8px; 
  line-height: 1.4; 
}

.doc-year { 
  font-size: 12px; 
  color: var(--gris); 
}

.doc-download { 
  display: inline-flex; 
  align-items: center; 
  gap: 6px; 
  margin-top: 16px; 
  font-size: 12px; 
  font-weight: 600; 
  color: var(--azul2); 
}

/* =========================================
   CONTACTO
========================================= */
.contacto { 
  background: linear-gradient(135deg, #0D3B5A, #1A5276); 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 80px; 
  align-items: start; 
}

.contacto .section-tag { color: var(--dorado); }
.contacto .section-title { color: #fff; }
.contacto .section-lead { color: rgba(255, 255, 255, 0.7); }

.contact-info { 
  display: flex; 
  flex-direction: column; 
  gap: 20px; 
}

.contact-item { 
  display: flex; 
  gap: 16px; 
  align-items: flex-start; 
}

.contact-item-icon { 
  width: 40px; 
  height: 40px; 
  min-width: 40px; 
  background: rgba(255, 255, 255, 0.1); 
  border-radius: 10px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}

.contact-item-icon svg { 
  width: 18px; 
  height: 18px; 
  fill: var(--dorado); 
  stroke: var(--dorado); 
}

.contact-item-label { 
  font-size: 11px; 
  font-weight: 700; 
  letter-spacing: 0.1em; 
  text-transform: uppercase; 
  color: rgba(255, 255, 255, 0.5); 
  margin-bottom: 4px; 
}

.contact-item-value { 
  font-size: 14px; 
  color: #fff; 
}

.contact-form { 
  background: rgba(255, 255, 255, 0.06); 
  backdrop-filter: blur(10px); 
  border: 1px solid rgba(255, 255, 255, 0.1); 
  border-radius: 20px; 
  padding: 36px; 
}

.form-grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 16px; 
}

.form-group { 
  margin-bottom: 20px; 
}

.form-group label { 
  display: block; 
  font-size: 12px; 
  font-weight: 600; 
  color: rgba(255, 255, 255, 0.7); 
  margin-bottom: 8px; 
  letter-spacing: 0.05em; 
  text-transform: uppercase; 
}

.form-group input, 
.form-group textarea, 
.form-group select {
  width: 100%; 
  padding: 12px 16px; 
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05); 
  color: #fff; 
  border-radius: 8px;
  font-size: 14px; 
  font-family: 'DM Sans', sans-serif; 
  outline: none; 
  transition: border 0.2s;
  -webkit-appearance: none; 
  appearance: none;
}

.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus { 
  border-color: var(--dorado); 
}

.form-group input::placeholder, 
.form-group textarea::placeholder { 
  color: rgba(255, 255, 255, 0.35); 
}

.form-group select option { 
  background: var(--azul); 
}

.form-group textarea { 
  min-height: 140px; 
  resize: vertical; 
  overflow: auto; 
}

/* =========================================
   FOOTER (PIE DE PÁGINA)
========================================= */
footer { 
  background: var(--dark); 
  padding: 60px 5% 30px; 
}

.footer-top { 
  display: grid; 
  grid-template-columns: 2fr 1fr 1fr; 
  gap: 60px; 
  margin-bottom: 48px; 
}

.footer-logo { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  margin-bottom: 16px; 
}

.footer-logo-icon { 
  width: 44px; 
  height: 44px; 
  background: var(--azul2); 
  border-radius: 10px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}

.footer-logo-icon span { 
  color: #fff; 
  font-family: 'Playfair Display', serif; 
  font-weight: 900; 
  font-size: 15px; 
}

.footer-logo-text { 
  font-family: 'Playfair Display', serif; 
  font-size: 18px; 
  font-weight: 700; 
  color: #fff; 
}

.footer-desc { 
  font-size: 13px; 
  color: rgba(255, 255, 255, 0.5); 
  line-height: 1.7; 
  max-width: 280px; 
}

.footer-social { 
  display: flex; 
  gap: 12px; 
  margin-top: 20px; 
}

.social-btn { 
  width: 36px; 
  height: 36px; 
  background: rgba(255, 255, 255, 0.08); 
  border-radius: 8px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  cursor: pointer; 
  transition: background 0.2s; 
}

.social-btn:hover { 
  background: var(--azul2); 
}

.social-btn svg { 
  width: 16px; 
  height: 16px; 
  fill: none; 
  stroke: rgba(255, 255, 255, 0.7); 
  stroke-width: 2; 
  stroke-linecap: round; 
  stroke-linejoin: round; 
}

.footer-col h4 { 
  font-size: 12px; 
  font-weight: 700; 
  letter-spacing: 0.12em; 
  text-transform: uppercase; 
  color: var(--dorado); 
  margin-bottom: 20px; 
}

.footer-links { 
  list-style: none; 
  display: flex; 
  flex-direction: column; 
  gap: 10px; 
}

.footer-links a { 
  font-size: 13px; 
  color: rgba(255, 255, 255, 0.5); 
  transition: color 0.2s; 
}

.footer-links a:hover { 
  color: #fff; 
}

.footer-bottom { 
  border-top: 1px solid rgba(255, 255, 255, 0.08); 
  padding-top: 24px; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  flex-wrap: wrap; 
  gap: 12px; 
}

.footer-copy { 
  font-size: 12px; 
  color: rgba(255, 255, 255, 0.35); 
}

.footer-langs { 
  display: flex; 
  gap: 8px; 
}

.footer-lang { 
  font-size: 11px; 
  color: rgba(255, 255, 255, 0.4); 
  padding: 3px 10px; 
  border: 1px solid rgba(255, 255, 255, 0.1); 
  border-radius: 20px; 
}

/* =========================================
   BOTÓN VOLVER ARRIBA
========================================= */
.back-to-top {
  position: fixed; 
  bottom: 30px; 
  right: 30px; 
  z-index: 999;
  background: var(--azul); 
  color: white; 
  border: none;
  width: 55px; 
  height: 55px; 
  border-radius: 50%;
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-size: 26px; 
  cursor: pointer; 
  transition: all 0.3s ease;
  opacity: 0; 
  visibility: hidden; 
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.back-to-top.visible { 
  opacity: 1; 
  visibility: visible; 
}

.back-to-top:hover { 
  background: var(--azul2); 
  transform: translateY(-3px); 
}

/* =========================================
   ANIMACIONES
========================================= */
@keyframes bounce { 
  0%, 100% { transform: translateX(-50%) translateY(0); } 
  50% { transform: translateX(-50%) translateY(-8px); } 
}

.reveal { 
  opacity: 0; 
  transform: translateY(28px); 
  transition: opacity 0.7s ease, transform 0.7s ease; 
}

.reveal.visible { 
  opacity: 1; 
  transform: none; 
}

/* =========================================
   GALERÍA DE FOTOS (galerie.html)
========================================= */
.gallery-project-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--azul);
  margin: 60px 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--linea);
}

.gallery-project-title:first-child { 
  margin-top: 0; 
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto al pasar el ratón sobre la foto */
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(26,82,118,0.18);
}

/* Esta clase es para mientras no tienes la etiqueta <img> real puesta */
.gallery-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.gallery-item-placeholder svg { 
  width: 48px; 
  height: 48px; 
  opacity: 0.5; 
}

/* El texto negro con gradiente que aparece al pasar el ratón */
.gallery-item-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 20px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  opacity: 0; /* Oculto por defecto */
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-item-caption { 
  opacity: 1; 
  transform: translateY(0); 
}

/* =========================================
   DISEÑO RESPONSIVE (MÓVIL / TABLET)
========================================= */
@media(max-width: 960px) {
  .navbar { height: 70px; }
  .mobile-menu { top: 70px; }
  .hero { grid-template-columns: 1fr; padding: 120px 5% 60px; }
  .hero-visual { display: none; }
  .quienes-grid { grid-template-columns: 1fr; gap: 60px; }
  
  /* Esto evita que la imagen sea enorme en móviles */
  .slider-wrap { max-width: 480px; margin: 0 auto; width: 100%; }
  
  .projets-grid { grid-template-columns: 1fr 1fr; }
  .accom-grid { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr 1fr; }
  .contacto { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .back-to-top { width: 50px; height: 50px; font-size: 24px; bottom: 20px; right: 20px; }
}

@media(max-width: 640px) {
  .hero h1 { font-size: 38px; }
  .section-title { font-size: 32px; }
  .projets-grid, .docs-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--azul);
  border: 1.5px solid var(--azul);
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  margin-top: 20px;
  background: transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-back:hover {
  background: var(--azul);
  color: #fff;
  transform: translateX(-4px);
}