/* ===== Reset básico ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* ===== Header ===== */
header {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

header h1 {
  font-size: 1.5rem;
  color: #222;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #0077b6;
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url('../img/CamionNaranja.jpg') center/cover no-repeat;
  height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-content {
  max-width: 700px;
  animation: fadeIn 1.5s ease;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  background-color: #0077b6;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  background-color: #005f87;
}

/* ===== Cards Section ===== */
.home-info {
  padding: 4rem 5%;
  text-align: center;
}

.home-info h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #222;
}

.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.card {
  background-color: #fff;
  padding: 2rem;
  width: 300px;
  border-radius: 15px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.card h4 {
  color: #0077b6;
  margin-bottom: 0.5rem;
}

/* ===== Footer ===== */
footer {
  background-color: #222;
  color: #ccc;
  text-align: center;
  padding: 1.5rem;
  margin-top: 3rem;
}

/* ===== Animaciones ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }
}
/* ===== Contacto ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 2rem auto;
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0077b6;
  box-shadow: 0 0 5px rgba(0,119,182,0.3);
}
.home-info {
  padding: 40px 20px;
}

.home-info h2 {
  margin-bottom: 15px;
  font-size: 2rem;
}

.home-info p {
  margin-bottom: 30px;
  line-height: 1.6;
  font-size: 1.1rem;
}

/* Cards */
.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #fff;
  flex: 1 1 250px;
}

.card h4 {
  margin-bottom: 10px;
}

.card p {
  margin: 0;
  line-height: 1.5;
}
.contact-links {
  margin-top: 20px;
}

.contact-links p {
  margin-bottom: 10px;
  font-weight: bold;
}

.contact-links a {
  display: inline-block;
  margin-right: 10px;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-whatsapp {
  background-color: #25D366;
}

.btn-whatsapp:hover {
  background-color: #1ebe5d;
}

.btn-email {
  background-color: #EA4335;
}

.btn-email:hover {
  background-color: #c9302c;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between; /* logo a la izquierda, menú al centro */
  padding: 20px 40px;
  background-color: #f8f8f8;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 10px;
}

.logo-img {
  max-width: 100px;
  height: auto;
}

.logo-link h1 {
  font-size: 1.5rem;
  margin: 0;
}

/* Menú centrado */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #007bff;
}

/* Ajuste responsivo para móvil */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
  }
}
/* Hero Services */
.hero-services {
  position: relative;
  text-align: center;
  margin-bottom: 50px;
}

.hero-services img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

.hero-services .hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 0 0 10px rgba(0,0,0,0.6);
}

.hero-services .hero-text h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.hero-services .hero-text p {
  font-size: 1.1rem;
}

/* Cards */
.home-info {
  padding: 0 20px 50px 20px;
}

.cards {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  padding: 30px;
  border-radius: 10px;
  background-color: #fdfdfd;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  flex: 1 1 300px;
  max-width: 350px;
  position: relative;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card h4 {
  margin-bottom: 15px;
}

.card p {
  line-height: 1.6;
}

/* Opcional: agregar un pequeño icono o fondo sutil */
.card::before {
  content: '';
  background-image: url('../assets/img/fondo-card.png'); /* si tenés alguna imagen sutil */
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  z-index: 0;
}

.card h4,
.card p {
  position: relative;
  z-index: 1;
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 15px; /* espacio entre logo y nombre */
}

.logo-img {
  max-width: 100px;
  height: auto;
}

/* Estilo del nombre para que no tenga subrayado */
.name-link {
  text-decoration: none;
  color: inherit;
}

.name-link:hover {
  color: #007bff; /* opcional: color al pasar el mouse */
}

/* Header y menú centrado */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background-color: #f8f8f8;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #007bff;
}

/* Responsivo */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
  }
}
/* Logo y nombre alineados */
.logo-container {
  display: flex;
  align-items: center;
  gap: 15px; /* espacio entre logo y nombre */
}

.logo-img {
  max-width: 100px;
  height: auto;
}

.name-link {
  text-decoration: none;
  color: inherit;
}

.name-link:hover {
  color: #007bff;
}

/* Header y menú centrado */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background-color: #f8f8f8;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #007bff;
}

/* Hero Nosotros */
.hero-nosotros {
  position: relative;
  text-align: center;
  margin-bottom: 50px;
}

.hero-nosotros img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

.hero-nosotros .hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 0 0 10px rgba(0,0,0,0.6);
}

.hero-nosotros .hero-text h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.hero-nosotros .hero-text p {
  font-size: 1.1rem;
}

/* Cards */
.home-info {
  padding: 0 20px 50px 20px;
}

.cards {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  padding: 30px;
  border-radius: 10px;
  background-color: #fdfdfd;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  flex: 1 1 300px;
  max-width: 350px;
  position: relative;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card h4 {
  margin-bottom: 15px;
}

.card p {
  line-height: 1.6;
}

/* Opcional: fondo sutil en cards */
.card::before {
  content: '';
  background-image: url('../assets/img/fondo-card.png');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  z-index: 0;
}

.card h4,
.card p {
  position: relative;
  z-index: 1;
}

/* Responsivo */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
  }
}

/* ==== SECCIONES DE SERVICIOS ==== */
.servicios-sections {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.servicio-section {
  width: 100%;
  padding: 60px 20px;
  text-align: center;
}

.servicio-content {
  max-width: 900px;
  margin: 0 auto;
}

.servicio-section h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.servicio-section p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
}

/* Colores de fondo alternados */
.blue-bg {
  background-color: #e6f0ff; /* azul clarito */
}

.white-bg {
  background-color: #ffffff;
}

.gray-bg {
  background-color: #f4f4f4;
}

/* ==== FOOTER ==== */
footer {
  background-color: #2b2b2b;
  color: #f5f5f5;
  text-align: center;
  padding: 20px 0;
  font-size: 0.95rem;
  margin-top: 40px;
}

footer p {
  margin: 0;
  letter-spacing: 0.5px;
}
/* Hero contacto */
.hero-contacto {
  position: relative;
  text-align: center;
  margin-bottom: 40px;
}

.hero-contacto img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 10px;
}

.hero-contacto .hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 0 0 10px rgba(0,0,0,0.6);
  padding: 0 20px;
}

.hero-contacto .hero-text h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.hero-contacto .hero-text p {
  font-size: 1rem;
}

/* Contacto */
.contacto-container {
  text-align: center;
  padding: 50px 20px 80px;
  max-width: 800px;
  margin: 0 auto;
}

.contacto-text {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Botones de contacto: WhatsApp arriba, mail debajo */
.contacto-botones {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.btn-whatsapp,
.btn-mail {
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 700;
  color: white;
  width: 100%;
  max-width: 360px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: inline-block;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.08);
  border: none;
}

/* WhatsApp - formal green */
.btn-whatsapp {
  background-color: #25D366;
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0,0,0,0.12); }

/* Mail - primary blue */
.btn-mail {
  background-color: #007bff;
}
.btn-mail:hover { transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0,0,0,0.12); }

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-contacto .hero-text h2 { font-size: 1.6rem; }
  .hero-contacto .hero-text p { font-size: 0.95rem; }
  .btn-whatsapp, .btn-mail { width: 92%; max-width: 420px; }
}
/* ===== Sección Nosotros ===== */
.nosotros-banner {
  background: url('https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 100px 20px;
  position: relative;
}

.nosotros-banner .overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 60px 20px;
  border-radius: 10px;
}

.nosotros-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.nosotros-section {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 60px 10%;
  background-color: #f5f5f5;
}

.nosotros-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.nosotros-item.reverse {
  flex-direction: row-reverse;
}

.nosotros-item.center {
  flex-direction: column;
  text-align: center;
}

.nosotros-text {
  flex: 1 1 50%;
}

.nosotros-text h2 {
  color: #003366;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.nosotros-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.nosotros-img {
  flex: 1 1 45%;
  text-align: center;
}

.nosotros-img img {
  width: 100%;
  max-width: 480px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nosotros-item {
    flex-direction: column !important;
    text-align: center;
  }

  .nosotros-text, .nosotros-img {
    flex: 1 1 100%;
  }

  .nosotros-banner h1 {
    font-size: 2rem;
  }
}
/* ===== Hero Servicios ===== */
.hero-services {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden; /* evita que sobresalga el texto */
}

.hero-services img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-services .hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  padding: 0 10px; /* espacio en móvil */
  box-sizing: border-box;
  width: 90%; /* nunca más del 90% del ancho */
}

.hero-services .hero-text h2 {
  font-size: clamp(24px, 6vw, 48px); /* se ajusta al ancho de pantalla */
  margin-bottom: 10px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-services .hero-text p {
  font-size: clamp(14px, 4vw, 20px);
  word-wrap: break-word;
  overflow-wrap: break-word;
}
/* ===== Hero Nosotros ===== */
.hero-nosotros {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.hero-nosotros img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-nosotros .hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  padding: 0 10px;
  box-sizing: border-box;
  width: 90% !important;
}

.hero-nosotros .hero-text h2 {
  font-size: clamp(24px, 6vw, 48px) !important;
  margin-bottom: 10px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-nosotros .hero-text p {
  font-size: clamp(14px, 4vw, 20px) !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ===== Secciones Nosotros ===== */
.nosotros-section {
  padding: 4rem 1rem !important;
  text-align: center !important;
}

.nosotros-section h2, 
.nosotros-section h3 {
  font-size: clamp(20px, 4vw, 36px) !important;
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.nosotros-section p {
  font-size: clamp(14px, 3.5vw, 18px) !important;
  max-width: 90% !important;
  margin: 0 auto;
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ===== Artículos flexibles para móviles ===== */
.nosotros-item {
  display: flex;
  flex-wrap: wrap !important;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.nosotros-item.reverse {
  flex-direction: row-reverse;
}

.nosotros-item .nosotros-img,
.nosotros-item .nosotros-text {
  flex: 1 1 300px;
  max-width: 500px;
}

.nosotros-item img {
  width: 100%;
  height: auto;
  display: block;
}
/* ===== Hero Contacto ===== */
.hero-contacto {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.hero-contacto img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-contacto .hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  padding: 0 10px;
  box-sizing: border-box;
  width: 90% !important;
}

.hero-contacto .hero-text h2 {
  font-size: clamp(24px, 6vw, 48px) !important;
  margin-bottom: 10px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-contacto .hero-text p {
  font-size: clamp(14px, 4vw, 20px) !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ===== Texto destacado y botones ===== */
.contacto-text {
  font-size: clamp(14px, 3.5vw, 20px) !important;
  line-height: 1.6;
  max-width: 90% !important;
  margin: 0 auto 1.5rem auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: center;
}

.contacto-botones {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 10px;
}

.contacto-botones a {
  display: inline-block;
  padding: 10px 20px;
  font-size: clamp(14px, 3vw, 18px);
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ===== Contenedor fondo azul ===== */
.contacto-background {
  width: 100% !important;
  padding: 3rem 1rem !important;
  box-sizing: border-box;
}
/* ==== Timeline de servicios ==== */
.servicios-timeline {
  background: linear-gradient(180deg, #f9f5f2 0%, #fffaf7 100%);
  padding: 80px 20px;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: auto;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 4px;
  background: linear-gradient(180deg, #ffb973, #f47b33);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  padding: 20px 40px;
  position: relative;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-content {
  background: linear-gradient(135deg, #ffe3c4 0%, #ffd5b2 100%);
  color: #333;
  padding: 25px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.timeline-content h3 {
  color: #d96200;
  margin-bottom: 10px;
  font-size: 1.4em;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 25px;
  width: 18px;
  height: 18px;
  background: #f47b33;
  border: 4px solid #fff;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item:nth-child(odd)::before {
  right: -10px;
}

.timeline-item:nth-child(even)::before {
  left: -10px;
}

/* Responsive */
@media (max-width: 768px) {
  .timeline::after {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
    text-align: left;
  }
  .timeline-item::before {
    left: 10px;
  }
}
/* ==== Timeline de servicios ==== */
.servicios-timeline {
  background: linear-gradient(180deg, #fffaf7 0%, #fef7f2 100%);
  padding: 80px 20px;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: auto;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 4px;
  background: linear-gradient(180deg, #f7b27a, #f4a261);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  padding: 20px 40px;
  position: relative;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-content {
  background: linear-gradient(135deg, #fff3e7 0%, #ffe9d6 100%);
  color: #333;
  padding: 25px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.timeline-content h3 {
  color: #d86b1f;
  margin-bottom: 10px;
  font-size: 1.4em;
  font-weight: 600;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 25px;
  width: 18px;
  height: 18px;
  background: #f4a261;
  border: 4px solid #fff;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item:nth-child(odd)::before {
  right: -10px;
}

.timeline-item:nth-child(even)::before {
  left: -10px;
}

/* Responsive */
@media (max-width: 768px) {
  .timeline::after {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
    text-align: left;
  }
  .timeline-item::before {
    left: 10px;
  }
}
/* ===== Timeline Moderno sin typing effect ===== */
.servicios-timeline {
  padding: 50px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  margin: 0 auto;
  padding: 20px 0;
}

/* Línea central */
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #ff7f50, #ff4500);
}

/* Tarjetas */
.timeline-item {
  position: relative;
  width: 45%;
  padding: 20px;
  background-color: #fff;
  border-radius: 12px;
  margin: 20px 0;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeSlide 0.8s forwards;
}

.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 55%; }

/* Círculos en línea de tiempo */
.timeline-item::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #ff4500;
  border-radius: 50%;
  top: 20px;
  right: -10px;
}

.timeline-item:nth-child(even)::before {
  left: -10px;
  right: auto;
}

/* Títulos normales sin typing */
.timeline-item h3 {
  font-size: 1.5rem;
  overflow: visible;
  white-space: normal;
  width: auto;
  animation: fadeSlide 0.8s forwards;
}

.timeline-item p {
  margin-top: 10px;
}

/* Animaciones */
@keyframes fadeSlide {
  to { opacity: 1; transform: translateY(0); }
}

/* Animación escalonada para aparecer una a una */
.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.5s; }
.timeline-item:nth-child(3) { animation-delay: 0.8s; }
.timeline-item:nth-child(4) { animation-delay: 1.1s; }
.timeline-item:nth-child(5) { animation-delay: 1.4s; }

/* Responsive */
@media screen and (max-width: 768px) {
  .timeline-item, .timeline-item:nth-child(even), .timeline-item:nth-child(odd) {
    width: 90%;
    left: 5% !important;
  }
  .timeline-item::before { left: -10px; right: auto; }
}
/* ===== Timeline Moderno completo ===== */
.servicios-timeline {
  padding: 50px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  margin: 0 auto;
  padding: 20px 0;
}

/* Línea central */
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #ffb380, #ffa066); /* naranja suave */
}

/* Tarjetas */
.timeline-item {
  position: relative;
  width: 45%;
  padding: 20px 20px 20px 40px; /* espacio para el punto */
  background-color: #fff;
  border-radius: 12px;
  margin: 20px 0;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeSlide 0.8s forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* hover effect */
}

.timeline-item:hover {
  transform: translateY(-5px); /* se levanta un poco */
  box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* sombra suave */
}

.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 55%; }

/* Círculos al inicio del texto */
.timeline-item::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: #ffb380; /* naranja suave */
  border-radius: 50%;
  top: 25px;
  left: 10px;
  right: auto;
}

.timeline-item:nth-child(even)::before {
  left: 10px;
  right: auto;
}

/* Títulos normales */
.timeline-item h3 {
  font-size: 1.5rem;
  overflow: visible;
  white-space: normal;
  width: auto;
  animation: fadeSlide 0.8s forwards;
}

.timeline-item p {
  margin-top: 10px;
}

/* Animaciones */
@keyframes fadeSlide {
  to { opacity: 1; transform: translateY(0); }
}

/* Animación escalonada para aparecer una a una */
.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.5s; }
.timeline-item:nth-child(3) { animation-delay: 0.8s; }
.timeline-item:nth-child(4) { animation-delay: 1.1s; }
.timeline-item:nth-child(5) { animation-delay: 1.4s; }

/* Responsive */
@media screen and (max-width: 768px) {
  .timeline-item, .timeline-item:nth-child(even), .timeline-item:nth-child(odd) {
    width: 90%;
    left: 5% !important;
  }
  .timeline-item::before { left: -10px; right: auto; }
}
