/* Rancho El Alamo — shared styles (light theme, terracotta + sand) */
:root {
  --sand: #f8f2e9;
  --white: #ffffff;
  --ink: #33261d;
  --ink-soft: #6f5f52;
  --terra: #b4502a;
  --terra-deep: #8e3c1e;
  --terra-tint: #f6e4da;
  --gold: #d99a3d;
  --line: #e9ddcd;
  --radius: 16px;
  --shadow: 0 16px 42px -18px rgba(51, 38, 29, 0.3);
  --shadow-sm: 0 2px 8px rgba(51, 38, 29, 0.08);
  --font-display: "Bitter", "Rockwell", Georgia, serif;
  --font-body: "Karla", "Segoe UI", system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { font-family: var(--font-body); background: var(--sand); color: var(--ink); line-height: 1.65; font-size: 1.05rem; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.14; color: var(--ink); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); }
.center { text-align: center; }
.deco { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 14px auto 0; color: var(--gold); }
.deco::before, .deco::after { content: ""; width: 44px; height: 1.5px; background: var(--gold); }
.kicker { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--terra); margin-bottom: 12px; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { max-width: 660px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head p { color: var(--ink-soft); margin-top: 12px; }

.btn { display: inline-block; text-decoration: none; cursor: pointer; font-family: var(--font-body); font-weight: 700; font-size: 0.98rem; padding: 14px 30px; border-radius: 999px; border: 2px solid transparent; transition: all 0.22s ease; }
.btn-solid { background: var(--terra); color: #fff; box-shadow: var(--shadow-sm); }
.btn-solid:hover { background: var(--terra-deep); transform: translateY(-1px); }
.btn-outline { border-color: rgba(255,255,255,0.85); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.16); }
.btn-outline-dark { border-color: var(--terra); color: var(--terra-deep); }
.btn-outline-dark:hover { background: var(--terra-tint); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(248,242,233,0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.wordmark { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.wordmark img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: var(--shadow-sm); }
.wordmark div { display: flex; flex-direction: column; line-height: 1.08; }
.wordmark strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--terra-deep); }
.wordmark span { font-size: 0.64rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--ink-soft); font-size: 0.95rem; font-weight: 700; transition: color 0.2s; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.nav-links a:not(.btn):hover { color: var(--terra); }
.nav-links a.active { color: var(--terra-deep); border-bottom-color: var(--terra); }
.nav .btn { padding: 10px 22px; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* page head */
.page-head { background: linear-gradient(180deg, var(--terra-tint), var(--sand)); border-bottom: 1px solid var(--line); padding: clamp(48px, 7vw, 84px) 0; }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.3rem); }
.page-head p { color: var(--ink-soft); max-width: 580px; margin-top: 12px; }
.crumbs { font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 14px; }
.crumbs a { color: var(--terra-deep); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* hero (home) */
.hero { position: relative; min-height: 78vh; display: flex; align-items: center; justify-content: center; text-align: center; isolation: isolate; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(51,38,29,0.25), rgba(51,38,29,0.62)); }
.hero-inner { color: #fff; max-width: 760px; padding: clamp(56px, 10vw, 120px) 24px; }
.hero-inner .kicker { color: #f3c98a; }
.hero-inner h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.4rem); text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.hero-inner p { margin: 18px auto 30px; color: rgba(255,255,255,0.92); font-size: 1.15rem; max-width: 560px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-frame { position: absolute; inset: 18px; border: 1.5px solid rgba(255,255,255,0.35); border-radius: 8px; pointer-events: none; }

/* trust */
.trust { background: var(--white); border-bottom: 1px solid var(--line); padding: 20px 0; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 36px; justify-content: center; align-items: center; }
.trust-chip { display: flex; align-items: center; gap: 9px; font-size: 0.93rem; font-weight: 700; color: var(--terra-deep); }
.trust-chip .stars { color: var(--gold); letter-spacing: 1px; }

/* event cards */
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.event-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; transition: transform 0.25s, box-shadow 0.25s; }
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.event-ic { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 16px; background: var(--terra-tint); color: var(--terra-deep); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.event-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.event-card p { font-size: 0.94rem; color: var(--ink-soft); }

/* split */
.why { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(40px, 6vw, 76px); align-items: center; }
.split-media img { width: 100%; height: clamp(340px, 42vw, 480px); object-fit: cover; border-radius: 160px 160px var(--radius) var(--radius); box-shadow: var(--shadow); }
.split-media.square img { border-radius: var(--radius); height: auto; }
.amen-list { list-style: none; display: grid; gap: 16px; margin-top: 26px; }
.amen-list li { display: flex; gap: 14px; align-items: flex-start; }
.amen-dot { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--terra-tint); color: var(--terra-deep); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 800; }
.amen-list strong { display: block; }
.amen-list p { font-size: 0.94rem; color: var(--ink-soft); }

/* about */
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 6vw, 76px); align-items: center; }
.about p { color: var(--ink-soft); margin-bottom: 14px; }
.about .esp { font-family: var(--font-display); color: var(--terra); font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; }
.about-media { position: relative; }
.about-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-media .photo-chip { position: absolute; bottom: 16px; left: 16px; background: rgba(255,255,255,0.94); border-radius: 999px; padding: 9px 18px; font-size: 0.85rem; font-weight: 700; color: var(--terra-deep); box-shadow: var(--shadow-sm); }

/* reviews band */
.reviews { background: linear-gradient(135deg, var(--terra-deep), var(--terra)); color: #fff; text-align: center; }
.reviews .review-big { font-family: var(--font-display); font-size: clamp(3.8rem, 8vw, 5.8rem); font-weight: 700; line-height: 1; color: #fff; }
.reviews .stars { color: #f3c98a; font-size: 1.7rem; letter-spacing: 3px; margin: 12px 0 6px; }
.reviews p { color: rgba(255,255,255,0.88); margin-bottom: 24px; }
.reviews a { color: #fff; font-weight: 700; }

/* cta band */
.cta-band { background: var(--terra-tint); border-top: 1px solid var(--line); text-align: center; padding: clamp(56px, 8vw, 88px) 0; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--ink-soft); max-width: 540px; margin: 0 auto 26px; }

/* hours */
.hours-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 76px); align-items: start; }
.hours-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.hours-table th, .hours-table td { text-align: left; padding: 13px 22px; font-size: 0.97rem; }
.hours-table tr + tr { border-top: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; color: var(--ink-soft); }
.hours-table tr.open td:last-child { color: var(--terra-deep); font-weight: 700; }
.hours-table tr.today { background: var(--terra-tint); }
.hours-table tr.today th::after { content: "· hoy"; margin-left: 8px; font-size: 0.72rem; color: var(--terra); letter-spacing: 0.1em; text-transform: uppercase; }
.hours-note { margin-top: 16px; font-size: 0.92rem; color: var(--ink-soft); }

/* contact */
.contact { background: var(--white); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 76px); align-items: start; }
.c-list { list-style: none; display: grid; gap: 18px; margin: 26px 0; }
.c-list small { display: block; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 800; margin-bottom: 2px; }
.c-list a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.c-list a:hover { color: var(--terra); text-decoration: underline; }
.contact-img img { width: 100%; height: 250px; object-fit: cover; border-radius: var(--radius); margin-top: 24px; box-shadow: var(--shadow-sm); }
.form-card { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3.5vw, 40px); box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card > p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-family: var(--font-body); font-size: 0.98rem; background: var(--white); color: var(--ink); transition: border-color 0.2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--terra); }

/* footer */
footer { background: #2a1d14; color: #d8c8b8; padding: 56px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
footer .wordmark strong { color: #fff; }
footer h4 { color: #fff; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 14px; }
footer p, footer a { font-size: 0.94rem; color: #d8c8b8; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer ul { list-style: none; display: grid; gap: 8px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: #a5907c; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 900px) {
  .events-grid { grid-template-columns: 1fr 1fr; }
  .split, .about-grid, .hours-wrap, .contact-grid { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { min-height: 64vh; }
}
@media (max-width: 640px) {
  .events-grid { grid-template-columns: 1fr; }
  .nav-links { position: absolute; top: 80px; left: 0; right: 0; background: var(--sand); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 20px 24px; gap: 16px; display: none; }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
}

/* SYNTH-NOJS-FALLBACK: show scroll-reveal content when JS is blocked/unavailable */
html:not(.js) .reveal,html:not(.js) .svc-card,html:not(.js) .svc{opacity:1!important;transform:none!important}
