/*
Theme Name: Touch NSK
Theme URI: https://touchnsk.ru
Author: SOVED
Description: Лендинг для Touch NSK — массаж и СПА-программы в Новосибирске.
Version: 1.0.0
Text Domain: touch-nsk
*/

:root{
  --bg:#f8f3ec;
  --paper:#fffaf3;
  --paper-strong:#ffffff;
  --text:#241d19;
  --muted:#75695f;
  --accent:#9b6a3d;
  --accent-dark:#6f4829;
  --sage:#8fa58b;
  --sage-dark:#63785f;
  --line:rgba(36,29,25,.12);
  --shadow:0 22px 70px rgba(55,35,21,.12);
  --radius:28px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:
    radial-gradient(circle at 15% 0%, rgba(143,165,139,.28), transparent 34%),
    radial-gradient(circle at 85% 12%, rgba(155,106,61,.16), transparent 30%),
    var(--bg);
  color:var(--text);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

a{color:inherit}
.page{
  overflow:hidden;
}

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

.topbar{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter: blur(18px);
  background:rgba(248,243,236,.82);
  border-bottom:1px solid var(--line);
}

.nav{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.brand{
  display:flex;
  flex-direction:column;
  gap:2px;
  text-decoration:none;
}

.brand__name{
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:20px;
}

.brand__note{
  color:var(--muted);
  font-size:13px;
}

.nav__links{
  display:flex;
  align-items:center;
  gap:22px;
  color:var(--muted);
  font-size:14px;
}

.nav__links a{
  text-decoration:none;
}

.nav__links a:hover{
  color:var(--accent-dark);
}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:48px;
  padding:13px 20px;
  border-radius:999px;
  text-decoration:none;
  font-weight:750;
  border:1px solid transparent;
  transition:.22s ease;
  white-space:nowrap;
}

.button--primary{
  background:var(--text);
  color:#fff;
  box-shadow:0 12px 28px rgba(36,29,25,.2);
}

.button--primary:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 36px rgba(36,29,25,.26);
}

.button--soft{
  background:rgba(255,250,243,.76);
  color:var(--text);
  border-color:var(--line);
}

.button--soft:hover{
  border-color:rgba(155,106,61,.35);
  transform:translateY(-2px);
}

.hero{
  padding:68px 0 54px;
}

.hero__grid{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:34px;
  align-items:stretch;
}

.hero__content{
  min-height:620px;
  border-radius:calc(var(--radius) + 8px);
  padding:56px;
  background:
    linear-gradient(135deg, rgba(255,250,243,.95), rgba(255,255,255,.74)),
    radial-gradient(circle at 80% 15%, rgba(143,165,139,.25), transparent 28%);
  box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,.7);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;
  max-width:100%;
  padding:9px 14px;
  border-radius:999px;
  background:rgba(143,165,139,.18);
  color:var(--sage-dark);
  font-weight:750;
  font-size:14px;
}

.hero h1{
  margin:28px 0 18px;
  font-size:clamp(42px, 6vw, 78px);
  line-height:.95;
  letter-spacing:-.055em;
}

.lead{
  max-width:660px;
  color:var(--muted);
  font-size:clamp(18px, 2vw, 23px);
  margin:0;
}

.hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:34px;
}

.hero__facts{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:38px;
}

.fact{
  padding:16px;
  border-radius:20px;
  background:rgba(255,255,255,.68);
  border:1px solid var(--line);
}

.fact b{
  display:block;
  font-size:20px;
  margin-bottom:4px;
}

.fact span{
  color:var(--muted);
  font-size:13px;
}

.hero__visual{
  position:relative;
  min-height:620px;
  border-radius:calc(var(--radius) + 8px);
  overflow:hidden;
  background:
    linear-gradient(145deg, rgba(36,29,25,.1), rgba(36,29,25,.55)),
    url("https://images.unsplash.com/photo-1540555700478-4be289fbecef?auto=format&fit=crop&w=1200&q=82") center/cover;
  box-shadow:var(--shadow);
}

.hero__visual::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(36,29,25,.82), transparent 58%);
}

.visual-card{
  position:absolute;
  left:24px;
  right:24px;
  bottom:24px;
  z-index:2;
  padding:24px;
  border-radius:24px;
  color:#fff;
  background:rgba(36,29,25,.5);
  border:1px solid rgba(255,255,255,.2);
  backdrop-filter:blur(16px);
}

.visual-card strong{
  display:block;
  font-size:24px;
  margin-bottom:6px;
}

.visual-card span{
  color:rgba(255,255,255,.8);
}

.section{
  padding:56px 0;
}

.section__head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:22px;
  margin-bottom:28px;
}

.kicker{
  color:var(--accent);
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:13px;
  margin-bottom:10px;
}

h2{
  margin:0;
  font-size:clamp(32px,4vw,52px);
  line-height:1;
  letter-spacing:-.04em;
}

.section__text{
  color:var(--muted);
  max-width:480px;
  margin:0;
  font-size:18px;
}

.problems{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.problem{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:24px;
  padding:24px;
  box-shadow:0 12px 35px rgba(55,35,21,.06);
}

.problem__icon{
  width:42px;
  height:42px;
  border-radius:14px;
  background:rgba(143,165,139,.2);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:16px;
  font-size:22px;
}

.problem h3{
  margin:0 0 8px;
  font-size:20px;
}

.problem p{
  margin:0;
  color:var(--muted);
}

.price-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}

.service{
  background:rgba(255,250,243,.88);
  border:1px solid var(--line);
  border-radius:26px;
  padding:24px;
  box-shadow:0 12px 35px rgba(55,35,21,.06);
}

.service--wide{
  grid-column:1/-1;
  background:
    linear-gradient(135deg, rgba(143,165,139,.16), rgba(255,250,243,.95)),
    var(--paper);
}

.service__top{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  margin-bottom:14px;
}

.service h3{
  margin:0;
  font-size:24px;
  line-height:1.1;
  letter-spacing:-.02em;
}

.duration{
  flex:0 0 auto;
  padding:8px 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
  color:var(--muted);
  font-weight:750;
  font-size:14px;
}

.tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 14px;
}

.tag{
  padding:6px 10px;
  border-radius:999px;
  background:rgba(155,106,61,.1);
  color:var(--accent-dark);
  font-size:13px;
  font-weight:700;
}

.service p{
  color:var(--muted);
  margin:0 0 18px;
}

.price{
  font-size:28px;
  line-height:1;
  font-weight:900;
  color:var(--accent-dark);
}

.spa{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:18px;
  align-items:start;
}

.spa__steps{
  display:grid;
  gap:10px;
}

.step{
  display:grid;
  grid-template-columns:38px 1fr;
  gap:12px;
  align-items:start;
  padding:14px;
  border-radius:18px;
  background:rgba(255,255,255,.62);
  border:1px solid var(--line);
}

.step b{
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  border-radius:50%;
  background:var(--text);
  color:#fff;
}

.benefits{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.benefit{
  padding:20px;
  border-radius:22px;
  background:rgba(255,255,255,.55);
  border:1px solid var(--line);
}

.benefit b{
  display:block;
  margin-bottom:6px;
  font-size:18px;
}

.benefit span{
  color:var(--muted);
}

.about-card{
  display:grid;
  grid-template-columns:.82fr 1.18fr;
  gap:22px;
  padding:28px;
  border-radius:34px;
  background:var(--paper);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.about-photo{
  min-height:390px;
  border-radius:26px;
  background:
    linear-gradient(to top, rgba(36,29,25,.66), transparent 58%),
    url("https://images.unsplash.com/photo-1600334129128-685c5582fd35?auto=format&fit=crop&w=900&q=82") center/cover;
}

.about-text{
  align-self:center;
}

.about-text p{
  color:var(--muted);
  font-size:18px;
  margin:0 0 16px;
}

.how{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  counter-reset:how;
}

.how__item{
  position:relative;
  padding:22px;
  border-radius:24px;
  background:rgba(255,250,243,.88);
  border:1px solid var(--line);
}

.how__item::before{
  counter-increment:how;
  content:counter(how);
  display:flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--sage);
  color:#fff;
  font-weight:850;
  margin-bottom:18px;
}

.how__item b{
  display:block;
  margin-bottom:8px;
}

.how__item span{
  color:var(--muted);
}

.cta{
  padding:64px 0 74px;
}

.cta__box{
  border-radius:36px;
  padding:44px;
  background:
    radial-gradient(circle at 90% 20%, rgba(143,165,139,.28), transparent 26%),
    linear-gradient(135deg, var(--text), #3d2f27);
  color:#fff;
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px;
  align-items:center;
}

.cta h2{
  color:#fff;
}

.cta p{
  color:rgba(255,255,255,.76);
  font-size:18px;
  margin:16px 0 0;
}

.cta__buttons{
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:stretch;
}

.cta .button--primary{
  background:#fff;
  color:var(--text);
}

.cta .button--soft{
  background:rgba(255,255,255,.1);
  color:#fff;
  border-color:rgba(255,255,255,.18);
}

.footer{
  padding:28px 0 42px;
  color:var(--muted);
  border-top:1px solid var(--line);
}

.footer__inner{
  display:flex;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}

.floating-contact{
  display:none;
}

@media (max-width: 900px){
  .nav__links{display:none}
  .hero__grid,
  .spa,
  .about-card,
  .cta__box{
    grid-template-columns:1fr;
  }
  .hero__content,
  .hero__visual{
    min-height:auto;
  }
  .hero__visual{
    min-height:420px;
  }
  .problems,
  .how{
    grid-template-columns:repeat(2,1fr);
  }
  .price-grid,
  .benefits{
    grid-template-columns:1fr;
  }
  .service--wide{grid-column:auto}
}

@media (max-width: 640px){
  .container{width:min(100% - 28px, 1120px)}
  .nav{
    min-height:66px;
  }
  .brand__name{font-size:18px}
  .brand__note{display:none}
  .nav .button{
    min-height:42px;
    padding:10px 13px;
    font-size:14px;
  }
  .hero{
    padding:34px 0 28px;
  }
  .hero__content{
    padding:28px 22px;
    border-radius:26px;
  }
  .hero h1{
    margin-top:22px;
    font-size:44px;
  }
  .lead{
    font-size:18px;
  }
  .hero__facts{
    grid-template-columns:1fr;
    margin-top:26px;
  }
  .hero__actions .button{
    width:100%;
  }
  .hero__visual{
    min-height:340px;
    border-radius:26px;
  }
  .visual-card{
    left:14px;
    right:14px;
    bottom:14px;
    padding:18px;
  }
  .section{
    padding:38px 0;
  }
  .section__head{
    display:block;
  }
  .section__text{
    margin-top:14px;
    font-size:16px;
  }
  .problems,
  .how{
    grid-template-columns:1fr;
  }
  .service{
    padding:20px;
    border-radius:22px;
  }
  .service__top{
    display:block;
  }
  .duration{
    display:inline-flex;
    margin-top:12px;
  }
  .service h3{
    font-size:22px;
  }
  .price{
    font-size:26px;
  }
  .about-card{
    padding:16px;
    border-radius:28px;
  }
  .about-photo{
    min-height:280px;
  }
  .cta__box{
    padding:28px 20px;
    border-radius:28px;
  }
  .footer{
    padding-bottom:92px;
  }
  .floating-contact{
    position:fixed;
    z-index:30;
    left:12px;
    right:12px;
    bottom:12px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    padding:8px;
    background:rgba(248,243,236,.86);
    border:1px solid var(--line);
    border-radius:22px;
    backdrop-filter:blur(16px);
    box-shadow:0 16px 40px rgba(36,29,25,.18);
  }
  .floating-contact .button{
    min-height:46px;
    padding:10px 12px;
    font-size:14px;
  }
}

@media print{
  .topbar,.floating-contact{display:none}
  body{background:#fff;color:#000}
  .hero__visual,.about-photo{display:none}
  .hero__grid,.about-card,.cta__box{display:block}
  .service,.problem,.benefit,.how__item,.about-card,.cta__box{box-shadow:none}
}
