:root {
    --bg: #100e0c;
    --bg-alt: #171410;
    --surface: #1e1a15;
    --text: #ece7dc;
    --muted: #a8a190;
    --accent: #9db073;
    --accent-strong: #bbcf8f;
    --border: #2a271f;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    --radius: 8px;
    --max: 1160px;
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover, a:focus { color: var(--accent-strong); }

h1, h2, h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 0.5em;
    letter-spacing: 0.01em;
}

h1 { font-size: clamp(2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    padding: 12px 16px;
    background: var(--accent);
    color: #111;
    z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(16, 14, 12, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-family: Georgia, serif;
}
.brand:hover, .brand:focus { color: var(--text); }

/* Text logo: small spaced "HOTELLI" above a large italic "Vierashuone"
   in the light accent green (same as the hero tagline) */
.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.brand-small {
    font-size: 0.66rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--text);
    margin: 0 0 3px 2px;
}
.brand-big {
    font-size: 1.55rem;
    font-style: italic;
    font-weight: 700;
    color: var(--accent-strong);
}

.site-nav ul {
    display: flex;
    gap: 26px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-nav a {
    color: var(--text);
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.site-nav a:hover::after,
.site-nav a:focus::after { transform: scaleX(1); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 4px auto;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
    position: relative;
    min-height: 88vh;
    display: grid;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 14, 12, 0.72), rgba(16, 14, 12, 0.92)),
        url("images/sauna.jpg");
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content {
    padding: 120px 24px;
    max-width: 800px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    font-size: 0.8rem;
    margin: 0 0 16px;
}

.tagline {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 1.45rem;
    color: var(--accent-strong);
    margin: -4px 0 12px;
}

.lead {
    font-size: 1.15rem;
    color: var(--muted);
    margin: 14px 0 32px;
    max-width: 660px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
    text-align: center;
}

.btn-primary { background: var(--accent); color: #111; }
.btn-primary:hover, .btn-primary:focus {
    background: var(--accent-strong);
    color: #111;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}
.btn-secondary:hover, .btn-secondary:focus {
    border-color: var(--accent);
    color: var(--accent-strong);
}

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { text-align: center; margin-bottom: 12px; }

.section-lead {
    text-align: center;
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto 56px;
}

.two-col {
    display: grid;
    gap: 56px;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}
.two-col.reverse > *:first-child { order: 2; }
.two-col.reverse > *:last-child { order: 1; }

.media img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.check-list li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--muted);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--accent);
    font-weight: 700;
}

/* Rooms */
.rooms {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.room {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.room:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.room-photo {
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-alt);
}

.room-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room:hover .room-photo img { transform: scale(1.04); }

/* Placeholder for rooms whose photos are not shot yet */
.room-photo.pending {
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background:
        repeating-linear-gradient(
            135deg,
            var(--bg-alt),
            var(--bg-alt) 12px,
            var(--surface) 12px,
            var(--surface) 24px
        );
}

.room-body {
    padding: 26px 26px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.room-body h3 { margin-bottom: 4px; }

.room-price {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0 0 12px;
}

.room-price span {
    color: var(--muted);
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0;
}

.room-body p { color: var(--muted); font-size: 0.98rem; }

.room-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: auto 0 0;
}

.room-tags li {
    font-size: 0.8rem;
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 4px 12px;
}

.note {
    color: var(--muted);
    font-size: 0.92rem;
    text-align: center;
    margin: 36px auto 0;
    max-width: 640px;
}

/* Price table */
.price-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}

.price-table th,
.price-table td {
    text-align: left;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-weight: normal;
    vertical-align: top;
}

.price-table th { color: var(--text); padding-right: 16px; }
.price-table td { color: var(--accent); white-space: nowrap; text-align: right; }
.price-table small { color: var(--muted); }
.price-table tr:last-child th,
.price-table tr:last-child td { border-bottom: none; }

.price-note {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 16px 0 0;
}

/* Features */
.features {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.feature-icon { color: var(--accent); margin-bottom: 16px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* Gallery */
.gallery {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.gallery figure {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4 / 3;
    background: var(--surface);
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery figure:hover img { transform: scale(1.05); }

/* FAQ */
.faq {
    display: grid;
    gap: 12px;
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0 20px;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 32px 18px 0;
    position: relative;
    font-weight: 600;
    color: var(--text);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "";
    position: absolute;
    right: 4px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after { transform: translateY(-20%) rotate(225deg); }

.faq-item summary:hover { color: var(--accent-strong); }

.faq-item summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 4px;
}

.faq-item p {
    margin: 0;
    padding: 0 0 20px;
    color: var(--muted);
}

/* Form */
.form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.field {
    display: flex;
    flex-direction: column;
}

.field-full { grid-column: 1 / -1; }

.field label {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 6px;
    letter-spacing: 0.03em;
}

.field input,
.field select,
.field textarea {
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius);
    padding: 12px 14px;
    font: inherit;
    transition: border-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form .btn {
    grid-column: 1 / -1;
    justify-self: start;
}

.form-status {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--accent);
    min-height: 1.2em;
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Contact */
.contact p { color: var(--muted); font-style: normal; }

.hours {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}

.hours-table th,
.hours-table td {
    text-align: left;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-weight: normal;
    color: var(--text);
}

.hours-table th { color: var(--muted); }
.hours-table tr:last-child th,
.hours-table tr:last-child td { border-bottom: none; }

.map {
    margin-top: 56px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    line-height: 0;
}

.map iframe {
    width: 100%;
    height: 360px;
    border: 0;
    filter: grayscale(0.3) contrast(1.05);
}

/* Footer */
.site-footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.site-footer p { margin: 0; }

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 820px) {
    .nav-toggle { display: block; }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .site-nav.open { max-height: 420px; }

    .site-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 8px 24px 16px;
    }

    .site-nav li { border-bottom: 1px solid var(--border); }
    .site-nav li:last-child { border-bottom: none; }
    .site-nav a { display: block; padding: 14px 0; }

    .two-col { grid-template-columns: 1fr; gap: 32px; }
    .two-col.reverse > *:first-child,
    .two-col.reverse > *:last-child { order: initial; }

    .section { padding: 64px 0; }
    .hero-content { padding: 80px 24px; }
    .form { grid-template-columns: 1fr; padding: 24px; }
    .price-card { padding: 24px; }

    .price-table th,
    .price-table td {
        display: block;
        white-space: normal;
        text-align: left;
        padding: 0;
    }
    .price-table th { padding-top: 14px; }
    .price-table td { padding-bottom: 14px; }
    .price-table tr { display: block; border-bottom: 1px solid var(--border); }
    .price-table tr:last-child { border-bottom: none; }
    .price-table th,
    .price-table td { border-bottom: none; }
}

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

/* Booking contact card (replaces the form for now) */
.contact-card { align-content: start; }
.contact-label {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 6px;
    letter-spacing: 0.03em;
}
.contact-big {
    font-size: 1.35rem;
    color: var(--text);
    text-decoration: none;
    overflow-wrap: anywhere;
}
.contact-big:hover,
.contact-big:focus { color: var(--accent); }
.contact-hint { margin: 0; color: var(--muted); }
.contact-card .btn { grid-column: 1 / -1; justify-self: start; }

/* Aerial photo of the building (contact section). Source image is only
   480x360, so it is never scaled above its natural size. */
.building-photo {
    margin: 0;
    max-width: 480px;
    width: 100%;
    justify-self: center;
}
.building-photo img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
