/* Hotel Angostura — hoja única. Mobile-first. */
:root {
  --navy: #1b3a5c;
  --navy-deep: #12283f;
  --lake: #2f7fb5;
  --lake-light: #e6f1f8;
  --sand: #f6f1e8;
  --sand-dark: #e9e0d0;
  --wood: #8a5a2b;
  --gold: #a98b5d;
  --ink: #1f2933;
  --muted: #5b6b7a;
  --white: #fff;
  --wa: #25d366;
  --wa-dark: #128c4b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 40, 63, 0.12);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1140px;
  --gutter: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white);
  line-height: 1.55; font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lake); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; color: var(--navy); margin: 0 0 0.4em; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.1rem; color: var(--muted); }
.small { font-size: 0.875rem; color: var(--muted); }
.center { text-align: center; }
.kicker { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0 0 0.6em; }
.kicker.light { color: #f6e3b8; text-shadow: 0 1px 8px rgba(0,0,0,0.55); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: 56px; padding-bottom: 56px; }
.section-head { max-width: 680px; margin: 0 auto 32px; text-align: center; }
.rounded { border-radius: var(--radius); }
.ico { width: 28px; height: 28px; flex: none; }
.ico-sm { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 600; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-size: 1rem; line-height: 1.2; font-family: var(--sans);
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-accent { background: var(--gold); color: var(--navy-deep); }
.btn-accent:hover { background: #c4a26b; }
.btn-light { background: #fff; color: var(--navy); }
.btn-wa { background: var(--wa-dark); color: #fff; }
.btn-wa:hover { background: #0f7a41; }
.btn-sm { padding: 9px 16px; font-size: 0.92rem; }
.btn .ico { width: 20px; height: 20px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.2); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand img { width: 120px; height: auto; }
.main-nav { display: none; }
.main-nav ul, .mobile-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.main-nav a { color: #fff; text-decoration: none; font-weight: 500; font-size: 0.95rem; opacity: 0.92; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-color: var(--gold); opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .lang-switch { display: none; }
.lang-switch { display: inline-flex; gap: 2px; }
.lang-switch a { color: inherit; text-decoration: none; font-size: 0.8rem; font-weight: 700; padding: 4px 7px; border-radius: 6px; opacity: 0.7; }
.lang-switch a[aria-current="true"] { opacity: 1; background: rgba(255,255,255,0.18); }
.nav-toggle { background: none; border: 0; width: 44px; height: 44px; display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { background: var(--navy-deep); padding: 8px var(--gutter) 20px; }
.mobile-nav ul { flex-direction: column; gap: 0; }
.mobile-nav a { display: block; color: #fff; text-decoration: none; padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 1.05rem; }
.mobile-nav .lang-switch { margin-top: 14px; }
@media (min-width: 1000px) {
  .main-nav { display: block; }
  .header-actions .lang-switch { display: inline-flex; }
  .nav-toggle, .mobile-nav { display: none !important; }
  .brand img { width: 140px; }
}

/* hero */
.hero { color: #fff; background: var(--navy-deep); }
.hero-visual { position: relative; min-height: 72vh; display: flex; align-items: flex-end; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero-visual::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,40,63,0.1) 0%, rgba(18,40,63,0.15) 45%, rgba(18,40,63,0.8) 100%); }
.hero-content { position: relative; padding-top: 48px; padding-bottom: 76px; width: 100%; }
.hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,0.35); max-width: 14ch; font-size: clamp(2.4rem, 8vw, 4.2rem); }
.hero-text { max-width: 520px; font-size: 1.08rem; text-shadow: 0 1px 10px rgba(0,0,0,0.4); margin-bottom: 0; }
.booking-wrap { position: relative; z-index: 2; margin-top: -52px; padding-bottom: 28px; }
.booking-box { background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.booking-box h2 { font-size: 1.45rem; margin-bottom: 12px; }
.booking-note { margin: 10px 0 0; }
.booking-form { display: grid; gap: 10px; grid-template-columns: minmax(0,1fr) minmax(0,1fr); min-width: 0; }
.booking-form label { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 0.8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.booking-form input, .booking-form select {
  font: inherit; font-size: 1rem; padding: 11px 12px; border: 1.5px solid var(--sand-dark); border-radius: 10px; background: #fff; color: var(--ink); min-height: 46px; width: 100%; min-width: 0; text-transform: none; letter-spacing: 0; font-weight: 500;
}
.booking-form button { grid-column: 1 / -1; width: 100%; min-height: 48px; }
.booking-form .form-error { grid-column: 1 / -1; color: #b3261e; font-size: 0.9rem; margin: 0; }
.booking-form.compact { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.booking-box.inline { display: grid; gap: 12px; align-items: center; min-width: 0; }
@media (min-width: 760px) {
  .booking-form { grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) auto; align-items: end; }
  .booking-form button { grid-column: auto; width: auto; }
  .booking-form.compact { grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) auto; }
  .hero-visual { min-height: 66vh; }
  .hero-content { padding-bottom: 90px; }
  .booking-wrap { margin-top: -64px; }
  .booking-box.inline { grid-template-columns: 1fr; }
}
@media (min-width: 1000px) {
  .hero-visual { min-height: 72vh; }
}

/* intro */
.intro-grid { display: grid; gap: 28px; }
.intro-media { position: relative; margin-bottom: 36px; }
.intro-media-2 { position: absolute; right: -8px; bottom: -24px; width: 42%; box-shadow: var(--shadow); border: 4px solid #fff; }
@media (min-width: 900px) {
  .intro-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
  .intro-text { padding-right: 24px; }
}

/* destacados */
.band { background: var(--sand); }
.band-light { background: var(--lake-light); }
.highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: 1fr; }
.highlights li { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: start; }
.highlights .ico { color: var(--gold); grid-row: 1 / 3; margin-top: 2px; }
.highlights h3 { font-family: var(--sans); font-size: 1.02rem; margin: 0 0 2px; color: var(--navy); }
.highlights p { margin: 0; color: var(--muted); font-size: 0.95rem; }
@media (min-width: 640px) { .highlights { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (min-width: 1000px) { .highlights { grid-template-columns: repeat(3, 1fr); gap: 28px 40px; } }

/* cards */
.cards { display: grid; gap: 22px; margin-bottom: 28px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card-img img { width: 100%; object-fit: cover; }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 a { color: var(--navy); text-decoration: none; }
.card-body p { color: var(--muted); margin: 0 0 10px; }
.card-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* split */
.split { display: grid; padding: 0; }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split-text { padding: 40px var(--gutter); background: var(--sand); display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; min-height: 520px; }
  .split.reverse .split-media { order: 2; }
  .split-media img { aspect-ratio: auto; height: 100%; }
  .split-text { padding: 56px 64px; }
}

/* ubicación */
.loc-grid { display: grid; gap: 24px; }
.map-embed { border-radius: var(--radius); overflow: hidden; background: var(--sand-dark); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }
.map-embed.tall iframe { height: 420px; }
@media (min-width: 900px) { .loc-grid { grid-template-columns: 1fr 1.3fr; align-items: center; gap: 48px; } .map-embed.tall iframe { height: 100%; min-height: 520px; } .map-embed.tall { height: 100%; } }

/* cta band */
.cta-band { background: var(--navy); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255,255,255,0.85); }

/* páginas interiores */
.page-head { padding-top: 48px; padding-bottom: 8px; max-width: 820px; }
.gallery { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 16px; margin: 0 calc(-1 * var(--gutter)); -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.gallery figure { margin: 0; flex: 0 0 78%; scroll-snap-align: start; }
.gallery img { width: 100%; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 640px) { .gallery figure { flex-basis: 46%; } }
@media (min-width: 900px) { .gallery { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 8px 0 0; } .gallery figure { flex: none; } }
.room-type { padding: 36px 0; border-top: 1px solid var(--sand-dark); }
.room-type:first-child { border-top: 0; padding-top: 12px; }
.room-head { margin-bottom: 8px; }
.room-body { margin-top: 20px; }
.room-body .cta-row { justify-content: flex-start; margin-top: 18px; }
.features { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.features li { display: flex; gap: 8px; align-items: flex-start; }
.features .ico-sm { color: var(--gold); margin-top: 3px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.two-col { display: grid; gap: 28px; }
.side-box { background: var(--sand); border-radius: var(--radius); padding: 24px; }
.side-box hr { border: 0; border-top: 1px solid var(--sand-dark); margin: 20px 0; }
.side-box h2 { font-size: 1.5rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; } .two-col .features { grid-template-columns: 1fr; } }
.bungalow-teaser { display: grid; gap: 20px; align-items: center; }
@media (min-width: 760px) { .bungalow-teaser { grid-template-columns: 1fr 1.5fr; gap: 40px; } }
.address { font-style: normal; font-size: 1.1rem; margin-bottom: 14px; }
.activities .activity { display: grid; gap: 18px; padding: 28px 0; border-top: 1px solid var(--sand-dark); }
.activities .activity:first-child { border-top: 0; }
.activity-media .gallery { display: flex; }
@media (min-width: 900px) {
  .activities .activity { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  .activities .activity.reverse .activity-media { order: 2; }
  .activity-media .gallery { grid-template-columns: repeat(2, 1fr); display: grid; }
}
.blocks { display: grid; gap: 18px; }
.block { background: var(--sand); border-radius: var(--radius); padding: 22px; }
.block h2 { font-size: 1.45rem; }
.block p { margin: 0; }
@media (min-width: 760px) { .blocks { grid-template-columns: repeat(3, 1fr); } }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.contact-grid { display: grid; gap: 16px; }
.contact-card { background: var(--sand); border-radius: var(--radius); padding: 22px; }
.contact-card h2 { font-size: 1.35rem; }
.contact-card .btn { max-width: 100%; word-break: break-all; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.withdrawal-form { display: grid; gap: 14px; }
.withdrawal-form label { display: grid; gap: 4px; font-weight: 600; font-size: 0.92rem; }
.withdrawal-form input, .withdrawal-form textarea { font: inherit; padding: 11px 12px; border: 1.5px solid var(--sand-dark); border-radius: 10px; }

/* footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.85); padding: 48px 0 110px; margin-top: 24px; }
.footer-grid { display: grid; gap: 32px; }
.footer-grid img { width: 150px; }
.footer-tagline { margin: 12px 0 8px; color: rgba(255,255,255,0.85); }
.footer-h { font-family: var(--sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); margin: 0 0 10px; }
.footer-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.footer-list a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.footer-list .ico { width: 20px; height: 20px; }
.footer-list a:hover { text-decoration: underline; }
.btn-withdrawal { font-weight: 700; border: 1px solid var(--gold); padding: 4px 10px; border-radius: 6px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 20px; padding-top: 18px; }
.footer-legal .small { color: rgba(255,255,255,0.6); margin: 0 0 4px; }
.footer-lang { margin-top: 6px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } .site-footer { padding-bottom: 48px; } }

/* barra fija móvil */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); box-shadow: 0 -4px 20px rgba(0,0,0,0.12); }
.sticky-cta .btn { width: 100%; }
@media (min-width: 760px) { .sticky-cta { display: none; } }
body.nav-open .sticky-cta { display: none; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
