/* =======================
   PERUSASETUKSET
   ======================= */
:root{
  --text:#2a2a2a;
  --muted:#6f6f6f;
  --line:#e9e9e9;
  --max:1100px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }

body{
  color:var(--text);
  background:#fff;
  font-family:"Cormorant Garamond", Georgia, serif;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

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

/* =======================
   TOPBAR / NAV
   ======================= */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:#fff;
  border-bottom:1px solid var(--line);
}

.topbar-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.top-quote{
  font-family:"Great Vibes", cursive;
  font-size:20px;
  color:#3a3a3a;
  line-height:1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:55%;
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
}

.nav a{
  font-family:"Montserrat", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-decoration:none;
  color:#2b2b2b;
}

.nav a:hover{ opacity:.7; }

.burger{
  display:none;
  border:0;
  background:transparent;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  padding:6px 8px;
}

.mobile-menu{
  display:none;
  border-top:1px solid var(--line);
  background:#fff;
}

.mobile-menu.open{ display:block; }

.mobile-menu .inner{
  max-width:var(--max);
  margin:0 auto;
  padding:10px 18px 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.mobile-menu a{
  font-family:"Montserrat", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-decoration:none;
  color:#2b2b2b;
  padding:10px 0;
  border-bottom:1px solid #f2f2f2;
}

/* =======================
   KOTI (index) – HERO + SISÄLTÖ
   ======================= */
.hero-img{
  width:100%;
  height:440px;
  object-fit:cover;
  object-position:center;
}

.hero-arrow{
  display:flex;
  justify-content:center;
  margin-top:-10px;
  padding-bottom:18px;
}

.hero-arrow a{
  text-decoration:none;
  font-size:20px;
  color:#2b2b2b;
  opacity:.75;
}

.hero-arrow a:hover{ opacity:1; }

.section{
  max-width:var(--max);
  margin:0 auto;
  padding:38px 18px;
}

.center{ text-align:center; }

.h1{
  font-size:46px;
  font-weight:400;
  line-height:1.25;
  margin:0;
  letter-spacing:.01em;
}

.lead{
  margin:26px auto 0;
  max-width:720px;
  font-size:20px;
  line-height:1.9;
  color:#3a3a3a;
}

.mid-image{
  margin:28px auto 0;
  width:320px;
  max-width:80vw;
}

.mid-image img{
  width:100%;
  height:auto;
}

.twocol{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:120px;
  margin-top:46px;
  align-items:start;
}

.card-title{
  font-size:30px;
  font-weight:400;
  margin:0 0 10px;
}

.small{
  font-family:"Montserrat", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size:11px;
  letter-spacing:.02em;
  color:#2f2f2f;
  line-height:2.0;
}

.small a{ color:#2f2f2f; text-decoration:none; }
.small a:hover{ text-decoration:underline; }

.note{
  margin-top:10px;
  font-size:12px;
  color:#444;
  line-height:1.9;
  font-family:"Montserrat", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}

/* =======================
   YLEISET SIVUOTSIKOT
   ======================= */
.page-title{
  text-align:center;
  margin:30px 0 10px;
  font-size:44px;
  font-weight:400;
}

.content{
  max-width:820px;
  margin:0 auto;
  padding:0 18px 40px;
  font-size:19px;
  line-height:1.9;
  color:#3a3a3a;
  text-align:center;
}

/* =======================
   YLEINEN SIVU-HERO
   ======================= */
.page-hero{
  position:relative;
  width:100%;
  margin:0;
}

.page-hero-img{
  width:100%;
  height:520px;
  object-fit:cover;
  object-position:center;
}

/* POISTA heron tekstiboksi (Hinnasto / Tietoa meistä tms.) */
.page-hero-title{ display:none !important; }

/* =======================
   KUVAGALLERIA
   ======================= */
.gallery{
  max-width:1200px;
  margin:40px auto 90px;
  padding:0 24px;
}

#galleryGrid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:18px;
}

#galleryGrid img{
  width:100%;
  aspect-ratio: 4 / 3;
  object-fit:cover;
  border-radius:10px;
  cursor:pointer;
}

/* =======================
   TIETOA MEISTÄ
   ======================= */
.about-hero{
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background:#f6f6f6;
}

.about-hero-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position:center;
}

/* poista keskellä oleva teksti/badge */
.about-hero-badge{ display:none !important; }

.about-content{
  max-width:980px;
  margin:0 auto;
  padding:48px 18px 70px;
  text-align:center;
}

.about-text{
  max-width:720px;
  margin:26px auto 0;
  line-height:1.9;
  opacity:.92;
  text-align:left;
}

.about-text p{ margin:0 0 14px; }

.about-photo{
  margin:40px auto 0;
  width:260px;
  max-width:70vw;
}

.about-photo img{ width:100%; height:auto; }

/* =======================
   HINNOITTELU
   ======================= */
.content.pricing{
  max-width:980px;
  padding:60px 18px;
  text-align:center;
}

.page-h1{
  font-weight:400;
  font-size:42px;
  margin:10px 0 6px;
}

.page-sub{
  font-family:"Montserrat", sans-serif;
  font-weight:300;
  opacity:.75;
  margin:0 0 28px;
}

/* TÄMÄ KORJAA VARPAAT: EI enää kiinteää korkeutta / croppia */
.page-image{
  max-width:520px;
  margin:22px auto 38px;
  overflow:visible;         /* älä leikkaa */
}

.page-image.tall{
  max-width:360px;
}

.page-image img{
  width:100%;
  height:auto;              /* antaa näkyä koko kuva */
  object-fit:unset;         /* ei pakoteta cover/crop */
  object-position:unset;
}

/* hinnastorivit */
.price-list{ max-width:720px; margin:0 auto; }

.price-row{
  display:grid;
  grid-template-columns: 1fr 140px;
  gap:18px;
  align-items:start;
  padding:16px 0;
  text-align:left;
}

.price-title{
  font-size:20px;
  font-weight:600;
  margin:0 0 6px;
}

.price-text{
  font-family:"Montserrat", sans-serif;
  font-size:12px;
  line-height:1.65;
  opacity:.85;
}

.price-right{
  font-family:"Montserrat", sans-serif;
  font-size:12px;
  text-align:right;
  opacity:.9;
}

.price-hr{
  border:0;
  border-top:1px solid rgba(0,0,0,.12);
  margin:0;
}

.price-hr-space{ margin-top:14px; }

.section-divider{
  max-width:720px;
  margin:54px auto 34px;
  border-top:1px solid rgba(0,0,0,.12);
}

.page-h2{
  font-weight:400;
  font-size:44px;
  margin:0 0 14px;
  text-align:center;
}

.center-text{
  max-width:720px;
  margin:0 auto 26px;
  font-family:"Montserrat", sans-serif;
  font-size:13px;
  line-height:1.9;
  opacity:.7;
  text-align:center;
}

.simple-list{
  max-width:720px;
  margin:0 auto;
  font-family:"Montserrat", sans-serif;
  font-size:13px;
  opacity:.8;
  line-height:1.9;
  text-align:center;
}

.small-notes{
  max-width:720px;
  margin:40px auto 0;
  text-align:center;
  font-family:"Montserrat", sans-serif;
  font-size:11px;
  line-height:1.9;
  opacity:.7;
}

.cta-script{
  margin:70px 0 0;
  text-align:center;
  font-family:"Great Vibes", cursive;
  font-size:56px;
  font-weight:400;
}

/* =======================
   YHTEYDENOTTO (2 palstaa)
   ======================= */
.content.contact2{
  max-width:980px;
  margin:0 auto;
  padding:60px 18px;
  text-align:initial;
}

.contact2-grid{
  display:flex;
  gap:36px;
  align-items:flex-start;
  justify-content:center;
}

.contact2-map{ flex:1.25; min-width:520px; }

.contact2-text{
  flex:0.75;
  max-width:360px;
  font-family:"Montserrat", sans-serif;
  line-height:1.75;
  color:#3a3a3a;
}

.contact2-mapframe iframe{
  width:100%;
  height:320px;
  border:0;
  display:block;
}

.contact2-name{
  font-family:"Cormorant Garamond", serif;
  font-size:18px;
  margin-bottom:10px;
}

.contact2-line{
  font-size:13px;
  opacity:.85;
  margin:6px 0;
}

.contact2-line a{ color:inherit; text-decoration:underline; }

.contact2-strong{
  font-size:13px;
  font-weight:500;
  margin:10px 0 12px;
}

.contact2-par{
  font-size:12px;
  opacity:.85;
  margin:10px 0;
}

.contact2-cancel{
  font-size:11px;
  opacity:.75;
  margin-top:18px;
}

/* =======================
   FOOTER SPACE
   ======================= */
.footer-space{ height:40px; background:transparent; }

/* =======================
   RESPONSIVE
   ======================= */
@media (max-width: 900px){
  .top-quote{ max-width:70%; font-size:18px; }
  .twocol{ gap:50px; }

  #galleryGrid{ grid-template-columns:repeat(3, minmax(0,1fr)); }

  .contact2-grid{ display:block; }
  .contact2-map{ min-width:0; margin-bottom:18px; }
}

@media (max-width: 768px){
  .hero-img{ height:320px; }
  .about-hero{ height:320px; }
  .page-hero-img{ height:320px; }
}

@media (max-width: 720px){
  .nav{ display:none; }
  .burger{ display:inline-block; }
  .top-quote{ max-width:78%; }

  .h1{ font-size:36px; }
  .twocol{ grid-template-columns:1fr; gap:26px; text-align:center; }

  #galleryGrid{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px; }

  .price-row{ grid-template-columns:1fr; }
  .price-right{ text-align:left; }
  .page-h1{ font-size:34px; }
  .page-h2{ font-size:36px; }
  .cta-script{ font-size:44px; }
}
