/* Terapias de Rehabilitación — responsive static site for Cloudflare Pages */
:root {
  --red: #cc2730;
  --red-dark: #aa1f27;
  --blue: #207fa6;
  --blue-dark: #123c5a;
  --ink: #183142;
  --muted: #647984;
  --navy: #112e43;
  --navy-deep: #0b2436;
  --paper: #fff;
  --offwhite: #f7fafb;
  --softblue: #edf5f8;
  --line: #e1eaed;
  --container: 1240px;
  --easing: cubic-bezier(.22,1,.36,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: 'Aptos', 'Inter', 'Segoe UI', Arial, Helvetica, sans-serif; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #1f9ed7; outline-offset: 4px; }
::selection { background: #f3b9bd; color: #671015; }
[hidden] { display: none !important; }
.container { width: min(var(--container), calc(100% - 96px)); margin: 0 auto; }
.section-padding { padding: clamp(84px, 9vw, 146px) 0; }
.section-anchor { scroll-margin-top: 82px; }
.skip-link { position: fixed; z-index: 200; top: 12px; left: 12px; background: var(--red); color: white; padding: 12px 20px; border-radius: 10px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; z-index: 125; pointer-events: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 110; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(226,234,237,.83); transition: box-shadow .25s, background .25s; }
.site-header.is-scrolled { box-shadow: 0 10px 42px rgba(18,49,65,.075); background: rgba(255,255,255,.975); }
.header-inner { display: flex; height: 96px; align-items: center; justify-content: space-between; gap: 24px; transition: height .3s; }
.is-scrolled .header-inner { height: 80px; }
.brand { display: block; flex: none; padding: 7px 0; }
.brand img { width: 190px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: clamp(13px, 1.65vw, 28px); margin-left: auto; }
.nav-link { position: relative; display: inline-flex; align-items: center; height: 44px; color: #455866; font-size: 12px; font-weight: 740; white-space: nowrap; transition: color .2s; }
.nav-link:hover, .nav-link.is-active { color: var(--red); }
.nav-link::after { content: ''; position: absolute; bottom: 7px; left: 0; right: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--easing); }
.nav-link.is-active::after, .nav-link:hover::after { transform: scaleX(1); }
.menu-toggle { display: none; height: 46px; width: 46px; border: 1px solid var(--line); background: white; border-radius: 12px; justify-content: center; align-items: center; flex-direction: column; gap: 5px; }
.menu-toggle span { background: var(--navy); width: 20px; height: 2px; border-radius: 3px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; }

/* Hero */
.hero { position: relative; padding: 60px 0 31px; background: radial-gradient(ellipse at 4% 30%, #f4f9fc 0%, transparent 54%), linear-gradient(155deg, #fff 0%, #f9fcfd 88%); overflow: hidden; }
.hero-decor { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(4px); }
.hero-decor-a { left: -255px; top: 150px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(70,177,220,.085), transparent 71%); }
.hero-decor-b { right: -150px; top: -250px; width: 620px; height: 620px; background: radial-gradient(circle, rgba(206,41,52,.035), transparent 68%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0,.97fr) minmax(0,1.03fr); gap: clamp(35px, 5.5vw, 90px); align-items: center; }
.hero-content { position: relative; z-index: 2; padding: 30px 0 42px; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .155em; text-transform: uppercase; line-height: 1.8; }
.eyebrow-line { display: block; width: 25px; height: 2px; background: var(--red); }
.hero-title { margin: 29px 0 20px; color: var(--navy); font-size: clamp(62px, 6.1vw, 101px); font-weight: 820; letter-spacing: -.073em; line-height: .99; text-wrap: balance; }
.hero-title > span { display: block; color: var(--red); }
.title-period { color: var(--blue); }
.hero-subtitle { margin: 0; max-width: 450px; font-size: clamp(17px,1.65vw,21px); color: #576d7c; letter-spacing: -.012em; line-height: 1.6; }
.hero-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; margin-top: 38px; }
.button { display: inline-flex; min-height: 56px; align-items: center; justify-content: center; gap: 18px; font-size: 13px; font-weight: 800; transition: background .24s, transform .24s, box-shadow .24s, color .24s; }
.button svg { width: 19px; height: 19px; transition: transform .22s; }
.button:hover svg { transform: translateX(4px); }
.button-primary { padding: 0 23px; background: var(--red); border: 1px solid var(--red); color: white; border-radius: 10px; box-shadow: 0 16px 32px rgba(204,39,48,.17); }
.button-primary:hover { background: var(--red-dark); box-shadow: 0 18px 34px rgba(204,39,48,.24); transform: translateY(-2px); }
.button-text { color: var(--navy); border-bottom: 1px solid #c2d0d7; min-height: 50px; }
.button-text:hover { color: var(--red); }
.hero-small-note { display: flex; align-items: center; gap: 19px; margin-top: clamp(54px,7vw,95px); color: #6a828c; }
.four-index { font-size: 53px; font-weight: 800; color: var(--navy); letter-spacing: -.07em; line-height: 1; }
.four-divider { width: 1px; height: 45px; background: #cddce1; }
.hero-small-note > span:last-child { font-size: 9px; letter-spacing: .08em; font-weight: 850; line-height: 1.55; }
.hero-art { position: relative; min-height: 615px; background: radial-gradient(ellipse at 50% 40%, #1c658b 0%, #154568 35%, #102e47 68%, #0a263a 100%); border-radius: 32px 32px 140px 32px; isolation: isolate; box-shadow: 0 30px 65px rgba(13,44,69,.14); overflow: hidden; }
.hero-art::before { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(151,211,235,.13); border-radius: 23px 23px 125px 23px; pointer-events: none; }
.hero-art::after { content: ''; position: absolute; width: 590px; height: 200px; left: -10px; bottom: -145px; border-radius: 50%; background: rgba(52,151,192,.2); filter: blur(45px); pointer-events: none; }
.art-noise { position: absolute; inset: 0; opacity: .20; background-image: radial-gradient(#aad4e5 .6px, transparent .9px); background-size: 20px 20px; mask-image: radial-gradient(circle at 40% 50%, black, transparent 70%); pointer-events: none; }
.art-topline { position: absolute; z-index: 4; top: 37px; left: 37px; right: 37px; display: flex; justify-content: space-between; align-items: center; color: #b3d8e9; font-size: 10px; letter-spacing: .16em; font-weight: 800; }
.topline-mark { display: inline-flex; gap: 5px; }
.topline-mark i { height: 7px; width: 7px; border-radius: 50%; background: #4aa9ca; }
.topline-mark i:nth-child(2) { background: #dc5a63; }
.topline-mark i:nth-child(3) { background: #9bd0d9; }
.ring { position: absolute; z-index: 0; width: 420px; aspect-ratio: 1; border: 1px solid rgba(192,226,243,.10); border-radius: 50%; left: 50%; top: 44%; transform: translate(-50%,-50%); }
.ring-two { width: 335px; border: 1px dashed rgba(192,226,243,.18); animation: ring-spin 70s linear infinite; }
.figure-svg { position: absolute; z-index: 2; left: 50%; top: 51%; height: 93%; width: 95%; transform: translate(-50%,-50%); filter: drop-shadow(0 12px 35px rgba(1,13,29,.12)); }
.art-label { position: absolute; z-index: 4; color: #fff; border: 1px solid rgba(174,224,240,.32); border-radius: 8px; padding: 12px 15px; background: rgba(11,37,56,.70); backdrop-filter: blur(8px); display: inline-flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 850; letter-spacing: .07em; box-shadow: 0 10px 24px rgba(5,24,39,.16); animation: float-y 6s ease-in-out infinite; }
.label-point { height: 7px; width: 7px; border-radius: 50%; background: #ff7379; box-shadow: 0 0 0 4px rgba(255,115,121,.14); }
.art-label-shoulder { left: 6%; top: 32%; }
.art-label-neck { right: 5%; top: 24%; animation-delay: -1.3s; }
.art-label-back { right: 3%; top: 54%; animation-delay: -3s; }
.art-label-sciatic { left: 7%; top: 70%; animation-delay: -2s; }
.art-foot { position: absolute; z-index: 4; bottom: 35px; left: 36px; right: 50px; display: flex; align-items: center; gap: 15px; color: #a7d3df; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.art-foot span:not(:last-child)::after { content: '/'; opacity: .5; margin-left: 15px; }
.hero-bottom-rule { display: flex; align-items: center; gap: 20px; margin-top: 52px; color: #78909a; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.rule-track { height: 1px; flex: 1; background: #d9e5ea; }

/* Jump links */
.quick-links { background: var(--red); color: white; }
.quick-links-inner { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.quick-links a { display: flex; align-items: center; min-height: 98px; gap: 20px; padding: 18px 32px; border-left: 1px solid rgba(255,255,255,.21); transition: background .2s; }
.quick-links a:last-child { border-right: 1px solid rgba(255,255,255,.21); }
.quick-links a:hover { background: rgba(114,0,11,.14); }
.quick-number { font-size: 12px; color: #ffc3c7; font-weight: 760; }
.quick-links a > span:nth-child(2) { font-size: 14px; font-weight: 780; }
.quick-links a svg { width: 19px; margin-left: auto; flex: none; transition: transform .2s; }
.quick-links a:hover svg { transform: translateX(5px); }

/* Common heading */
.section-heading { display: flex; gap: 22px; align-items: end; justify-content: space-between; margin-bottom: 46px; }
.section-kicker { color: var(--blue); }
.small-square { background: var(--red); height: 7px; width: 7px; display: inline-block; border-radius: 1px; }
.section-heading h2, .massage-heading h2 { margin: 16px 0 0; max-width: 790px; color: var(--navy); font-size: clamp(39px,4.5vw,65px); letter-spacing: -.063em; line-height: 1.08; font-weight: 810; text-wrap: balance; }
.section-heading h2 span { color: var(--red); }
.section-description { flex: none; width: min(240px,26%); margin: 0 0 8px; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* Four zones */
.rehab { background: #fff; }
.therapy-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.therapy-card { position: relative; isolation: isolate; background: linear-gradient(150deg,#f5fafc 0%,#eaf3f7 100%); border: 1px solid #e6eff3; min-height: 358px; border-radius: 18px; padding: 22px 22px 25px; overflow: hidden; display: flex; flex-direction: column; transition: transform .38s var(--easing), box-shadow .38s var(--easing), border-color .38s; }
.therapy-card:hover { transform: translateY(-8px); box-shadow: 0 22px 40px rgba(15,66,94,.11); border-color: #c5dfe8; }
.therapy-card::before { content: ''; position: absolute; z-index: -1; left: 33%; top: 55px; width: 210px; height: 210px; border-radius: 50%; background: rgba(102,187,216,.11); }
.therapy-card:nth-child(2) { background: linear-gradient(155deg,#ebf6fa,#f5f9fa); }
.therapy-card:nth-child(3) { background: linear-gradient(155deg,#fbf9fa,#f6eeee); border-color: #f0e9ea; }
.therapy-card:nth-child(3)::before { background: rgba(218,98,110,.09); }
.therapy-card:nth-child(4) { background: linear-gradient(155deg,#e9f0f4,#f5f8fa); }
.card-top { display: flex; align-items: center; gap: 15px; font-size: 11px; color: #7292a1; font-weight: 850; letter-spacing: .04em; }
.card-line { flex: 1; height: 1px; background: #cfdee4; }
.therapy-image { position: relative; height: 188px; display: grid; place-items: center; margin: 12px 0 2px; }
.therapy-image::before { content: ''; position: absolute; height: 154px; width: 154px; border-radius: 50%; border: 1px solid rgba(41,119,158,.18); transform: translate(12px,5px); }
.therapy-image::after { content: ''; position: absolute; height: 130px; width: 130px; border-radius: 50%; border: 1px dashed rgba(41,119,158,.18); transform: translate(12px,5px); }
.therapy-image img { position: relative; z-index: 2; object-fit: cover; object-position: center; width: 150px; height: 127px; border-radius: 42% 48% 46% 45%; box-shadow: 0 15px 30px rgba(12,67,94,.12); border: 5px solid rgba(255,255,255,.86); transition: transform .38s var(--easing); }
.therapy-card:hover img { transform: scale(1.05) rotate(-2deg); }
.therapy-image-back img { height: 158px; width: 119px; object-fit: cover; object-position: center; border-radius: 48% 45% 38% 40%; }
.therapy-image-neck img { width: 126px; height: 132px; }
.therapy-image-sciatica img { width: 138px; height: 132px; }
.therapy-copy { margin-top: auto; position: relative; }
.therapy-copy h3 { margin: 0; color: var(--navy); font-size: clamp(23px,2.25vw,33px); font-weight: 820; letter-spacing: -.05em; line-height: 1.08; }
.therapy-bar { display: block; background: var(--red); height: 3px; width: 29px; margin-top: 19px; border-radius: 3px; }
.therapy-copy p { font-size: 12px; line-height: 1.55; max-width: 205px; color: #5b7786; margin: 8px 0 0; }

/* Botanical listing */
.plants { background: var(--offwhite); border-top: 1px solid #eef2f4; border-bottom: 1px solid #edf0f1; }
.plants-layout { display: grid; grid-template-columns: minmax(0,.87fr) minmax(0,1.13fr); align-items: start; gap: clamp(40px,6vw,96px); }
.plants-showcase { position: relative; min-height: 710px; border-radius: 25px 95px 25px 25px; background: radial-gradient(ellipse at 66% 50%,#276e7e 0%,#174e60 46%,#11394e 100%); color: white; overflow: hidden; padding: 39px 42px; isolation: isolate; }
.plants-showcase::before { content:''; position: absolute; inset: 14px; border: 1px solid rgba(182,235,226,.15); border-radius: 16px 82px 16px 16px; z-index: -1; }
.plants-showcase::after { content:''; position: absolute; right: -100px; bottom:-100px; height: 410px; width:410px; border-radius: 50%; background: rgba(101,206,186,.11); filter: blur(45px); z-index:-1; }
.plants-showcase-top { position: relative; z-index:3; display:flex; justify-content:space-between; align-items:center; gap:15px; font-size:10px; letter-spacing:.15em; font-weight:800; color:#b7e4e6; }
.round-mark { flex:none; height:30px; width:30px; border:1px solid #94cad0; border-radius:50%; position:relative; }
.round-mark::before, .round-mark::after { content:''; position:absolute; background:#94cad0; opacity:.7; }
.round-mark::before { height:1px; width:15px; top:14px; left:7px; }
.round-mark::after { height:15px; width:1px; top:7px; left:14px; }
.plants-showcase h2 { position:relative; z-index:3; margin:37px 0 0; max-width:430px; font-weight:820; font-size:clamp(43px,4.3vw,64px); line-height:1.08; letter-spacing:-.055em; }
.plants-showcase h2 em { font-style:normal; color:#8ddcd4; }
.botanical-disc { position:absolute; width:375px; height:375px; right:-25px; bottom:92px; opacity:.88; }
.botanical-disc svg { width:100%; height:100%; }
.plants-inset { position:absolute; left:42px; bottom:90px; width:174px; height:128px; border:5px solid rgba(229,252,248,.85); border-radius: 16px; overflow:hidden; transform:rotate(-7deg); box-shadow:0 20px 30px rgba(0,0,0,.18); }
.plants-inset img { width:100%; height:100%; object-fit:cover; }
.plants-showcase-bottom { position:absolute; left:42px; bottom:37px; font-size:10px; font-weight:800; letter-spacing:.15em; color:#b4dee1; }
.plants-content { padding:15px 0 5px; }
.plant-panel-header p { font-size:clamp(22px,2.2vw,29px); letter-spacing:-.035em; font-weight:800; color:var(--navy); margin:15px 0 30px; }
.search-control { margin-bottom:23px; }
.search-control label { display:block; color:#587382; font-size:11px; font-weight:780; letter-spacing:.06em; margin-bottom:9px; }
.search-field { display:flex; align-items:center; height:53px; background:#fff; border:1px solid #d6e5eb; border-radius:11px; padding:0 15px; gap:12px; transition:box-shadow .2s, border-color .2s; }
.search-field:focus-within { border-color:#52a3c2; box-shadow:0 0 0 4px rgba(42,147,194,.11); }
.search-field > svg { color:#6b94a7; width:20px; height:20px; flex:none; }
.search-field input { border:0; outline:0; min-width:0; flex:1; height:100%; background:transparent; color:var(--navy); font-size:14px; }
.search-field input::placeholder { color:#9aaeb9; }
.result-count { display:grid; place-items:center; min-width:35px; height:28px; padding:0 5px; background:#edf5f8; color:#397c9b; border-radius:7px; font-size:12px; font-weight:800; }
.plant-list { list-style:none; display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:0 26px; margin:0; padding:0; }
.plant-list li { position:relative; border-bottom:1px solid #dde7eb; padding:13px 6px 13px 20px; font-size:13px; font-weight:690; line-height:1.5; min-height:52px; color:#334e5f; transition:color .2s,padding .2s; }
.plant-list li::before { content:''; width:7px; height:7px; position:absolute; left:1px; top:19px; background:var(--red); border-radius:2px; transform:rotate(45deg); }
.plant-list li:hover { color:var(--red); padding-left:24px; }
.no-results { padding:35px 12px; color:var(--muted); background:#fff; border-radius:10px; text-align:center; }

/* Massage showcase */
.massage { background:radial-gradient(ellipse at 5% 80%,#174861 0%,transparent 43%), var(--navy-deep); color:white; overflow:hidden; }
.massage-heading { margin-bottom:55px; }
.section-kicker-light { color:#a6d8e7; }
.massage-heading h2 { color:white; font-size:clamp(52px,6vw,86px); }
.massage-heading h2 span { color:#f06d76; }
.massage-layout { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:clamp(45px,7vw,105px); align-items:center; }
.massage-photo-scene { position:relative; min-height:455px; display:flex; align-items:center; justify-content:center; isolation:isolate; }
.massage-photo-scene::before { content:''; position:absolute; width:84%; aspect-ratio:1; border:1px solid rgba(152,208,224,.22); border-radius:50%; left:6%; top:4%; z-index:-1; }
.massage-photo-scene::after { content:''; position:absolute; width:64%; aspect-ratio:1; border:1px dashed rgba(152,208,224,.27); border-radius:50%; left:16%; top:15%; z-index:-1; }
.massage-photo-border { width:82%; aspect-ratio:1.1; max-height:340px; padding:13px; background:rgba(244,250,251,.10); border:1px solid rgba(238,250,253,.34); border-radius:42% 42% 18px 18px; transform:rotate(-6deg); box-shadow:0 25px 55px rgba(0,0,0,.22); overflow:hidden; }
.massage-photo-border img { height:100%; width:100%; object-fit:cover; object-position:center; filter:saturate(.76) contrast(.97); border-radius:42% 42% 12px 12px; }
.massage-image-caption { position:absolute; left:0; bottom:13px; color:#a9d0df; font-size:11px; font-weight:800; letter-spacing:.18em; }
.massage-image-circle { position:absolute; width:62px; height:62px; background:var(--red); border-radius:50%; right:7%; top:9%; box-shadow:0 0 0 20px rgba(217,77,87,.08); }
.massage-list { list-style:none; margin:0; padding:0; border-top:1px solid rgba(208,232,244,.25); }
.massage-list li { display:grid; grid-template-columns:45px 1fr 20px; gap:19px; align-items:center; min-height:89px; border-bottom:1px solid rgba(208,232,244,.25); padding:18px 2px; transition:padding .28s; }
.massage-list li:hover { padding-left:10px; }
.massage-list-number { align-self:center; color:#78c2df; font-size:12px; font-weight:800; letter-spacing:.04em; }
.massage-list li > span:nth-child(2) { font-size:clamp(18px,1.9vw,25px); font-weight:730; letter-spacing:-.035em; line-height:1.22; }
.massage-accent { background:#ea6670; width:8px; height:8px; border-radius:50%; opacity:.85; }

/* Other */
.other { background:linear-gradient(180deg,#ffffff 0%, #f6fafb 100%); }
.other-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.other-card { position:relative; display:flex; flex-direction:column; align-items:flex-start; min-height:340px; border:1px solid var(--line); border-radius:20px; padding:29px 31px; background:white; overflow:hidden; transition:transform .35s var(--easing),box-shadow .35s var(--easing),border-color .35s; }
.other-card:hover { transform:translateY(-7px); box-shadow:0 22px 35px rgba(24,61,81,.09); border-color:#b9d7e3; }
.other-card::after { content:''; width:190px; height:190px; border-radius:50%; background:#f0f7fa; position:absolute; right:-110px; top:-85px; }
.other-icon { position:relative; z-index:1; display:grid; place-items:center; width:95px; height:95px; color:var(--blue); background:#edf7fa; border-radius:20px; }
.other-icon svg { width:74px; height:74px; }
.other-card:nth-child(2) .other-icon { color:var(--red); background:#fff1f2; }
.other-card:nth-child(3) .other-icon { color:#2a8991; background:#eef9f8; }
.other-card-number { margin-top:30px; font-size:11px; font-weight:800; letter-spacing:.10em; color:#7a95a3; }
.other-card h3 { margin:10px 0 0; font-size:clamp(26px,2.6vw,37px); line-height:1.13; color:var(--navy); letter-spacing:-.055em; font-weight:780; }
.other-line { display:block; margin-top:auto; height:3px; width:34px; background:var(--red); border-radius:2px; }

/* Footer */
.footer { background:#f0f6f8; color:var(--navy); border-top:1px solid #e1eaf0; }
.footer-grid { display:flex; justify-content:space-between; align-items:flex-start; gap:55px; padding:66px 0 62px; }
.footer-brand img { width:215px; height:auto; }
.footer-brand p { color:#627c8a; font-size:13px; font-weight:650; margin:18px 0 0; }
.footer-nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px 45px; }
.footer-nav a { font-weight:730; font-size:13px; color:#456476; transition:color .2s; }
.footer-nav a:hover { color:var(--red); }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; gap:12px; border-top:1px solid #dbe7ec; padding:24px 0 32px; font-size:10px; font-weight:800; color:#75909f; letter-spacing:.10em; }
.footer-bottom a { display:inline-flex; align-items:center; gap:10px; color:var(--blue-dark); font-size:11px; }
.footer-bottom a svg { width:17px; height:17px; }
.back-to-top { position:fixed; z-index:98; right:27px; bottom:27px; width:47px; height:47px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.18); border-radius:50%; background:var(--red); color:white; box-shadow:0 10px 30px rgba(148,15,24,.22); opacity:0; pointer-events:none; transform:translateY(20px); transition:opacity .25s, transform .25s, background .25s; }
.back-to-top svg { width:22px; height:22px; }
.back-to-top.is-visible { opacity:1; pointer-events:auto; transform:translateY(0); }
.back-to-top:hover { background:var(--red-dark); }

/* Motion with safe no-JS fallback: reveal elements are never hidden by default. */
@keyframes float-y { 0%, 100% { transform:translateY(0); } 50% { transform:translateY(-9px); } }
@keyframes ring-spin { to { transform:translate(-50%,-50%) rotate(360deg); } }
@media (prefers-reduced-motion: no-preference) {
  .reveal.is-revealed { animation:fade-in-up .8s var(--easing) both; }
  .therapy-grid .reveal:nth-child(2), .other-grid .reveal:nth-child(2) { animation-delay:.07s; }
  .therapy-grid .reveal:nth-child(3), .other-grid .reveal:nth-child(3) { animation-delay:.13s; }
  .therapy-grid .reveal:nth-child(4) { animation-delay:.19s; }
}
@keyframes fade-in-up { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }

@media (max-width: 1140px) {
  .container { width:min(var(--container),calc(100% - 64px)); }
  .brand img { width:176px; }
  .desktop-nav { gap:15px; }
  .nav-link { font-size:11px; }
  .hero-title { font-size:clamp(54px,5.9vw,80px); }
  .hero-art { min-height:560px; border-bottom-right-radius:95px; }
  .therapy-card { min-height:340px; padding:20px 18px; }
}
@media (max-width: 1050px) {
  .desktop-nav { display:none; }
  .menu-toggle { display:flex; }
  .header-inner, .is-scrolled .header-inner { height:76px; }
  .mobile-menu { display:flex; flex-direction:column; gap:2px; position:absolute; top:100%; left:0; right:0; background:#fff; box-shadow:0 23px 35px rgba(12,47,73,.10); border-bottom:1px solid var(--line); padding:10px max(32px, calc((100% - 900px)/2)) 18px; opacity:0; visibility:hidden; pointer-events:none; transform:translateY(-8px); transition:opacity .2s,transform .2s,visibility .2s; }
  .mobile-menu.is-open { opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0); transition:opacity .2s,transform .2s; }
  .mobile-link { display:block; padding:14px 10px; color:var(--navy); font-size:15px; font-weight:730; border-bottom:1px solid #edf3f5; }
  .mobile-link.is-active { color:var(--red); }
  .mobile-link:last-child { border-bottom:0; }
  .hero { padding-top:42px; }
  .hero-grid { gap:26px; }
  .hero-art { min-height:510px; }
  .art-label { padding:9px 10px; font-size:9px; }
  .hero-small-note { margin-top:55px; }
  .therapy-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .therapy-card { min-height:350px; }
  .therapy-image { height:191px; }
  .plants-layout { gap:38px; }
  .plants-showcase { padding:30px; min-height:665px; }
  .plants-inset { left:30px; }
  .plants-showcase-bottom { left:30px; }
  .plant-list { gap:0 14px; }
  .plant-list li { font-size:12px; }
}
@media (max-width: 800px) {
  .container { width:min(var(--container),calc(100% - 44px)); }
  .section-padding { padding:80px 0; }
  .hero-grid { grid-template-columns:1fr; gap:27px; }
  .hero-content { padding:24px 0 0; }
  .hero-title { font-size:clamp(60px,10vw,83px); max-width:660px; }
  .hero-small-note { display:none; }
  .hero-art { max-width:640px; width:100%; margin:0 auto; min-height:500px; border-radius:28px 28px 100px 28px; }
  .hero-bottom-rule { margin-top:30px; }
  .quick-links a { min-height:86px; padding:12px 14px; gap:10px; }
  .quick-links a > span:nth-child(2) { font-size:12px; }
  .quick-number { font-size:10px; }
  .quick-links svg { width:14px; }
  .section-description { display:none; }
  .plants-layout { grid-template-columns:minmax(0,1fr); }
  .plants-showcase { min-height:410px; max-width:100%; border-radius:22px 78px 22px 22px; }
  .plants-showcase h2 { font-size:clamp(41px,6.3vw,54px); max-width:480px; }
  .botanical-disc { width:270px; height:270px; bottom:25px; right:-10px; }
  .plants-inset { bottom:48px; width:140px; height:105px; }
  .plants-showcase-bottom { bottom:24px; }
  .plants-content { padding-top:0; }
  .plant-list { gap:0 25px; }
  .massage-layout { grid-template-columns:1fr; gap:28px; }
  .massage-photo-scene { min-height:350px; max-width:420px; width:100%; margin:0 auto; }
  .massage-photo-border { max-height:300px; }
  .other-card { padding:24px; min-height:300px; }
  .other-card h3 { font-size:27px; }
  .other-icon { width:75px; height:75px; }
  .other-icon svg { width:59px; height:59px; }
}
@media (max-width: 600px) {
  .container { width:calc(100% - 36px); }
  .header-inner, .is-scrolled .header-inner { height:72px; }
  .brand img { width:162px; }
  .mobile-menu { padding:9px 18px 18px; }
  .section-padding { padding:72px 0; }
  .hero { padding:22px 0 28px; }
  .hero-content { padding:15px 0 3px; }
  .eyebrow { gap:8px; font-size:9px; letter-spacing:.10em; }
  .eyebrow-line { width:18px; }
  .hero-title { margin:22px 0 16px; font-size:clamp(51px,12.1vw,78px); line-height:1.015; letter-spacing:-.073em; }
  .hero-subtitle { font-size:16px; }
  .hero-buttons { gap:10px 16px; margin-top:25px; }
  .button { min-height:49px; font-size:12px; }
  .button-primary { padding:0 17px; }
  .button-text { min-height:43px; }
  .hero-art { min-height:410px; border-bottom-right-radius:85px; }
  .art-topline { top:24px; left:23px; right:23px; font-size:8px; }
  .art-label-shoulder { left:3%; top:35%; }
  .art-label-neck { right:2%; top:27%; }
  .art-label-back { right:1%; top:58%; }
  .art-label-sciatic { left:4%; top:74%; }
  .art-label { font-size:8px; gap:6px; padding:8px; }
  .art-foot { left:23px; right:23px; bottom:22px; gap:6px; font-size:7px; }
  .art-foot span:not(:last-child)::after { margin-left:7px; }
  .hero-bottom-rule { font-size:8px; gap:12px; }
  .quick-links-inner { grid-template-columns:1fr; }
  .quick-links a { min-height:66px; padding:12px 10px; border-left:0; border-bottom:1px solid rgba(255,255,255,.19); }
  .quick-links a:last-child { border-right:0; border-bottom:0; }
  .quick-number { width:34px; font-size:11px; }
  .quick-links a > span:nth-child(2) { font-size:13px; }
  .quick-links svg { width:17px; }
  .section-heading { margin-bottom:30px; }
  .section-heading h2 { font-size:clamp(38px,9.3vw,53px); }
  .therapy-grid { gap:13px; }
  .therapy-card { min-height:300px; padding:17px 15px; border-radius:16px; }
  .therapy-image { height:168px; margin:5px 0; }
  .therapy-image::before { width:135px; height:135px; }
  .therapy-image::after { width:113px; height:113px; }
  .therapy-image img { width:125px; height:108px; }
  .therapy-image-back img { width:99px; height:136px; }
  .therapy-image-neck img { width:112px; height:112px; }
  .therapy-image-sciatica img { width:116px; height:112px; }
  .therapy-copy h3 { font-size:27px; }
  .therapy-copy p { font-size:11px; }
  .plants-showcase { min-height:390px; padding:26px; }
  .plants-showcase h2 { font-size:clamp(37px,9.6vw,51px); margin-top:23px; max-width:310px; }
  .plants-inset { width:127px; height:98px; left:25px; }
  .plants-showcase-bottom { left:25px; font-size:8px; }
  .plants-showcase-top { font-size:9px; }
  .botanical-disc { right:-65px; width:280px; bottom:20px; }
  .plant-list { grid-template-columns:1fr; }
  .plant-list li { font-size:13px; padding-top:12px; padding-bottom:12px; min-height:45px; }
  .plant-list li::before { top:17px; }
  .massage-heading { margin-bottom:25px; }
  .massage-heading h2 { font-size:61px; }
  .massage-photo-scene { min-height:310px; }
  .massage-photo-border { max-height:265px; }
  .massage-list li { grid-template-columns:29px 1fr 8px; gap:10px; min-height:73px; }
  .massage-list li > span:nth-child(2) { font-size:19px; }
  .other-grid { grid-template-columns:1fr; gap:14px; }
  .other-card { min-height:210px; padding:23px; }
  .other-icon { width:64px; height:64px; border-radius:14px; }
  .other-icon svg { width:51px; height:51px; }
  .other-card-number { margin-top:16px; }
  .other-card h3 { margin-top:7px; font-size:28px; }
  .other-line { position:absolute; right:23px; bottom:25px; }
  .footer-grid { display:block; padding:54px 0 41px; }
  .footer-brand img { width:205px; }
  .footer-nav { margin-top:34px; gap:19px 17px; }
  .footer-nav a { font-size:12px; }
  .footer-bottom { flex-wrap:wrap; padding:22px 0; }
  .back-to-top { right:15px; bottom:15px; width:43px; height:43px; }
}
@media (max-width: 390px) {
  .hero-title { font-size:clamp(35px,10.8vw,46px); }
  .hero-art { min-height:370px; }
  .art-label { font-size:7px; padding:6px; }
  .therapy-grid { grid-template-columns:1fr; }
  .therapy-card { min-height:250px; }
  .therapy-image { height:150px; }
  .therapy-copy h3 { font-size:29px; }
  .plants-showcase h2 { font-size:38px; }
  .plants-showcase { min-height:370px; }
  .footer-bottom { font-size:9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}

/* Grid children must be able to shrink on narrow phones. */
.plants-showcase, .plants-content { min-width:0; }
