* { box-sizing: border-box; }
:root {
  color-scheme: light;
  --dark: #19382e;
  --ink: #21392f;
  --cream: #fbf6eb;
  --aqua: #e0eee5;
  --mint: #c8e7c1;
  --gold: #f5d497;
  --line: #78938470;
}
body { margin: 0; color: var(--ink); background: var(--cream); font: 1rem/1.6 system-ui, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .18em; }
:focus-visible { outline: 3px solid #a35416; outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: .5rem; transform: translateY(-150%); background: var(--cream); padding: .5rem 1rem; z-index: 2; }
.skip:focus { transform: none; }
.site-header { background: var(--cream); }
.header-inner, .brand, nav { display: flex; align-items: center; }
.header-inner { justify-content: space-between; gap: 1.5rem; min-height: 76px; padding-block: .75rem; }
.brand { gap: .8rem; text-decoration: none; line-height: 1.25; }
.brand strong { font: 700 1.38rem/1 Georgia, serif; white-space: nowrap; }
.brand span { font-size: .78rem; border-left: 1px solid var(--line); padding-left: .8rem; }
nav { gap: 1.25rem; font-size: .85rem; font-weight: 650; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(430px, 43vw, 650px); background: #22261d; }
.hero picture, .hero img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero picture { z-index: -2; }
.hero img { object-fit: cover; object-position: 50% 52%; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(0deg, #151c15f5, #151c1570 63%, #151c1525); }
.hero-inner { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding-block: 4rem 3.5rem; }
h1, h2, .contact h3 { font-family: Georgia, serif; line-height: 1.05; letter-spacing: -.035em; margin: 0; }
h1 { max-width: 780px; font-size: clamp(2.7rem, 6.5vw, 6.2rem); color: var(--gold); }
.hero p { color: var(--cream); font-size: clamp(1rem, 2.1vw, 1.32rem); margin: 1.2rem 0 0; max-width: 34em; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 4px; min-height: 48px; padding: .7rem 1.15rem; color: var(--dark); background: var(--mint); font: inherit; font-weight: 750; text-align: center; text-decoration: none; cursor: pointer; }
.button:hover { background: #d7eed1; }
.hero .button { flex-shrink: 0; }
.hero a:focus-visible { outline-color: var(--cream); }
.trust { text-align: center; margin: 0; padding: .52rem 1rem; background: var(--dark); color: var(--cream); font-size: .79rem; }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.cream { background: var(--cream); }
.aqua { background: var(--aqua); }
.columns { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(2rem, 7vw, 6rem); align-items: start; }
h2 { font-size: clamp(2.15rem, 4.5vw, 4rem); }
.columns > div > p { max-width: 44ch; }
.accordion { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem .2rem; font-weight: 750; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+" / ""; font-size: 1.3rem; flex: none; line-height: 1; }
details[open] > summary::after { content: "−" / ""; }
summary:hover { text-decoration: underline; text-underline-offset: .2em; }
summary small { display: block; margin-top: .15rem; font-size: .8rem; font-weight: 600; }
.detail { padding: 0 .25rem .9rem; }
.detail > :first-child { margin-top: 0; }
.detail > :last-child { margin-bottom: 0; }
.detail h3 { font-size: 1rem; margin-bottom: .3rem; }
.detail ul, .detail ol { padding-left: 1.45rem; }
.detail li + li { margin-top: .25rem; }
.contact { margin-top: clamp(2.5rem, 6vw, 5rem); padding: clamp(1.1rem, 4vw, 3rem); background: var(--aqua); border-radius: 6px; }
.contact h3 { font-size: clamp(1.95rem, 3.5vw, 3rem); }
address { font-style: normal; margin-top: 1.4rem; overflow-wrap: anywhere; }
.form-card { background: var(--cream); padding: clamp(1rem, 3vw, 1.8rem); border-radius: 4px; }
.form-card h4 { font: 700 1.45rem/1.2 Georgia, serif; margin: 0; }
.note { font-size: .9rem; }
form { display: grid; gap: .4rem; }
label { font-size: .9rem; font-weight: 700; }
input, select, textarea { width: 100%; min-height: 44px; padding: .55rem .65rem; margin-bottom: .5rem; border: 1px solid #708579; border-radius: 4px; font: inherit; color: var(--ink); background: #fffdf8; }
textarea { resize: vertical; }
.dark { color: var(--cream); background: var(--dark); }
.dark:hover { background: #285244; }
.privacy { margin-top: .8rem; font-size: .9rem; }
footer { padding: 1.15rem 0; background: var(--dark); color: var(--cream); font-size: .82rem; }
footer span { margin-inline: .3em; }
@media (max-width: 850px) {
  .header-inner { flex-wrap: wrap; gap: .65rem; }
  .columns { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 2rem); }
  .brand { gap: .55rem; }
  .brand strong { font-size: 1.15rem; }
  .brand span { padding-left: .55rem; font-size: .73rem; }
  .hero { min-height: auto; aspect-ratio: 4 / 5; }
  .hero-inner { display: grid; justify-items: start; gap: 1.15rem; padding-block: 2.1rem 1.65rem; }
  h1 { font-size: clamp(2.4rem, 9vw, 4rem); }
  .hero p { margin-top: .75rem; }
}

/* Formulario: envío directo y confirmación */
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.opcional { font-weight: 400; }
.button[disabled] { opacity: .75; cursor: progress; }
.spinner { display: none; width: 1.1em; height: 1.1em; margin-left: .6em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: girar .7s linear infinite; }
.cargando .spinner { display: inline-block; }
@keyframes girar { to { transform: rotate(360deg); } }
.legal { margin: .3rem 0 0; }
.error-envio { margin: .4rem 0 0; padding: .6rem .75rem; border-radius: 4px; background: #fbe4d6; color: #6b2c08; font-size: .9rem; }
.exito { position: relative; display: grid; place-items: center; min-height: 340px; text-align: center; overflow: hidden; }
.exito[hidden] { display: none !important; }
.confeti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.exito-inner { position: relative; max-width: 26ch; animation: aparecer .5s ease-out both; }
.exito-icono { width: 64px; height: 64px; color: #2f7a4f; }
.exito h4 { font: 700 1.6rem/1.2 Georgia, serif; margin: .6rem 0 .4rem; }
.exito h4:focus { outline: none; }
.exito p { margin: 0; }
@keyframes aparecer { from { opacity: 0; transform: scale(.92); } }
@media (prefers-reduced-motion: reduce) { .exito-inner, .spinner { animation: none; } }
