:root {
  --bg: #ffffff;
  --band: #f5f1ec;
  --ink: #3c3b38;
  --muted: #6f6e6c;
  --line: #e3ddd6;
  --wood: #8e5f36;
  --wood-dark: #6b4526;
  --beige: #c4b6a9;
  --dark: #2f2e2b;
  --focus: #1f6feb;
  --wrap: 1140px;
  --head: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16.5px/1.7 "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  padding-bottom: 60px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wood); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--head); line-height: 1.25; color: var(--dark); margin: 0 0 .6em; }
h1 { font-size: clamp(1.7rem, 4vw, 2.7rem); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
h2 { font-size: clamp(1.35rem, 2.8vw, 1.9rem); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: .02em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Cabecera */
.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top-in { display: flex; align-items: center; gap: 12px 24px; min-height: 76px; }
.brand img { width: 104px; height: auto; }
.top nav { flex: 1; min-width: 0; }
.top nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px 16px; flex-wrap: wrap; justify-content: center; }
.top nav a { text-decoration: none; color: var(--ink); font-family: var(--head); font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 6px 0; display: inline-block; border-bottom: 2px solid transparent; }
.top nav a:hover { color: var(--wood); border-bottom-color: var(--wood); }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--ink); }
.social a:hover { color: var(--wood); }
.social svg { width: 20px; height: 20px; fill: currentColor; }

/* Botones */
.btn {
  display: inline-block; background: var(--wood); color: #fff !important; text-decoration: none;
  padding: 12px 24px; font-family: var(--head); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em;
  border: 2px solid var(--wood); cursor: pointer;
}
.btn:hover { background: var(--wood-dark); border-color: var(--wood-dark); }
.btn-outline { background: transparent; color: var(--dark) !important; border-color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: #fff !important; border-color: var(--dark); }
.btn-light { background: #fff; color: var(--dark) !important; border-color: #fff; }
.btn-light:hover { background: var(--band); border-color: var(--band); }
.btn-outline-light { background: transparent; color: #fff !important; border-color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.4em 0 0; }

/* Secciones */
section { padding: 72px 0; }
.band { background: var(--band); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.sec-head h2::after { content: ""; display: block; width: 56px; height: 2px; background: var(--wood); margin: 16px auto 0; }
.kicker { font-family: var(--head); text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 600; color: var(--wood); margin-bottom: .5em; }
.intro { color: var(--muted); font-size: 1.05rem; }
#quienes-somos .sec-head { text-align: left; margin: 0 0 24px; }
#quienes-somos .sec-head h2::after { margin-left: 0; }

/* Portada */
.hero { padding: 0 0 56px; text-align: center; }
.hero-img { height: clamp(240px, 46vw, 560px); background: #8e735c var(--hero) center 60% / cover no-repeat; }
.hero-text { max-width: 900px; padding-top: 44px; }
.hero .lead { font-size: 1.1rem; color: var(--muted); max-width: 46em; margin: 0 auto; }
.hero .actions { justify-content: center; }
.lead { font-size: 1.08rem; }

.two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.two-eq { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.facts li { background: #fff; padding: 22px 18px; text-align: center; }
.facts strong { display: block; font-family: var(--head); text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; color: var(--dark); }
.facts span { color: var(--muted); font-size: .92rem; }

.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.svc { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.svc img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.svc-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { text-transform: uppercase; letter-spacing: .05em; }
.svc-body p { color: var(--muted); }
.svc-links { margin: auto 0 0; display: flex; flex-direction: column; gap: 4px; }
.svc-links a, .more { font-family: var(--head); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.svc-links a::after, .more::after { content: " →"; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 24px; counter-reset: paso; }
.steps li { counter-increment: paso; border-top: 2px solid var(--wood); padding-top: 16px; }
.steps li::before { content: "0" counter(paso); font-family: var(--head); font-weight: 700; font-size: 1.6rem; color: var(--beige); display: block; margin-bottom: 6px; }
.steps p { color: var(--muted); }

.zone { background: #fff; border: 1px solid var(--line); padding: 26px; }
.zone h3 a { color: var(--dark); text-decoration: none; text-transform: uppercase; letter-spacing: .05em; }
.pills { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 5px 12px; border: 1px solid var(--line); background: #fff; font-size: .9rem; }
.band .pills li { background: #fff; }
.pills.links li { padding: 0; }
.pills.links a { display: inline-block; padding: 6px 14px; text-decoration: none; color: var(--ink); }
.pills.links a:hover { color: var(--wood); }

.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 24px; }
.q { text-align: center; padding: 26px 18px; border: 1px solid var(--line); }
.q h3 { text-transform: uppercase; letter-spacing: .05em; font-size: .95rem; }
.q h3::before { content: ""; display: block; width: 36px; height: 36px; margin: 0 auto 14px; border: 2px solid var(--wood); border-radius: 50%; background: radial-gradient(circle, var(--wood) 0 5px, transparent 6px); }
.q p { color: var(--muted); margin: 0; }

.gallery { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); gap: 10px; }
.gallery a { display: block; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }

.card { background: #fff; border: 1px solid var(--line); padding: 26px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { margin: .45em 0; }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { padding-left: 28px; position: relative; margin: .5em 0; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--wood); border-bottom: 2px solid var(--wood); transform: rotate(-45deg); }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; color: var(--dark); }
.faq details p { color: var(--muted); }

/* Páginas interiores */
.page-head { background: var(--band); padding: 48px 0; }
.page-head h1 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
.page-img { width: 100%; aspect-ratio: 9 / 7; object-fit: cover; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1em; }
.crumbs a { color: var(--muted); }

.cta { background: var(--dark); color: #e9e4de; text-align: center; }
.cta h2 { color: #fff; }
.cta .actions { justify-content: center; }

/* Formulario */
.wf-field { margin: 0 0 16px; }
.wf-field label { display: block; font-weight: 600; margin-bottom: 6px; }
.wf-req { color: #a33; margin-left: 2px; }
.wf-field input, .wf-field select, .wf-field textarea {
  width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #cfc7bd; border-radius: 0; background: #fff; color: var(--ink);
}
.wf-field textarea { min-height: 120px; resize: vertical; }
.wf-field [aria-invalid="true"] { border-color: #b3261e; }
.wf-help { font-size: .9rem; color: var(--muted); margin: 4px 0 0; }
.wf-err { color: #b3261e; font-size: .92rem; margin: 6px 0 0; min-height: 0; }
.wf-form-err { color: #b3261e; font-weight: 600; }
.wf-other { margin-top: 8px; }
.wf-ok { background: #eef6ec; border: 1px solid #b9d8b2; padding: 18px; }

/* Pie */
.foot { background: var(--dark); color: #cfc9c2; padding: 52px 0 0; }
.foot a { color: #fff; }
.foot .social a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; }
.foot ul { list-style: none; padding: 0; margin: 0 0 1em; }
.foot li { margin: .3em 0; }
.foot-brand, .foot-h { font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; color: #fff; font-weight: 600; }
.foot-legal { border-top: 1px solid #4a4844; margin-top: 24px; padding: 16px; font-size: .85rem; }

.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--wood); border-top: 1px solid var(--wood-dark);
}
.callbar a { color: #fff; text-decoration: none; text-align: center; padding: 12px 4px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px; }
.callbar a + a { border-left: 1px solid rgba(255, 255, 255, .2); }
.callbar svg { width: 18px; height: 18px; fill: currentColor; }

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .callbar { display: none; }
}
@media (max-width: 980px) {
  .top-in { flex-wrap: wrap; justify-content: space-between; padding-top: 8px; }
  .top nav { order: 3; flex-basis: 100%; }
  .top nav ul { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; gap: 18px; padding-bottom: 6px; scrollbar-width: none; }
  .top nav li { flex: none; }
}
@media (max-width: 860px) {
  .top { position: static; }
  html { scroll-padding-top: 0; }
  .two, .two-eq, .foot-grid { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .hero { padding-bottom: 44px; }
  .brand img { width: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery img { transition: none; }
}.faq summary h3 { display: inline; font-family: inherit; font-size: 1rem; font-weight: 600; letter-spacing: 0; text-transform: none; margin: 0; color: inherit; }
.center-actions, .center-pills { justify-content: center; }
.center-pills { margin-top: 16px; }
.gallery-home { grid-template-columns: repeat(auto-fill, minmax(min(46%, 170px), 1fr)); }

@media (min-width: 700px) { .gallery-home { grid-template-columns: repeat(4, 1fr); } }
