
:root{--paper:#f4f0e7;--paper2:#ebe4d6;--ink:#223129;--muted:#67716a;--green:#536a58;--green2:#33483a;--blue:#233b4e;--white:#fffdf8;--line:#d8d0c0;--shadow:0 16px 45px rgba(29,40,32,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}a{color:inherit}.container{width:min(1180px,92vw);margin:auto}h1,h2,h3,h4{font-family:Georgia,'Times New Roman',serif;font-weight:500;line-height:1.08}h1{font-size:clamp(3.5rem,9vw,7rem);margin:.2em 0}h2{font-size:clamp(2.2rem,5vw,4rem);margin:0 0 18px}h3{font-size:2rem;margin:0 0 14px}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:.76rem}.lead{font-size:1.14rem;color:var(--muted)}
nav{position:sticky;top:0;z-index:50;background:rgba(244,240,231,.93);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.navin{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font:1.15rem Georgia,serif;text-decoration:none}.links{display:flex;gap:18px;flex-wrap:wrap}.links a{text-decoration:none;color:var(--muted);font-size:.9rem}.links a:hover{color:var(--ink)}
.hero{min-height:82vh;display:grid;align-items:end;color:#fff;background:#17241c;position:relative;overflow:hidden}.hero-inner{position:relative;z-index:2;padding:0 0 72px}.hero-video-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-video-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,14,12,.05),rgba(8,14,12,.72));z-index:1}.hero p{max-width:720px;font-size:1.17rem}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.btn{display:inline-block;text-decoration:none;border-radius:999px;padding:12px 20px;font-weight:700;border:1px solid rgba(255,255,255,.65)}.btn-primary{background:#fff;color:var(--ink)}.btn-soft{color:#fff;background:rgba(255,255,255,.08)}
section{padding:82px 0}.history{display:grid;grid-template-columns:1.2fr .8fr;gap:34px;align-items:stretch}.history-card{background:var(--white);border:1px solid var(--line);border-radius:22px;padding:30px;box-shadow:var(--shadow)}.history-image{background:var(--white);border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column}.history-image img{width:100%;height:100%;min-height:360px;object-fit:cover}.image-caption{padding:12px 16px;color:var(--muted);font-size:.9rem}
.section-head{max-width:820px;margin-bottom:30px}.building-intro{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:stretch;margin-top:18px}.building-intro-reverse{grid-template-columns:.9fr 1.1fr}.building-intro-image{min-height:360px;border-radius:24px;overflow:hidden;box-shadow:var(--shadow);background:#ddd}.building-intro-image img{width:100%;height:100%;object-fit:cover;display:block}.building-intro-copy{background:var(--white);border:1px solid var(--line);border-radius:24px;padding:32px;display:flex;flex-direction:column;justify-content:center;box-shadow:var(--shadow)}.building-intro-copy h3{font-size:2.4rem;margin-bottom:12px}.asuntola-intro-section{padding-top:38px;padding-bottom:38px}.room-section-top{padding-top:44px}.building-card{position:relative;min-height:360px;border-radius:24px;overflow:hidden;box-shadow:var(--shadow);background:#ddd}.building-card img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.building-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.72))}.building-card-content{position:absolute;left:24px;right:24px;bottom:22px;color:#fff;z-index:1}.building-card h3{margin-bottom:8px}.building-card p{margin:0;opacity:.9}
.room-section{background:linear-gradient(180deg,var(--paper2),var(--paper))}.room-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.room-card{background:var(--white);border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 10px 30px rgba(29,40,32,.08);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}.room-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.room-cover{aspect-ratio:4/3;background:#ddd}.room-cover img{width:100%;height:100%;object-fit:cover}.room-body{padding:18px 18px 20px}.room-body h4{font-size:1.55rem;margin:0 0 4px}.meta{color:var(--muted);font-size:.92rem}.bed-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.bed-chip{display:inline-flex;align-items:center;gap:5px;padding:5px 7px;border:1px solid var(--line);border-radius:999px;background:#faf8f2;font-size:.82rem;color:var(--muted)}.bed-chip img{width:32px;height:28px;object-fit:contain}.bed-legend{margin:28px 0 40px;background:var(--white);border:1px solid var(--line);border-radius:22px;padding:20px}.legend-row{display:flex;flex-wrap:wrap;gap:14px 18px;margin-top:14px}.legend-item,.pet-legend{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:.9rem}.legend-item img{width:40px;height:34px;object-fit:contain}
.gallery-link{display:inline-flex;align-items:center;gap:8px;padding:11px 16px;border-radius:999px;background:var(--green2);color:#fff;text-decoration:none;font-weight:700}.notice{background:var(--white);border:1px solid var(--line);border-radius:18px;padding:22px}.booking{background:var(--blue);color:#fff}.booking .lead{color:#d5dfE7}.calendar-box{background:#fff;color:var(--muted);border-radius:20px;padding:30px;margin-top:22px}.calendar-box strong{color:var(--ink)}
.gallery-section{padding-top:54px}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.gallery-card{background:var(--white);border:1px solid var(--line);border-radius:18px;overflow:hidden}.gallery-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.gallery-card .pad{padding:12px 14px;font-weight:700}.gallery-block{margin-top:56px}.video-card{background:#101714;border-radius:22px;overflow:hidden;box-shadow:var(--shadow)}.video-card video{display:block;width:100%;aspect-ratio:16/9;background:#000}.video-card .pad{padding:16px;color:#fff}
footer{border-top:1px solid var(--line);padding:28px 0;color:var(--muted)}
.modal{position:fixed;inset:0;background:rgba(10,16,13,.78);display:none;align-items:center;justify-content:center;padding:20px;z-index:100}.modal.is-open{display:flex}.modal-box{width:min(1100px,96vw);max-height:94vh;background:var(--white);border-radius:22px;overflow:auto;box-shadow:0 30px 90px rgba(0,0,0,.28);position:relative}.modal-head{position:sticky;top:0;z-index:2;background:rgba(255,253,248,.95);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);padding:16px 20px;display:flex;justify-content:space-between;align-items:center}.modal-head h3{margin:0}.close{border:0;background:transparent;font-size:2rem;line-height:1;cursor:pointer;color:var(--muted)}.modal-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:16px}.modal-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px}.modal-meta{padding:0 20px 18px;color:var(--muted)}
@media(max-width:900px){.history{grid-template-columns:1fr}.building-intro,.building-intro-reverse{grid-template-columns:1fr}.room-grid{grid-template-columns:repeat(2,1fr)}.gallery-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.links{display:none}.room-grid,.gallery-grid{grid-template-columns:1fr}.hero{min-height:72vh}.history,section{padding:60px 0}.history-image img{min-height:250px}.modal-gallery{grid-template-columns:1fr}}
.calendar-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;margin-top:1rem}.calendar-month{padding:1rem;border:1px solid rgba(0,0,0,.1);border-radius:12px;background:#fff}.calendar-month h3{margin:0 0 .75rem;text-transform:capitalize}.calendar-row{display:flex;justify-content:space-between;gap:1rem;padding:.45rem 0;border-top:1px solid rgba(0,0,0,.07)}.calendar-row:first-of-type{border-top:0}.calendar-row time{font-variant-numeric:tabular-nums}.calendar-status{margin-top:.5rem}
/* Varauskalenterin uusi ulkoasu */

.calendar-month {
  margin-top: 28px;
}

.calendar-month-title {
  margin: 0 0 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #eef3f6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: #244257;
}

.calendar-weekend-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.calendar-weekend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 14px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 0.98rem;
}

.calendar-weekend-row:last-child {
  border-bottom: 0;
}

.calendar-weekend-date {
  font-weight: 500;
  color: #314858;
}

.calendar-weekend-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 100px;
  justify-content: flex-end;
  font-weight: 600;
  font-size: 0.88rem;
}

.availability-symbol {
  font-size: 1.15rem;
  line-height: 1;
}

.calendar-weekend-row.free .calendar-weekend-status {
  color: #287a43;
}

.calendar-weekend-row.reserved .calendar-weekend-status {
  color: #b33b3b;
}

.calendar-weekend-row.unknown .calendar-weekend-status {
  color: #777;
}

@media (max-width: 700px) {
  .calendar-weekend-row {
    padding: 9px 10px;
    gap: 12px;
  }

  .calendar-weekend-status {
    min-width: auto;
  }

  .calendar-month-title {
    font-size: 1.35rem;
  }
}
/* Lemmikkiselite käyttää samaa tekstityyliä kuin vuodepaikkojen selitteet. */
.pet-legend{margin-top:10px}
.pet-legend-icon{display:flex;align-items:center}
.pet-legend-icon img{width:40px;height:34px;object-fit:contain}
.room-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.pet-badge{display:inline-flex;align-items:center}
.pet-badge img{width:40px;height:34px;object-fit:contain}
body.modal-open{overflow:hidden}
.hero-video-play{font:inherit;cursor:pointer}
.hero-video-play[hidden]{display:none}
.hero-video-play:disabled{cursor:default}
