/* Hostería Champagne
   Layout concept: river-and-patio. Deep Paraná green for the "outside" (river, day trips),
   warm sand paper for the "inside" (the house), terracotta from the building's red trim,
   and the blue script of the real sign for the brand. */
:root {
  --river: #123b37;
  --river-deep: #0b2826;
  --river-soft: #1d524c;
  --terra: #a63a2a;
  --terra-dark: #842c1f;
  --sand: #f1e8d8;
  --paper: #fbf7ef;
  --ink: #1f1b18;
  --muted: #6b6158;
  --line: #e1d5c1;
  --gold: #d8b36a;
  --sign-blue: #2c4fb5;
  --road: #1c6b4c;
  --on-dark: #f4efe4;
  --on-dark-muted: #b9c9c2;

  --display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Yellowtail", "Brush Script MT", cursive;

  --radius: 14px;
  --shadow: 0 14px 40px rgba(11, 40, 38, 0.14);
  --gutter: clamp(16px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--body); font-size: 17px; color: var(--ink); background: var(--paper); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--terra); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0 0 0.5em; text-wrap: balance; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
.center { text-align: center; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.eyebrow { text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.74rem; font-weight: 700; color: var(--gold); margin: 0 0 14px; }
.eyebrow.dark { color: var(--terra); }

/* Nav */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px var(--gutter);
  background: rgba(251, 247, 239, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; color: var(--ink); }
.brand-small { font-size: 0.66rem; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 700; }
.brand-script { font-family: var(--script); font-size: 1.85rem; color: var(--sign-blue); margin-top: -2px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 0.93rem; font-weight: 500; }
.nav-links a:hover { color: var(--terra); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; font-size: 0.78rem; font-weight: 700; color: var(--ink); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none; text-align: center;
  background: var(--terra); color: #fff; padding: 14px 26px; border-radius: 999px;
  font: inherit; font-size: 0.98rem; font-weight: 600; transition: background 0.2s, transform 0.2s, color 0.2s;
}
.btn:hover { background: var(--terra-dark); transform: translateY(-1px); }
.btn-small { padding: 9px 18px; font-size: 0.9rem; }
.btn-light { background: var(--paper); color: var(--river); }
.btn-light:hover { background: #fff; color: var(--river-deep); }
.btn-ghost { background: transparent; color: var(--on-dark); border: 1px solid rgba(244, 239, 228, 0.55); }
.btn-ghost:hover { background: rgba(244, 239, 228, 0.12); }
.btn-outline { background: transparent; color: var(--terra); border: 1.5px solid var(--terra); }
.btn-outline:hover { background: var(--terra); color: #fff; }

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) var(--gutter); }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.section-head.light p:not(.eyebrow) { color: var(--on-dark-muted); }
.note { color: var(--muted); font-size: 0.95rem; text-align: center; margin: 32px auto 0; max-width: 640px; }

/* Hero */
.hero { position: relative; background: radial-gradient(120% 90% at 85% 10%, var(--river-soft) 0%, var(--river) 45%, var(--river-deep) 100%); color: var(--on-dark); overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center;
  max-width: 1280px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter) 40px;
}
.hero h1 { font-size: clamp(3rem, 8vw, 6.2rem); line-height: 0.98; margin-bottom: 0.35em; }
.hero h1 em { font-style: italic; color: var(--gold); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--on-dark-muted); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Photos are 500px originals: shown at or below native size, as framed prints */
.hero-collage { position: relative; min-height: 460px; }
.ph { position: absolute; margin: 0; background: #fff; padding: 8px; border-radius: 6px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35); }
.ph img { border-radius: 2px; width: 100%; height: auto; }
.ph-a { width: min(78%, 420px); top: 0; right: 0; transform: rotate(2deg); z-index: 2; }
.ph-b { width: min(62%, 340px); bottom: 10px; left: 0; transform: rotate(-3deg); z-index: 3; }
.ph-c { width: min(34%, 190px); bottom: -6px; right: 6%; transform: rotate(4deg); z-index: 4; }
.ph-c img { aspect-ratio: 1; object-fit: cover; }

.hero-facts {
  position: relative; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 1280px; margin: 24px auto 0; padding: 0 var(--gutter) 90px;
}
.hero-facts div { border-top: 1px solid rgba(244, 239, 228, 0.25); padding: 16px 12px 0 0; }
.hero-facts dt { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 600; }
.hero-facts dd { margin: 4px 0 0; font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--on-dark); font-variant-numeric: tabular-nums; }

.waves { position: absolute; left: 0; bottom: -1px; width: 200%; height: 70px; }
.waves path { fill: var(--paper); }
.waves .w1 { opacity: 0.35; animation: drift 18s linear infinite; }
.waves .w2 { animation: drift 26s linear infinite reverse; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-25%); } }

/* La casa */
.casa { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 96px); align-items: center; max-width: 1200px; margin: 0 auto; }
.casa-text > p { font-size: 1.08rem; max-width: 60ch; }
.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 0.9rem; font-weight: 500; }
.casa-photos { margin: 0; justify-self: center; max-width: 500px; width: 100%; }
.casa-main { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.casa-photos figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 10px; font-style: italic; }

/* Rooms */
.rooms { background: var(--sand); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 1040px; margin: 0 auto; }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-kicker { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--terra); font-weight: 700; margin: 0 0 6px; }
.card-body p:not(.card-kicker) { color: var(--muted); }
.link { font-weight: 600; text-decoration: none; margin-top: auto; }

/* Un día */
.day { background: var(--river); color: var(--on-dark); position: relative; }
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 1200px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(244, 239, 228, 0.14); border-radius: var(--radius); overflow: hidden; }
.timeline li { background: var(--river); padding: 30px 28px 32px; min-width: 0; transition: background 0.25s; }
.timeline li:hover { background: var(--river-soft); }
.timeline time { font-family: var(--display); font-size: 2.6rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.timeline h3 a { color: var(--on-dark); text-decoration: none; }
.timeline h3 a:hover { color: var(--gold); }
.timeline p { color: var(--on-dark-muted); margin: 0; }
.extra-day { max-width: 1200px; margin: 28px auto 0; border: 1px solid rgba(216, 179, 106, 0.5); border-radius: var(--radius); padding: 28px 30px; display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: center; }
.extra-day .eyebrow, .extra-day h3, .extra-day p { grid-column: 1; margin: 0; }
.extra-day p:not(.eyebrow) { color: var(--on-dark-muted); }
.extra-day .btn { grid-column: 2; grid-row: 1 / span 3; }

/* Distances: an Argentine route sign */
.road-sign { max-width: 640px; margin: 0 auto; background: var(--road); color: #fff; border-radius: 12px; padding: 10px; box-shadow: var(--shadow); }
.road-sign > * { border: 2px solid rgba(255, 255, 255, 0.9); }
.road-sign > * + * { border-top: 0; }
.sign-head { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 8px 8px 0 0; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.85rem; }
.shield { display: grid; place-items: center; width: 44px; height: 48px; background: #fff; color: var(--ink); font-size: 0.72rem; line-height: 1.05; text-align: center; font-weight: 800; border-radius: 4px 4px 22px 22px; }
.sign-row { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; font-size: 1.15rem; font-weight: 600; }
.sign-row:last-child { border-radius: 0 0 8px 8px; }
.arrow { font-size: 1.4rem; line-height: 1; }
.km { font-variant-numeric: tabular-nums; font-weight: 700; }

/* Calendar */
.calendar { background: var(--sand); }
.months { list-style: none; padding: 0; margin: 0 auto; max-width: 1200px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.months li { background: var(--paper); border-radius: 10px; padding: 14px 14px 16px; font-size: 0.9rem; color: var(--muted); min-width: 0; border-top: 3px solid var(--line); }
.months li.hot { border-top-color: var(--terra); }
.months span { display: block; font-family: var(--display); font-size: 1.5rem; color: var(--ink); margin-bottom: 4px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 1200px; margin: 0 auto; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; }
.gallery button:first-child img { aspect-ratio: auto; height: 100%; }
.gallery button:nth-child(n+6) { grid-column: span 2; }
.gallery button:nth-child(n+6) img { aspect-ratio: 2 / 1; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(11, 40, 38, 0.92); }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; }
.lb-close { position: fixed; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; }
.faq-list summary { cursor: pointer; font-weight: 600; font-size: 1.04rem; }
.faq-list details p { margin: 10px 0 0; color: var(--muted); }

/* Booking */
.booking { background: var(--terra); color: #fff; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.booking-intro { max-width: 460px; }
.booking-intro .eyebrow { color: var(--sand); }
.booking .direct a { color: #fff; font-weight: 700; }
.booking .direct.small { font-size: 0.92rem; opacity: 0.85; }
.form { background: var(--paper); color: var(--ink); padding: clamp(20px, 3vw, 34px); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2); display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.form label.check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.form label.check input { width: 18px; height: 18px; accent-color: var(--terra); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.form-error { color: var(--terra); font-weight: 600; margin: 0; }
.form-result { background: var(--sand); border-radius: 10px; padding: 16px; display: grid; gap: 10px; }
.form-result p { margin: 0; font-weight: 600; }
.form-result pre { margin: 0; white-space: pre-wrap; font: inherit; font-size: 0.9rem; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; max-width: 1200px; margin: 0 auto; }
address { font-style: normal; margin-bottom: 18px; font-size: 1.05rem; }
.entrance { display: inline-block; margin: 4px 0; background: var(--sand); color: var(--terra-dark); font-weight: 700; padding: 2px 10px; border-radius: 6px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.contact-list span { display: inline-block; min-width: 130px; color: var(--muted); font-size: 0.9rem; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 400px; }
.map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }

/* Footer */
.footer { background: var(--river-deep); color: var(--on-dark-muted); padding: 48px var(--gutter); display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; font-size: 0.92rem; }
.footer p { margin: 0; }
.footer a { color: var(--on-dark); }
.footer-brand .brand-small { color: var(--on-dark); display: block; }
.footer-brand .brand-script { color: #8fa8f0; display: block; margin-bottom: 10px; }
.footer-links { display: grid; gap: 6px; align-content: start; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { grid-column: 1 / -1; border-top: 1px solid rgba(244, 239, 228, 0.15); padding-top: 18px; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Guide / article pages */
.page-head { background: radial-gradient(120% 120% at 90% 0%, var(--river-soft), var(--river) 50%, var(--river-deep)); color: var(--on-dark); padding: clamp(48px, 8vw, 96px) var(--gutter); }
.page-head h1 { font-size: clamp(2.3rem, 6vw, 4rem); max-width: 880px; }
.page-head p { max-width: 680px; font-size: 1.12rem; color: var(--on-dark-muted); margin: 0; }
.page-head .crumbs { font-size: 0.85rem; margin: 0 0 18px; }
.crumbs a { color: var(--gold); }
.article { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) 16px; }
.article h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-top: 1.6em; }
.article h3 { margin-top: 1.4em; }
.article p, .article li { color: #3d3632; }
.article ul { padding-left: 1.2em; }
.article li { margin-bottom: 6px; }
.article figure { margin: 24px 0; }
.article figure img { border-radius: var(--radius); width: 100%; max-width: 500px; height: auto; }
.article figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
.toc { background: var(--sand); border-radius: var(--radius); padding: 18px 22px; }
.toc p { margin: 0 0 8px; font-weight: 700; }
.toc ul { margin: 0; }
.table-wrap { overflow-x: auto; }
.article table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { font-weight: 700; background: var(--sand); }
.cta-box { margin: 44px 0 0; background: var(--river); color: var(--on-dark); border-radius: var(--radius); padding: 30px; display: grid; gap: 12px; }
.cta-box h2 { margin: 0; color: var(--on-dark); }
.article .cta-box p { margin: 0; color: var(--on-dark-muted); }
.cta-box .hero-cta { margin-top: 6px; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.related a { display: block; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 600; }
.article .updated { font-size: 0.85rem; color: var(--muted); }
.article .faq-list { margin-top: 12px; }
body:not(.home) .footer { grid-template-columns: 1fr; }

/* Responsive */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .months { grid-template-columns: repeat(4, 1fr); }
  .booking { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .hero-inner, .casa, .contact, .cards { grid-template-columns: 1fr; }
  .hero-collage { min-height: 0; height: clamp(300px, 80vw, 420px); }
  .hero-facts { grid-template-columns: repeat(2, 1fr); gap: 12px 0; }
  .timeline { grid-template-columns: 1fr; }
  .extra-day { grid-template-columns: 1fr; }
  .extra-day .btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }
  .months { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery button:nth-child(n+6) { grid-column: auto; }
  .gallery button:nth-child(n+6) img { aspect-ratio: 4 / 3; }
  .gallery button:last-child { grid-column: span 2; }
  .gallery button:last-child img { aspect-ratio: 2 / 1; }
  .form .row { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
  .sign-row { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Logo */
.brand img { height: 52px; width: auto; }
.footer-brand img { height: 84px; width: auto; margin-bottom: 14px; }
.habilitado { display: inline-block; font-size: 0.85rem !important; font-weight: 700; letter-spacing: 0.04em; color: var(--river); border: 1px solid var(--river); border-radius: 999px; padding: 6px 14px; }
@media (max-width: 780px) { .brand img { height: 44px; } }
