/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BASE */
body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    color: #0f0f0f;
    background-color: #ffffff;
    padding-top: 106px;
    font-size: 16px;
}

/* TOPBAR */
.topbar {
    height: 36px;
    background-color: #0f0f0f;
    color: #ccc;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 24px;
    font-size: 13px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
}

/* NAVBAR */
.navbar {
    height: 70px;
    background-color: #0f0f0f;
    position: fixed;
    top: 36px;
    width: 100%;
    z-index: 1000;
}

.logo {
    font-size: 24px;   /* antes 21px */
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #ffffff;
}


/* CONTENEDOR */
.container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.column {
    flex-direction: column;
    align-items: flex-start;
}

/* NAV LINKS */
.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-links a,
.nav-links a:visited,
.nav-links a:active {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* BOTÓN MENÚ */
.menu-btn {
    width: 22px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    height: 2px;
    background-color: #ffffff;
}

/* HERO */
.hero {
    position: relative;
    height: 70vh;
    background-image: url("hero-ciudad.jpg");
    background-size: cover;
    background-position: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.55);
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    transform: translateY(-30px);
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* SECCIÓN */
.section {
    border-top: 1px solid #eaeaea;
}


.section h2 {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.section h2::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background-color: #0f0f0f;
    margin-top: 12px;
}

.section p {
    font-size: 16px;
    line-height: 1.8;
    font-weight: 300;
}

/* MENÚ LATERAL */
.side-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background-color: #0f0f0f;
    transition: right 0.3s ease;
    z-index: 2000;
    padding-top: 120px;
}

.side-menu ul {
    list-style: none;
    padding-left: 32px;
}

.side-menu li {
    margin-bottom: 24px;
}

.side-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
}

.side-menu.open {
    right: 0;
}

/* OVERLAY */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1500;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* BOTÓN CERRAR */
.close-menu {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}
.section p {
    margin-bottom: 24px;
}

.section h3 {
    margin-top: 40px;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
}
.container.column {
    max-width: 720px;
}
.highlight-box {
    padding: 32px;
    background-color: #f7f7f7;
    margin: 40px 0;
    border-left: 3px solid #0f0f0f;
}
.section {
    padding: 120px 0;
}
.nuestras-empresas .section {
  padding-top: 3rem;
}

.hero-inner {
    height: 50vh;
}
/* GRID EMPRESAS */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* CARD EMPRESA */
.company-card {
    border: 1px solid #000;
    padding: 40px;
    text-decoration: none;
    color: #0f0f0f;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.company-card h3 {
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 600;
}

.company-card p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.company-link {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* HOVER SUTIL */
.company-card:hover {
    border-color: #0f0f0f;
    transform: translateY(-4px);
}
.topbar {
    width: 100%;
    background: #000;
    color: #fff;
    font-size: 0.75rem;
    padding: 6px 16px;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.topbar a {
    color: #fff;
    text-decoration: none;
    opacity: 0.6;
}

.topbar a:hover {
    opacity: 1;
}

.topbar a.active {
    opacity: 1;
    font-weight: 600;
}
.contact-hero {
    padding: 120px 10%;
    text-align: center;
  }
  
  .contact-hero h1 {
    font-size: 48px;
  }
  
  /* ===== CONTACTO ===== */

.contact-form {
  padding: 120px 0;
}

.contact-intro {
  max-width: 600px;
  margin-bottom: 48px;
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}

/* FORMULARIO */
.form-grid {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-grid input,
.form-grid textarea {
  padding: 14px 16px;
  border: 1px solid #0f0f0f;
  background: transparent;
  font-size: 14px;
  font-family: inherit;
}

.form-grid textarea {
  resize: vertical;
}

/* BOTÓN */
.form-grid button {
  margin-top: 12px;
  align-self: flex-start;
  padding: 14px 32px;
  background-color: #0f0f0f;
  color: #ffffff;
  border: none;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.form-grid button:hover {
  opacity: 0.9;
}

  
  .presence-text h2 {
    margin-bottom: 20px;
  }
  
  .presence-text p {
    color: #ccc;
    line-height: 1.7;
  }
  
  .presence-map img {
    width: 100%;
    height: auto;
    opacity: 0.9;
  }
  .footer {
    background: #000;
    color: #fff;
    padding-top: 80px;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
  }
  
  .footer h3,
  .footer h4 {
    margin-bottom: 20px;
    font-weight: 600;
  }
  
  .footer p {
    color: #ccc;
    line-height: 1.7;
    font-size: 14px;
  }
  
  .footer a {
    color: #ccc;
    text-decoration: none;
  }
  
  .footer a:hover {
    color: #fff;
  }
  
  .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-links li {
    margin-bottom: 10px;
    font-size: 14px;
  }
  
  .footer-contact p {
    margin-bottom: 10px;
  }
  
  .footer-bottom {
    border-top: 1px solid #222;
    padding: 20px 0;
    text-align: center;
  }
  
  .footer-bottom p {
    font-size: 13px;
    color: #777;
  }
  @media (max-width: 900px) {
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 40px;
    }
  }
   /* LAYOUT HORIZONTAL HOLDING */
.holding-horizontal {
  display: grid;
  grid-template-columns: 1.2fr 1px 1.8fr;
  gap: 48px;
  align-items: center;
  margin: 80px 0;
}

/* BLOQUE IZQUIERDO */
.holding-left h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.holding-left p {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  max-width: 420px;
}

/* DIVISOR */
.holding-divider {
  width: 1px;
  height: 100%;
  background-color: #0f0f0f;
}

/* EMPRESAS */
.holding-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px;
}

.holding-right span {
  border: 1px solid #0f0f0f;
  padding: 18px 24px;
  font-size: 14px;
  text-align: center;
  background-color: #fff;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .holding-horizontal {
      grid-template-columns: 1fr;
      gap: 32px;
  }

  .holding-divider {
      display: none;
  }

  .holding-right {
      grid-template-columns: 1fr;
  }
}
/* TRANSICIONES SUAVES */
.form-grid input,
.form-grid textarea {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-grid input:focus,
.form-grid textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 1px #000;
}

/* BOTÓN */
.form-grid button {
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.form-grid button:hover {
    background-color: #000;
    transform: translateY(-1px);
}
/* ===== CONTACTO (EDITORIAL) ===== */

.contact-form {
  padding: 120px 0;
}

/* TEXTO INTRO */
.contact-intro {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}

/* FORMULARIO */
.contact-grid {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-grid input,
.contact-grid textarea {
  padding: 14px 16px;
  border: 1px solid #0f0f0f;
  background: transparent;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-grid input:focus,
.contact-grid textarea:focus {
  outline: none;
  box-shadow: 0 0 0 1px #000;
}

.contact-grid textarea {
  resize: vertical;
}

/* BOTÓN */
.contact-actions {
  display: flex;
  justify-content: flex-end;
}

.contact-actions button {
  padding: 14px 36px;
  background-color: #0f0f0f;
  color: #fff;
  border: none;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.contact-actions button:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

/* INFO DE CONTACTO */
.contact-info {
  margin: 80px auto 0;
  padding-top: 40px;
  border-top: 1px solid #eaeaea;
  max-width: 720px;
  text-align: center;
}

.contact-info h4 {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.contact-email a {
  font-weight: 600;
  color: #000;
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

.contact-location {
  margin-top: 6px;
  font-size: 13px;
  color: #777;
}

/* RESPONSIVE */
@media (max-width: 700px) {
  .contact-row {
      grid-template-columns: 1fr;
  }

  .contact-actions {
      justify-content: flex-start;
  }
}
.side-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background-color: #0f0f0f;
  transition: right 0.3s ease;
  z-index: 2000;
}

.side-menu.open {
  right: 0;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1500;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}
/* FIX PRESENCIA */
.section.presence-section {
  background-color: #000;
  color: #fff;
}
/* TEXTO JUSTIFICADO - DOCUMENTOS INSTITUCIONALES */
.section p {
  text-align: justify;
  text-justify: inter-word;
}
/* ANIMACIONES DE ENTRADA */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.company-card {
  border: 1px solid #b5b5b5;        /* borde exterior plomo */
  outline: 1px solid #b5b5b5;       /* borde interior */
  outline-offset: -6px;             /* separación entre bordes */
  padding: 32px;
  background-color: #fff;
}


.company-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
/* ESPACIO ENTRE TEXTO E IMAGEN - PRESENCIA */
.presence-map {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.world-map {
  width: 520px;       /* tamaño real del mapa */
  height: 320px;      /* fuerza altura */
  max-width: 100%;
  display: block;
}
.presence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 100px; /* prueba entre 80px y 120px */
  align-items: center;
}

.presence-map img {
  width: 100%;
  max-width: 520px;
  opacity: 0.9;
}
/* Submenú Inicio */
.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #0f0f0f;
  padding: 10px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1000;
}

.submenu li {
  list-style: none;
}

.submenu li a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  color: #ccc;
  text-decoration: none;
}

.submenu li a:hover {
  background: rgba(255,255,255,0.04);
  color: #fff;
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
html {
  scroll-behavior: smooth;
}
/* Flecha indicadora en Inicio */
.has-submenu > a::after {
  content: "▾";
  font-size: 11px;
  margin-left: 6px;
  color: #aaa;
  transition: transform 0.2s ease, color 0.2s ease;
}

/* Animación al abrir */
.has-submenu:hover > a::after {
  transform: rotate(180deg);
  color: #fff;
}
h2[id] {
  scroll-margin-top: 120px;
}
/* DOBLE BORDE PLOMO - BLOQUE QUIÉNES SOMOS */
.holding-right span {
  border: 1px solid #b5b5b5;      /* borde exterior */
  outline: 1px solid #b5b5b5;     /* borde interior */
  outline-offset: -6px;
  padding: 18px 28px;
  background-color: #fff;
}
section[id],
h2[id],
h3[id] {
  scroll-margin-top: 120px;
}
/* =========================
   RESPONSIVE – MOBILE
   ========================= */

   @media (max-width: 768px) {

    /* Navbar */
    .nav-links {
      display: none;
    }
  
    .menu-btn {
      display: flex;
    }
  
    .navbar .container {
      justify-content: space-between;
    }
  
  }
  @media (max-width: 768px) {

    .side-menu {
      width: 85%;
      max-width: 320px;
      padding: 2rem 1.5rem;
    }
  
    .side-menu ul li {
      margin-bottom: 1.2rem;
    }
  
    .side-menu ul li a {
      font-size: 1.1rem;
    }
  
  }
  @media (max-width: 768px) {
    .hero {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
    }
    
  
    .hero-content h1 {
      font-size: 1.8rem;
    }
  
    .hero-content p {
      font-size: 1rem;
    }
  
  }
  @media (max-width: 768px) {

    .section {
      padding: 3rem 0;
    }
  
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding-left: 1.5rem;
      padding-right: 1.5rem;
      box-sizing: border-box;
    }
    
  
    .container.column {
      gap: 1.5rem;
    }
  
    p {
      font-size: 1rem;
      line-height: 1.6;
    }
  
  }
  @media (max-width: 768px) {

    .holding-horizontal {
      flex-direction: column;
      gap: 2rem;
    }
  
    .holding-divider {
      display: none;
    }
  
  }
  @media (max-width: 768px) {

    .footer-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
      text-align: left;
    }
  
  }
  html, body {
    overflow-x: hidden;
  }
  @media (max-width: 768px) {
    * {
      max-width: 100%;
    }
  }
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .side-menu {
    right: -100%;
    left: auto;
  }
  .menu-overlay {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .quienes-somos p {
    margin-bottom: 1rem;
  }
  
  .quienes-somos h2,
  .quienes-somos h3 {
    margin-bottom: 1rem;
    margin-top: 2.5rem;
  }
      /* =========================
   QUIÉNES SOMOS – ESPACIADO MÁS CORTO
   ========================= */

.quienes-somos p {
  margin-bottom: 0.5rem;
}

.quienes-somos h2 {
  margin-bottom: 0.8rem;
}

.quienes-somos h3 {
  margin-top: 1.4rem;
  margin-bottom: 0.6rem;
}
  /* QUIÉNES SOMOS – ESPACIADO MÁS CORTO */

.quienes-somos p {
  margin-bottom: 0.4rem;
}

.quienes-somos h3 {
  margin-top: 1.2rem;
  margin-bottom: 0.6rem;
}

/* INICIO – MÁS AIRE ENTRE SECCIONES */

.inicio p {
  margin-bottom: 1.4rem;
}

.inicio h2 {
  margin-top: 3rem;
  margin-bottom: 1.2rem;
}
/* =========================
   ESPACIADO UNIFICADO
   ========================= */

/* Párrafos */
.quienes-somos p,
.inicio p {
  margin-bottom: 0.5rem;
}

/* Títulos de sección */
.quienes-somos h2,
.inicio h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

/* Subtítulos */
.quienes-somos h3,
.inicio h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.7rem;
}
/* =========================
   FORZAR ESPACIADO (DEBUG)
   ========================= */

/* QUIÉNES SOMOS */
body.quienes-somos .section p {
  margin-bottom: 0.25rem !important;
}

body.quienes-somos .section h3 {
  margin-top: 0.8rem !important;
  margin-bottom: 0.4rem !important;
}

/* INICIO */
body.inicio .section p {
  margin-bottom: 0.5rem !important;
}

body.inicio .section h2 {
  margin-top: 2.5rem !important;
  margin-bottom: 1rem !important;
}
/* =========================
   AJUSTE DE ESPACIADO REAL
   ========================= */

/* GENERAL: reduce espacio entre párrafos */
.section .container.column p {
  margin-bottom: 0.25rem !important;
}

/* Títulos de sección */
.section .container.column h2 {
  margin-top: 2rem !important;
  margin-bottom: 0.6rem !important;
}

/* Subtítulos */
.section .container.column h3 {
  margin-top: 1.2rem !important;
  margin-bottom: 0.4rem !important;
}
/* =========================
   REDUCCIÓN REAL DE ESPACIO ENTRE BLOQUES
   ========================= */

/* Todas las secciones normales */
.section {
  padding: 3rem 0 !important;
}
.logo a {
  color: inherit;
  text-decoration: none;
}
/* CONTENIDO PRINCIPAL – texto institucional */
.section-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 20px;
}

/* Títulos */
.section-content h1,
.section-content h2,
.section-content h3 {
  margin-bottom: 22px;
}

/* Párrafos */
.section-content p {
  margin-bottom: 18px;
  line-height: 1.7;
}
/* ===== SECCIONES DE CONTENIDO (todas iguales) ===== */
.section {
  padding: 70px 0;
}

/* Contenedor de texto */
.section .container.column {
  max-width: 900px;
  margin: 0 auto;
}

/* Títulos */
.section h2,
.section h3 {
  margin-bottom: 22px;
}

/* Párrafos */
.section p {
  margin-bottom: 18px;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .mapa-presencia {
    max-width: 100%;
    width: 100%;
    transform: scale(1.2);
    margin: 2rem auto 0;
    display: block;
  }
}
@media (max-width: 768px) {

  /* romper límite del container */
  #grupo .container.column {
    padding: 0;
  }

  /* el mapa se sale del contenedor */
  .mapa-presencia {
    width: 100vw;
    max-width: none;
    margin-left: calc(-50vw + 50%);
    margin-top: 2rem;
    transform: scale(1.15);
  }
}
@media (max-width: 768px) {

  /* la grilla pasa a columna */
  .presence-grid {
    grid-template-columns: 1fr;
  }

  /* texto primero */
  .presence-text {
    order: 1;
  }

  /* mapa debajo */
  .presence-map {
    order: 2;
    margin-top: 2.5rem;
  }

  /* mapa grande y horizontal */
  .presence-map img {
    width: 100%;
    max-width: none;
    height: auto;
  }
}
.test-form {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.test-form input,
.test-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
}

.test-form button {
  padding: 10px;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
}
/* ===== SIDEBAR ===== */
.sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: #000;
  padding: 40px 30px;
  transition: right 0.3s ease;
  z-index: 3000;
}

.sidebar.active {
  right: 0;
}

.sidebar ul {
  list-style: none;
  padding: 60px 0 0;
  margin: 0;
}

.sidebar ul li {
  margin-bottom: 22px;
}

.sidebar ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
}

/* CLOSE BUTTON */
.sidebar-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* OVERLAY */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 2500;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}


/* OVERLAY */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 2500;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}
/* ===== CONTACT PAGE ===== */
.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header h1 {
  margin-bottom: 10px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info p {
  margin-bottom: 25px;
  font-size: 14px;
  color: #333;
}

.contact-form {
  background: #fafafa;
  padding: 50px;
  border: 1px solid #e0e0e0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  margin-bottom: 18px;
  font-family: inherit;
  font-size: 14px;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form button {
  margin-top: 10px;
  padding: 14px;
  width: 100%;
  background: #000;
  color: #fff;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.55),
      rgba(0,0,0,0.75)
  );
}
.hero {
  position: relative;
}
.hero h1 span {
  position: relative;
}

.hero h1 span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s ease;
}

.hero h1 span:hover::after {
  transform: scaleX(1);
}
.card {
  border: 1px solid #e0e0e0;
  transition: all .3s ease;
}

.card:hover {
  border-color: #999;
  transform: translateY(-4px);
}
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.hero {
  height: 75vh;   /* antes 100vh */
  min-height: 520px;
}
.hero {
  background-size: cover;
  background-position: center 75%;
  filter: saturate(1.2) contrast(1.1);
}
.hero h1 {
  color: #ffffff;
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.hero p {
  color: rgba(255,255,255,0.85);
  letter-spacing: 2px;
}
@media (max-width: 768px) {
  .hero {
      height: 65vh;
      background-position: center 85%;
  }
}
.hero {
  height: 55vh;
  min-height: 420px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.25),
      rgba(0,0,0,0.55)
  );
}
.hero p {
  font-size: 0.85rem;
  letter-spacing: 3px;
  opacity: 0.6;
}
.hero-contact {
  background-image: url("../img/hero-contact.jpg");
  background-size: cover;
  background-position: center 75%;
}
.hero {
  position: relative;   /* OBLIGATORIO */
  background-size: cover;
  background-position: center 75%;
  height: 55vh;
  min-height: 420px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.02),
      rgba(0,0,0,0.18)
  );
  pointer-events: none;
}
.hero {
  background-image: url("hero-ciudad.jpg");
}
.hero {
  filter: 
      saturate(1.5)
      contrast(1.15)
      brightness(1.1);
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
hr {
  display: none;
}
section {
  border-bottom: 1px solid #e5e5e5;
}
.text-section {
  border-bottom: 1px solid #ddd;
}
section,
.section,
.container {
    border-bottom: none !important;
}

section::after,
.section::after,
.container::after {
    display: none !important;
}
/* Quitar cualquier línea entre textos en Quiénes Somos */
.quienes-somos section,
.quienes-somos .section,
.quienes-somos .container {
    border-top: none !important;
    border-bottom: none !important;
}

.quienes-somos section + section,
.quienes-somos .section + .section {
    border-top: none !important;
}

/* Por si viene de pseudo-elementos */
.quienes-somos section::before,
.quienes-somos section::after,
.quienes-somos .section::before,
.quienes-somos .section::after {
    display: none !important;
    content: none !important;
}
.quienes-somos .section {
  margin-bottom: 90px;
}
.quienes-somos .section {
  margin-bottom: 90px;
}
/* ELIMINAR CUALQUIER LÍNEA / SOMBRA ENTRE TEXTOS */
.quienes-somos section,
.quienes-somos .section,
.quienes-somos .container,
.quienes-somos .content,
.quienes-somos .wrapper {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
/* Quitar separadores solo en Quiénes Somos */
.quienes-somos .soft-divider {
  display: none !important;
}
.soft-divider {
  display: none !important;
}
