/* ===============================
   PROFILE PAGE – ESTILO EJECUTIVO CON MOVIMIENTO
================================= */

:root {
  --midnight-blue: #0f172a;
  --brand-blue: #1e3a8a;
  --text-gray: #4b5563;
  --light-gray: #f8fafc;
}

/* RESET SUAVE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: auto;
  overflow-x: hidden; /* solo bloquea horizontal */
  overflow-y: auto;   /* permite scroll vertical */
}
body {
  margin: 0;
  background: #f4f6f9;
  position: relative;
  overflow-x: hidden;
   font-family: 'Rethink Sans', sans-serif;
}

/* Capa de brillo */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: -150%;
  width: 250%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent 40%,
    rgba(255,255,255,0.9) 50%,
    transparent 60%
  );
  animation: brilloIntro 2.5s ease-out forwards;
  pointer-events: none;
  z-index: 1;
}

/* Animación una sola vez */
@keyframes brilloIntro {
  from {
    left: -150%;
  }
  to {
    left: 100%;
  }
}

/* CONTENEDOR GENERAL */
.profile-page {
  width: 100%;
  overflow-x: hidden; /* evita scroll horizontal */
}

/* ===============================
   HERO
================================= */
/* ===============================
   HERO – Pantallas grandes
================================= */
.profile-hero {
  padding: 60px 40px 80px; /* menos espacio arriba y abajo */
}

.profile-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 50px;
  align-items: start; /* sube todo hacia arriba */
}

/* IMAGEN */
.profile-image img {
  width: 100%;
  height: auto; /* reducimos un poco la altura para que todo quepa */
  object-fit: contain;
  transition: transform 0.5s ease, filter 0.5s ease;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.2s;
}
.profile-image img {
  margin-top: 45px;
}

.profile-image img:hover {
  transform: scale(1.03);
  filter: brightness(1.05);
}

/* INTRO */
.profile-label {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand-blue);
  display: inline-block;
  margin-bottom: 20px;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.3s;
}

.profile-intro h1 {
  font-size: 2.6rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.4s;
}

.profile-intro h2 {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-gray);
  margin-bottom: 35px;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.6s;
}

/* DIVISOR */
.profile-divider {
  width: 60px;
  height: 2px;
  background: var(--midnight-blue);
  margin-bottom: 35px;
}

/* RESUMEN */
.profile-summary {
  font-size: 1.05rem;
  max-width: 520px;
  color: var(--text-gray);
  margin-bottom: 40px;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.8s;
}
/* BOTÓN VOLVER – SUBIDO CON TOP */
.profile-back {
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  color: var(--midnight-blue);
  position: relative;
  bottom: auto; 
  top: -20px; /* lo sube 20px desde su posición original */
  padding-bottom: 5px;
  display: inline-block;
  transition: all 0.4s ease;
}

.profile-back:hover {
  color: var(--brand-blue);
  transform: translateY(-3px);
}

.profile-back::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40%;
  height: 2px;
  background: var(--midnight-blue);
  transition: width 0.4s ease, background-color 0.4s ease;
}

.profile-back:hover::after {
  width: 100%;
  background-color: var(--brand-blue);
}

/* ===============================
   CONTENIDO
================================= */
.profile-content {
  padding: 100px 40px 160px;
  background: var(--light-gray);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 1s;
}

.content-container {
  max-width: 900px;
  margin: 0 auto;
}

.profile-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 60px;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.profile-content p {
  font-size: 1.2rem;   /* más grande */
  line-height: 1.8;    /* más aire entre líneas */
  color: var(--text-gray);
  margin-bottom: 22px;
}
.profile-image {
  position: relative;
}

/* Logo totalmente controlado */
.profile-logo {
  position: absolute;
  top: -80px;   /* lo sube bastante */
  left: -0px;  /* lo mueve más a la izquierda */
}

.profile-logo img {
  max-width: 300px;
  height: auto;
}
.profile-summary {
  font-size: 1rem;
  line-height: 1.9;
  max-width: 700px; /* importante para que no sea muy ancho */
}
/* ===============================
   FOOTER – ESTILO EJECUTIVO
================================= */
.profile-footer {
  background: var(--midnight-blue); /* color principal del footer */
  color: #ffffff;
  padding: 60px 40px;
  text-align: center;
  font-family: 'Rethink Sans', sans-serif;
  position: relative; /* para que se posicione con respecto al flujo */
  overflow: hidden;
}

.profile-footer::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 100%);
  transform: rotate(45deg);
  pointer-events: none;
}

.profile-footer h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #ffffff;
}

.profile-footer p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #d1d5db; /* gris claro para texto secundario */
  margin-bottom: 15px;
}

.profile-footer a {
  color: var(--brand-blue);
  text-decoration: none;
  margin: 0 10px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.profile-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.profile-footer .footer-social {
  margin-top: 20px;
}

.profile-footer .footer-social a {
  display: inline-block;
  margin: 0 10px;
  font-size: 1.3rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.profile-footer .footer-social a:hover {
  transform: translateY(-3px);
  color: var(--brand-blue);
}
.footer-contact .contact-item img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  opacity: 0.85;
}
/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 1024px) {
  .profile-footer {
    padding: 50px 30px;
  }

  .profile-footer h4 {
    font-size: 1.2rem;
  }

  .profile-footer p {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .profile-footer {
    padding: 40px 20px;
  }

  .profile-footer h4 {
    font-size: 1.1rem;
  }

  .profile-footer p {
    font-size: 0.85rem;
  }

  .profile-footer .footer-social a {
    font-size: 1.2rem;
    margin: 0 8px;
  }
}
/* ===============================
   ANIMACIONES
================================= */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  html, body {
    overflow-y: auto; /* habilita scroll vertical */
    height: auto;
  }

  .profile-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .profile-image img {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .profile-hero {
    padding: 30px;
  }

  .profile-intro h1 {
    font-size: 2rem;
  }
  .profile-logo {
    position: absolute;
    top: -60px;        /* arriba de la imagen */
    left: 50%;         
    transform: translateX(-50%); /* lo centra */
  }

  .profile-logo img {
    max-width: 210px;  /* un poco más pequeño en móvil */
  }

}
/* ==============================
   PROFILE PAGE – PANTALLAS GRANDES
   ============================== */
@media (min-width: 1600px) {
  /* Contenedor general */
  .profile-page {
    width: 100%;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
  }

  /* HERO */
  .profile-hero {
    padding: 60px 80px 80px; /* más espacio lateral para que no toque borde */
  }

  .profile-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* imagen más pequeña que contenido */
    gap: 60px;
    max-width: 95%;       /* ocupa casi toda la pantalla */
    margin: 0 auto;       /* centrado */
    align-items: start;
  }

  /* Imagen */
  .profile-image img {
    width: 100%;
    height: 600px;        /* ajusta según diseño */
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
  }

  .profile-image img:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
  }

  /* Logo */
  .profile-logo {
    position: absolute;
    top: -80px;
    left: 0;
  }

  .profile-logo img {
    max-width: 300px;
    height: auto;
  }

  /* Introducción */
  .profile-intro h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .profile-intro h2 {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-gray);
    margin-bottom: 35px;
  }

  .profile-label {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--brand-blue);
    margin-bottom: 20px;
  }

  /* Resumen */
  .profile-summary {
    font-size: 1.1rem;
    line-height: 1.9;
    max-width: 800px; /* ocupa más espacio sin dejar blancos */
    color: var(--text-gray);
    margin-bottom: 40px;
  }

  /* Contenido adicional */
  .profile-content {
    padding: 100px 80px 160px;
    background: var(--light-gray);
  }

  .content-container {
    max-width: 1000px;  /* más ancho para pantallas grandes */
    margin: 0 auto;
  }

  .profile-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 60px;
    margin-bottom: 20px;
  }

  .profile-content p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 22px;
  }

  /* Botón volver */
  .profile-back {
    top: -20px;
    font-size: 15px;
  }

  /* Divisor */
  .profile-divider {
    width: 60px;
    height: 2px;
    background: var(--midnight-blue);
    margin-bottom: 35px;
  }
}
/* =================================================
   TIPOGRAFÍA OFICIAL – RETHINK SANS
   ================================================= */
@import url('https://fonts.googleapis.com/css2?family=Rethink+Sans:wght@400;500;700&display=swap');

/* =================================================
   BRAND GUIDELINES – COLORES OFICIALES
   ================================================= */
:root{
  --brand-blue: #01537b;       /* Azul Von Hesse */
  --brand-blue-light: #378ba4; /* Azul claro */
  --midnight-blue: #01273e;    /* Azul medianoche */
  --gray-light: #f2f2f2;
  --gray-medium: #d3d3d3;
  --text-primary: #1f2937;
  --text-muted: #4b5563;
  --max-width: 1200px;
}

/* =================================================
   RESET BASE
   ================================================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body {
  font-family: 'Rethink Sans', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background: linear-gradient(to bottom, #f9fbfd, #e6f0f7);
}


img{
  max-width:100%;
  display:block;
}

a{
  text-decoration:none;
  color:inherit;
}
.hero-wrapper::before {
  pointer-events: none;
}

.logo {
  position: relative;
  z-index: 10;
}
.logo a {
  display: inline-block;
}
.container{
  max-width: var(--max-width);
  margin: auto;
  padding: 0 20px;
}
/* =================================================
   HEADER / NAV
   ================================================= */
.header {
  background: transparent;
  padding: 20px 0;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 52px;       /* tamaño ideal para header */
  width: auto;
  max-width: 290px; 
  position: relative;  
  top: 15px;/* evita logos gigantes */
}


.contact-item a {
  color: inherit;
  text-decoration: none;
}


nav ul{
  display:flex;
  align-items:center;
  gap:30px;
  list-style:none;
  margin:0;
  padding:0;
}

nav li{
  display:flex;
  align-items:center;
}

.nav a {
  color: #fff;
  margin-left: 24px;
  text-decoration: none;
}

nav .btn-primary{
  background: var(--brand-blue);
  border-radius:6px;
  padding:0 20px;
}

nav .btn-primary:hover{
  background: var(--brand-blue-light);
  color:#fff;
}

nav a:hover{
  color: var(--brand-blue-light);
}
nav ul li a {
  text-decoration: none;
  color: #ffffff;
  padding: 9px 13px;
  transition: all 0.3s ease;
}

nav ul li a.btn-contact {
  background-color: #01537b; /* color de ejemplo */
  color: #fff;
  border-radius: 5px;
  padding: 12px 18px; /* más grande que antes */
  font-size: 1.05rem; /* ligeramente más grande */
  font-weight: 500;   /* un poco más visible */
}

nav ul li a.btn-contact:hover {
  background-color: #01334a;
}



/* ================= HERO NUEVO LAYOUT ================= */
.hero {
   align-items: flex-start; /* antes center */
  padding-top: 220px;     
}

.hero-grid {
  max-width: 520px;
  
}
.hero {
  padding-left: 0;
}

.hero .container {
  max-width: 1200px;
  margin-left: 80px;   /* 👈 siempre a la izquierda */
  margin-right: auto;
  padding: 0 20px;
}
.home .hero-wrapper {
  min-height: 80vh;
}

.home .hero {
  min-height: 60vh;
  align-items: center;
}


/* ================= HERO + HEADER ================= */
.hero-wrapper {
  min-height: 100vh;
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: heroSlider 15s infinite;
}

@keyframes heroSlider {
  0% {
    background-image: url("../img/Banner\ Principal\ 1.png");
  }

  33% {
    background-image: url("../img/Banner\ Principal\ 2.png");
  }

  66% {
    background-image: url("../img/Banner\ Principal\ 3.png");
  }

  100% {
    background-image: url("../img/Banner\ Principal\ 1.png");
  }
}

.hero-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  z-index: 2;
  pointer-events: none;

}



  


/* Overlay oscuro para legibilidad */
.hero-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* Todo el contenido encima del fondo */
.header,
.hero {
  position: relative;
  z-index: 3;
}
.hero-text {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.3s;
  
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-text h1 {
  font-size: 2.7rem; /* antes 3rem */
  white-space: nowrap;
}

.hero-text p {
  font-size: 1.15rem;
  white-space: nowrap;
}




.hero-actions {
  margin-top: 10px;
}
@media (min-width: 1600px) {
  .hero .container {
    margin-left: 120px;
  }

  .hero {
    padding-top: 300px;
  }

  .hero-text h1 {
    font-size: 3.4rem; /* 👈 más grande */
  }

  .hero-text p {
    font-size: 1.3rem; /* 👈 más grande */
  }
}
@media (min-width: 1600px) {

  .header-content {
    max-width: 1600px;
    padding: 0 80px; /* más aire */
  }

  /* Logo más grande */
  
   nav {
    margin-left: auto;
    padding-right: -10px; /* 👈 empuja más a la derecha */
  }

  nav ul {
    gap: 50px;
  }

  nav ul li a {
    font-size: 1.15rem;
  }

  nav ul li a.btn-contact {
    padding: 14px 24px;
    font-size: 1.1rem;
  }
}
/* =================================================
   BOTONES
   ================================================= */
.btn{
  display:inline-block;
  padding:14px 34px;
  border-radius:40px;
  font-weight:500;
  transition:.3s ease;
}

.btn-primary{
  background: var(--brand-blue);
  color:#fff;
}

.btn-primary:hover{
  background: var(--brand-blue-light);
}

.btn-secondary{
  background:#378ba4;
  color:#fff;
}

.btn-secondary:hover{
  background:#01537b;
}

/* =================================================
   SECCIONES
   ================================================= */
.section{
  padding:80px 0;
  position:relative;
}

.section.light{
  background: linear-gradient(180deg, #f2f2f2 0%, #e6f0f8 100%);
}

.section-title{
  font-size:2.2rem;
  font-weight:700;
  color: var(--brand-blue);
  margin-bottom:10px;
}

.section-subtitle{
  font-weight:500;
  color: var(--brand-blue-light);
  margin-bottom:50px;
}

/* =================================================
   AUTHORITY / QUIÉNES SOMOS
   ================================================= */
/* ================= AUTORIDAD / PERFIL ================= */
.authority-section {
  position: relative;
  padding: 90px 0;
  background: linear-gradient(
    to bottom,
    rgba(1,83,123,0.04),
    rgba(255,255,255,0)
  );
  overflow: hidden;
}

/* Logotipos decorativos */
.authority-logo {
  position: absolute;
  width: 90px;

  pointer-events: none;
}

.authority-logo.left {
  top: 30px;
  left: 30px;
}

.authority-logo.right {
  top: 30px;
  right: 30px;
}

/* Layout */
.authority {
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* TEXTO | IMAGEN */
  gap: 40px;
  align-items: center;
}


/* Imagen */
.authority-image {
  display: flex;
  justify-content: center;
}

.authority-image img {
  max-width: 420px;
  margin-left:0px; /* 👉 mueve a la derecha */
}


/* Contenido */
.authority-content {
  max-width: 580px;
  text-align: left;
  padding-left: 50px; /* 👉 mueve TODO el texto un poco a la derecha */
}


/* Título */
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2; /* mejora legibilidad */
  color: var(--brand-blue);
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: black;
  margin-bottom: 50px;

  padding-left: 30px; /* 👉 mueve a la derecha */
}

.authority-content .section-title {
  text-align: center;
}


/* Animación base */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes floatSoft {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.authority-image img {
  animation: floatSoft 6s ease-in-out infinite;
}
@keyframes drift {
  0% {
    transform: translateY(0);
    opacity: 0.8;
  }
  100% {
    transform: translateY(10px);
    opacity: 1;
  }
}

.authority-logo.left {
  animation: drift 6s ease-in-out infinite alternate;
}

.authority-logo.right {
  animation: drift 7s ease-in-out infinite alternate-reverse;
}
/* ================= CARRUSEL DENTRO DE AUTHORITY ================= */
/* CONTENEDOR DEL CARRUSEL */
.authority-carousel {
  position: relative;
  overflow: visible; /* 🔥 deja salir las flechas */
}

/* TRACK */
.authority-carousel .carousel-track {
  display: flex;
  gap: 30px;
  align-items: center;
  overflow-x: auto;              /* 🔥 permite scroll */
  scroll-behavior: smooth;
  scrollbar-width: none;         /* Firefox */
}

/* Ocultar scrollbar */
.authority-carousel .carousel-track::-webkit-scrollbar {
  display: none;
}

/* ITEMS */
.authority-carousel .carousel-item {
  flex: 0 0 180px;               /* 🔥 ancho fijo */
  display: flex;
  justify-content: center;
}


.authority-carousel img {
  max-height: 70px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.authority-carousel img:hover {
  opacity: 1;
  transform: scale(1.05);
}
.authority-carousel .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(1, 83, 123, 0.9);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  z-index: 5;
  transition: background 0.25s ease, transform 0.2s ease;
}

.authority-carousel .carousel-btn:hover {
  background: #01537b;
  transform: translateY(-50%) scale(1.08);
}

.authority-carousel .carousel-btn.prev {
  left: -12px;
}

.authority-carousel .carousel-btn.next {
  right: -12px;
}


/* Animación al entrar en vista */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ================= REVEAL AUTORIDAD ================= */
@media (prefers-reduced-motion: no-preference) {
  .authority-section {
    opacity: 0;
    transform: translateY(40px);
    animation: authorityReveal 1s ease forwards;
    animation-timeline: view();
    animation-range: entry 20% cover 35%;
  }
}

@keyframes authorityReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= DECORACIÓN QUIÉNES SOMOS ================= */

.about-section {
  position: relative;
  overflow: hidden;
}

/* Forma base */
.about-shape {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(1,83,123,0.18) 0%,
    rgba(1,83,123,0.08) 40%,
    rgba(1,83,123,0) 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* Esquina superior izquierda */
.shape-top-left {
  top: -120px;
  left: -120px;
}

/* Esquina inferior derecha */
.shape-bottom-right {
  bottom: -120px;
  right: -120px;
}

/* Asegura que el contenido quede arriba */
.about-wrapper {
  position: relative;
  z-index: 1;
}


/* Encabezado */
.about-heading {
  margin-bottom: 40px;
}

.about-label {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #003f8a;    /* azul más intenso */
  opacity: 1;         /* texto completamente visible */
  font-weight: 600;   /* un poco más fuerte */
  margin-bottom: 10px;
}



/* Texto principal */
.about-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 22px;
}

/* Frase fuerte */
.about-highlight {
  font-size: 1.15rem;
  font-weight: 600;      /* un poco más fuerte */
  color: #000000;  
  letter-spacing: 0.2px;
     /* negro puro */
}

/* Línea editorial */
.about-divider {
  width: 60px;
  height: 3px;
  background: var(--brand-blue);
  margin: 30px 0;
  border-radius: 3px;
}


.value {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(6, 5, 5, 0.868);
}

.value span {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 6px;
}

.value strong {
  font-size: 1.6rem;
  color: var(--brand-blue);
}

.value p {
  font-size: 0.9rem;
  margin-top: 8px;
  color: var(--text-muted);
}

/* =================================================
   SERVICIOS DESTACADOS – AJUSTES FINALES
   ================================================= */

.featured-services {
  position: relative;      /* necesario para las formas */
  overflow: hidden;        /* oculta exceso de las formas */
  padding: 110px 0;
  background: linear-gradient(
    180deg,
    rgba(1,83,123,0.10) 0%,
    rgba(1,83,123,0.03) 60%,
    #ffffff 100%
  );
}

/* Reutiliza las mismas formas de "Quiénes somos" */
.featured-services .about-shape {
  opacity: 0.75;           /* un poco más sutil en servicios */
}

/* Asegura que el contenido quede encima */
.featured-services .container {
  position: relative;
  z-index: 1;
}

/* Grid de servicios (por si no estaba definido) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Tarjetas */
.featured-services .card {
  background: #f8fcff;
  border-radius: 18px;
  padding: 40px 30px;
  box-shadow: 0 15px 40px rgba(1,39,62,0.08);
  transition: all .35s ease;
}

.featured-services .card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 35px 80px rgba(1,39,62,0.15);
}

/* Imagen dentro de la card */
.featured-services .service-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 20px;
}

.featured-services .service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.featured-services .card:hover .service-image img {
  transform: scale(1.05);
}

/* Texto */
.featured-services .card h3 {
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--brand-blue);
}

.featured-services .card p {
  color: var(--text-muted);
  line-height: 1.6;
}


/* =================================================
   CARRUSEL DE EMPRESAS

  
/* =================================================
 


/* ================= CASOS DE ESTUDIO – ESTILO EDITORIAL ================= */

/* =================================================
   CASOS DE ESTUDIO – FONDO DINÁMICO
   ================================================= */
#casos-estudio {
  position: relative;
  overflow: hidden;
  padding: 110px 20px;
  background: linear-gradient(
    180deg,
    rgba(1,83,123,0.12) 0%,
    rgba(1,83,123,0.03) 60%,
    #ffffff 100%
  );
}


/* Formas flotantes (divs) */
.cases-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(1,83,123,0.15) 0%, rgba(1,83,123,0) 70%);
}

/* Arriba izquierda */
.cases-shape.shape-top-left {
  width: 300px;
  height: 300px;
  top: -120px;
  left: -120px;
  animation: floatSlow 15s ease-in-out infinite alternate;
}

/* Abajo derecha */
.cases-shape.shape-bottom-right {
  width: 220px;
  height: 220px;
  bottom: -100px;
  right: -100px;
  animation: floatSlow 18s ease-in-out infinite alternate-reverse;
}

/* Animación de flotación */
@keyframes floatSlow {
  0% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) translateX(8px) rotate(5deg);
  }
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }
}

/* Contenido encima */
#casos-estudio > .container {
  position: relative;
  z-index: 1;
}

/* Contenido encima de las formas */
#casos-estudio > .container {
  position: relative;
  z-index: 1;
}

/* Ajustes de cases-list (grid) */
.cases-list {
  margin-top: 50px;
}

/* Grid de casos */
.case-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(1,83,123,0.12);
}

/* Casos pares → imagen a la derecha */
.case-row:nth-child(even) {
  grid-template-columns: 1fr 180px;
}

.case-row:nth-child(even) .case-thumb {
  order: 2;
}

.case-row:nth-child(even) .case-content {
  order: 1;
  text-align: left;
}

/* Imagen */
.case-thumb img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

/* Contenido */
.case-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.case-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.case-meta {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-blue-light);
  margin-bottom: 8px;
}

.case-link {
  font-weight: 600;
  color: var(--brand-blue);
}

.case-link:hover {
  color: var(--brand-blue-light);
}



/* =================================================
   NOSOTROS / TEAM
   ================================================= */
.team{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:40px;
}

.team-member{
  text-align:center;
}

.team-member img{
  border-radius:50%;
  margin-bottom:15px;
}

.team-member h4{
  font-weight:700;
  color: var(--brand-blue);
}

.team-member span{
  font-size:.9rem;
  color: var(--brand-blue-light);
}

/* =================================================
   FORMULARIO / CONTACTO
   ================================================= */
form{
  max-width:600px;
}

input, textarea{
  width:100%;
  padding:14px;
  border-radius:10px;
  border:1px solid var(--gray-medium);
  margin-bottom:15px;
  font-family:inherit;
}

textarea{
  resize:none;
  height:140px;
}

/* =================================================
   FOOTER
   ================================================= */
/* ================= FOOTER COMPLETO CON LOGO ================= */
footer{
  background: var(--midnight-blue);
  color: #fff;
  padding: 50px 20px 20px 20px;
  font-size: 0.95rem;
}
.footer-contact {
  color: #fff;
}

.footer-contact h4 {
  margin-bottom: 18px;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

.footer-contact .contact-item img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.85;
}

.footer-contact .contact-item span {
  line-height: 1.4;
}
footer a{
  color: #e0f0ff;
  text-decoration: none;
}

footer a:hover{
  color: var(--brand-blue-light);
}

.footer-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 40px;
  max-width: var(--max-width);
  margin: auto;
}

.footer-grid h4{
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}

.footer-grid ul{
  list-style: none;
  padding: 0;
}

.footer-grid ul li{
  margin-bottom: 8px;
}

.footer-bottom{
  text-align:center;
  padding-top:20px;
  font-size:0.85rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top:30px;
}/* ================= BOTÓN HAMBURGUESA - versión íconos ================= */
.hamburger-btn {
  font-size: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 2000;
  display: none; /* 🔹 oculto por defecto en pantallas grandes */
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Iconos dentro del botón */
.hamburger-btn .hamburger-icon {
  display: block;
  color: #1962ea;
}

.hamburger-btn .close-icon {
  display: none;
  color: #000;
}

/* Cuando el menú está abierto */
.hamburger-btn.open .hamburger-icon {
  display: none;
}
.hamburger-btn.open .close-icon {
  display: block;
}

/* ================= MENÚ HAMBURGUESA ================= */
.hamburger-menu {
  display: flex;
  flex-direction: column;
  padding: 190px 20px 20px 20px;
  background: rgba(25, 98, 234, 0.9);
  width: 280px;
  height: 100%;
  position: fixed;
  top: 0;
  right: -280px; 
  z-index: 1000;
  transition: right 0.3s ease;
}

.hamburger-menu.open {
  right: 0;
}

/* Animación de links */
.hamburger-menu a {
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  margin: 18px 0;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateX(20px);
}

.hamburger-menu.open a:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateX(0); }
.hamburger-menu.open a:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateX(0); }
.hamburger-menu.open a:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateX(0); }
.hamburger-menu.open a:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateX(0); }
.hamburger-menu.open a:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateX(0); }

.hamburger-menu a:hover {
  transform: translateX(5px);
}


/* ================= MEDIA QUERY - mostrar en móviles ================= */


/* ================= LOGO + CONTACTO ================= */
footer .footer-top {
  display: flex;
  justify-content: space-between; /* separa logo y resto */
  align-items: flex-start;
  gap: 40px; /* espacio entre el logo y el resto del contenido */
  padding-bottom: 20px;
}

.footer-logo {
  margin-left: 0; /* logo pegado a la izquierda */
}

.footer-logo img {
  height: 60px;
  width: auto;
  display: block;
}


.cta-blue {
  background: #fff; /* azul Von Hesse */
  color: #01537b; /* texto por defecto blanco */
}

.cta-blue .section-subtitle {
  color: #01537b; /* un azul clarito para subtitulo */
}

.read-more {
  display: none;
}

/* Desktop: solo hero */
.hero-p-desktop {
  display: block;
  color: #fff; /* blanco para hero */
  margin-top: 16px;
  line-height: 1.6;
  font-size: 1rem;
}

.hero-p-mobile {
  display: none; /* oculto en desktop */
}

/* ================= HEADER / MENÚ HAMBURGUESA ================= */

/* Desktop: menú normal */
.hamburger-btn {
  display: none; /* oculto en desktop */
}
.hamburger-menu {
  display: none; /* oculto en desktop */
}
.authority-content,
.authority-image {
  opacity: 0;
  transform: translateY(80px); /* más abajo para que se note */
  transition: opacity 1.4s ease, transform 1.4s ease; /* más lento */
}

.authority-section.visible .authority-content,
.authority-section.visible .authority-image {
  opacity: 1;
  transform: translateY(0);
}

/* Grid base: 1 columna (móvil) */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px; /* espacio arriba/abajo y laterales */
}

/* Tarjetas blancas con sombra */
.testimonial-card {
  background: #ffffff; /* blanco */
  border-radius: 16px;
  padding: 28px 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: left;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: #666;
}

/* ================= TABLET (≥ 600px) ================= */
@media (min-width: 600px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================= DESKTOP (≥ 900px) ================= */
@media (min-width: 900px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* SOLO MÓVILES */
@media (max-width: 768px) {
  

/* =================================================
   FOOTER
================================================= */

footer .footer-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.footer-logo {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.footer-logo img {
  display: block;
  margin: 0 auto;
  max-width: 570px;
}

.footer-contact {
  order: 2;
  width: 100%;
}

.footer-contact h4 {
  margin-bottom: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.contact-item img {
  width: 18px;
  height: 18px;
}

.footer-social {
  order: 3;
  width: 100%;
}

.footer-social ul {
  padding-left: 0;
  list-style: none;
}

.footer-social li {
  margin-bottom: 8px;
}



}
