/* La Herminia Eventos: quinta en el campo. Crema, verde campo, madera y un toque de atardecer. */
:root {
  --crema: #f7f0e3; --crema2: #efe4d0; --papel: #fffaf1;
  --verde: #3d5a3a; --verde2: #2b4229; --verde-cl: #6f8f5f;
  --madera: #8a5a35; --terra: #c0703f; --sol: #e9b45f;
  --tinta: #2b2620; --suave: #6b6156; --linea: rgba(61, 90, 58, .18);
  --sombra: 0 18px 40px -22px rgba(43, 38, 32, .45);
  --r: 18px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Caveat", "Segoe Script", cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--crema); color: var(--tinta); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 em, h1 em { font-style: italic; color: var(--terra); font-weight: 500; }
p { margin: 0 0 1em; }
.lh-wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.lh-c { text-align: center; }
.lh-sec { padding: 84px 0; }
.lh-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 800 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--verde); margin-bottom: 14px; }
.lh-eyebrow.lh-c { display: flex; justify-content: center; }
.lh-eyebrow.lh-claro { color: var(--sol); }
.lh-hoja { width: 16px; height: 16px; color: var(--verde-cl); }
.lh-h2 { font-size: clamp(30px, 5vw, 46px); }
.lh-sub { color: var(--suave); max-width: 640px; margin-inline: auto; }
.lh-script { font: 600 30px/1 var(--script); color: var(--terra); margin-bottom: 6px; }
.lh-link { font-weight: 800; color: var(--verde); text-decoration: none; border-bottom: 2px solid var(--sol); }
.lh-aviso, .lh-nota, .lh-mini { font-size: 14px; color: var(--suave); }
.lh-aviso { text-align: center; margin-top: 26px; }

/* Botones */
.lh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--verde); color: #fff; font: 800 16px/1 var(--sans); text-decoration: none; cursor: pointer; box-shadow: 0 10px 24px -12px rgba(43, 66, 41, .8); transition: transform .2s, background .2s; }
.lh-btn:hover { transform: translateY(-2px); background: var(--verde2); }
.lh-btn svg { width: 22px; height: 22px; }
.lh-btn-claro { background: var(--papel); color: var(--verde2); box-shadow: none; }
.lh-btn-claro:hover { background: #fff; }
.lh-btn-borde { background: transparent; color: var(--verde); border: 2px solid var(--verde); box-shadow: none; }
.lh-btn-borde:hover { background: var(--verde); color: #fff; }
.lh-btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }

/* Cabecera */
.lh-top { position: sticky; top: 0; z-index: 30; background: rgba(247, 240, 227, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--linea); }
.lh-top .lh-wrap { display: flex; align-items: center; gap: 20px; height: 66px; }
.lh-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lh-mono { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--verde); color: var(--crema); font: 600 22px/1 var(--serif); box-shadow: inset 0 0 0 2px var(--sol); }
.lh-logo-t { display: flex; flex-direction: column; line-height: 1.05; }
.lh-logo-t b { font: 600 20px/1 var(--serif); color: var(--verde2); }
.lh-logo-t small { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--suave); font-weight: 700; margin-top: 3px; }
.lh-nav { display: flex; gap: 22px; margin-left: auto; }
.lh-nav a { text-decoration: none; font-weight: 700; font-size: 15px; color: var(--suave); }
.lh-nav a:hover { color: var(--verde); }

/* Portada */
.lh-hero { position: relative; padding: 56px 0 40px; overflow: hidden; isolation: isolate; }
.lh-hero-bg { position: absolute; inset: 0; z-index: -1; }
.lh-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; opacity: .32; filter: saturate(1.1); }
.lh-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(247, 240, 227, .55), var(--crema) 92%); }
.lh-hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.lh-hero h1 { font-size: clamp(40px, 6.6vw, 70px); color: var(--verde2); }
.lh-lead { font-size: 19px; color: #4a4239; max-width: 520px; }
.lh-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 18px; }
.lh-rating { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--suave); }
.lh-rating b { color: var(--sol); letter-spacing: 2px; }
.lh-marco { margin: 0; position: relative; justify-self: center; width: min(440px, 100%); }
.lh-marco img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 220px 220px var(--r) var(--r); border: 8px solid var(--papel); box-shadow: var(--sombra); animation: lh-mece 9s ease-in-out infinite; }
.lh-marco figcaption { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); white-space: nowrap; background: var(--verde); color: var(--crema); font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 999px; }
@keyframes lh-mece { 0%, 100% { transform: rotate(-1deg); } 50% { transform: rotate(1.2deg) translateY(-6px); } }
.lh-datos-hero { list-style: none; padding: 0; margin-top: 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lh-datos-hero li { background: var(--papel); border: 1px solid var(--linea); border-radius: var(--r); padding: 14px 16px; font-size: 14.5px; color: var(--suave); }
.lh-datos-hero b { display: block; font: 600 22px/1.1 var(--serif); color: var(--verde2); }

/* Eventos */
.lh-evs { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lh-ev { background: var(--papel); border: 1px solid var(--linea); border-radius: var(--r); padding: 24px; transition: transform .25s, box-shadow .25s; }
.lh-ev:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.lh-ev span { font-size: 30px; display: block; margin-bottom: 10px; }
.lh-ev h3 { font-size: 21px; color: var(--verde2); }
.lh-ev p { color: var(--suave); font-size: 15.5px; margin: 0; }

/* La quinta */
.lh-quinta { background: var(--papel); border-block: 1px solid var(--linea); }
.lh-lugs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 36px; }
.lh-lug figure { margin: 0 0 16px; position: relative; overflow: hidden; border-radius: var(--r); }
.lh-lug img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s; }
.lh-lug:hover img { transform: scale(1.04); }
.lh-lug figcaption, .lh-cat figcaption { position: absolute; right: 10px; bottom: 10px; background: rgba(43, 38, 32, .6); color: #fff; font-size: 11.5px; padding: 4px 9px; border-radius: 999px; }
.lh-lug h3 { font-size: 23px; color: var(--verde2); }
.lh-lug p { color: var(--suave); margin: 0; }

/* Catering */
.lh-cat-head { text-align: center; max-width: 680px; margin: 0 auto 34px; }
.lh-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lh-cat { background: var(--papel); border-radius: var(--r); padding: 10px 10px 18px; border: 1px solid var(--linea); }
.lh-cat figure { margin: 0 0 12px; position: relative; overflow: hidden; border-radius: 12px; }
.lh-cat img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.lh-cat h3 { font-size: 18.5px; padding: 0 6px; color: var(--verde2); }
.lh-cat p { font-size: 14.5px; color: var(--suave); padding: 0 6px; margin: 0; }

/* Precios */
.lh-precios { background: linear-gradient(180deg, var(--crema2), var(--crema)); }
.lh-precios-in { display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: center; }
.lh-incluye { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lh-incluye li { display: flex; gap: 10px; align-items: center; background: var(--papel); border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: 15px; }
.lh-incluye span { font-size: 20px; }
.lh-calc { background: var(--verde2); color: var(--crema); border-radius: 26px; padding: 26px; box-shadow: var(--sombra); }
.lh-calc-t { font: 600 24px/1.1 var(--serif); margin-bottom: 16px; }
.lh-seg { display: flex; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 4px; margin-bottom: 10px; }
.lh-seg button { flex: 1; min-height: 42px; border: 0; border-radius: 999px; background: transparent; color: var(--crema); font: 700 14.5px/1.1 var(--sans); cursor: pointer; padding: 0 8px; }
.lh-seg button.on { background: var(--crema); color: var(--verde2); }
.lh-horas { display: flex; align-items: center; gap: 12px; }
.lh-horas > span { font-weight: 700; font-size: 15px; }
.lh-seg-h { flex: 1; margin: 0; }
.lh-total { margin: 18px 0; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .07); text-align: center; }
.lh-por { display: block; font-size: 14px; opacity: .85; }
.lh-monto { display: block; font: 600 44px/1.1 var(--serif); color: var(--sol); transition: transform .25s; }
.lh-monto.pop { transform: scale(1.08); }
.lh-calc-cta { width: 100%; background: var(--sol); color: var(--verde2); }
.lh-calc-cta:hover { background: #f1c477; }
.lh-calc .lh-nota { color: rgba(247, 240, 227, .7); margin: 12px 0 0; text-align: center; }

/* Presupuesto con la mesa 3D */
.lh-pres { background: var(--verde2); color: var(--crema); }
.lh-pres .lh-h2 em { color: var(--sol); }
.lh-pres .lh-sub { color: rgba(247, 240, 227, .78); }
.lh-pres-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; margin-top: 34px; align-items: start; }
.lh-mesa3d { position: relative; height: 470px; border-radius: 26px; overflow: hidden; touch-action: pan-y; cursor: grab;
  background: radial-gradient(120% 90% at 50% 10%, #f3d9a6 0%, #d99a5e 38%, #5b6e44 72%, #33492f 100%); }
.lh-mesa3d canvas { width: 100%; height: 100%; display: block; }
.lh-mesa3d.sin3d { background: url(/assets/img/mesa-cumple.webp) center / cover; }
.lh-mesa-n { position: absolute; top: 18px; left: 20px; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); pointer-events: none; }
.lh-mesa-n b { display: block; font: 600 54px/1 var(--serif); }
.lh-mesa-n span { font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 12.5px; }
.lh-mesa-btns { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 6px; background: rgba(43, 66, 41, .78); padding: 6px; border-radius: 999px; backdrop-filter: blur(6px); }
.lh-mesa-btns button { width: 52px; height: 42px; border-radius: 999px; border: 0; background: transparent; color: var(--crema); font: 800 16px/1 var(--sans); cursor: pointer; }
.lh-mesa-btns button.on { background: var(--sol); color: var(--verde2); }
.lh-form { background: var(--papel); color: var(--tinta); border-radius: 26px; padding: 24px; }
.lh-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lh-field { display: block; margin-bottom: 12px; }
.lh-field span { display: block; font-weight: 800; font-size: 13.5px; margin-bottom: 5px; color: var(--verde2); }
.lh-field input, .lh-field select, .lh-field textarea { width: 100%; min-height: 48px; border: 1.5px solid var(--linea); border-radius: 12px; background: #fff; padding: 10px 12px; font: 16px var(--sans); color: var(--tinta); }
.lh-field textarea { resize: vertical; }
.lh-field :focus { outline: 2px solid var(--verde-cl); border-color: transparent; }
.lh-send { width: 100%; min-height: 56px; border: 0; border-radius: 999px; background: #25a244; color: #fff; font: 800 16.5px/1 var(--sans); display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; margin-top: 6px; }
.lh-send svg { width: 22px; height: 22px; }
.lh-form .lh-nota { text-align: center; margin: 10px 0 0; }

/* Galería */
.lh-gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 12px; margin: 34px 0 24px; }
.lh-gi { padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--crema2); }
.lh-gi img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.lh-gi:hover img { transform: scale(1.05); }
.lh-gi.alta { grid-row: span 2; }
.lh-gi.ancha { grid-column: span 2; }
.lh-lb { position: fixed; inset: 0; z-index: 60; background: rgba(20, 18, 14, .92); display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 20px; }
.lh-lb[hidden] { display: none; }
.lh-lb img { max-height: 80vh; max-width: 100%; border-radius: 10px; }
.lh-lb p { color: #fff; margin-top: 12px; text-align: center; }
.lh-lb button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; cursor: pointer; }
.lh-lb-x { top: 16px; right: 16px; } .lh-lb-a { left: 12px; top: 50%; } .lh-lb-s { right: 12px; top: 50%; }

/* Opiniones */
.lh-opis { background: var(--papel); border-block: 1px solid var(--linea); }
.lh-opi-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.lh-nota-g { display: flex; align-items: center; gap: 12px; text-decoration: none; background: var(--crema); border-radius: 16px; padding: 12px 18px; }
.lh-nota-g b { font: 600 40px/1 var(--serif); color: var(--verde2); }
.lh-nota-g span { font-size: 14px; color: var(--suave); }
.lh-nota-g i { display: block; font-style: normal; color: var(--sol); letter-spacing: 2px; }
.lh-temas { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--suave); font-size: 15px; margin: 18px 0 26px; }
.lh-temas span { background: var(--crema2); color: var(--verde2); font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.lh-ops { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 24px; }
.lh-op { margin: 0; background: var(--crema); border-radius: var(--r); padding: 22px 24px; border-left: 4px solid var(--sol); }
.lh-op p { font: 500 italic 18px/1.5 var(--serif); }
.lh-op cite { font-style: normal; font-weight: 800; font-size: 14px; color: var(--verde); }

/* Ubicación */
.lh-ubi { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.lh-ubi-l { list-style: none; padding: 0; margin: 0 0 24px; }
.lh-ubi-l li { padding: 10px 0; border-bottom: 1px solid var(--linea); display: flex; gap: 14px; flex-wrap: wrap; }
.lh-ubi-l b { min-width: 92px; color: var(--verde2); }
.lh-mapa { display: block; border-radius: 22px; overflow: hidden; height: 380px; box-shadow: var(--sombra); }
.lh-mapa iframe { width: 100%; height: 100%; border: 0; pointer-events: none; }

/* Preguntas */
.lh-faq { max-width: 800px; margin: 30px auto 0; }
.lh-faq details { background: var(--papel); border: 1px solid var(--linea); border-radius: 14px; margin-bottom: 10px; }
.lh-faq summary { cursor: pointer; padding: 16px 20px; font-weight: 800; list-style: none; position: relative; padding-right: 44px; }
.lh-faq summary::-webkit-details-marker { display: none; }
.lh-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--terra); }
.lh-faq details[open] summary::after { content: "–"; }
.lh-faq details p { padding: 0 20px 16px; margin: 0; color: var(--suave); }

/* Cierre y pie */
.lh-end { position: relative; padding: 110px 0; text-align: center; color: #fff; isolation: isolate; overflow: hidden; }
.lh-end-bg { position: absolute; inset: 0; z-index: -1; }
.lh-end-bg img { width: 100%; height: 100%; object-fit: cover; }
.lh-end-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43, 66, 41, .55), rgba(43, 38, 32, .75)); }
.lh-end h2 { font-size: clamp(34px, 6vw, 56px); }
.lh-end h2 em { color: var(--sol); }
.lh-end .lh-script { color: var(--sol); }
.lh-foot { background: var(--verde2); color: rgba(247, 240, 227, .8); padding: 30px 0 100px; font-size: 14.5px; }
.lh-foot p { margin: 0 0 6px; }
.lh-foot-m { font-size: 12.5px; opacity: .7; }
.lh-wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .45); }
.lh-wa svg { width: 30px; height: 30px; }
.lh-bar { display: none; }

/* Aparecer al bajar */
.lh-rev { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .7s; }
.lh-rev.vis { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .lh-rev { opacity: 1; transform: none; } .lh-marco img { animation: none; } html { scroll-behavior: auto; } }

/* Tablet */
@media (max-width: 980px) {
  .lh-nav { display: none; }
  .lh-top-cta { margin-left: auto; }
  .lh-hero-in, .lh-precios-in, .lh-pres-in, .lh-ubi { grid-template-columns: 1fr; }
  .lh-evs { grid-template-columns: 1fr 1fr; }
  .lh-cats { grid-template-columns: 1fr 1fr; }
  .lh-gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
}
/* Celular */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .lh-sec { padding: 60px 0; }
  .lh-hero { padding-top: 30px; }
  .lh-hero-in { gap: 34px; }
  .lh-lead { font-size: 17px; }
  .lh-ctas .lh-btn { flex: 1 1 100%; }
  .lh-marco { width: min(320px, 88%); }
  .lh-datos-hero { grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 36px; }
  .lh-datos-hero li { padding: 10px; font-size: 12.5px; }
  .lh-datos-hero b { font-size: 17px; }
  .lh-evs, .lh-lugs, .lh-ops { grid-template-columns: 1fr; }
  .lh-cats { gap: 12px; }
  .lh-cat h3 { font-size: 16.5px; }
  .lh-cat p { font-size: 13.5px; }
  .lh-incluye { gap: 8px; }
  .lh-incluye li { font-size: 13.5px; padding: 9px 10px; gap: 8px; }
  .lh-incluye span { font-size: 17px; }
  .lh-calc { padding: 20px; }
  .lh-mesa3d { height: 380px; }
  .lh-2 { grid-template-columns: 1fr; gap: 0; }
  .lh-form { padding: 18px; }
  .lh-mapa { height: 300px; }
  .lh-gi.ancha { grid-column: span 2; }
  .lh-wa { display: none; }
  .lh-bar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; min-height: 54px; border-radius: 999px; background: #25a244; color: #fff;
    align-items: center; justify-content: center; gap: 10px; font-weight: 800; text-decoration: none; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .5); }
  .lh-bar svg { width: 22px; height: 22px; }
}
