/* Visual refinement pass: coastal editorial language without changing the layout. */
:root{
  --paper:#fbf8f2;
  --paper-warm:#f4ecdf;
  --mist:#eef3f0;
  --accent-soft:#e7c8ae;
}

/* Keep the compact sticky header as-is; only refine the page below it. */

body.inner-page .site-header{
  position:relative;
  background:var(--green-dark);
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.12);
}

body.inner-page .inner-hero{
  min-height:250px;
  padding:42px 0 36px;
  display:flex;
  align-items:flex-end;
  background:var(--cream);
}
body.inner-page .inner-hero h1{
  max-width:900px;
  margin:0;
  font-size:clamp(48px,6vw,78px);
  line-height:1;
}
body.inner-page .inner-hero p{
  max-width:720px;
  margin:16px 0 0;
  color:var(--muted);
  font-size:19px;
}
body.inner-page .inner-hero + .inner-intro{
  padding-top:56px;
  padding-bottom:44px;
}
body.inner-page .inner-hero + .section{
  padding-top:56px;
}
body.inner-page .inner-intro + .section{
  padding-top:0;
}

.contacts-map-section{
  position:relative;
  overflow:hidden;
  padding:0 0 104px;
  background:var(--paper);
}
.contacts-map-section>.container{position:relative;z-index:1}
.contacts-map-head{display:flex;align-items:flex-end;justify-content:space-between;gap:48px;margin-bottom:30px}
.contacts-map-head h2{margin:0;font-size:clamp(42px,4.5vw,64px);line-height:1}
.contacts-map-head p{max-width:420px;margin:0 0 7px;color:var(--muted);text-align:right}
.contacts-map-frame{position:relative;height:540px;overflow:hidden;border-radius:30px 30px 84px 30px;background:#e8eee9;border:1px solid rgba(40,85,72,.10);box-shadow:0 24px 70px rgba(21,58,49,.10)}
.contacts-map-frame iframe{display:block;width:100%!important;height:100%!important;border:0!important}
.review-form-wrap{max-width:760px;margin:56px auto 0;padding:34px;background:rgba(255,255,255,.58);border:1px solid rgba(40,85,72,.12);border-radius:28px}
.review-form-wrap h3{margin:0;font-size:36px;color:var(--ink)}
.review-form{margin-top:24px}
.review-form .field label{color:var(--muted)}
.review-form .field input,.review-form .field select,.review-form .field textarea{border-color:#d9dfdc;color:var(--ink)}
.review-form small{display:block;margin-top:12px;color:var(--muted);font-size:11px}
@media(max-width:900px){.contacts-map-frame{height:460px;border-radius:26px 26px 60px 26px}}
@media(max-width:640px){.contacts-map-section{padding-bottom:72px}.contacts-map-head{display:block;margin-bottom:22px}.contacts-map-head p{margin-top:12px;text-align:left}.contacts-map-frame{height:360px;border-radius:22px}}

/* 1. Lighter hero: more sea and sky, less dark overlay. */
.hero-shade{
  background:
    linear-gradient(90deg,rgba(13,38,31,.60) 0%,rgba(13,38,31,.32) 45%,rgba(13,38,31,.06) 78%),
    linear-gradient(0deg,rgba(10,31,26,.28),transparent 44%);
}
.hero-content p{color:rgba(255,255,255,.92)}

/* A tiny repeated signature: section labels get a fine line, not an icon. */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.eyebrow:before{
  content:"";
  width:20px;
  height:1px;
  flex:0 0 20px;
  background:currentColor;
  opacity:.55;
}

/* 2. Intro: introduce depth and a restrained contour motif. */
.place-intro{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 10% 18%,rgba(231,200,174,.18),transparent 27%),
    linear-gradient(180deg,#fff 0%,#fdfbf7 100%);
}
.place-intro:before{
  content:"";
  position:absolute;
  width:520px;
  height:230px;
  left:-230px;
  top:120px;
  border:1px solid rgba(40,85,72,.14);
  border-radius:50%;
  transform:rotate(-13deg);
  box-shadow:
    0 18px 0 -17px rgba(40,85,72,.12),
    0 36px 0 -35px rgba(40,85,72,.09),
    0 54px 0 -53px rgba(40,85,72,.07);
}
.intro-layout{position:relative;z-index:1}
.intro-copy-panel{position:relative}
.intro-copy-panel:after{
  content:"";
  display:block;
  width:112px;
  height:2px;
  margin-top:34px;
  background:linear-gradient(90deg,var(--accent),rgba(204,131,82,0));
}
.intro-badges span{
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(6px);
}

/* Photo block becomes a composed object, not just a photo with thumbnails. */
.object-gallery{position:relative}
.object-gallery:before{
  content:"10 минут до моря";
  position:absolute;
  z-index:4;
  right:88px;
  top:-18px;
  padding:9px 14px;
  border-radius:999px;
  background:var(--paper-warm);
  color:var(--green-dark);
  border:1px solid rgba(40,85,72,.12);
  font-size:10px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
  box-shadow:0 10px 30px rgba(32,49,44,.08);
}
.object-main{
  border-radius:30px 30px 86px 30px;
  box-shadow:0 28px 80px rgba(21,58,49,.13);
}
.object-thumbs button{border-radius:18px 18px 30px 18px}

/* The route ribbon stays dark but gains a subtle warm hairline. */
.route-ribbon{
  position:relative;
  border-top:1px solid rgba(231,200,174,.28);
  border-bottom:1px solid rgba(231,200,174,.22);
}

/* 3. Accommodation: warmer layered background + asymmetric cards. */
.stay-section{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 88% 18%,rgba(204,131,82,.08),transparent 22%),
    linear-gradient(180deg,#f5eee3 0%,#fbf8f2 80%);
}
.stay-section:before{
  content:"";
  position:absolute;
  width:620px;
  height:260px;
  right:-280px;
  top:80px;
  border:1px solid rgba(40,85,72,.10);
  border-radius:50%;
  transform:rotate(10deg);
  box-shadow:
    0 20px 0 -19px rgba(40,85,72,.09),
    0 40px 0 -39px rgba(40,85,72,.07);
}
.stay-section>.container{position:relative;z-index:1}
.house-teaser{
  border:1px solid rgba(40,85,72,.08);
  box-shadow:0 18px 54px rgba(34,53,47,.07);
}
.house-teaser:nth-child(odd){border-radius:28px 28px 78px 28px}
.house-teaser:nth-child(even){border-radius:28px 78px 28px 28px}
.house-number{
  background:rgba(248,244,236,.94);
  color:var(--green-dark);
  border:1px solid rgba(40,85,72,.20);
  box-shadow:0 8px 24px rgba(21,58,49,.10);
}
.house-copy{position:relative;display:flex;flex-direction:column;align-items:flex-start}
.house-copy .house-link{align-self:flex-start;margin-top:auto;margin-bottom:2px;border:1px solid rgba(21,58,49,.18)}
.house-copy:after{
  content:"";
  position:absolute;
  width:44px;
  height:44px;
  right:18px;
  bottom:18px;
  border-right:1px solid rgba(204,131,82,.38);
  border-bottom:1px solid rgba(204,131,82,.38);
  border-radius:0 0 32px 0;
}

/* Advantages become more editorial and less like a plain table. */
.feature-band{
  background:var(--paper);
  padding-top:8px;
}
.feature-row{
  background:#fff;
  border:1px solid rgba(40,85,72,.10);
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 18px 54px rgba(34,53,47,.045);
}
.feature-row>div{border-right:1px solid rgba(40,85,72,.09)}
.feature-row b{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border:1px solid rgba(204,131,82,.35);
  border-radius:50%;
  margin-bottom:20px;
}
.nearby-features .section-head{margin-bottom:34px}
.nearby-features .section-head{display:none}
.feature-icon{width:116px;height:116px;object-fit:contain;margin:0 0 22px}
.nearby-features .feature-row{grid-template-columns:repeat(3,1fr);gap:16px;background:transparent;border:0;box-shadow:none;overflow:visible}
.nearby-features .feature-row>div{display:grid;grid-template-columns:116px minmax(0,1fr);align-items:center;gap:22px;padding:26px;border:1px solid rgba(40,85,72,.10);border-radius:28px;background:#fff;box-shadow:0 18px 54px rgba(34,53,47,.07)}
.nearby-features .feature-row>div+div{padding-left:26px}
.nearby-features .feature-icon{margin:0}
.nearby-features .feature-copy strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:25px;font-weight:500;line-height:1.08}
.nearby-features .feature-copy p{margin:12px 0 0;color:var(--muted);font-size:14px}

/* 4. Nearby: a soft coastline-like background and stronger card rhythm. */
.nearby-section{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 100% 4%,rgba(223,233,228,.72),transparent 28%),
    linear-gradient(180deg,#fff 0%,#fbfaf7 100%);
}
.nearby-section:before{
  content:"";
  position:absolute;
  width:470px;
  height:180px;
  right:-130px;
  top:80px;
  border-top:1px solid rgba(40,85,72,.14);
  border-radius:50%;
  transform:rotate(-9deg);
  box-shadow:
    0 -18px 0 -17px rgba(40,85,72,.10),
    0 -36px 0 -35px rgba(40,85,72,.08),
    0 -54px 0 -53px rgba(40,85,72,.06);
}
.nearby-section>.container{position:relative;z-index:1}
.place-card.featured{border-radius:34px 34px 92px 34px}
.nearby-grid .place-card:not(.featured){border-radius:24px 52px 24px 24px}

/* 5. Reviews no longer occupy a huge dark slab. */
.reviews-section{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,#f3eadc 0%,#f8f3eb 100%);
  color:var(--ink);
}
.reviews-section .eyebrow{color:var(--green)}
.reviews-section:before{
  content:"“";
  position:absolute;
  right:5%;
  top:-90px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:360px;
  line-height:1;
  color:rgba(40,85,72,.055);
  pointer-events:none;
}
.review-grid{position:relative;z-index:1}
.review-grid blockquote{
  background:rgba(255,255,255,.82);
  color:var(--ink);
  border:1px solid rgba(40,85,72,.10);
  box-shadow:0 18px 55px rgba(30,52,45,.06);
}
.review-grid blockquote:nth-child(2){transform:translateY(22px)}
.review-grid blockquote p{color:var(--ink)}
.review-grid footer span{color:var(--muted);opacity:1}
.stars{color:var(--accent)}

/* 6. Inquiry is now a green 'island' on a light page instead of a full-width green wall. */
.inquiry-section{
  position:relative;
  padding:116px 0;
  background:
    radial-gradient(circle at 8% 90%,rgba(231,200,174,.25),transparent 24%),
    var(--paper);
  color:var(--ink);
}
.inquiry-grid{
  position:relative;
  overflow:hidden;
  padding:66px;
  border-radius:38px 38px 100px 38px;
  background:linear-gradient(120deg,#173c32 0%,#245447 100%);
  color:#fff;
  box-shadow:0 30px 90px rgba(21,58,49,.18);
}
.inquiry-grid:before{
  content:"";
  position:absolute;
  width:430px;
  height:180px;
  left:-170px;
  bottom:-70px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:50%;
  transform:rotate(8deg);
  box-shadow:
    0 20px 0 -19px rgba(255,255,255,.08),
    0 40px 0 -39px rgba(255,255,255,.06),
    0 60px 0 -59px rgba(255,255,255,.045);
}
.inquiry-grid:after{
  content:"";
  position:absolute;
  width:86px;
  height:86px;
  right:44%;
  top:-36px;
  border-radius:50%;
  border:1px solid rgba(231,200,174,.35);
}
.inquiry-copy,.inquiry-form{position:relative;z-index:1}
.inquiry-copy>p{color:#d6e2dd}
.inquiry-form{
  box-shadow:0 24px 70px rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.65);
}

/* Contacts: wide map block below contacts/form. Map itself comes from SiteSettings.map_embed. */
.contacts-map-section{
  position:relative;
  overflow:hidden;
  padding:0 0 104px;
  background:var(--paper);
}
.contacts-map-section:before{
  content:"";
  position:absolute;
  width:520px;
  height:190px;
  right:-180px;
  top:24px;
  border-top:1px solid rgba(40,85,72,.12);
  border-radius:50%;
  transform:rotate(-8deg);
  box-shadow:
    0 -18px 0 -17px rgba(40,85,72,.09),
    0 -36px 0 -35px rgba(40,85,72,.065);
}
.contacts-map-section>.container{position:relative;z-index:1}
.contacts-map-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:48px;
  margin-bottom:30px;
}
.contacts-map-head h2{
  margin:0;
  font-size:clamp(42px,4.5vw,64px);
  line-height:1;
}
.contacts-map-head p{
  max-width:420px;
  margin:0 0 7px;
  color:var(--muted);
  text-align:right;
}
.contacts-map-frame{
  position:relative;
  height:540px;
  overflow:hidden;
  border-radius:30px 30px 84px 30px;
  background:#e8eee9;
  border:1px solid rgba(40,85,72,.10);
  box-shadow:0 24px 70px rgba(21,58,49,.10);
}
.contacts-map-frame iframe{
  display:block;
  width:100%!important;
  height:100%!important;
  border:0!important;
}

/* Footer is allowed to be the only full-width dark block at the bottom. */
.site-footer{
  border-top:1px solid rgba(231,200,174,.18);
}

@media (max-width:900px){
  .object-gallery:before{right:16px;top:-14px}
  .review-grid blockquote:nth-child(2){transform:none}
  .inquiry-grid{padding:40px;border-radius:30px 30px 64px 30px}
  .inquiry-grid:after{display:none}
  .contacts-map-frame{height:460px;border-radius:26px 26px 60px 26px}
}

@media (max-width:640px){
  .place-intro:before,.stay-section:before,.nearby-section:before{opacity:.55}
  .object-main{border-radius:24px 24px 52px 24px}
  .house-teaser:nth-child(odd),.house-teaser:nth-child(even){border-radius:24px}
  .feature-row{border-radius:22px}
  .place-card.featured,.nearby-grid .place-card:not(.featured){border-radius:24px}
  .inquiry-section{padding:76px 0}
  .inquiry-grid{padding:30px 22px;border-radius:24px 24px 48px 24px}
  .contacts-map-section{padding-bottom:72px}
  .contacts-map-head{display:block;margin-bottom:22px}
  .contacts-map-head p{margin-top:12px;text-align:left}
  .contacts-map-frame{height:360px;border-radius:22px}
}

@media (max-width:700px){
  .nearby-features .feature-row{grid-template-columns:1fr;gap:14px}
  .nearby-features .feature-row>div,.nearby-features .feature-row>div+div{grid-template-columns:132px minmax(0,1fr);gap:22px;padding:26px 18px;border-radius:24px}
  .nearby-features .feature-icon{width:132px;height:132px}
}

.object-main{touch-action:pan-y}
