/* Suelos Sanos: same palette and fonts as the original Divi site, cleaner layout. */
:root {
  --crema: #fcfaf7;
  --blanco: #fff;
  --cafe: #8e390b;
  --marino: #002855;
  --verde: #003f01;
  --verde-claro: #4b8a2c;
  --texto: #4a4a4a;
  --suave: #6b6b6b;
  --borde: #e8e1d6;
  --radio: 14px;
  --reservas-acento: #4b8a2c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--blanco); color: var(--texto); font: 17px/1.7 "Open Sans", Arial, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--verde-claro); }
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; line-height: 1.15; margin: 0 0 .6em; }
h1 { color: var(--cafe); font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; }
h2 { color: var(--marino); font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { color: var(--cafe); font-size: 1.45rem; font-weight: 700; }
p { margin: 0 0 1em; }
.ancho { width: min(1120px, 100% - 32px); margin-inline: auto; }
.centro { text-align: center; }
.intro { max-width: 46rem; margin: 0 auto 2.5rem; color: var(--suave); }
.nota { font-size: .92rem; color: var(--suave); }
.grande { font-size: 1.15rem; }
.saltar { position: absolute; left: -999px; }
.saltar:focus { left: 16px; top: 16px; background: var(--blanco); padding: .5rem 1rem; z-index: 99; }

.boton { display: inline-block; background: var(--verde-claro); color: #fff; text-decoration: none; font-weight: 600; padding: .85rem 1.5rem; border-radius: 999px; transition: background .2s, transform .2s; }
.boton:hover { background: var(--verde); transform: translateY(-1px); }
.boton-chico { padding: .5rem 1.1rem; font-size: .92rem; }
.enlace { font-weight: 600; text-decoration: none; }
.enlace:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--cafe); outline-offset: 3px; }

/* Header */
.barra { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--borde); }
.barra-in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.logo img { width: 160px; }
.menu { display: flex; align-items: center; gap: 1.6rem; }
.menu a:not(.boton) { color: var(--verde); text-decoration: none; font-weight: 600; font-size: .95rem; }
.menu a:not(.boton):hover { color: var(--verde-claro); }
.menu-abrir, .menu-boton { display: none; }

/* Hero */
.portada { background: var(--crema); padding: 4rem 0 3rem; overflow: hidden; }
.portada-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.portada-img { max-height: 520px; width: auto; justify-self: center; }
.antetitulo { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--verde-claro); }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin: 1.8rem 0 2.2rem; }
.datos { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1rem 2rem; font-size: .92rem; color: var(--suave); }
.datos strong { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.9rem; color: var(--cafe); line-height: 1; }

/* Sections */
.seccion { padding: 5rem 0; }
.crema { background: var(--crema); }
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
blockquote { margin: 1.5rem 0 0; padding-left: 1.2rem; border-left: 3px solid var(--verde-claro); font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.35rem; color: var(--marino); }
cite { display: block; font: .85rem "Open Sans", sans-serif; color: var(--suave); margin-top: .4rem; }
.tarjetas { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; }
.tres { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tarjeta { background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio); padding: 1.6rem; transition: box-shadow .2s, transform .2s; }
.tarjeta:hover { box-shadow: 0 10px 30px rgba(60, 40, 10, .08); transform: translateY(-2px); }
.tarjeta img { width: 64px; margin-bottom: .8rem; }
.tarjeta p:last-child { margin-bottom: 0; }
.crema .tarjeta { background: var(--blanco); }
.banda { width: 100%; max-height: 220px; object-fit: cover; }
.libro { max-width: 300px; justify-self: center; border-radius: 6px; box-shadow: 0 14px 40px rgba(0,0,0,.15); }

/* Booking */
.reservar { align-items: start; }
.pasos { padding-left: 1.2rem; }
.pasos li { margin-bottom: .4rem; }
.caja { background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio); padding: 1.6rem; box-shadow: 0 10px 30px rgba(60, 40, 10, .06); }

/* Footer: soil strata with microbe specks */
.pie { position: relative; color: #eadfcd; font-size: .95rem; padding: 0 0 2rem; margin-top: 3rem;
  background: radial-gradient(circle at 12% 30%, rgba(190,220,140,.25) 0 2px, transparent 3px) 0 0/90px 70px,
    radial-gradient(circle at 60% 70%, rgba(240,200,140,.2) 0 1.5px, transparent 2.5px) 0 0/60px 55px,
    linear-gradient(#4a2e18, #24150b 70%); }
.pie-capas { position: absolute; top: -79px; left: 0; width: 100%; height: 80px; }
.pie-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem 3rem; padding-top: 3rem; }
.pie img { background: #fcfaf7; padding: .4rem .6rem; border-radius: 8px; margin-bottom: 1rem; }
.pie-lema { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.5rem; line-height: 1.2; color: #fcfaf7; margin-bottom: 1.2rem; }
.pie h2 { font: 600 .75rem "Open Sans", sans-serif; text-transform: uppercase; letter-spacing: .18em; color: #c9b48f; margin: 0 0 .8rem; }
.pie nav { display: flex; flex-direction: column; gap: .5rem; }
.pie a:not(.boton) { color: #fcfaf7; text-decoration: none; }
.pie a:not(.boton):hover { color: #cfe6a8; }
.credito { grid-column: 1 / -1; display: flex; align-items: center; gap: .5rem; border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.4rem; margin: 1rem 0 0; font-size: .85rem; color: #c9b48f; }
.credito svg { width: 20px; height: 20px; flex: none; fill: none; stroke: #f2c14e; stroke-width: 1.8; stroke-linecap: round; }
.credito a { text-decoration: underline !important; }

/* Contact page */
.contacto { padding: 4rem 0 5rem; background: var(--crema); }
.contacto .caja iframe { width: 100%; min-height: 620px; border: 0; }

@media (max-width: 860px) {
  .menu-boton { display: block; width: 44px; height: 44px; cursor: pointer; position: relative; }
  .menu-boton span, .menu-boton span::before, .menu-boton span::after { position: absolute; left: 10px; width: 24px; height: 2px; background: var(--verde); content: ""; }
  .menu-boton span { top: 21px; }
  .menu-boton span::before { top: -7px; left: 0; }
  .menu-boton span::after { top: 7px; left: 0; }
  .menu { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--blanco); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 16px 1rem; border-bottom: 1px solid var(--borde); }
  .menu a:not(.boton) { padding: .75rem 0; border-bottom: 1px solid var(--borde); }
  .menu .boton { margin-top: .8rem; text-align: center; }
  .menu-abrir:checked ~ .menu { display: flex; }
  .portada { padding: 2.5rem 0; }
  .portada-in, .dos, .pie-in { grid-template-columns: 1fr; }
  .pie-capas { height: 50px; top: -49px; }
  .portada-img { max-height: 280px; order: -1; }
  .seccion { padding: 3.5rem 0; }
  .dos { gap: 2rem; }
  .dos > img:first-child { max-height: 260px; width: auto; justify-self: center; }
}

/* Inner pages: animated soil header (escena.js) and icons */
.escena { position: relative; min-height: 46vh; display: grid; place-items: center; text-align: center; color: #fcfaf7; overflow: hidden; padding: 4rem 16px; }
.escena canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.escena > div { position: relative; max-width: 40rem; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.escena h1 { color: #fcfaf7; }
.escena p { font-size: 1.1rem; opacity: .9; margin: 0; }
.escena .capa { text-transform: uppercase; letter-spacing: .2em; font-size: .75rem; opacity: .75; margin-bottom: .8rem; }
.icono { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1rem; background: #eef4e6; color: var(--verde-claro); }
.icono svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icono.cafe { background: #f6eadf; color: var(--cafe); }
.pasos-iconos { list-style: none; padding: 0; display: grid; gap: 1rem; margin: 1.5rem 0; }
.pasos-iconos li { display: flex; gap: 1rem; align-items: center; }
.pasos-iconos .icono { margin: 0; flex: none; }
.croma-chica { width: 120px; aspect-ratio: 1; border-radius: 50%; margin-bottom: 1.2rem;
  background: radial-gradient(circle, #f6efe2 0 12%, #c98d4b 13% 22%, transparent 23%), repeating-conic-gradient(#7a4a22 0 4deg, #a86f37 4deg 7deg);
  -webkit-mask: radial-gradient(circle, #000 68%, transparent 70%); mask: radial-gradient(circle, #000 68%, transparent 70%); animation: girar 60s linear infinite; }
@keyframes girar { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) { .croma-chica { animation: none; } }
/* Servicios banner: landscape with sky behind the text, so the text goes dark */
.escena[data-tema="raices"] > div { color: #2a3b1a; text-shadow: 0 1px 12px rgba(255,255,255,.85); }
.escena[data-tema="raices"] h1 { color: var(--cafe); }
