:root {
  /* Colores principales */
  --primary-color: #004d99;
  --primary-light: rgba(0, 69, 138, 0.1);
  --primary-dark: #004799;
  
  --secondary-color: #d4af37;
  --secondary-light: rgba(212, 175, 55, 0.1);
  
  /* Escala de grises */
  --dark-color: #1a1a1a;
  --darker-color: #0d0d0d;
  --light-color: #ffffff;
  --lighter-color: #fcfcfc;
  --gray-color: #f5f5f5;
  --gray-dark: #e0e0e0;
  
  /* Texto */
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #f8f8f8;
  
  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  
  /* Bordes */
  --border-radius: 8px;
  --border-radius-lg: 12px;
  
  /* Transiciones */
  --transition-fast: all 0.2s ease;
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  
  /* Espaciados */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
}

/* Estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--gray-color);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* Botones */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #004d99; /* dorado */
  border-color: #EFB810;
  color: white;
  transform: translateY(-3px);
}


.btn-secondary {
  background-color: var(--primary-color);
  color: var(--light-color);
}

.btn-secondary:hover {
  background-color: #EFB810; /* dorado */
  border-color: #004d99;
  color: white;
  transform: translateY(-3px);
}


.btn-outline {
  background-color: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

                                                /* Header */
/* Header general */
/* HEADER ACTUALIZADO */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.header.shrink {
  padding: 0.5rem 3rem;
  background-color: rgba(255,255,255,0.95);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* LOGO MÁS GRANDE */
.logo-container {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  
  
}

.logo-img {
  height: 70px;
  max-height: 70px;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

/* NAV LINKS */
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  font-size: 1.1rem;
  margin-left: auto;
}

.nav-link {
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.3s ease;
}
.nav-link.active {
  color: #f2c94c;
  font-weight: bold;
}

.nav-link i {
  margin-right: 6px;
}

.nav-link:hover {
  color: #d4af37;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #f2c94c, #f2994a);
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #d4af37;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    transition: left 0.3s ease;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-links.show {
    left: 0;
  }

  .nav-link {
    width: 100%;
    padding: 1rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 1.2rem;
  }
}



/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  padding-top: 80px; /* Compensa el header fijo */
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed; /* Opcional para efecto parallax */
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
  }

  .hero-slideshow .slide {
    background-position: center top;
    background-size: cover;
  }
}

.hero-slideshow .slide.active {
  opacity: 1;
}

.hero-slideshow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}






.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, var(--light-color), transparent);
  z-index: 1;
}


.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}



.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-title span {
  color: var(--secondary-color);
  position: relative;
}

.hero-title span::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--secondary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.hero:hover .hero-title span::after {
  transform: scaleX(1);
  transform-origin: left;
}


.hero-subtitle {
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 2rem;
  opacity: 0.9;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
}

.feature-item i {
  color: var(--secondary-color);
}

.hero-carousel {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.carousel-slide {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.carousel-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.carousel-slide:hover img {
  transform: scale(1.05);
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.slide-overlay h3 {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Animación de flotación para el carrusel */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  90% { transform: translateY(-20px); }
}
@media (max-width: 768px) {
  .hero::before {
    background-position: center top;
  }
}




.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 2rem 1.5rem;
  color: var(--light-color);
}

.slide-overlay h3 {
  color: var(--secondary-color);
  font-size: 1.5rem;
}



.hero-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #25D366;
  color: var(--light-color);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}
.btn-nav-whatsapp {
  background-color: #25D366;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  margin-left: 1rem;
  transition: background-color 0.3s ease;
}

.btn-nav-whatsapp:hover {
  background-color: #1ebe5c;
}
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.pulse {
  animation: pulse 2s infinite;
}



/* Sección Sobre Mí - Diseño Premium */
.about-me-section {
  position: relative;
  padding: 8rem 0;
  background-color: #f9f9f9;
  overflow: hidden;
}
/* Efecto Parallax para la sección de trayectoria */
.timeline-parallax {
  position: relative;
  margin: 6rem 0;
  overflow: hidden;
  min-height: 800px; /* Ajusta según necesites */
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%; /* Más alto que el contenedor para el efecto parallax */
  background-image: url('../static_sobrenosotros/img/hero1.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Esto crea el efecto parallax */
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0.15; /* Ajusta la opacidad según prefieras */
  
  /* Efecto de desenfoque sutil (opcional) */
  filter: blur(2px);
}
/* Efecto de salpicadura de pintura (opcional) */
.parallax-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M30,10 Q50,5 70,20 T90,40 Q85,60 70,70 T30,80 Q10,70 10,40 Q15,20 30,10" fill="%23d4af37" opacity="0.1"/></svg>');
  background-size: 300px;
  background-repeat: repeat;
  mix-blend-mode: multiply;
}

.timeline-section {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
}

/* Añade un overlay para mejor legibilidad (opcional) */
.timeline-parallax::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, 
              rgba(0, 0, 0, 0.9) 0%); 
  z-index: 0;
}

/* Ajustes para el contenido sobre el parallax */
.timeline-container,
.timeline-section .section-header {
  position: relative;
  z-index: 2;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
  .parallax-bg {
    background-attachment: scroll; /* Desactiva parallax en móviles */
  }
  
  .timeline-parallax {
    min-height: auto;
  }
}

.bg-paint-strokes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M20,20 Q30,10 40,20 T60,20 T80,20" fill="none" stroke="%23f0f0f0" stroke-width="2"/><path d="M10,40 Q20,30 30,40 T50,40 T70,40" fill="none" stroke="%23f0f0f0" stroke-width="2"/><path d="M30,60 Q40,50 50,60 T70,60 T90,60" fill="none" stroke="%23f0f0f0" stroke-width="2"/></svg>');
  opacity: 0.1;
  z-index: 0;
}

.bg-color-splash {
  position: absolute;
  width: 600px;
  height: 600px;
  right: -200px;
  top: -200px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0) 70%);
  z-index: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 1;
}

.title-wrapper {
  position: relative;
  display: inline-block;
}

.section-title {
  position: relative;
  display: inline-block;
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.title-sobremi {
  position: relative;
  display: inline-block;
  font-size: 3rem;
  font-weight: 800;
  color: #000000;
  margin-bottom: 1rem;
}

.title-text {
  position: relative;
  z-index: 2;
}



.highlight-word {
  color: var(--secondary-color);
  position: relative;
}

.highlight-word::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: rgba(212, 175, 55, 0.3);
  z-index: -1;
  transform: skewY(-2deg);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-medium);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

.header-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
}

.decoration-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
}

.decoration-icon {
  margin: 0 1.5rem;
  width: 40px;
  height: 40px;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Grid principal */
.about-me-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 6rem;
  position: relative;
  z-index: 1;
}

/* Columna de imagen */
.about-me-image {
  position: relative;
}

.image-frame {
  position: relative;
  padding: 20px;
}

.image-container {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.2);
  transform: perspective(1000px) rotateY(-5deg);
  transition: all 0.5s ease;
}

.image-container:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.main-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1s ease;
}

.image-container:hover .main-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.image-container:hover .image-overlay {
  opacity: 1;
}

/* Insignia de experiencia */
.experience-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 140px;
  height: 140px;
  z-index: 2;
}

.badge-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 77, 153, 0.3);
  z-index: 2;
  transition: all 0.5s ease;
}

.experience-badge:hover .badge-inner {
  transform: scale(1.05);
}

.years {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 5px;
}

.text {
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 500;
}

.badge-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.paint-drip {
  position: absolute;
  background-color: var(--secondary-color);
  border-radius: 0 0 10px 10px;
}

.paint-drip-1 {
  width: 15px;
  height: 30px;
  left: 20px;
  top: -10px;
  animation: dripAnimation 3s infinite ease-in-out;
}

.paint-drip-2 {
  width: 10px;
  height: 20px;
  right: 30px;
  top: -5px;
  animation: dripAnimation 3.5s infinite ease-in-out 0.5s;
}

.paint-drip-3 {
  width: 8px;
  height: 15px;
  right: 15px;
  top: -3px;
  animation: dripAnimation 4s infinite ease-in-out 1s;
}

.paint-splash {
  position: absolute;
  background-color: rgba(212, 175, 55, 0.2);
  border-radius: 50%;
}

.paint-splash-1 {
  width: 80px;
  height: 80px;
  top: -20px;
  left: -20px;
  z-index: -1;
}

.paint-splash-2 {
  width: 120px;
  height: 120px;
  bottom: -30px;
  right: -30px;
  z-index: -1;
}

@keyframes dripAnimation {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* Columna de contenido */
.about-me-content {
  position: relative;
}

.content-block {
  margin-bottom: 3rem;
}

.content-title {
  position: relative;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.title-underline {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--secondary-color);
  transform: scaleX(0.8);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.content-title:hover .title-underline {
  transform: scaleX(1);
}

.content-text {
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* Cita destacada */
.highlight-quote {
  display: flex;
  margin: 2.5rem 0;
  position: relative;
}

.quote-decoration {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 1.5rem;
}

.quote-icon {
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.quote-line {
  flex-grow: 1;
  width: 2px;
  background: linear-gradient(to bottom, var(--secondary-color), transparent);
}

.quote-content {
  flex: 1;
}

.quote-content p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 1rem;
  position: relative;
}

.quote-signature {
  display: flex;
  align-items: center;
}

.signature-line {
  width: 30px;
  height: 2px;
  background-color: var(--secondary-color);
  margin-right: 10px;
}

.quote-signature span {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.9rem;
}

/* Especialidades */
.specialties-block {
  margin-top: 3rem;
}

.block-title {
  position: relative;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
}

.title-icon {
  margin-left: 15px;
  color: var(--secondary-color);
  font-size: 1.3rem;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.specialty-card {
  position: relative;
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 1;
}

.specialty-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.specialty-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.specialty-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  transition: all 0.4s ease;
}

.specialty-card:hover .card-icon {
  background-color: var(--secondary-color);
  color: white;
  transform: rotate(15deg);
}

.card-title {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.5;
}

.card-hover-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.specialty-card:hover .card-hover-effect {
  opacity: 1;
}

/* Línea del tiempo */
.timeline-section {
  margin: 6rem 0;
  position: relative;
}

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 0;
}

.timeline-progress {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 3rem;
  margin-bottom: 3rem;
  box-sizing: border-box;
  z-index: 2;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.item-date {
  position: absolute;
  top: 0;
  width: 120px;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 5px 15px rgba(0, 77, 153, 0.2);
}

.timeline-item:nth-child(odd) .item-date {
  right: -140px;
}

.timeline-item:nth-child(even) .item-date {
  left: -140px;
}

.item-marker {
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: white;
  border: 4px solid var(--secondary-color);
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.2);
}

.timeline-item:nth-child(odd) .item-marker {
  right: -12px;
}

.timeline-item:nth-child(even) .item-marker {
  left: -12px;
}

.marker-line {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 2px;
  height: calc(100% + 3rem);
  background-color: var(--secondary-color);
  transform: translateX(-50%);
  z-index: -1;
}

.timeline-item:last-child .marker-line {
  display: none;
}

.item-content {
  position: relative;
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.timeline-item:hover .item-content {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.item-title {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.item-text {
  color: var(--text-medium);
  line-height: 1.6;
  font-size: 0.95rem;
}

.item-decoration {
  position: absolute;
  top: -20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Sección de valores */
.values-section {
  margin: 6rem 0;
  position: relative;
}

.values-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  position: relative;
  height: 250px;
  perspective: 1000px;
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  transition: transform 0.8s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card-front {
  background-color: white;
  transform: rotateY(0deg);
}

.card-back {
  background-color: var(--primary-color);
  color: white;
  transform: rotateY(180deg);
}

.value-card:hover .card-front {
  transform: rotateY(180deg);
}

.value-card:hover .card-back {
  transform: rotateY(360deg);
}

.value-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-light);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  transition: all 0.5s ease;
}

.card-back .value-icon {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.value-title {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
  text-align: center;
}

.card-back .value-title {
  color: white;
}

.card-back p {
  text-align: center;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.value-decoration {
  position: absolute;
  bottom: 20px;
  width: 40px;
  height: 3px;
  background-color: var(--secondary-color);
}

/* Sección de redes sociales */
.social-section {
  margin: 6rem 0;
}

.social-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.social-card {
  position: relative;
  height: 180px;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3b5998, #4c70ba);
  opacity: 0.9;
  transition: all 0.4s ease;
}

.social-card.ig .card-bg {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  background-size: 200% 200%;
}

.social-card.wa .card-bg {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.social-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.social-card:hover .card-bg {
  opacity: 1;
}

.card-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  color: white;
  z-index: 2;
}

.social-icon {
  width: 30px;
  height: 30px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.social-card:hover .social-icon {
  background-color: white;
  color: var(--primary-color);
  transform: scale(1.1);
}

.social-info {
  flex: 1;
}

.social-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.social-text {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.social-handle {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
}

.social-cta {
  display: flex;
  align-items: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s ease;
}

.social-card:hover .social-cta {
  opacity: 1;
  transform: translateX(0);
}

.social-cta i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.social-card:hover .social-cta i {
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 1200px) {
  .values-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .timeline-item:nth-child(odd) .item-date {
    right: -120px;
    width: 100px;
  }
  
  .timeline-item:nth-child(even) .item-date {
    left: -120px;
    width: 100px;
  }
}

@media (max-width: 992px) {
  .about-me-grid {
    grid-template-columns: 1fr;
  }
  
  .social-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .timeline-progress {
    left: 40px;
  }
  
  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 5rem;
    padding-right: 1rem;
  }
  
  .timeline-item:nth-child(odd) .item-date,
  .timeline-item:nth-child(even) .item-date {
    left: 5rem;
    right: auto;
    top: -25px;
    width: auto;
  }
  
  .item-marker {
    left: 30px !important;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
  
  .social-container {
    grid-template-columns: 1fr;
  }
  
  .specialties-grid {
    grid-template-columns: 1fr;
  }
  
  .experience-badge {
    width: 100px;
    height: 100px;
  right: 10px;
  bottom: 10px;
  transform: scale(0.8);
  transform-origin: bottom right;
  }
  
  .years {
    font-size: 2rem;
  }
  
  .text {
    font-size: 0.7rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .values-container {
    grid-template-columns: 1fr;
  }
  
  .highlight-quote {
    flex-direction: column;
  }
  
  .quote-decoration {
    flex-direction: row;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .quote-icon {
    margin-right: 1rem;
    margin-bottom: 0;
  }
  
  .quote-line {
    width: 100%;
    height: 2px;
  }
}




















/* Formulario */
.contacto-form .form-container {
  display: flex;
  flex-wrap: wrap;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: 3rem;
}

.contacto-form .form-image {
  flex: 1 1 50%;
  background: #f5f5f5;
}

.contacto-form .contact-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contacto-form .form-content {
  flex: 1 1 50%;
  padding: 3rem;
  background-color: #fff;
}

.contacto-form .form-content h1 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contacto-form .form-content h2 {
  font-size: 1.2rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 12px;
  border: 1px solid var(--gray-dark);
  border-radius: var(--border-radius);
  background: white;
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group label {
  position: absolute;
  top: -10px;
  left: 14px;
  background: white;
  padding: 0 5px;
  font-size: 0.85rem;
  color: var(--text-medium);
  pointer-events: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}
.form-group select {
  width: 100%;
  padding: 14px 12px;
  border: 1px solid var(--gray-dark);
  border-radius: var(--border-radius);
  background: white;
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition);
  appearance: none;
}


/* Modal de éxito */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.submit-btn {
    background: #4a89dc;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    width: 100%;
}

.submit-btn:hover {
    background: #3a70c2;
    transform: translateY(-2px);
}
/* Responsive */
@media (max-width: 768px) {
    .form-container {
        flex-direction: column;
    }
    
    .form-image {
        height: 200px;
    }
}






.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.contact-info-icon {
  background: rgba(255, 126, 95, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--secondary-color);
  flex-shrink: 0;
}

.contact-info-content {
  flex: 1;
}

.contact-info-content h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: white;
}

.contact-info-content p, 
.contact-info-content a {
  opacity: 0.8;
  font-size: 0.9rem;
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.contact-info-content a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 16px;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
}

.newsletter-form {
  display: flex;
  margin-top: 1.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 4px 0 0 4px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

.newsletter-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.2);
}

.newsletter-btn {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 0 20px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background: #ff6a4b;
}


/* Footer */
.footer {
  background: linear-gradient(135deg, #1a202c, #2d3748);
  color: var(--light-color);
  padding: 5rem 5% 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1518455027359-f3f8164ba6bd?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover;
  opacity: 0.05;
  z-index: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-col {
  margin-bottom: 2rem;
}

.footer-col h3 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: var(--secondary-color);
}

.footer-col p {
  opacity: 0.8;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
  opacity: 0.8;
  transition: var(--transition);
  position: relative;
  padding-left: 20px;
}

.footer-links li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  transition: var(--transition);
  opacity: 0;
}

.footer-links li:hover {
  opacity: 1;
  padding-left: 25px;
}

.footer-links li:hover::before {
  opacity: 1;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-links i {
  margin-right: 0.8rem;
  color: var(--secondary-color);
  width: 20px;
  text-align: center;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.contact-info-icon {
  background: rgba(255, 126, 95, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--secondary-color);
  flex-shrink: 0;
}

.contact-info-content {
  flex: 1;
}

.contact-info-content h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: white;
}

.contact-info-content p, 
.contact-info-content a {
  opacity: 0.8;
  font-size: 0.9rem;
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.contact-info-content a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 16px;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: var(--secondary-color);
}

.footer-bottom p {
  margin-bottom: 1rem;
  opacity: 0.8;
  font-size: 0.9rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  max-width: 200px;
  height: auto;
}

.logo-image {
  transition: transform 0.3s ease;
}

.logo-image:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
  .quotation-content {
    flex-direction: column;
  }
  
  .quotation-image {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .process-step:not(:last-child)::after {
    display: none;
  }
  
  .form-container {
    flex-direction: column;
  }
  
  .form-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    transition: var(--transition);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav-links.show {
    left: 0;
  }
  
  .hero {
    padding-top: 80px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 1rem;
  }
  
  .logo-img {
    height: 60px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .quotation-options {
    grid-template-columns: 1fr;
  }
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate {
  animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}