:root {
    --bg: #f8f5f0;
    --surface: #fff;
    --surface-2: #f3ece2;
    --text: #2f271f;
    --muted: #6f6255;
    --primary: #6b4f3a;
    --primary-2: #8e6a4e;
    --border: #e7ddcf;
    --hero-image: url('https://images.unsplash.com/photo-1553284965-83fd3e82fa5a?auto=format&fit=crop&w=2000&q=80');
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top right, #fff 0%, var(--bg) 45%);
}
a { color: var(--primary); text-decoration: none; }
.container { width: min(1160px, 92%); margin: 0 auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(248, 245, 240, 0.93);
    border-bottom: 1px solid var(--border);
}
.site-header.scrolled { box-shadow: 0 8px 24px rgba(47, 39, 31, 0.12); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.logo { font-weight: 800; letter-spacing: .2px; }
nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
nav a { color: #3d332b; font-weight: 500; }
.lang-switch a { padding: 5px 9px; border-radius: 999px; border: 1px solid transparent; }
.lang-switch .active { background: var(--primary); color: #fff; border-color: var(--primary); }
.hero {
    min-height: 78vh;
    display: grid;
    place-items: center;
    background: linear-gradient(rgba(22, 16, 11, .5), rgba(22, 16, 11, .42)), var(--hero-image) center/cover;
    color: #fff;
}
.hero h1 { font-size: clamp(2.1rem, 6vw, 4.3rem); margin: 0 0 14px; line-height: 1.1; max-width: 860px; }
.hero-copy p { max-width: 760px; font-size: 1.08rem; line-height: 1.7; margin: 0; color: #f5efe9; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    border: 0;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(107, 79, 58, .3);
}
.btn:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; border: 1px solid #fff; color: #fff; box-shadow: none; }
.btn-small { padding: 8px 12px; font-size: .9rem; border-radius: 10px; }
.btn-danger { background: #b83838; box-shadow: none; }
.trust-row { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.trust-row span { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); padding: 8px 12px; border-radius: 999px; font-size: .9rem; }
.section { padding: 76px 0; }
.section-soft { background: linear-gradient(180deg, #f4ede3 0%, #f8f5f0 100%); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
    background: var(--surface);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(47, 39, 31, .08);
    transition: transform .24s ease, box-shadow .24s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 26px rgba(47, 39, 31, .15); }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 18px; }
.card-body p { color: var(--muted); }
.card-cta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; }
.narrow { max-width: 820px; }
.detail-image {
    width: 100%;
    border-radius: 20px;
    max-height: 540px;
    object-fit: cover;
    border: 1px solid var(--border);
    box-shadow: 0 14px 28px rgba(0,0,0,.12);
}
.lead { margin: 16px 0; color: #40352d; }
.tour-keywords { color: var(--muted); font-size: .95rem; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 20px 0; }
.detail-grid > div {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
}
.form { display: grid; gap: 14px; }
label { color: #453930; font-weight: 600; font-size: .95rem; display: grid; gap: 6px; }
input, select, textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #d7ccb9;
    background: #fff;
    font-family: inherit;
}
textarea { min-height: 120px; }
.reservation-notes {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    margin: 16px 0;
}
.form-footnote { color: #645848; }

.reservation-form .reservation-fieldset {
    margin: 0;
    padding: 16px 18px 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
}
.reservation-form .reservation-fieldset-primary {
    border-color: #c4a574;
    box-shadow: 0 0 0 1px rgba(196, 165, 116, 0.25);
}
.reservation-form legend {
    padding: 0 8px;
    font-weight: 700;
    font-size: 1.05rem;
    color: #2e261f;
}
.reservation-fieldset-hint {
    margin: 0 0 14px;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.5;
}
.reservation-form input[type="date"] {
    min-height: 44px;
    color: #2e261f;
    cursor: pointer;
    font-family: inherit;
}
.agency-card-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    align-items: center;
}
.btn-outline {
    background: transparent;
    border: 1px solid #c9b8a4;
    color: var(--primary);
    box-shadow: none;
}
.btn-outline:hover {
    background: rgba(47, 39, 31, 0.06);
}
.alert { background: #eaf7ea; border: 1px solid #9fd39f; padding: 12px; border-radius: 10px; margin: 12px 0; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
th, td { padding: 10px; border: 1px solid #e5ddcf; text-align: left; vertical-align: top; }
th { background: #f7f2ea; }
.table-wrap { overflow: auto; margin-bottom: 24px; }
.site-footer {
    background: #1f1a15;
    color: #e7dbc7;
    padding: 32px 0;
    text-align: center;
}
.site-footer p { margin: 7px 0; }
.site-footer a { color: #f2dfbe; }
.floating-whatsapp {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 80;
    background: #1fa855;
    color: #fff;
    padding: 12px 14px;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
    font-weight: 700;
}
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 16px; }
.usp-card {
    background: #fff;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid #e7dbc9;
    box-shadow: 0 4px 14px rgba(0,0,0,.05);
}
.rich-content p { margin: 0 0 12px; line-height: 1.7; color: #4b3f35; }
.rte { min-height: 160px; }
.rte-wrap { border: 1px solid #d7ccb9; border-radius: 10px; overflow: hidden; background: #fff; }
.rte-toolbar { display: flex; gap: 6px; padding: 8px; border-bottom: 1px solid #eadfce; background: #f9f4ed; }
.rte-toolbar button { border: 1px solid #ccb79f; background: #fff; border-radius: 8px; padding: 6px 8px; cursor: pointer; }
.rte-editor { min-height: 160px; padding: 10px 12px; outline: none; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (max-width: 900px) {
    .nav { align-items: flex-start; flex-direction: column; }
    .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
    .floating-whatsapp { left: 12px; right: 12px; text-align: center; }
}

@media (max-width: 600px) {
    .hero { min-height: 64vh; }
    .hero h1 { font-size: clamp(1.8rem, 9vw, 2.6rem); }
    .hero-copy p { font-size: 1.0rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn,
    .hero-actions .btn-ghost { width: 100%; text-align: center; }
    .section { padding: 56px 0; }

    /* Reservation form readability on small screens */
    .reservation-form .reservation-fieldset { padding: 14px 14px 16px; }
    .reservation-form legend { font-size: 1.0rem; }
}

/* Travel agency – public tour cards */
.tours-intro { max-width: 720px; color: var(--muted); margin-bottom: 28px; line-height: 1.65; }
.agency-public-grid { align-items: stretch; }
.agency-public-card { display: flex; flex-direction: column; }
.agency-public-card-media {
    position: relative;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}
.agency-public-card-media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.agency-public-price {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(47, 39, 31, 0.88);
    color: #f5efe9;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
}
.agency-thumb-row {
    display: flex;
    gap: 6px;
    margin: 10px 0 4px;
    flex-wrap: wrap;
}
.agency-thumb-row img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
}
.tour-detail-section .tour-detail-hero {
    position: relative;
    margin-bottom: 18px;
}
.tour-detail-price-tag {
    display: inline-block;
    margin-top: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
}
.tour-gallery-block { margin: 28px 0; }
.tour-gallery-block h3 { margin-bottom: 12px; }
.tour-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}
.tour-gallery-item {
    display: block;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 4/3;
}
.tour-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}
.tour-gallery-item:hover img { transform: scale(1.04); }
