/* РИМ — Студия реабилитации и массажа */
:root{
  --brand:#c66a3a;
  --brand-deep:#8a3f1d;
  --brand-light:#e3a06f;
  --surface:#f4ede4;
  --surface-2:#ebe1d3;
  --ink:#2a2320;
  --serif:'Cormorant Garamond', 'Times New Roman', serif;
  --sans:'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:var(--sans);
  color:var(--ink);
  background:var(--surface);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
.container{max-width:1180px;margin:0 auto;padding:0 20px}
.serif{font-family:var(--serif);font-weight:500;letter-spacing:.005em}

/* Header */
.header{
  position:sticky;top:0;z-index:50;
  background:rgba(244,237,228,.92);backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(0,0,0,.06);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 20px}
.logo img{height:80px;width:auto}
@media(min-width:640px){.logo img{height:104px}}
@media(min-width:1024px){.logo img{height:128px}}
.nav{display:none;gap:28px;font-size:14px}
@media(min-width:1024px){.nav{display:flex}}
.nav a{color:rgba(42,35,32,.8);transition:color .2s}
.nav a:hover{color:var(--brand-deep)}
.btn{
  display:inline-block;padding:12px 22px;border-radius:8px;
  font-size:13px;letter-spacing:.12em;text-transform:uppercase;font-weight:500;
  transition:opacity .2s, background .2s;
  cursor:pointer;border:0;
}
.btn-primary{background:linear-gradient(135deg,var(--brand),var(--brand-deep));color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.1)}
.btn-primary:hover{opacity:.9}
.btn-ghost{border:1px solid rgba(138,63,29,.4);background:#fff;color:var(--brand-deep)}
.btn-ghost:hover{background:var(--surface-2)}

/* Hero */
.hero{padding:80px 20px 80px;text-align:center}
@media(min-width:768px){.hero{padding:120px 20px 100px}}
.eyebrow{font-size:12px;letter-spacing:.4em;text-transform:uppercase;color:rgba(138,63,29,.8);margin-bottom:24px}
.hero h1{
  font-family:var(--serif);font-weight:600;
  font-size:15vw;line-height:.9;margin:0;
  background:linear-gradient(135deg,var(--brand-light),var(--brand),var(--brand-deep));
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
@media(min-width:768px){.hero h1{font-size:9rem}}
.hero p.lead{max-width:640px;margin:32px auto 0;font-size:1.1rem;color:rgba(42,35,32,.75)}
.hero .cta{margin-top:40px;display:flex;flex-direction:column;align-items:center;gap:12px;justify-content:center}
@media(min-width:640px){.hero .cta{flex-direction:row}}
.hero .care{margin-top:40px;font-style:italic;color:rgba(42,35,32,.6);font-size:14px}

/* Strip */
.strip{background:linear-gradient(90deg,var(--brand),var(--brand-deep));color:#fff}
.strip-inner{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 24px;padding:16px 20px;font-size:12px;letter-spacing:.2em;text-transform:uppercase}
.strip-inner .dot{opacity:.5}

/* Sections */
section{padding:80px 20px}
@media(min-width:768px){section{padding:110px 20px}}
.section-alt{background:var(--surface-2)}
h2.title{font-family:var(--serif);font-size:2.4rem;color:var(--brand-deep);margin:0;text-align:center}
@media(min-width:768px){h2.title{font-size:3rem}}
.divider{width:64px;height:1px;background:var(--brand);margin:12px auto 0}
.intro{max-width:780px;margin:32px auto 0;text-align:center;font-size:1.05rem;color:rgba(42,35,32,.8)}

/* Cards / specialists */
.spec{
  display:grid;grid-template-columns:1fr;gap:28px;
  background:#fff;padding:28px;border-radius:12px;box-shadow:0 1px 2px rgba(0,0,0,.04);
  margin-top:56px;align-items:center;
}
@media(min-width:768px){.spec{grid-template-columns:280px 1fr;gap:40px;padding:40px}}
.spec.reverse{}
@media(min-width:768px){.spec.reverse{grid-template-columns:1fr 280px}}
.spec img{border-radius:8px;aspect-ratio:4/5;object-fit:cover;width:100%;max-width:280px;margin:0 auto}
.spec .label{font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:var(--brand)}
.spec h3{font-family:var(--serif);font-size:1.8rem;color:var(--brand-deep);margin:8px 0 4px}
.spec .role{color:rgba(42,35,32,.7);margin:0}
.price-chip{display:inline-flex;align-items:baseline;gap:12px;background:var(--surface-2);padding:12px 20px;border-radius:8px;margin-top:24px}
.price-chip .amount{font-family:var(--serif);font-size:1.5rem;color:var(--brand-deep)}
.price-chip .lbl{font-size:14px;color:rgba(42,35,32,.7)}
.spec ul{padding-left:0;list-style:none;margin:24px 0 0;color:rgba(42,35,32,.75);font-size:.95rem}
.spec ul li{padding:4px 0}

/* Techniques grid */
.tech-title{text-align:center;font-family:var(--serif);font-size:1.6rem;color:var(--brand-deep);margin:80px 0 0}
.tech{display:grid;grid-template-columns:1fr;gap:20px;margin-top:36px}
@media(min-width:640px){.tech{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.tech{grid-template-columns:repeat(4,1fr)}}
.tech .card{background:#fff;padding:24px;border-radius:10px;border:1px solid rgba(0,0,0,.05);transition:border-color .2s}
.tech .card:hover{border-color:rgba(198,106,58,.4)}
.tech .num{font-size:12px;color:var(--brand);font-weight:500}
.tech h4{font-family:var(--serif);font-size:1.2rem;color:var(--brand-deep);margin:12px 0 12px;line-height:1.2}
.tech p{font-size:.9rem;color:rgba(42,35,32,.7);margin:0}

/* Principles */
.principles{max-width:780px;margin:64px auto 0;background:#fff;padding:36px;border-radius:12px}
.principles h3{font-family:var(--serif);font-size:1.5rem;text-align:center;color:var(--brand-deep);margin:0 0 20px}
.principles ul{list-style:none;padding:0;margin:0}
.principles li{display:flex;gap:14px;padding:8px 0;color:rgba(42,35,32,.8)}
.principles li::before{content:"";flex-shrink:0;margin-top:10px;width:6px;height:6px;border-radius:50%;background:var(--brand)}

/* Prices table */
.price-table{max-width:780px;margin:48px auto 0;background:#fff;border-radius:12px;overflow:hidden}
.price-row{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:20px 28px;border-bottom:1px solid rgba(0,0,0,.05)}
.price-row:last-child{border-bottom:0}
.price-row .name{font-family:var(--serif);font-size:1.2rem;color:var(--brand-deep)}
.price-row .sub{font-size:12px;color:rgba(42,35,32,.6);margin-top:4px}
.price-row .val{font-family:var(--serif);font-size:1.2rem;color:var(--brand-deep);white-space:nowrap}
.price-note{text-align:center;font-size:14px;color:rgba(42,35,32,.6);margin-top:24px}

/* Contacts */
.map{margin-top:48px;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.map figcaption{padding:14px 16px;text-align:center;font-size:14px;color:rgba(42,35,32,.65)}
.contacts-grid{display:grid;grid-template-columns:1fr;gap:28px;margin-top:48px}
@media(min-width:1024px){.contacts-grid{grid-template-columns:1fr 1fr}}
.info{background:#fff;padding:36px;border-radius:12px}
.info dl{margin:0}
.info dt{font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:var(--brand);margin-top:24px}
.info dt:first-child{margin-top:0}
.info dd{margin:8px 0 0;font-family:var(--serif);font-size:1.4rem;color:var(--brand-deep)}
.info dd.small{font-family:var(--sans);font-size:.9rem;color:rgba(42,35,32,.6);margin-top:6px}
.info .actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.info .actions a{padding:8px 16px;border-radius:6px;border:1px solid rgba(138,63,29,.3);font-size:14px;color:var(--brand-deep)}
.info .actions a:hover{background:var(--surface-2)}
.info a.site{font-family:var(--sans);font-size:1.05rem;color:var(--brand-deep)}
.info a.site:hover{text-decoration:underline}
.booking{background:linear-gradient(135deg,var(--brand),var(--brand-deep));color:#fff;padding:36px;border-radius:12px;display:flex;flex-direction:column}
.booking .eyebrow{color:rgba(255,255,255,.85);margin:0}
.booking h3{font-family:var(--serif);font-size:2rem;margin:12px 0 0}
.booking p{opacity:.9;margin:12px 0 0}
.qr-row{margin-top:32px;display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.qr-row img{width:140px;height:140px;background:#fff;padding:8px;border-radius:8px}
.qr-row .info-side{flex:1;min-width:180px}
.qr-row .info-side p{font-size:14px;opacity:.85;margin:0}
.qr-row .btn{margin-top:16px;background:#fff;color:var(--brand-deep)}
.qr-row .btn:hover{background:var(--surface)}
.booking .care{margin-top:auto;padding-top:40px;font-style:italic;opacity:.85;font-size:14px}

/* Footer */
footer{background:var(--brand-deep);color:rgba(255,255,255,.85)}
.footer-inner{display:flex;flex-direction:column;gap:14px;align-items:center;justify-content:space-between;padding:36px 20px;text-align:center}
@media(min-width:768px){.footer-inner{flex-direction:row;text-align:left}}
.footer-inner img{height:36px;filter:brightness(0) invert(1);opacity:.85}
.footer-inner .brand{display:flex;align-items:center;gap:12px;font-size:12px;letter-spacing:.25em;text-transform:uppercase}
