:root {
  --bg:      #f4f2ee;
  --surface: #ffffff;
  --accent:  #c0392b;
  --dark:    #1a1a1a;
  --mid:     #4a4a4a;
  --light:   #9e9e9e;
  --radius:  18px;
  --gap:     56px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }



/* Navbar */
.navbar {
  position: fixed; /* fija la barra */
  top: 0;  /* siempre arriba */
  left: 0;
  width: 100%; /* ocupa todo el ancho */
  display: flex;
  align-items: center;
  background: #2c2c2c;   /* gris oscuro */
  padding: 10px 20px;
  border-bottom: 3px solid #ffcc00; /* acento amarillo */
  z-index: 1000; /* asegura que quede encima del contenido */
}


.logo img {
  height: 50px;
  filter: drop-shadow(2px 2px 4px #000); /* resalta logo */
}

.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-left: auto;   /* empuja el menú hacia la derecha */
}

.menu li a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: bold;
}

.menu li a:hover {
  color: #ffcc00;
}
/* Botón hamburguesa oculto en escritorio */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  margin-left: auto;
}

/* Responsive: en pantallas pequeñas */
@media (max-width: 768px) {
  .menu {
    display: none;              /* ocultar menú por defecto */
    flex-direction: column;     /* menú vertical */
    background: #2c2c2c;
    position: absolute;
    top: 60px;                  /* debajo del header */
    right: 0;
    width: 200px;
    border: 1px solid #e84d29;
    padding: 10px;
  }

  .menu li {
    margin: 10px 0;
  }

  .menu-toggle {
    display: block;
    font-size: 28px;
    color: #e84d29;
    cursor: pointer;
    margin-left: auto;
  }

  .menu.active {
    display: flex;              /* mostrar menú al activar */
  }
}



body {
  font-family: 'Barlow', sans-serif;
  background-color: var(--bg);
  color: var(--dark);
}

/* ── Section wrapper ── */
.mv-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

/* ── Row ── */
.mv-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.mv-row.reverse {
  direction: rtl;
}
.mv-row.reverse > * {
  direction: ltr;
}

/* ── Image card ── */
.mv-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
}

.mv-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}

.mv-img-wrap:hover img {
  transform: scale(1.04);
}

.mv-img-wrap::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 80px; height: 5px;
  background: var(--accent);
  z-index: 2;
  border-radius: 0 4px 0 0;
}

/* ── Text block ── */
.mv-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mv-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}

.mv-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.mv-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--dark);
}

.mv-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--mid);
  text-align: justify;
}

/* ── Divider ── */
.mv-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, #d0cdc8, transparent);
}

/* ── Responsive ── */
@media (max-width: 720px) {
  .mv-row,
  .mv-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .mv-row.reverse .mv-img-wrap {
    order: -1;
  }
}
/* Servicios */
.servicios {
  padding: 40px 20px;
  text-align: center;
}

.servicios h2 {
  margin-bottom: 20px;
}


.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas iguales */
  gap: 20px;
  justify-items: center; /* centra cada tarjeta */
}

.servicio {
  width: 200px;
  text-align: center;
  margin: 10px;
}

.servicio img {
  width: 100%;
  height: 150px;             /* altura fija para todas las imágenes */
  object-fit: cover;         /* recorta la imagen para que no se deforme */
  border-radius: 5px;
}

.servicios .servicio p {
  margin-top: 10px;
  font-weight: bold;
  font-size: 16px;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  
}

.servicios .servicio:hover p {
  color: #0077b6;
}

/* Quitar subrayado de los enlaces */
.servicios .servicio a {
  text-decoration: none;
  color: inherit;
}
/* Responsivo: en pantallas pequeñas se apilan en 1 o 2 columnas */
@media (max-width: 900px) {
  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .servicios-grid {
    grid-template-columns: 1fr;
  }
}
/* Contacto */
.contacto {
  background: #2c2c2c;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.contacto a {
  color: #ccc;
  text-decoration: none;
}

.contacto a:hover {
  text-decoration: underline;
}

.social-contact {
  margin-top: 20px;
}

.social-contact .icon {
  color: #ccc;       /* color de los íconos */  /* color de los íconos */
  margin: 0 10px;
  font-size: 28px;      /* tamaño más grande */
  text-decoration: none;
}

.social-contact .icon:hover {
  color: #ffffff;       /* cambia al pasar el mouse */
}




/* Reset básico */