:root {
  --azul-pastel: #A3C9E2;
  --verde-pastel: #a9d6bb;
  --amarillo-pastel: rgb(246, 231, 161);
  --rojo-pastel: #F7B7A3;
  --fondo-claro: #FAFAFA;
  --texto: #2c3e50;
  --blanco: #ffffff;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: aldrich;
scroll-behavior: smooth;
}

html, body {
height: 100%;
width: 100%;
margin: 0;
color: var(--texto);
line-height: 1.6;
background-image: url("img0tamy1.png");
background-repeat: repeat;
background-size: auto;
background-position: top left;
}

/* NAV */
nav {
  position: relative;
    height: 77px;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
  box-sizing: border-box;        /* para que padding no sume ancho extra */
  padding: 1rem;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;               /* un pequeño padding en los laterales */
  box-sizing: border-box;
}

nav .logo {
display: flex;
align-items: center;
transform: scale(4.5);
transform-origin: left center;
padding: 0.25rem;
}

nav .logo img {
height: 37px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 8rem;      /* separa logo y frase */
}

nav .nav-links {
list-style: none;
display: flex;
padding-right: 1rem;
margin: 0;
}
/* cuando tenga .open, lo muestro */
.nav-links.open {
  display: flex !important;
  flex-direction: column; /* o row si quieres */
}

nav .nav-links li {
margin-left: 1.5rem;
}

nav .nav-links a {
color: #1b263b;
text-decoration: none;
font-weight: 600;
transition: color 0.3s ease;
}

nav .nav-links a:hover {
color: #bec9de;
}

.nav-toggle {
  display: none;
  background: none;
  font-size: 1.8rem;
  color: var(--texto);
  cursor: pointer;
  z-index: 1100;
}

@keyframes fadeInTop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HERO */
/* ================= HERO V2 (ESTABLE) ================= */
.hero-v2{
  position: relative;
  min-height: calc(78svh - 77px);
  overflow: hidden;
  background: url(img0tamy.png) center/cover no-repeat;
  border-radius: 16px;
  padding: 3.2rem 1.4rem;
}

.hero-v2 .hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(255,255,255,0);
}

/* Desktop / grande: 2 columnas */
.hero-v2 .hero-central{
  position: relative;
  z-index: 1;

  width: min(1800px, 100%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(1rem, 4vw, 4rem);

    min-height: auto;
  padding-top: .2rem;
  padding-bottom: 3.2rem;
  box-sizing: border-box;
}

/* Texto */
.hero-v2 .hero-texto{
  max-width: 900px;
  margin: 0;                 /* 🔥 chau margin-left */
  text-shadow: 2px 2px 6px rgba(0,0,0,0.35);
}

.hero-v2 .hero-texto h1{
  margin: 0 0 1rem 0;
  color: #1b263b;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  line-height: 1.12;
}

.hero-v2 .hero-texto p{
  margin: 0 0 1.4rem 0;
  font-size: clamp(1rem, 1.6vw, 1.5rem);
  color: #737373;
  font-family: 'Open Sans';
}

/* Botón */
.hero-v2 a.btn-pastel-central,
.hero-v2 a.btn-pastel-central:visited{
  background-color: var(--texto);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: .9rem 1.6rem;
  border-radius: 12px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.hero-v2 a.btn-pastel-central:hover{
  background-color: #94d1a3;
  color: rgba(27, 38, 59, 0.78);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.18);
  font-weight: 700;
}

/* Planeta: sin absolute */
.hero-v2 .hero-svg{
  justify-self: end;
  width: 100%;
  pointer-events: none;
}

.hero-v2 .hero-svg img{
  width: min(720px, 42vw);
  max-width: 100%;
  height: auto;
  display: block;

  opacity: 0.95;
  animation: respirar 6s ease-in-out infinite;
  filter:
    drop-shadow(0px 10px 25px rgba(0, 0, 0, 0.18))
    drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.12));
}

@keyframes respirar{
  0%,100%{ transform: scale(1); }
  50%{ transform: scale(1.08); }
}





/* Servicios */
.services {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #333;
}

.services h2 {
  font-size: 4rem;
  font-weight: 400;
  
  line-height: 1.8;  /* antes estaba demasiado grande */
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.servicios-subtitulo {
  font-size: 1.3rem;
  color: #444;
  max-width: 900px;
  margin: 0 auto 3rem;
  line-height: 1.6;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);

}

/* Contenedor de tarjetas */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

/* Tarjetas */
.service-card {
  background-color: rgba(73, 73, 73, 0.068); /* semitransparente */
  backdrop-filter: blur(14px);                  /* efecto glass */
  border-radius: 1rem;
  padding: 2rem;
  max-width: 330px;
  text-align: center;
  transform: translateY(30px);
  transition:
    opacity 0.2s ease-out,
    transform 0.2s ease-out,
    background-color 0.2s ease,
    filter 0.2s ease,
    box-shadow 0.2s ease;
}
/* Para que el botón quede al final de la tarjeta */
.service-card{
  display: flex;
  flex-direction: column;
}

.service-card .btn-info{
  margin-top: 1rem;
  align-self: center;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: .6rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .05rem;

  background: var(--texto);
  color: #fff;

  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}


.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Retrasos escalonados (stagger) */
.service-cards .service-card:nth-child(1) { transition-delay: 0.03s; }
.service-cards .service-card:nth-child(2) { transition-delay: 0.04s; }
.service-cards .service-card:nth-child(3) { transition-delay: 0.05s; }
.service-cards .service-card:nth-child(4) { transition-delay: 0.06s; }
.service-cards .service-card:nth-child(5) { transition-delay: 0.07s; }
.service-cards .service-card:nth-child(6) { transition-delay: 0.08s; }
.service-cards .service-card:nth-child(7) { transition-delay: 0.09s; }
.service-cards .service-card:nth-child(8) { transition-delay: 0.10s; }

.service-card:hover {
  background-color: rgba(255, 255, 255, 0.747);
  filter: brightness(1.05);
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.service-card img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.service-card p {
  color: #2c3e50;
  font-size: 1rem;
  line-height: 1.6;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

}

/*RESULTADOS REALES*/
.resultados {
  color: var(--texto);
  padding: 2rem;
  text-align: center;
}

.resultado-horizontal {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
  margin: 0 auto 4rem;
  padding: 0;
  opacity: 0;
  max-width: 1600px;
  background: transparent;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resultado-horizontal:hover {
  transform: scale(1.01) !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
}
.resultado-horizontal.invertida {
  flex-direction: row-reverse;
}

.resultado-horizontal.invertida:hover {
  transform: scale(1.01) !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
}

.fullwidth-wrapper {
  width: 100%;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow-x: hidden;
}

/* Efecto entrada desde izquierda y derecha */
.resultado-horizontal.slide-left {
  transform: translateX(-100%);
}
.resultado-horizontal.slide-right {
  transform: translateX(100%);
}

/* Al hacerse visible */
.resultado-horizontal.visible {
  opacity: 1;
  transform: translateX(0);
}

.resultados h2 {
  font-size: 3.8rem;
  font-weight: 400;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}
.resultados-intro {
  max-width: 900px;
  margin: 0 auto 3rem;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Imagen de la tarjeta */
.resultado-imagen{
  flex: 1;
  background-size: cover;      /* 👈 NO recorta */
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;        /* para que no se vea “vacío” */
  min-height: 260px;             /* ajustá a gusto */
    padding: 10px;
  box-sizing: border-box;
  background-clip: content-box;
}
/* La invertida: mantiene la imagen completa (sin recorte) */
.resultado-horizontal.invertida .resultado-imagen{
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;
}


.resultado-imagen.imagen1 {
  background-image: url("metrica1.png");
}
.resultado-imagen.imagen2 {
  background-image: url("metrica2.png");
}

.resultado-imagen.imagen3 {
  background-image: url("metrica3.png");
}

/* Texto de la tarjeta */
.resultado-texto {
  flex: 1;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  
  text-align: left;
}
.resultado-texto h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.resultado-texto p{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 1.1rem;
}

/* Nuestro equipo */
#equipo {
  position: relative;
  background: url('equipo.png') center/cover no-repeat;
  min-height: 100vh;              /* ocupa toda la altura del viewport */
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fafafa;             /* tu color de texto claro */
  text-align: center;
  padding: 5rem;
}

#equipo .overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 16, 22, 0.6); /* capa oscura para contraste */
  z-index: 1;
}

.equipo__titulo {
  position: relative;
  z-index: 2;
  font-size: 3rem;
  background: transparent; /* bloque oscuro detrás del título */
  margin: 2.5rem;
  padding: 0.8rem 1.3rem;
  border-radius: 0.5rem;
  color: #a9d6bb;
  border: 2px solid #fafafa;
  box-shadow: 1px 2px 10px rgba(255, 255, 255, 0.61);
  font-family: aldrich;
}

.equipo__titulo1 {
  position: relative;
  z-index: 2;
  font-size: 2.5rem;
  background: transparent; /* bloque oscuro detrás del título */
  margin-top: 4.5rem;
  padding: 0.8rem 1.3rem;
  border-radius: 0.5rem;
  color: #a9d6bb;
  border: 2px solid #fafafa;
  box-shadow: 1px 2px 10px rgba(255, 255, 255, 0.61);
  font-family: aldrich;
}

.equipo__p {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  font-size: 1.5rem;
  line-height: 1.6;
  text-align: left;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

}
.equipo__toggle{
  display: none;
}

.equipo__miembros {
  position: relative;
  width: 100%;
  max-width: 1400px;
  z-index: 2;
  display: flex;
  gap: 4rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 6rem;
}

.miembro {
    /* ancho igual al de la img */
  flex: 0 0 300px;
  /* centramos todo el contenido interno */
  text-align: center;
  /* quitamos márgenes raros */
  margin: 0;
}

.miembro img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #a9d6bb;
  margin-bottom: 0.75rem;
}

.miembro h3 {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.25rem;
  text-align: center;
}

.miembro p {
  font-size: 0.9rem;
  line-height: 1.2;
}

.equipo__footer {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  font-size: 1.5rem;
  line-height: 1.4;
  padding-top: 5rem;
  text-align: left;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

}


/* FAQs */
.faqs {
  padding: 2rem 2rem;
  color: var(--texto);
    background:
    linear-gradient(rgba(0, 0, 0, 0.226), rgba(0, 0, 0, 0.041)),
    url('fondofaqs.png') center/cover no-repeat;
  /* elimina la .overlay si usas este método */
}

.faqs h2 {
  font-size: 4.5rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 1rem;
  padding-bottom: 2rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.faq-item {
  max-width: 900px;
  margin: 0 auto 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
}

.faq-question {
  position: relative;
  padding-right: 1.5rem;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

}

.faq-item.active .faq-answer {
  max-height: 500px; /* suficientemente grande para cualquier párrafo */
}

.faq-item.active .faq-question::after {
  content: "–";
  transform: rotate(0);
}

.faq-item h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: #1b263b;
}

.faq-item p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
}

/* --- TESTIMONIOS --- */
.testimonios {
  padding: 4rem 2rem;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.04);
}

.testimonios h2 {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 4.5rem;
  font-weight: 400;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}
  
/* Grid de 2×2 para desktop */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columnas iguales */
  gap: 2rem;                             /* separación */
  justify-items: center;                 /* centrar cada tarjeta */
  padding: 0 2rem;
}

/* Tus tarjetas */
.testimonial-rect {
  width: 100%;
  max-width: 750px;                       /* ancho máximo razonable */
  box-sizing: border-box;
  padding: 1.5rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

/* Logo dentro de la tarjeta */
.testimonial-rect .testimonial-logo img {
  width: 100px;
  height: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* Contenido de texto */
.testimonial-rect .testimonial-content {
  flex: 1;
}

/* Logo a la izquierda */
.testimonial-logo img {
  width: 80px;                /* ajusta tamaño */
  height: auto;
  object-fit: contain;
  border-radius: 0.3rem;      /* opcional */
  flex-shrink: 0;             /* que no reduzca su tamaño */
}

.testimonial-rect .testimonial-logo-moreto img {
  width: 130px;
  height: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}



.testimonial-content p{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

}

/* Cuando tenga esta clase, quita el clamp */
.testimonial-content p.expanded {
  display: block;
  -webkit-line-clamp: unset;
  
}

/* 1) Por defecto (escritorio) oculto */
.testimonial-content .read-more {
  display: none;
}

.testimonial-rect:hover {
  transform: translateY(-15px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
  filter: brightness(1.05);
}
  
.testimonial-rect p {
  font-size: 1.2rem;
  color: #444;
  overflow: auto;
  margin-bottom: 1rem;
}
  
.testimonial-rect h4 {
  font-size: 1rem;
  color: #666;
}
  
/* --- CONTACTO y FORMULARIO --- */
.contacto {
  background-image: url(img0tamy.png);
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  padding: 4rem 2rem;
}

/* Grid dos columnas */
.contacto-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* WhatsApp box */
.contacto-whatsapp {
  flex: 1 1 45%;
  text-align: left;
}
.contacto-whatsapp h2 {
  font-size: 4rem;
  margin-bottom: 1rem;
  font-weight: 400;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);

}
.contacto-whatsapp p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

}

.contacto .p2{
  font-weight: 700;
}

.btn-contacto{
  display: flex;
  justify-content: flex-start; /* o center si lo querés centrado */
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 2rem;
}



.contacto-whatsapp .btn-pastel-wp{
  display: inline-flex;
  align-items: center;
  gap: .6rem;

  padding: 1rem 2rem;
  background-color: var(--texto);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.1rem;

  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.contacto-whatsapp .btn-pastel-wp:hover{
  font-weight: 700;
  background-color: var(--verde-pastel);
  color: #737373;
  transform: scale(1.06);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}


/* Botón Llamar */
.contacto-whatsapp .btn-pastel-call{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.1rem;
  font-size: 1rem;
  font-weight: 600;
  background-color: var(--azul-pastel);
  color: var(--texto);
}

.contacto-whatsapp .btn-pastel-call:hover{
  font-weight: 700;
  background-color: var(--verde-pastel);
  color: #737373;
  transform: scale(1.06);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


/* Contenedor del formulario */
.contacto-form-container {
  flex: 1 1 45%;
}

/* Formulario con fondo semitransparente y blur */
.form-contacto {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(6px);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}
.form-contacto input,
.form-contacto textarea {
  padding: 0.8rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}
.form-contacto textarea {
  resize: vertical;
  min-height: 120px;
}
.form-contacto .btn-pastel-form {
  display: inline-block;
  padding: 1rem 1rem;
  background-color: var(--texto);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-family: aldrich;
  font-size: 1rem;
}

.contacto-form-container h3{
  margin-bottom: 2rem;
  color: #737373;
  font-size: 1.3rem;
  text-shadow: .5px .5px 6px rgba(0, 0, 0, 0.288);
}


/* Animación de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
.footer {
  background-color: var(--fondo-claro);
  text-align: center;
}

.footer-content {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 2rem;
}

.footer-logo {
  flex: 0 0 auto;
  margin-right: 2rem;
}

.footer-center{
  position: absolute;   /* centra este bloque */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;  /* centra su contenido */
  display: flex;
  flex-direction: column;
  gap: 1rem;           /* espacio vertical entre iconos, links y copyright */
}

.footer-logo img {
  height: 180px;        /* Ajusta a la altura que quieras */
  display: block;
  margin-right: 1.5rem; /* Espacio entre logo y resto */
}

/* Iconos sociales */
.social-icons a {
  margin: 0 0.75rem;
  font-size: 1.75rem;
  color: var(--texto);
  transition: color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}
.social-icons a:hover {
  color: var(--azul-pastel);
  transform: scale(1.2);
}

/* Enlaces legales */
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: var(--texto);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--verde-pastel);
  text-decoration: underline;
}

/* Texto de copyright */
.footer-copy {
  font-size: 0.85rem;
  color: #777;
  margin: 0;
}

  .footer-copy a {
  color: var(--texto);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.footer-copy a:hover {
  color: var(--verde-pastel);
  text-decoration: underline;
}

/* =========================
   WhatsApp flotante (global)
   ========================= */
/* WhatsApp flotante (solo imagen, global) */
.wa-float{
  position: fixed !important;
  right: 22px;
  bottom: 22px;
  z-index: 99999;

  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  -webkit-tap-highlight-color: transparent;

  animation: waBob 3.2s ease-in-out infinite;
}

.wa-float img{
  width: 90px;   /* ajustá tamaño */
  height: 90px;
  display: block;
  filter: drop-shadow(0 18px 35px rgba(0,0,0,.45));
}

.wa-float:hover{
  animation-play-state: paused;
  transform: translateY(-2px) scale(1.06);
}

/* Tooltip */
.wa-tooltip{
  position: absolute;
  right: calc(90%);
  top: 55%;
  transform: translateY(-55%);
  white-space: nowrap;

  padding: .55rem .8rem;
  border-radius: 999px;

  background: rgba(2, 6, 23, .55);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(0,0,0,.35);

  color: rgba(255,255,255,.92);
  font-weight: 700;
  font-size: .9rem;

  opacity: 0;
  pointer-events: none;
    animation: waTipPulse 3s ease-in-out infinite; /* <-- cada 3s */

}
/* aparece ~0.9s por ciclo */
@keyframes waTipPulse{
  0%, 40%   { opacity: 0; transform: translateY(-50%) translateX(8px); }
  50%, 80%  { opacity: 1; transform: translateY(-50%) translateX(0); }
  100%      { opacity: 0; transform: translateY(-50%) translateX(8px); }
}

/* En hover/focus: queda fijo visible */
.wa-float:hover .wa-tooltip,
.wa-float:focus-visible .wa-tooltip{
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce){
  .wa-tooltip{ animation: none !important; opacity: 1; }
  .wa-float::before,
  .wa-float::after{ animation: none !important; opacity: .35; }
}



/* Onda 1 */
.wa-float::before{
  content:"";
  position:absolute;
  inset: -15px;                 /* tamaño de la onda */
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.788), transparent 70%);
  opacity: .85;
  filter: blur(1px);
  animation: waPulse 1.9s ease-out infinite;
  pointer-events:none;
}



@keyframes waPulse{
  0%   { transform: scale(.75); opacity: .85; }
  70%  { opacity: .18; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* En hover: un poquito más “vivo” pero controlado */
.wa-float:hover::before{
  animation-duration: 2.4s;
}



@media (max-width: 1200px){
.hero-v2 .hero-central{
    margin: 0;                 /* saca el margin: 4rem del desktop */
    min-height: auto;
    padding: 2.8rem 2rem 2.2rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }

  .hero-v2 .hero-texto{
    margin-left: 0;            /* saca el margin-left: 4rem */
    max-width: 780px;
    text-align: center;
  }

  .hero-v2 .hero-texto h1{
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    line-height: 1.1;
  }

  .hero-v2 .hero-texto p{
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    margin-bottom: 1.2rem;
  }

  .hero-v2 a.btn-pastel-central,
  .hero-v2 a.btn-pastel-central:visited{
    margin: 0 auto;
    font-size: 1rem;
    padding: .85rem 1.35rem;
  }

  /* ✅ Planeta: SIN absolute, va SOLO abajo y se adapta */
  .hero-v2 .hero-svg{
    position: static;          /* apaga el absolute del desktop */
    transform: none;
    width: 100%;
    display: flex;
    justify-content: center;
    pointer-events: none;
  }

  .hero-v2 .hero-svg img{
    width: clamp(320px, 55vw, 520px); /* tamaño “tablet” */
    max-width: 100%;                 /* no lo limites a 80% */
    height: auto;
    opacity: 0.92;
  }
}



@media (max-width: 768px) {
 /* ========== NAV ========== */
  nav{
    height: 82px;
    position: relative;
    padding: 0 0.6rem;
  }

  nav .container{
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  nav .logo{
   transform: none !important;          /* 👈 mata el scale(4.5) del desktop */
    transform-origin: left center;
    padding: .25rem .2rem;
    margin: 0 !important;
    display: flex;
    align-items: center;
  }

  nav .logo img{
    height: 178px !important; /* 👈 10rem es demasiado */
    width: auto;
    object-fit: contain;
    display: block;
  }

  .nav-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    position: relative; /* ya no hace falta absolute */
    top: auto;
    right: auto;

    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;

    font-size: 1.4rem;
    cursor: pointer;
  }

  /* Panel del menú */
  .nav-links{
    display: none !important;

    position: absolute;
    top: calc(100% + 10px);
    left: 1rem;
    right: 1rem;

    padding: .9rem;
    border-radius: 16px;

    background: rgba(255,255,255,0.96);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    backdrop-filter: blur(10px);
  }

  .nav-links.open{
    display: flex !important;
    flex-direction: column;
    gap: .35rem;
  }

  /* Links más lindos */
  .nav-links li{
    margin: 0;
  }

  .nav-links a{
    display: block;
    width: 100%;

    padding: .9rem 1rem;
    border-radius: 12px;

    text-decoration: none;
    color: #1b263b;
    font-weight: 700;
    letter-spacing: .02rem;

    transition: background-color .2s ease, transform .2s ease;
  }

  .nav-links a:hover{
    background: rgba(47,88,110,0.10);
    transform: translateX(2px);
  }


  /*--------------------------HERO V2----------------------------*/
  .hero-v2{
    padding: 0;
    border-radius: 18px;
    min-height: auto;
  }

  .hero-v2 .hero-central{
    padding: 5.2rem 3rem 1.4rem;
    gap: 1.1rem;

  }

  .hero-v2 .hero-texto h1{
    font-size: clamp(1.95rem, 7vw, 2.35rem);
    line-height: 1.08;

  }


  .hero-v2 a.btn-pastel-central,
  .hero-v2 a.btn-pastel-central:visited{
    width: 100%;
    max-width: 320px;
    
  }

  .hero-v2 .hero-svg img{
    width: min(520px, 92vw);
    opacity: 0.78;
  }


    /*TARJETAS MAS CHICAS PARA EL RESPONSIVE*/
    .service-cards {
      gap: 1rem; /* menos espacio entre tarjetas */
    }
  
    .service-card {
      /* Ocupan como mucho el 80% del ancho y se centran */
      flex: 1 1 75%;
      max-width: 75%;
      margin: 0 auto;
      padding: 1.25rem; /* un poco menos de relleno */
    }

  /* Elimina cualquier padding excesivo */
  .sobre-mi-container,
  .fullwidth-wrapper,
  .contacto-grid,
  .testimonial-grid,
  .services,
  .testimonios .container,
  .resultado-horizontal,
  .resultado-horizontal.invertida,
  .footer-content {
    padding: 0 1rem !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    flex-direction: column;
  }

  .services .container h2{
    font-size: 2.5rem;
  }
  .testimonios .container h2{
    font-size: 3rem;
  }

  .fullwidth-wrapper {
    padding: 0 1rem;
  }
 
  .resultados h2 {
    font-size: 2.2rem;
  }
  .resultados-intro {
    font-size: 1rem;
  }

  /* Asegura que no haya 10rem extras en Sobre Mí */
  .sobre-mi-container {
    padding-left: 0 !important;
  }

  /*IMAGENES METRICAS EN RESULTADOS REALES 800x800*/
.resultado-imagen {
  flex: 1;
  min-height: 150px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
  /* No hover scaling here */
}
.resultado-imagen.imagen2 {
  background-image: url("metrica2.png");
  min-height: 100px;
}

  /* Grid de testimonios a 1 columna */
  .testimonial-grid {
    padding: 0 1rem !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .testimonial-rect {
    max-width: 100% !important;
    width: 100% !important;
  }

  .testimonial-content p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4; /* Muestra sólo 3 líneas */
    overflow: hidden;
    position: relative;
  }
  
  .testimonial-content .read-more {
    display: block;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
  }

  /*NUESTRO EQUIPO*/
  .equipo__titulo {
  position: relative;
  z-index: 2;
  font-size: 1.5rem;
  background: transparent; /* bloque oscuro detrás del título */
  margin: 2rem;
  width: 280px;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  color: #a9d6bb;
  border: 2px solid #fafafa;
  box-shadow: 1px 2px 10px rgba(255, 255, 255, 0.61);
}

.equipo__titulo1 {
  position: relative;
  z-index: 2;
  font-size: 1.5rem;
  background: transparent; /* bloque oscuro detrás del título */
  margin-top: 4.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  color: #a9d6bb;
  border: 2px solid #fafafa;
  box-shadow: 1px 2px 10px rgba(255, 255, 255, 0.61);
}


  /* Texto “recortado” */
  #equipoIntro{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;   /* ajustá 6-10 a gusto */
    overflow: hidden;
  }

  /* Cuando se expande */
  #equipoIntro.is-expanded{
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  /* Botón */
  .equipo__toggle{
    margin: 1rem auto 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: .7rem 1.1rem;
    border-radius: 12px;

    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.20);
    color: #fff;

    font-weight: 700;
    cursor: pointer;
    position: relative;
  z-index: 2;
  }

#equipo .overlay{
  pointer-events: none;
}


  .faqs h2 {
    font-size: 2.2rem;
  }

  .faq-item h3 {
    font-size: 1.2rem;
  }

  .faq-item p {
    font-size: 1rem;
  }


  /*FORMULARIO DE CONTACTO*/
  .contacto-grid {
    flex-direction: column;
  }
  .contacto-whatsapp,
  .contacto-form-container {
    flex: 1 1 100%;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
  }
  .contacto-whatsapp {
    text-align: center;
  }
  .form-contacto .btn-pastel-form {
    align-self: center;
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-left: 0;
  }

  .footer-logo {
    margin: 0 auto;
    text-align: center;    /* centramos el logo */
  }

  .footer-logo img {
    display: inline-block;
    margin: 0 auto;        /* centrado horizontal */
    max-width: 280px;      /* ajústalo a tu gusto */
    max-height: 150px;
  }

.footer-center {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: none;
    position: static;
  }
  .social-icons {
    order: 1;              /* después del logo */
  }
  .footer-links {
    order: 2;              /* debajo de los íconos */
  }
  .footer-copy {
    order: 3;              /* al final */
  }

  .footer-copy a {
  color: var(--texto);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.footer-copy a:hover {
  color: var(--verde-pastel);
  text-decoration: underline;
}
}

