*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #f5f0e8;
    --accent: #c0622a;
    --text: #3b2e1e;
    --secondary: #7a9e7e;
    --white: #fff;
    --border: rgba(59, 46, 30, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Fraunces', serif;
    font-weight: 700;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* HEADER */
.guide-header {
    text-align: center;
    padding: 3rem 1.5rem 2rem;
    max-width: 640px;
    margin: 0 auto;
}

.guide-header h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    letter-spacing: 0.03em;
    margin-bottom: 0.25rem;
}

.guide-header .subtitle {
    font-size: clamp(0.85rem, 2vw, 1rem);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.6;
    font-weight: 300;
}

/* LANGUAGE TOGGLE */
.lang-toggle {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto 2rem;
}

.lang-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: 2px;
    background: var(--white);
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
}

.lang-btn.active {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.lang-btn:hover:not(.active) {
    border-color: var(--accent);
}

/* CONTENT WRAPPER */
.guide-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

/* SECTIONS */
.guide-section {
    background: var(--white);
    border-radius: 6px;
    padding: 2rem 1.75rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 16px rgba(59, 46, 30, 0.08);
    scroll-margin-top: 3.5rem;
}

.guide-section h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guide-section h2 .icon {
    font-size: 1.3rem;
}

.guide-section h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.guide-section p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 0.75rem;
}

.guide-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0.75rem;
}

.guide-section ul li {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.85;
    padding-left: 1.2rem;
    position: relative;
    margin-bottom: 0.4rem;
}

.guide-section ul li::before {
    content: '·';
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--accent);
}

.guide-section strong {
    font-weight: 600;
    opacity: 1;
}

.guide-section em {
    font-style: italic;
    opacity: 0.7;
}

/* INFO BOX */
.info-box {
    background: var(--bg);
    border-radius: 4px;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* TABLE */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.75rem 0;
    font-size: 0.95rem;
}

.info-table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--border);
}

.info-table td:first-child {
    font-weight: 600;
    white-space: nowrap;
    width: 40%;
    opacity: 0.7;
}

/* FOOD ITEMS */
.food-item {
    margin-bottom: 0.5rem;
}

.food-item strong {
    display: inline;
}

/* SUBSECTION DIVIDER */
.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1.5rem 0;
}

/* EMERGENCY TABLE */
.emergency-table td:last-child {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.03em;
}

/* CONTACT BOX */
.contact-box {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg);
    border-radius: 4px;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.contact-box .phone {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Fraunces', serif;
    margin: 0.5rem 0;
}

/* FOOTER */
.guide-footer {
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* GROUP LINK */
.group-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--secondary);
    text-decoration: none;
}

.group-link:hover {
    text-decoration: underline;
}

/* LANGUAGE SECTIONS */
[data-lang] {
    display: none;
}

[data-lang].active {
    display: block;
}

/* SECTION NAV - Hamburger */
.nav-toggle {
    position: fixed;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 200;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(59, 46, 30, 0.15);
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 42px;
    text-align: center;
    color: var(--text);
    transition: transform 0.2s, box-shadow 0.2s;
    display: none;
}

.nav-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 16px rgba(59, 46, 30, 0.25);
}

.nav-toggle.open {
    background: var(--accent);
    color: var(--white);
}

.section-nav {
    display: none;
}

.section-nav.open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(0, 0, 0, 0.5);
    animation: fade-in 0.15s ease;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.section-nav-inner {
    position: absolute;
    top: 0;
    right: 0;
    width: 220px;
    height: 100%;
    background: var(--white);
    padding: 4.5rem 1.25rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(59, 46, 30, 0.15);
    animation: slide-in 0.2s ease;
}

@keyframes slide-in {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.section-nav a {
    display: block;
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    opacity: 0.7;
    text-decoration: none;
    border-radius: 4px;
    transition: opacity 0.15s, background 0.15s;
}

.section-nav a:hover {
    opacity: 1;
    background: var(--bg);
    text-decoration: none;
}

/* Show toggle when a language is active */
[data-lang].active ~ .nav-toggle,
.nav-toggle {
    display: block;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .guide-section {
        padding: 1.5rem 1.25rem;
    }

    .info-table td:first-child {
        width: auto;
    }
}
