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

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #2f352c;
  background-color: #f7f5ef;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.contenedor {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.cabecera {
  background: #ffffff;
  border-bottom: 1px solid rgba(48, 74, 43, 0.15);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.cabecera-contenido {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo-contenedor,
.logo-enlace {
  display: flex;
  align-items: center;
}

.logo {
  max-height: 35px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.menu-principal {
  background: linear-gradient(135deg, #2f4f2f, #64813b);
  padding: 10px 18px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(47, 79, 47, 0.18);
}

.menu-principal ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-principal a {
  display: block;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 9px 15px;
  border-radius: 12px;
  transition: all 0.25s ease;
}

.menu-principal a:hover { background: rgba(255, 255, 255, 0.18); }

.hero {
  position: relative;
  width: 100%;
  height: 430px;
  overflow: hidden;
  background-color: #24311f;
}

.hero-imagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-capa {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18,30,15,.72), rgba(18,30,15,.28), rgba(18,30,15,.68));
}

.hero-texto {
  position: absolute;
  inset: 0;
  z-index: 2;
  color: #ffffff;
  text-align: center;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.hero-texto h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  margin-bottom: 18px;
  text-shadow: 0 5px 20px rgba(0,0,0,.45);
}

.hero-texto p {
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  font-weight: 600;
  max-width: 850px;
  text-shadow: 0 4px 16px rgba(0,0,0,.5);
}

.intro {
  padding: 76px 0 58px;
  background-color: #f7f5ef;
}

.intro h2,
.servicios h2,
.texto-quienes h2,
.contacto h2,
.mapa-seccion h2 {
  color: #2f4f2f;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.2;
}

.intro h2 { margin-bottom: 24px; max-width: 900px; }
.intro p { font-size: 1.06rem; color: #3c4938; margin-bottom: 18px; max-width: 980px; }

.servicios {
  padding: 74px 0 88px;
  background-color: #ffffff;
}

.servicios h2 { margin-bottom: 40px; text-align: center; }

.grid-servicios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tarjeta-servicio {
  background-color: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(39,55,34,.12);
  border: 1px solid rgba(47,79,47,.12);
  transition: transform .25s ease, box-shadow .25s ease;
}

.tarjeta-servicio:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(39,55,34,.18);
}

.tarjeta-servicio a { display: block; height: 100%; }

.tarjeta-servicio img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  object-position: center;
  background-color: #e9eadf;
  transition: transform .35s ease;
}

.tarjeta-servicio:hover img { transform: scale(1.04); }

.tarjeta-contenido { padding: 24px 24px 28px; }
.tarjeta-contenido h3 { color: #2f4f2f; font-size: 1.32rem; margin-bottom: 12px; }
.tarjeta-contenido p { color: #4b5947; font-size: .98rem; }

.quienes-somos {
  padding: 92px 0;
  background: linear-gradient(135deg, #f7f5ef 0%, #eef0e4 100%);
}

.bloque-quienes {
  display: grid;
  grid-template-columns: 1.6fr .9fr;
  gap: 42px;
  align-items: center;
}

.texto-quienes h2 { margin-bottom: 24px; }
.texto-quienes p { color: #3f4c3b; font-size: 1.04rem; margin-bottom: 18px; }

.destacado-quienes {
  background: linear-gradient(135deg, #2f4f2f, #6f8e3d);
  color: #ffffff;
  padding: 36px;
  border-radius: 26px;
  box-shadow: 0 16px 36px rgba(47,79,47,.24);
}

.destacado-quienes h3 { font-size: 1.55rem; line-height: 1.25; margin-bottom: 16px; }
.destacado-quienes p { font-size: 1rem; color: rgba(255,255,255,.92); }

.franja-imagen {
  width: 100%;
  height: 75px;
  overflow: hidden;
  background-color: #31462b;
}

.franja-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contacto {
  padding: 92px 0;
  background-color: #ffffff;
}

.contacto h2 { text-align: center; margin-bottom: 14px; }
.contacto-intro { text-align: center; color: #4d5a49; font-size: 1.06rem; max-width: 780px; margin: 0 auto 36px; }

.contacto-caja {
  max-width: 860px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f7f5ef, #eef0e4);
  border-radius: 26px;
  padding: 34px;
  box-shadow: 0 14px 36px rgba(39,55,34,.12);
  border: 1px solid rgba(47,79,47,.12);
}

.contacto-dato {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(47,79,47,.14);
  color: #34402f;
}

.contacto-dato:last-child { border-bottom: none; }
.contacto-dato span { color: #2f4f2f; font-weight: 700; }
.contacto-dato p { margin: 0; }
.contacto a { color: #2f4f2f; font-weight: 700; }
.contacto a:hover { text-decoration: underline; }

.mapa-seccion {
  padding: 74px 0 88px;
  background: linear-gradient(135deg, #f7f5ef, #eef0e4);
}

.mapa-seccion h2 {
  text-align: center;
  margin-bottom: 14px;
}

.mapa-intro {
  text-align: center;
  color: #4d5a49;
  font-size: 1.06rem;
  margin: 0 auto 34px;
  max-width: 780px;
}

.mapa-contenedor {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(39,55,34,.15);
  border: 1px solid rgba(47,79,47,.12);
  background-color: #ffffff;
}

.mapa-contenedor iframe {
  width: 100% !important;
  height: 450px;
  display: block;
}

.pie {
  background: linear-gradient(135deg, #263b23, #526d34);
  color: #ffffff;
  padding: 34px 0;
}

.pie-contenido { text-align: center; }
.pie p { font-size: .94rem; margin-bottom: 12px; color: rgba(255,255,255,.9); }

.pie-enlaces {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.pie-enlaces a { color: #ffffff; font-weight: 600; font-size: .94rem; }
.pie-enlaces a:hover { text-decoration: underline; }

@media (max-width: 980px) {
  .cabecera-contenido { flex-direction: column; padding: 18px 0; gap: 16px; }
  .menu-principal { width: 100%; }
  .menu-principal ul { justify-content: center; flex-wrap: wrap; }
  .grid-servicios { grid-template-columns: repeat(2, 1fr); }
  .bloque-quienes { grid-template-columns: 1fr; }
  .hero { height: 370px; }
}

@media (max-width: 680px) {
  .logo { max-height: 27px; }
  .menu-principal { padding: 10px; border-radius: 16px; }
  .menu-principal ul { gap: 4px; }
  .menu-principal a { font-size: .88rem; padding: 8px 10px; }
  .hero { height: 320px; }
  .hero-texto h1 { font-size: 2.45rem; }
  .hero-texto p { font-size: 1rem; }
  .intro, .servicios, .quienes-somos, .contacto, .mapa-seccion { padding-top: 62px; padding-bottom: 62px; }
  .grid-servicios { grid-template-columns: 1fr; }
  .tarjeta-servicio img { height: 210px; }
  .contacto-caja { padding: 24px; }
  .contacto-dato { grid-template-columns: 1fr; gap: 4px; }
  .mapa-contenedor iframe { height: 360px; }
}

@media (max-width: 420px) {
  .hero { height: 290px; }
  .hero-texto h1 { font-size: 2.1rem; }
  .hero-texto p { font-size: .95rem; }
  .tarjeta-contenido { padding: 22px; }
  .mapa-contenedor iframe { height: 320px; }
}
