/* ===== Termas de Gualeguaychú — estilos ===== */

:root {
    --color-bg: #faf6f0;
    --color-bg-alt: #f1e9dc;
    --color-surface: #ffffff;
    --color-ink: #2b2521;
    --color-ink-soft: #5c534b;
    --color-teal: #0f5c5c;
    --color-teal-dark: #0a4444;
    --color-teal-soft: #e4efee;
    --color-terracotta: #c8703f;
    --color-terracotta-dark: #a85a2f;
    --color-gold: #d7a24a;
    --color-border: #e6dcca;
    --radius-lg: 22px;
    --radius-md: 14px;
    --radius-sm: 8px;
    --shadow-soft: 0 12px 30px -14px rgba(30, 25, 15, 0.25);
    --shadow-card: 0 8px 20px -10px rgba(30, 25, 15, 0.2);
    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-ink);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.15;
    margin: 0 0 0.5em;
    color: var(--color-teal-dark);
    font-weight: 600;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--color-ink-soft); }

a { color: var(--color-teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--color-teal);
    color: #fff;
    padding: 10px 16px;
    z-index: 200;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ===== Header ===== */
.site-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-teal-dark);
}
.brand:hover { text-decoration: none; }
.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-teal);
    color: #fff;
    font-size: 1.2rem;
}
.brand strong { color: var(--color-terracotta); }

.site-nav {
    display: flex;
    gap: 6px;
}
.site-nav a {
    color: var(--color-ink);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: 999px;
}
.site-nav a:hover { background: var(--color-teal-soft); text-decoration: none; }
.site-nav a.active { background: var(--color-teal); color: #fff; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--color-ink);
    border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 70px 0 90px;
    background: linear-gradient(160deg, var(--color-teal-dark), var(--color-teal) 65%);
    color: #fff;
    overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(215,162,74,0.35), transparent 55%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1, .hero p { color: #fff; }
.hero .eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 800;
    background: rgba(255,255,255,0.15);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.hero p.lead {
    font-size: 1.15rem;
    max-width: 640px;
    color: rgba(255,255,255,0.88);
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.page-hero {
    padding: 56px 0 70px;
}
.page-hero .lead { max-width: 720px; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
}
.btn-primary {
    background: var(--color-terracotta);
    color: #fff;
}
.btn-primary:hover { background: var(--color-terracotta-dark); text-decoration: none; }
.btn-ghost {
    background: transparent;
    border-color: rgba(255,255,255,0.55);
    color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); text-decoration: none; }
.btn-outline {
    background: transparent;
    border-color: var(--color-teal);
    color: var(--color-teal);
}
.btn-outline:hover { background: var(--color-teal-soft); text-decoration: none; }

/* ===== Sections ===== */
section { padding: 64px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head .kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--color-terracotta);
    display: block;
    margin-bottom: 10px;
}

/* ===== Complex cards on home ===== */
.complex-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.complex-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}
.complex-card .thumb {
    aspect-ratio: 16/10;
    background: var(--color-teal-soft) center/cover no-repeat;
}
.complex-card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.complex-card .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.tag {
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--color-teal-soft);
    color: var(--color-teal-dark);
    padding: 4px 10px;
    border-radius: 999px;
}
.complex-card .body p { flex: 1; }

/* ===== Feature list ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.feature-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-card);
}
.feature-card .icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--color-terracotta);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 14px;
}
.feature-card h3 { margin-bottom: 6px; }
.feature-card p { margin: 0; font-size: 0.95rem; }

/* ===== Gallery ===== */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.gallery img, .gallery .ph {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-md);
    background: var(--color-teal-soft);
}
.gallery a { display: block; }

/* ===== Termas detail page ===== */
.info-columns {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: start;
}
.info-columns .stats {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-card);
}
.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--color-border);
    font-size: 0.95rem;
}
.stat-row:last-child { border-bottom: none; }
.stat-row span:first-child { color: var(--color-ink-soft); }
.stat-row span:last-child { font-weight: 700; color: var(--color-teal-dark); text-align: right; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--color-ink-soft);
}
.checklist li::before {
    content: "✓";
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-teal-soft);
    color: var(--color-teal-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
}

.howto-card {
    background: var(--color-teal-dark);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-top: 20px;
}
.howto-card h2, .howto-card h3 { color: #fff; }
.howto-card p { color: rgba(255,255,255,0.85); }
.route-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.route-list li {
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.route-list li strong { color: var(--color-gold); }

.notice {
    background: #fdf3e3;
    border: 1px solid #f0dba8;
    color: #6b4c14;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    font-size: 0.92rem;
    margin: 24px 0;
}

/* ===== Alojamientos ===== */

.lodging-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.lodging-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}
.lodging-card .thumb {
    aspect-ratio: 4/3;
    background: var(--color-teal-soft) center/cover no-repeat;
    position: relative;
}
.thumb-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
}
.thumb-empty span {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-teal-dark);
    opacity: 0.6;
}
.lodging-card .cat-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15,92,92,0.9);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.lodging-card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.lodging-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.lodging-card .stars { color: var(--color-gold); font-size: 0.85rem; letter-spacing: 1px; }
.lodging-card .loc {
    font-size: 0.85rem;
    color: var(--color-ink-soft);
    display: flex;
    gap: 6px;
    align-items: baseline;
}
.lodging-card p.desc { font-size: 0.88rem; margin: 4px 0 8px; flex: 1; }
.lodging-card .card-link {
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: auto;
}
.card-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 8px;
}
.btn-mini {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1.5px solid var(--color-teal);
    color: var(--color-teal-dark);
}
.btn-mini:hover { text-decoration: none; }
.btn-mini-wa {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
}
.btn-mini-wa:hover { background: #1eb958; }
.btn-mini-outline:hover { background: var(--color-teal-soft); }

/* ===== Hub de categorías de alojamiento ===== */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.cat-tile {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 26px 22px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--color-ink);
}
.cat-tile:hover { text-decoration: none; border-color: var(--color-teal); }
.cat-tile h3 { margin: 0; font-size: 1.1rem; }
.cat-count {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-terracotta);
}

.other-cats { display: flex; gap: 10px; flex-wrap: wrap; }
.tag-link {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}
.tag-link:hover { background: var(--color-teal-soft); text-decoration: none; }

/* ===== Footer ===== */
.site-footer {
    background: var(--color-teal-dark);
    color: rgba(255,255,255,0.8);
    padding: 46px 0 30px;
    margin-top: 40px;
}
.footer-inner { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    color: #fff;
    font-size: 1.1rem;
}
.footer-note { max-width: 640px; font-size: 0.88rem; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,0.85); font-weight: 600; font-size: 0.9rem; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin: 6px 0 0; }

/* ===== Breadcrumb ===== */
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.85); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .complex-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .info-columns { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .lodging-grid { grid-template-columns: repeat(2, 1fr); }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-surface);
        flex-direction: column;
        padding: 10px 16px 16px;
        border-bottom: 1px solid var(--color-border);
        display: none;
    }
    .site-nav.is-open { display: flex; }
    .feature-grid { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .lodging-grid { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: 1fr; }
    .hero { padding: 50px 0 64px; }
    section { padding: 46px 0; }
    .route-list li { flex-direction: column; }
}
