/* =========
  Smolevichi Landing — warm neutral UI
  Tokens: edit in :root
========= */
:root{
  --bg: #F5F2EE;
  --card: #ffffff;
  --text: #1A1A1A;
  --muted: #6A6662;
  --border: #E3DDD6;
  --soft: #FBFAF8;
  --accent: #78583F;
  --accent-dark:#5C4432;

  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 18px;

  --shadow: 0 18px 40px rgba(20,18,16,.10);
  --shadow-sm: 0 12px 26px rgba(20,18,16,.10);

  --container: 1200px;
}

*{box-sizing:border-box;}
html,body{height:100%;}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height:1.35;
}

img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
button{font-family:inherit;}

.container{
  width:min(var(--container), calc(100% - 40px));
  margin:0 auto;
}

/* Typography */
.h1{
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  margin:0 0 14px 0;
}
.h2{
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  margin:0 0 10px 0;
}
.h3{
  font-weight: 600;
  font-size: 20px;
  margin:0 0 8px;
}
.lead{
  margin:0 0 18px;
  color:var(--muted);
  font-size: 16px;
  max-width: 62ch;
}
.sub{
  margin:0 0 18px;
  color:var(--muted);
}
.text{
  margin:0 0 16px;
  color:var(--muted);
}
.muted{color:var(--muted);}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 18px;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 600;
  transition: transform .05s ease, background .2s ease, border .2s ease;
  user-select:none;
  cursor:pointer;
  white-space:nowrap;
}
.btn:active{transform: translateY(1px);}
.btn--primary{
  background: var(--accent);
  color:#fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover{background:var(--accent-dark);}
.btn--secondary{
  background:#fff;
  border-color: var(--border);
  color: var(--accent-dark);
}
.btn--secondary:hover{border-color: #d6cfc7;}
.btn--lg{padding:14px 20px; border-radius: 20px;}
.btn--sm{padding:10px 14px; border-radius: 16px; box-shadow:none;}

/* Header */
.header{
  position: sticky;
  top:0;
  z-index: 50;
  padding: 18px 0;
  transition: backdrop-filter .2s ease, background .2s ease, padding .2s ease;
}
.header.is-scrolled{
  background: rgba(245,242,238,.80);
  backdrop-filter: blur(10px);
  padding: 10px 0;
}
.header__inner{
  display:flex;
  gap: 16px;
  align-items:center;
  justify-content:space-between;
  background: rgba(255,255,255,.85);
  border:1px solid var(--border);
  border-radius: 24px;
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
}
.brand__name{font-weight:700;}
.brand__meta{font-size: 12px; color:var(--muted); margin-top:2px;}

.header__right{
  display:flex;
  align-items:center;
  gap: 16px;
}
.phone{font-weight:700; font-size: 16px;}
.header__sub{font-size: 12px; color:var(--muted); margin-top:2px;}

/* Hero */
.hero{
  padding: 20px 0 10px;
}
.hero__grid{
  background: var(--soft);
  border:1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 34px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 30px;
  align-items: stretch;
}
.hero__media{
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid var(--border);
}
.hero__media img{height:100%; width:100%; object-fit:cover; object-position: 50% 35%;}
.hero__cta{display:flex; gap: 12px; flex-wrap:wrap; margin: 16px 0 8px;}
.hint{margin:0; color:var(--muted); font-size: 13px;}

.bullets{
  list-style:none;
  padding:0;
  margin: 18px 0 0;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  max-width: 620px;
}
.check{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display:inline-block;
  vertical-align: -3px;
  margin-right: 10px;
  background: #F0ECE8;
  border:1px solid var(--border);
  position:relative;
}
.check:after{
  content:"";
  position:absolute;
  left:5px;
  top:5px;
  width:7px; height:4px;
  border-left: 2px solid #586B60;
  border-bottom: 2px solid #586B60;
  transform: rotate(-45deg);
}


/* Desktop hero (only for large screens):
   - One single photo (no duplicated scaling)
   - Photo is visible behind text, but text stays readable
   - Mobile / tablet layout remains unchanged */
@media (min-width: 981px) and (hover: hover) and (pointer: fine){
  .hero__grid{
    position: relative;
    overflow: hidden;
    background: transparent; /* override --soft on desktop */
  }

  /* Real store photo as the ONLY background */
  .hero__grid::before{
    content:"";
    position:absolute;
    inset:0;
    background-image: url('../img/hero.jpg');
    background-size: cover;
    background-position: 50% 40%;
    transform: scale(1.03);
    z-index: 0;
  }

  /* Light veil only to help readability (keeps the store visible) */
  .hero__grid::after{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(90deg,
      rgba(245,242,238,.46) 0%,
      rgba(245,242,238,.22) 46%,
      rgba(245,242,238,.06) 100%);
    pointer-events:none;
    z-index: 0;
  }

  .hero__content{
    position: relative;
    z-index: 1;

    /* Gentle glass panel (NOT heavy blur) */
    background: rgba(255,255,255,.22);
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 24px;
    padding: 18px 18px 20px;

    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  /* On desktop we do NOT show a second copy of the same photo */
  .hero__media{
    display: none;
  }
}


/* Trust bar */
.trust{
  margin-top: 16px;
  background: rgba(255,255,255,.85);
  border:1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  padding: 18px 22px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position:relative;
}
.trust__title{font-weight:700;}
.trust__text{color:var(--muted); font-size: 13px; margin-top: 2px;}
.trust__note{
  position:absolute;
  right: 22px;
  bottom: 12px;
  color: var(--muted);
  font-size: 12px;
}

/* Sections */
.section{padding: 30px 0;}
.section__head{
  display:flex;
  gap: 16px;
  align-items:flex-end;
  justify-content:space-between;
  margin-bottom: 14px;
}
.note{
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

/* Chips */
.chips{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}
.chip{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 600;
  color: var(--text);
  cursor:pointer;
}
.chip.is-active{
  border-color: #d5c9bf;
  background: #fbfaf8;
}

/* Cards */
.cards{display:grid; gap: 18px;}
.cards--3{grid-template-columns: repeat(3, 1fr);}

.card, .price, .review{
  background:#fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow:hidden;
}
.card__img{width:100%; height: 160px; object-fit:cover;}
.card__body{padding: 16px 16px 18px;}

.price{padding: 18px;}
.price__top{margin-bottom: 12px;}
.price__name{font-weight:700;}
.price__value{
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--accent-dark);
}
.list{list-style:none; padding:0; margin: 12px 0 16px; display:grid; gap: 10px;}
.list li{color:var(--text);}

/* Panel */
.panel{
  background: rgba(255,255,255,.85);
  border:1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 26px;
}
.panel__cta{display:flex; gap: 12px; flex-wrap:wrap; margin-top: 16px;}

/* Steps */
.steps{display:grid; gap: 14px; margin: 16px 0;}
.steps--3{grid-template-columns: repeat(3, 1fr);}
.steps--4{grid-template-columns: repeat(4, 1fr);}
.step{
  background: var(--soft);
  border: 1px solid #eee7df;
  border-radius: var(--radius-md);
  padding: 16px;
}
.step__n{
  width: 30px; height:30px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: var(--accent);
  color:#fff;
  font-weight:700;
  margin-bottom: 10px;
}
.step__t{font-weight:700; margin-bottom: 6px;}
.step__d{color:var(--muted); font-size: 13px;}

/* Services */
.service-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.service{
  background:#fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  display:flex;
  gap: 12px;
  align-items:flex-start;
}
.service__icon{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: #F0ECE8;
  flex: 0 0 42px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.service__icon img{
  width: 22px;
  height: 22px;
  display:block;
}

.service__t{font-weight:700; margin-bottom: 2px;}
.service__d{color:var(--muted); font-size: 13px;}

/* Included table */
.table{
  background: rgba(255,255,255,.85);
  border:1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 18px;
}
.table__head{margin-bottom: 10px;}
.table__title{font-weight:700;}
.table__meta{color:var(--muted); font-size: 13px; margin-top: 4px;}
.table__row{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 18px;
}
.table__row:nth-child(even){background: #FBFAF8;}
.table__row strong{min-width: 130px;}
.table .btn{margin-top: 14px;}

/* Accordion */
.accordion{
  background: rgba(255,255,255,.85);
  border:1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 12px;
  margin-bottom: 14px;
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.accordion__item{border-bottom:none;}
.accordion__btn{
  width:100%;
  text-align:left;
  padding: 14px 14px;
  background: #FBFAF8;
  border: 1px solid var(--border);
  border-radius: 18px;
  font-weight: 600;
  cursor:pointer;
  position:relative;
}
.accordion__btn::after{
  content:"";
  position:absolute;
  right: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-60%) rotate(45deg);
  transition: transform .15s ease;
}
.accordion__item.is-open .accordion__btn::after{
  transform: translateY(-40%) rotate(-135deg);
}
.accordion__panel{
  padding: 10px 14px 16px;
  color: var(--muted);
  font-size: 13px;
  display:none;
}
.accordion__item.is-open .accordion__panel{display:block;}

/* Reviews */
.review{padding: 18px;}
.review__top{display:flex; align-items:center; justify-content:space-between; gap: 12px; margin-bottom: 10px;}
.review__name{font-weight:700;}
.stars{color: #BEA06E; letter-spacing: 1px; font-size: 14px;}

/* Contacts */
.contacts{
  background: rgba(255,255,255,.85);
  border:1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 18px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contacts__phone{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 40px;
}
.contacts__line{margin-top: 10px;}
.contacts__cta{display:flex; gap: 12px; flex-wrap:wrap; margin-top: 16px;}
.contacts__map{
  border:1px solid var(--border);
  border-radius: var(--radius-md);
  overflow:hidden;
  position:relative;
  min-height: 280px;
}
.contacts__map img,
.contacts__map iframe{height:100%; width:100%; object-fit:cover; display:block; border:0;}
.map__badge{
  text-decoration:none;
  position:absolute;
  left: 14px;
  top: 14px;
  background: rgba(255,255,255,.88);
  border:1px solid var(--border);
  border-radius: 16px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 12px;
}

.map__pulse{
  position:absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(190,160,110,.95);
  transform: translate(-50%, -50%);
  pointer-events:none;
}
.map__pulse::before{
  content:"";
  position:absolute;
  inset: -18px;
  border-radius: 50%;
  background: rgba(190,160,110,.25);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse{
  0%{transform: scale(.25); opacity: .9;}
  100%{transform: scale(1); opacity: 0;}
}

/* Footer */
.footer{padding: 30px 0 110px;}
.footer__inner{
  background: rgba(255,255,255,.85);
  border:1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 18px;
}
.footer__links{display:flex; gap: 14px; flex-wrap:wrap;}
.footer__link{color: var(--text); font-size: 13px; text-decoration: underline;}
.footer__copy{margin-top: 12px; color: var(--muted); font-size: 12px;}
.footer__note{margin-top: 8px; color: var(--muted); font-size: 12px;}

/* Sticky mobile bar */
.stickybar{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  width: min(var(--container), calc(100% - 40px));
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 10px;
  display:none;
  gap: 10px;
  z-index: 70;
}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr; padding: 22px;}
  .bullets{grid-template-columns:1fr;}
  .trust{grid-template-columns: 1fr 1fr; padding-bottom: 28px;}
  .trust__note{right: 18px; bottom: 10px;}
  .cards--3{grid-template-columns: 1fr;}
  .steps--3, .steps--4{grid-template-columns: 1fr;}
  .service-grid{grid-template-columns: 1fr;}
  .contacts{grid-template-columns: 1fr;}
}

@media (max-width: 980px){
  .stickybar{display:flex;}
  .header__contacts{display:none;}
}
