/* --------------------------
   VARIABLES Y BASE
---------------------------*/
:root {
  --color-primary: #d62828; /* rojo chaleco */
  --color-secondary: #f77f00; /* naranja */
  --color-dark: #003049; /* azul oscuro */
  --color-light: #f8f9fa;
  --color-text: #333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--color-text);
  background-color: var(--color-light);
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}


/* --------------------------
   NAVBAR
---------------------------*/
header {
  background-color: white;
  color: var(--color-primary); /* rojo chaleco */
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08); /* leve sombra */
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

/* ---------- LOGO ---------- */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav__logo h1 {
  font-weight: 700;
  color: var(--color-primary); /* rojo institucional */
  letter-spacing: 1px;
}

.nav__logo h1 a {
  text-decoration: none;
  color: var(--color-primary);
}

.nav__logo-img {
  height: 60px;
  width: auto;
  border-radius: 8px;
  padding: 4px;
}

/* ---------- LINKS ---------- */
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__links--show {
  display: flex !important; /* 🔴 agregamos !important */
}

.nav__links a {
  color: var(--color-primary); /* rojo */
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav__links a:hover {
  color: var(--color-secondary); /* tono más claro al pasar */
}

/* ---------- BOTONES (MOBILE) ---------- */
.nav__toggle {
  display: none; /* visible solo en mobile */
  font-size: 1.6rem;
  color: #d62828;
  cursor: pointer;
}

.nav__close {
  display: none; /* visible solo en mobile */
  font-size: 1.6rem;
  color: #d62828;
  cursor: pointer;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1001;
}


/* --------------------------
   HERO
---------------------------*/
.hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
  url('../images/fondo.png') center/cover no-repeat;
  color: white;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
}

.hero h2 {
  font-size: 1.8rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

.hero p {
  margin-top: 1rem;
  font-size: 1.1rem;
}

.cta {
  margin-top: 2rem;
  background-color: var(--color-primary);
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.cta:hover {
  background-color: var(--color-secondary);
}

/* --------------------------
   SECCIONES
---------------------------*/

/* --- Dropdown --- */
.dropdown__toggle {
  color: var(--color-primary);
  padding: 0 15px;
  transition: color 0.3s ease;
}

.dropdown__toggle:hover {
  color: var(--color-secondary);
}

.dropdown__menu {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 220px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  z-index: 100;
}

.dropdown__menu a {
  color: var(--color-primary);
  padding: 10px 15px;
  display: block;
  transition: background 0.3s ease;
}

.dropdown__menu a:hover {
  background-color: var(--color-primary);
  color: #fff;
}

/* Mostrar menú al pasar el mouse */
.dropdown:hover .dropdown__menu {
  display: block;
}
.about, .services, .environment, .clients, footer {
  padding: 5rem 0;
}

.about {
  background-color: #ffffff;
  padding: 6rem 0;
}

.about__content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.about__text {
  flex: 1 1 500px;
}

.about__heading {
  position: relative;
  margin-bottom: 1.5rem;
}

.about__heading h2 {
  font-size: 2rem;
  color: var(--color-primary);
  font-weight: 700;
}

.about__line {
  display: block;
  width: 70px;
  height: 4px;
  background-color: var(--color-primary);
  border-radius: 2px;
  margin-top: 0.5rem;
}

.about__text p {
  color: #333;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about__slogan {
  color: #444 !important; /* o #d62828 si lo querés rojo */
  font-size: 1.2rem;
  font-style: italic;
  border-left: 4px solid #d62828;
  padding-left: 1rem;
  margin: 2rem 0;
}

.about__image {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
}

.about__image img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.about__text h2 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.services {
  background-color: var(--color-light);
  text-align: center;
}

.services h2 {
  color: var(--color-primary);
  margin-bottom: 2rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.services__grid h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
.services__grid {
  align-items: stretch;
}

.services__grid h3 a:hover {
  color: var(--color-primary);
}

.service {
  background-color: white;
  border-radius: 12px;
  padding: 2rem 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.service:hover {
  transform: translateY(-5px);
}

.service i {
  font-size: 2.5rem;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.service__item i {
  color: #d62828;
}

.service-block {
  background-color: var(--color-light);
  padding: 4rem 0;
}

.service-block .subtitle {
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 3rem;
}

.service-block__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
}

.service-block__image {
  flex: 1;
}

.service-block__image img {
  width: 100%;
  max-width: 500px;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-block__content {
  flex: 1;
}

.service-block__content h3 {
  color: var(--color-primary);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.service-block__content p {
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 1rem;
}

/* alterna la disposición en pares */
.service-block__item:nth-child(even) {
  flex-direction: row-reverse;
}



/* --------------------------
   MEDIOAMBIENTE
---------------------------*/
.environment {
  background-image: url("../images/ma.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  padding-top: 2rem;
}

.environment-header {
  padding: rem 0; /* más delgado */
}

.environment::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 0; /* ✅ pone el overlay detrás del contenido */
}

.environment h2,
.environment p,
.environment .btn { /* ✅ asegura que todo el contenido quede encima */
  position: relative;
  z-index: 2;
}

.environment h2 {
  color: #d62828;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  top: -80px;
  text-align: center;
}

.environment p {
  color: #ffffff;
  max-width: 900px;
  margin: 0 auto;
}

.environment__banner {
  width: 100%;
  background: linear-gradient(90deg, #d62828, #a91d1d);
  color: #fff;
  text-align: center;
  padding: 20px 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.environment__banner h2 {
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 1px;
}

.environment__banner p {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 5px 0 0;
  text-align: center;
}

.environment__subtitle {
  font-style: italic;
  font-size: 0.95rem;
  color: #f1f1f1;
  margin-top: -1rem;
  top: -40px;
}


.btn {
  display: inline-block;
  background-color: #d62828;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  background-color: #b71c1c;
  transform: translateY(-3px);
}


.faq {
  background-color: #f9f9f9;
  padding: 4rem 0;
}

.faq .subtitle {
  text-align: center;
  color: #d62828;
  margin-bottom: 2rem;
}

.faq__item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #222;
  transition: color 0.3s;
}

.faq__question:hover {
  color: #d62828;
}

.faq__icon {
  font-size: 1.5rem;
  color: #d62828;
  transition: transform 0.3s;
}

.faq__answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.faq__answer p {
  margin: 0;
  padding: 0 0 1rem;
  color: #333;
  line-height: 1.5;
}

.faq__item.active .faq__answer {
  max-height: 200px;
  opacity: 1;
}

.faq__item.active .faq__icon {
  transform: rotate(45deg);
}

.destacado {
    font-style: italic;
    font-weight: 600;
    color: #ff4444;
}
/* --------------------------
   CLIENTES
---------------------------*/
.clients {
  background-color: white;
  text-align: center;
}

.clients h2 {
  color: var(--color-primary);
  margin-bottom: 2rem;
}

.clients__grid{
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.clients__grid img{
  width: 100%;
  max-width: 180px;     /* tamaño uniforme */
  height: 70px;         /* altura uniforme */
  object-fit: contain;  /* no recorta logos */
  filter: none;         /* sacá el gris si no te gusta */
  opacity: 1;
}


/* --------------------------
   FOOTER
---------------------------*/
footer {
  background-color: #111;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  border-top: 3px solid #d62828; /* línea superior roja, da presencia de marca */
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  color: #d62828; /* el mail se pone rojo al pasar el mouse */
}

.footer__social {
  margin: 1.5rem 0;
}

.footer__social a {
  color: #d62828; /* íconos rojos fijos */
  font-size: 1.4rem;
  margin: 0 0.6rem;
  transition: transform 0.3s ease;
}

.footer__social a:hover {
  transform: scale(1.2);
}

.footer__copy {
  font-size: 0.9rem;
  color: #bbb;
  margin-top: 1rem;
}

footer h3 {
  color: #d62828;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

/* --------------------------
   BOTÓN WHATSAPP
---------------------------*/
.whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366; /* Verde WhatsApp oficial */
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp:hover {
  background: #128C7E; /* Verde más oscuro al pasar mouse */
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

/* Animación de pulso */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Etiqueta de texto (OPCIONAL pero muy efectivo) */
.whatsapp-label {
  position: absolute;
  right: 70px;
  background: #333;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  font-weight: 600;
}

.whatsapp:hover .whatsapp-label {
  opacity: 1;
}


/* Imagen principal centrada y sin recorte */
.service-hero {
  color: white;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  padding: 0 1rem;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* Fondo difuminado */
.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  filter: blur(25px) brightness(0.4); /* 🔹 oscurece el fondo */
  transform: scale(1.1);
  z-index: 0;
}

.service-hero__subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  color: #f7fafc; /* Blanco ligeramente más suave */
  margin-bottom: 1.5rem;
}

.service-hero__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* o "contain" si querés verla entera */
  object-position: center;
  z-index: -1;
  filter: brightness(70%); /* oscurece la foto para que el texto se lea */
}

/* Capa oscura semitransparente encima de la imagen */
.service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* 🔹 ajustá entre 0.35 y 0.55 según necesites */
  z-index: 1;
}

/* Texto */
.service-hero__content {
  position: absolute;
  z-index: 2;
  color: #fff;
  padding: 2rem;
}

.service-hero__content h1 {
  color: #d62828;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-content {
  padding: 4rem 1rem;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
  color: #333;
}

.service-content h2 {
  color: #d62828;
  margin-bottom: 1rem;
}

.service-content h3 {
  margin-top: 2rem;
  color: #d62828;
}

.service-content ul {
  margin-top: 1rem;
  margin-left: 1.5rem;
  list-style-type: disc;
}

.service-content__final {
  margin-top: 2rem;
  font-weight: 600;
  color: #222;
}

.service-info {
  background-color: #f9f9f9; /* Fondo suave */
  padding: 4rem 2rem;
  color: #333;
}

/* Título */
.service-info .subtitle {
  color: #d62828; /* Rojo Chaleco Rojo */
  font-size: 1.8rem;
  font-weight: 700;
  text-align: left;
  margin-bottom: 2rem;
  border-left: 5px solid #d62828;
  padding-left: 10px;
}

/* Texto principal */
.service-info__text p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* Lista */
.service-info__list {
  list-style: none;
  padding-left: 0;
  margin: 2rem 0;
}

.service-info__list li {
  margin-bottom: 0.8rem;
  color: #444;
  font-weight: 500;
  padding-left: 25px;
  position: relative;
  text-align: justify;
}

.service-info__list li::before {
  content: "✔";
  color: #d62828;
  position: absolute;
  left: 0;
  top: 0;
}

/* Resaltados */
.service-info strong {
  color: #b41e1e;
  font-weight: 700;
}

.about strong {
  color: #b41e1e;
  font-weight: 700;
}


/* a lo de arriba si le saco todo se me pone doble la imagen */

.service-hero--auditorias {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)),
  url("../images/auditorias.png") center/cover no-repeat;
}

.service-hero--ambientales {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
  url("../images/ambiente.png") center top/cover no-repeat;
}

.service-hero--capacitaciones {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
  url("../images/Capacitacion.jpeg") center/cover no-repeat;
}

.service-hero--habilitaciones {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
  url("../images/habilitacionn.png") center/cover no-repeat;
}

.service-hero--legajos {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
  url("../images/legajotec.png") center/cover no-repeat;
}

.service-hero--mediciones {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
  url("../images/medicion.jpg") center/cover no-repeat;
}

.service-hero--programas {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
  url("../images/programas.png") center/cover no-repeat;
}

.service-hero--medioambiente {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
  url("../images/contacto.jpg") center/cover no-repeat;
}

.service-hero--contacto {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
  url("../images/contacto.jpg") center/cover no-repeat;
}

.service-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.service-info__text {
  flex: 1 1 55%;
}

.service-info__image {
  flex: 1 1 40%;
  display: flex;
  justify-content: flex-end;
  max-width: 380px;
}

.service-info__image img {
  width: 100%;
  max-width: 420px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}


/* --------------------------
   CONTACTO SIMPLE
---------------------------*/
.contact {
  padding: 5rem 1rem;
  background-color: #f9f9f9;
  color: #333;
}

.contact .subtitle {
  color: #d62828;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  border-left: 5px solid #d62828;
  padding-left: 10px;
}

.contact__extras {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.1rem;
  padding: 0.4rem 0; /* 🔹 da aire entre líneas */
}

.contact__item:hover .contact__icon {
  color: #b41e1e;
  transform: scale(1.1);
  transition: all 0.2s ease;
}

.contact__icon {
  color: #d62828;
}

/* --------------------------
   EQUIPO CHALECO ROJO
---------------------------*/
.team {
  padding: 5rem 1rem;
  background-color: #fff;
  text-align: center;
}

.team__header{
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.team__photo{
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #d62828;
  flex-shrink: 0;
}

.team__photo1{
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #d62828;
  flex-shrink: 0;
  object-position: center top;
}

.team__headtext h3{
  margin: 0;
}

.team__headtext .team__role{
  margin: 0.2rem 0 0;
}

.team .subtitle {
  color: #d62828;
  font-size: 1.8rem;
  margin-bottom: 3rem;
  border-left: 5px solid #d62828;
  padding-left: 10px;
  text-align: left;
}

.contact .subtitle::after,
.team .subtitle::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #d62828;
  margin-top: 10px;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.team__card {
  display: block;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06); /* 🔹 sombra más natural */
  padding: 2rem 1.5rem;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.team__card h3 {
  color: #d62828;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.team__role {
  color: #555;
  font-weight: 600;
  margin-bottom: 1rem;
}

.team__card p {
  color: #333;
  margin: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.team__card i {
  color: #d62828;
  width: 20px;
}

.team__link {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.team__link:hover {
  color: #d62828;
}

.fa-whatsapp {
  color: #d62828;
}
/* --------------------------
   RESPONSIVE
---------------------------*/
@media (max-width: 800px) {

.nav {
    justify-content: space-between;
    align-items: center;
    flex-direction: row; /* 👈 mantiene logo + nombre en una fila */
  }

.nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #d62828;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: right 0.3s ease;
    display: none;
    z-index: 999;
  }

  .nav__links--show .nav__close {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    z-index: 1002;
  }

   .nav__links--show {
    right: 0;
    display: flex !important; /* aseguramos que aparezca */
  }

  .nav__links a {
    color: #fff;
    font-size: 1.2rem;
  }

  .nav__logo {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }

.nav__toggle {
    display: block;
    color: #d62828;
    font-size: 1.6rem;
    cursor: pointer;
  }

  .nav__link {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .nav__items {
    margin: 0.3rem 0;
  }

  .nav__menu {
    display: block;
    cursor: pointer;
  }

  .nav__img {
    display: block;
    width: 32px;
    height: 32px;
  }

  /* Menú tipo panel (oculto por defecto) */
 .nav__menu{ display: block;
 } 
 .nav__link--menu{
    position: fixed;
    background-color: black;
    top: 0;
    left: 0; 
    height: 100%;
    width: 100%;
      display: flex;
      flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
          z-index: 100;
          opacity: 0;
            pointer-events: none;
            transition: .7s opacity;
              color: white;
            }
            .nav__link--show{
              --show: block;
              opacity: 1;
              pointer-events: unset;
            }
            .nav__close{
              position: absolute;
              top: 30px;
              right: 30px;
              width: 30px;
              cursor: pointer;
            }
            .nav__link--menu .nav__links, .nav__link--menu .nav__links:visited{ color:#fff; }
            .nav__link--menu .nav__links:hover{ color:#cfe4ff; }

  /* Asegurar que el header quede por arriba */
  .main-header {
    position: relative;
    z-index: 10000;
}
  /* ---------- ESTRUCTURA GENERAL ---------- */
  .container {
    width: 90%;
    padding: 0 1rem;
  }

  h1, h2, h3 {
    text-align: center;
  }

  p {
    text-align: justify;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* ---------- HERO ---------- */
  .hero {
    height: auto;
    min-height: 75vh;
    text-align: center;
    grid-template-rows: auto 1fr;
    padding: 2rem 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1.2rem;
  }

  .cta {
    margin: 1rem auto;
  }

  /* ---------- SERVICIOS (tarjetas) ---------- */
  .services__grid,
  .services__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-items: center;
  }

  .services__item,
  .service-card {
    width: 100%;
    max-width: 360px;
  }

  /* ---------- BLOQUES DE SERVICIOS ---------- */
  .service-info {
    flex-direction: column;
    text-align: center;
  }

  .service-info__image {
    justify-content: center;
    margin-top: 1.5rem;
  }

  .service-info__image img {
    max-width: 300px;
  }

  /* ---------- CONTACTO ---------- */
  .contact__content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .contact__item {
    justify-content: center;
  }

  .contact__cta {
    margin: 1rem auto;
  }

  .dropdown {
    position: relative;
  }

  .dropdown__toggle {
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
  }

  .dropdown__menu {
    display: none;
    flex-direction: column;
    background-color: #d62828;
    position: relative;
    padding: 0.5rem 0;
    width: 100%;
  }

  .dropdown__menu a {
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1rem;
    font-size: 1rem;
    transition: background 0.3s;
  }

  .dropdown__menu a:hover {
    background-color: rgba(255, 255, 255, 0.15);
  }

  /* Mostrar menú al tocar o pasar */
  .dropdown:hover .dropdown__menu,
  .dropdown__toggle:focus + .dropdown__menu {
    display: flex;
  }

  /* ---------- FOOTER ---------- */
  .footer__container {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  footer p {
    font-size: 0.9rem;
    text-align: center;
  }
}

/* .about__content {
    flex-direction: column;
    text-align: center;
  }

  .about__image img {
    max-width: 350px;
  }

  .about__line {
    margin: 0.5rem auto;
  }

  .about__slogan {
    border-left: none;
    border-top: 2px solid var(--color-primary);
    padding-left: 0;
    padding-top: 0.5rem;
  } */