:root {
  --teal: #2ec4c6;
  --teal-texto: #149aa3;
  --tinta: #3a3a3a;
  --suave: #6b6b6b;
}

body {
  background: #fff;
  color: var(--tinta);
}

.portada {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  background: #fff;
}

.portada__foto {
  position: relative;
  min-height: 78vh;
}

.portada__foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 62% center;
}

.portada__foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 14, 10, 0.34);
}

.portada__texto {
  position: relative;
  z-index: 1;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.4rem;
  text-align: center;
  color: #fff;
}

.portada__texto h1 {
  font-family: Montserrat, Outfit, sans-serif;
  font-weight: 800;
  font-size: clamp(2.7rem, 5.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.portada__texto p {
  margin-top: 0.9rem;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.boton {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.72rem 1.25rem;
  border: 0;
  border-radius: 3px;
  background: var(--teal);
  color: #fff;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
}

.boton:hover { background: #19b0b3; }

.lateral {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.4rem 1.2rem 2rem;
  background: #fff;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: #2c2c2c;
  text-decoration: none;
}

.logo span {
  font-family: Montserrat, Outfit, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lateral .menu-sitio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  margin-top: 2rem;
}

.lateral .menu-sitio a,
.mas summary {
  color: var(--teal-texto);
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
}

.lateral .menu-sitio a:hover,
.mas summary:hover { color: #0e7c84; }

.mas { text-align: center; }

.mas summary {
  cursor: pointer;
  list-style: none;
}

.mas summary::-webkit-details-marker { display: none; }

.mas summary::before {
  content: "◂ ";
  font-size: 0.72rem;
}

.mas a {
  display: block;
  margin-top: 0.75rem;
}

.acerca {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.6rem;
  align-items: center;
  width: min(1080px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 4.8rem 0;
}

.acerca img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.acerca h2 {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.72rem 1.15rem;
  border-radius: 10px;
  background: var(--teal);
  color: #fff;
  font-family: Outfit, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: lowercase;
}

.acerca p {
  color: #5c5c5c;
  font-size: 0.98rem;
  line-height: 1.65;
}

.servicios,
.voces,
.contacto {
  padding: 3.6rem 0 1rem;
}

.servicios h2,
.voces h2,
.contacto h2 {
  font-family: Montserrat, Outfit, sans-serif;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.linea {
  display: block;
  width: 52px;
  height: 3px;
  margin: 0.7rem auto 0.85rem;
  background: var(--teal);
}

.servicios__baja {
  text-align: center;
  color: #555;
  font-size: 1.02rem;
}

.mosaico {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(1080px, calc(100% - 3rem));
  margin: 2rem auto 3.2rem;
}

.mosaico img,
.mosaico article {
  height: 300px;
}

.mosaico img {
  width: 100%;
  object-fit: cover;
}

.mosaico article {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.4rem 1.25rem;
  background: #f7f7f7;
  text-align: center;
}

.mosaico h3 {
  font-family: Montserrat, Outfit, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.mosaico p {
  margin-top: 0.75rem;
  color: var(--suave);
  font-size: 0.92rem;
  line-height: 1.55;
}

.mosaico a {
  margin-top: 0.9rem;
  color: var(--teal-texto);
  font-size: 0.92rem;
  text-decoration: none;
}

.mosaico a:hover { text-decoration: underline; }

.mini {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  background: var(--teal);
}

.franja img {
  width: 100%;
  height: 460px;
  max-width: none;
  object-fit: cover;
  object-position: center 40%;
}

.voces { padding-bottom: 3.5rem; }

.voces__lista {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  width: min(1080px, calc(100% - 3rem));
  margin: 1.6rem auto 0;
}

.voces article {
  padding: 1.7rem 1.25rem 1.5rem;
  border-radius: 18px;
  background: #f3f3f3;
  text-align: center;
}

.voces h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 1rem;
}

.voces img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.voces p {
  margin-top: 0.85rem;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.55;
}

.contacto__grid {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr;
  gap: 2.4rem;
  align-items: center;
  width: min(980px, calc(100% - 3rem));
  margin: 1.6rem auto 0;
}

.contacto form {
  display: grid;
  gap: 0.75rem;
}

.par {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.contacto input,
.contacto textarea {
  width: 100%;
  padding: 0.85rem 0.7rem;
  border: 1px solid #e3e3e3;
  border-radius: 2px;
  background: #fff;
  color: var(--tinta);
  font: inherit;
  font-size: 0.95rem;
  text-align: center;
}

.contacto textarea { resize: vertical; min-height: 110px; }

.boton--ancho {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.9rem 1rem;
  border: 2px solid #1a1a1a;
  font-size: 0.92rem;
}

.datos p { line-height: 1.7; }

.datos a {
  color: var(--teal-texto);
  text-decoration: none;
}

.mapa { margin-top: 2.4rem; }

.mapa img {
  width: 100%;
  height: 340px;
  max-width: none;
  object-fit: cover;
}

.mapa figcaption {
  padding: 0.4rem 1rem 0;
  color: #8a8a8a;
  font-size: 0.75rem;
}

.pie-demo {
  padding: 1rem 1.2rem 1.4rem;
  background: #1c1814;
  color: #f6f1e8;
  font-size: 0.92rem;
}

[id] { scroll-margin-top: 84px; }

@media (max-width: 800px) {
  .portada { grid-template-columns: 1fr; }

  .lateral {
    position: sticky;
    top: 0;
    z-index: 6;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #eee;
  }

  .logo svg { width: 54px; height: auto; }

  .logo span { font-size: 0.82rem; }

  .lateral .menu-sitio {
    display: none;
    position: absolute;
    top: 100%;
    right: 0.6rem;
    min-width: 210px;
    margin-top: 0;
    padding: 0.95rem 1.1rem;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    align-items: flex-start;
  }

  .lateral .menu-sitio.is-abierto { display: flex; }

  .portada__foto,
  .portada__texto { min-height: 72vh; }

  .acerca,
  .mosaico,
  .voces__lista,
  .contacto__grid,
  .par { grid-template-columns: 1fr; }

  .acerca { padding: 2.4rem 0; }

  .acerca img,
  .mosaico img,
  .mosaico article { height: auto; min-height: 220px; }

  .franja img { height: 280px; }
}

.trampa {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
