@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --ink: #07101f;
  --ink-soft: #15243a;
  --blue: #1775e5;
  --blue-bright: #53b9ff;
  --sky: #eaf7ff;
  --yellow: #ffd328;
  --yellow-dark: #efb700;
  --white: #ffffff;
  --paper: #f7fbfe;
  --muted: #526279;
  --line: #dce7ef;
  --radius-sm: 16px;
  --radius-md: 28px;
  --radius-lg: 44px;
  --shadow: 0 24px 70px rgba(16, 55, 94, .16);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: "Work Sans", system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: clamp(84px, 10vw, 148px) 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 999; background: var(--yellow); color: var(--ink); padding: 12px 18px; border-radius: 0 0 10px 10px; font-weight: 700; }
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 4px; }

h1, h2, h3 { font-family: "Outfit", system-ui, sans-serif; margin: 0; line-height: .98; letter-spacing: -.045em; }
h1 { font-size: clamp(3.7rem, 7.8vw, 7.4rem); font-weight: 800; }
h2 { font-size: clamp(3rem, 6vw, 5.8rem); font-weight: 800; }
h3 { font-size: clamp(1.45rem, 2.3vw, 2.1rem); font-weight: 700; }
p { margin: 0; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: var(--yellow); text-transform: uppercase; letter-spacing: .16em; font-size: .77rem; font-weight: 700; }
.eyebrow span { display: inline-block; width: 32px; height: 2px; background: currentColor; }
.eyebrow.dark { color: #1760ac; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 0 24px; font-weight: 700; transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 19px; height: 19px; }
.button-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 12px 32px rgba(255, 211, 40, .25); }
.button-primary:hover { background: #ffe169; box-shadow: 0 15px 38px rgba(255, 211, 40, .32); }
.button-ghost { border: 1px solid rgba(255,255,255,.28); color: var(--white); background: rgba(255,255,255,.07); }
.button-ghost:hover { background: rgba(255,255,255,.13); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 16px 0; transition: background .25s ease, padding .25s ease, box-shadow .25s ease; }
.site-header.scrolled { padding: 9px 0; background: rgba(7,16,31,.93); backdrop-filter: blur(18px); box-shadow: 0 8px 30px rgba(0,0,0,.18); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--white); }
.brand-shield { width: 42px; height: 46px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font-family: "Outfit", sans-serif; font-size: 1.5rem; font-weight: 800; clip-path: polygon(50% 0, 94% 15%, 86% 70%, 50% 100%, 14% 70%, 6% 15%); }
.brand strong, .brand small { display: block; line-height: 1; }
.brand strong { font-family: "Outfit", sans-serif; font-size: 1.35rem; letter-spacing: .08em; }
.brand small { margin-top: 5px; font-size: .68rem; letter-spacing: .05em; opacity: .7; }
nav { display: flex; align-items: center; gap: 32px; color: rgba(255,255,255,.82); font-size: .92rem; font-weight: 600; }
nav > a:not(.nav-cta) { position: relative; padding: 12px 0; }
nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 7px; height: 2px; background: var(--yellow); transition: right .2s ease; }
nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { min-height: 46px; padding: 0 20px; display: inline-flex; align-items: center; color: var(--ink); background: var(--yellow); border-radius: 999px; }

.hero { min-height: 100svh; position: relative; display: flex; flex-direction: column; justify-content: center; overflow: hidden; color: var(--white); background: linear-gradient(112deg, #07101f 0%, #0b1e3b 47%, #0d63af 100%); padding: 128px 0 0; }
.hero::before { content: ""; position: absolute; width: 44vw; height: 44vw; right: -8vw; top: -12vw; border-radius: 50%; background: #26a6ff; filter: blur(100px); opacity: .22; }
.hero-rays { position: absolute; inset: 0; opacity: .13; background: repeating-conic-gradient(from 214deg at 82% 44%, transparent 0deg 5deg, rgba(255,255,255,.8) 6deg, transparent 7deg 14deg); mask-image: linear-gradient(to left, #000 20%, transparent 75%); }
.hero-grid { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(24px, 5vw, 80px); }
.hero-copy { padding: 34px 0 96px; }
.hero h1 em { display: block; color: var(--yellow); font-style: normal; text-shadow: 0 5px 0 rgba(0,0,0,.22); }
.hero-lead { max-width: 610px; margin: 30px 0 32px; color: #dbe8f5; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 24px; padding: 0; margin: 28px 0 0; list-style: none; color: rgba(255,255,255,.72); font-size: .9rem; }
.trust-list li { display: flex; align-items: center; gap: 7px; }
.trust-list svg { width: 17px; height: 17px; color: var(--yellow); stroke-width: 3; }
.hero-visual { height: min(730px, 76vh); min-height: 560px; position: relative; align-self: end; }
.hero-image-frame { position: absolute; z-index: 3; right: -2%; bottom: 0; width: min(100%, 570px); height: 96%; overflow: hidden; filter: drop-shadow(-24px 18px 30px rgba(0,0,0,.32)); clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%, 0 24%); border-radius: 150px 0 0 0; }
.hero-image-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -100px 80px -50px #07101f; pointer-events: none; }
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 53% 30%; }
.hero-orbit { position: absolute; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.orbit-one { width: 580px; height: 580px; right: -35%; top: 7%; }
.orbit-two { width: 420px; height: 420px; right: -16%; top: 18%; border-color: rgba(255,211,40,.25); }
.hero-badge { position: absolute; z-index: 5; left: -28px; bottom: 95px; width: 126px; height: 126px; display: grid; align-content: center; text-align: center; color: var(--ink); background: var(--yellow); border: 6px solid var(--white); border-radius: 50%; transform: rotate(-8deg); box-shadow: 0 16px 35px rgba(0,0,0,.28); text-transform: uppercase; line-height: 1; }
.hero-badge::before { content: ""; position: absolute; inset: -14px; z-index: -1; background: var(--yellow); clip-path: polygon(50% 0,58% 14%,72% 5%,75% 21%,92% 18%,85% 34%,100% 42%,86% 52%,98% 64%,81% 69%,84% 86%,67% 82%,58% 100%,48% 85%,35% 97%,31% 80%,14% 84%,19% 67%,2% 59%,15% 48%,0 38%,17% 31%,10% 15%,28% 19%,36% 3%); }
.hero-badge span { font-size: .72rem; font-weight: 700; letter-spacing: .11em; }
.hero-badge strong { font-family: "Outfit", sans-serif; font-size: 1.18rem; }
.spark { position: absolute; z-index: 5; fill: var(--white); stroke: none; filter: drop-shadow(0 0 9px rgba(255,255,255,.8)); }
.spark-a { width: 38px; right: 2%; top: 18%; }
.spark-b { width: 20px; left: 5%; top: 25%; }
.service-strip { position: relative; z-index: 6; overflow: hidden; background: var(--yellow); color: var(--ink); transform: rotate(-1.2deg) scale(1.03); margin-bottom: -10px; box-shadow: 0 -8px 24px rgba(0,0,0,.15); }
.service-strip-track { min-width: max-content; display: flex; align-items: center; justify-content: center; gap: 24px; padding: 15px 2vw; font-family: "Outfit", sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.service-strip i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }

.intro { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 8vw, 120px); align-items: end; }
.intro h2 { max-width: 750px; }
.intro-copy { padding-bottom: 8px; }
.intro-copy p { max-width: 560px; color: var(--muted); font-size: 1.1rem; }
.text-link { display: inline-flex; gap: 14px; margin-top: 28px; color: #155ea5; font-weight: 700; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }

.services { background: var(--sky); }
.services-head { display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px; align-items: end; margin-bottom: 58px; }
.services-head > p { max-width: 430px; color: var(--muted); font-size: 1.05rem; padding-bottom: 8px; }
.service-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 18px; }
.service-card { min-height: 330px; position: relative; overflow: hidden; padding: 32px; border: 1px solid rgba(7,16,31,.08); border-radius: var(--radius-md); background: rgba(255,255,255,.76); box-shadow: 0 14px 42px rgba(22,75,120,.07); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card::after { content: ""; position: absolute; width: 170px; height: 170px; right: -85px; bottom: -85px; border: 28px solid rgba(23,117,229,.07); border-radius: 50%; }
.service-card.featured { grid-row: span 2; min-height: 678px; padding-top: 360px; color: var(--white); border-color: transparent; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(5,17,32,.9) 72%), url("assets/spas-superheld.webp") center 25%/cover; }
.service-card.featured::after { display: none; }
.service-number { color: #1760ac; font-family: "Outfit", sans-serif; font-size: .78rem; font-weight: 800; letter-spacing: .15em; }
.featured .service-number, .dark-card .service-number { color: var(--yellow); }
.service-icon { width: 44px; height: 44px; margin: 38px 0 60px; color: var(--blue); }
.featured .service-icon { position: absolute; top: 32px; left: 32px; width: 52px; height: 52px; margin: 0; color: var(--yellow); filter: drop-shadow(0 3px 8px rgba(0,0,0,.35)); }
.service-card h3 { margin-bottom: 15px; }
.service-card p { position: relative; z-index: 1; color: var(--muted); line-height: 1.6; }
.featured p, .dark-card p { color: rgba(255,255,255,.74); }
.card-tag { display: inline-block; margin-top: 26px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 7px 12px; font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.dark-card { color: var(--white); background: var(--ink-soft); border-color: transparent; }
.dark-card::after { border-color: rgba(255,211,40,.12); }
.dark-card .service-icon { color: var(--yellow); }
.service-card.wide { grid-column: 2 / 4; display: grid; grid-template-columns: 1fr 190px; gap: 24px; min-height: 330px; background: var(--white); }
.wide-content { align-self: end; }
.wide-content .service-number { margin-bottom: 22px; }
.wide-graphic { position: relative; display: flex; align-items: end; gap: 10px; }
.wide-graphic span { flex: 1; border-radius: 10px 10px 0 0; background: var(--sky); }
.wide-graphic span:nth-child(1) { height: 40%; }
.wide-graphic span:nth-child(2) { height: 65%; background: #bfe3ff; }
.wide-graphic span:nth-child(3) { height: 90%; background: var(--blue); }
.wide-graphic svg { position: absolute; right: 25px; top: 34px; width: 60px; height: 60px; color: var(--yellow); background: var(--ink); border-radius: 50%; padding: 14px; stroke-width: 2.5; }
.services-note { margin-top: 26px; text-align: center; color: var(--muted); }
.services-note a { color: #155ea5; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.process { position: relative; overflow: hidden; color: var(--white); background: var(--ink); }
.process::before { content: "SPAS"; position: absolute; left: -3vw; bottom: -9vw; color: rgba(255,255,255,.025); font-family: "Outfit", sans-serif; font-size: 35vw; font-weight: 800; line-height: 1; }
.process-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 10vw, 150px); }
.process-copy { position: sticky; top: 130px; align-self: start; }
.process-copy h2 { margin-bottom: 28px; }
.process-copy p:not(.eyebrow) { max-width: 380px; margin-bottom: 32px; color: #9eafc5; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.steps li { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 36px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.steps li:first-child { padding-top: 0; }
.steps > li > span { width: 54px; height: 54px; display: grid; place-items: center; color: var(--ink); background: var(--yellow); border-radius: 50%; font-family: "Outfit", sans-serif; font-weight: 800; }
.steps h3 { margin-bottom: 10px; font-size: 1.7rem; letter-spacing: -.02em; }
.steps p { color: #9eafc5; }

.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 10vw, 150px); }
.faq-heading p:not(.eyebrow) { max-width: 420px; margin-top: 25px; color: var(--muted); }
.accordion { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none; color: var(--ink); font-family: "Outfit", sans-serif; font-size: 1.22rem; font-weight: 700; line-height: 1.3; }
summary::-webkit-details-marker { display: none; }
summary span { flex: 0 0 34px; width: 34px; height: 34px; position: relative; border: 1px solid var(--line); border-radius: 50%; }
summary span::before, summary span::after { content: ""; position: absolute; left: 9px; right: 9px; top: 16px; height: 2px; background: var(--ink); transition: transform .2s ease; }
summary span::after { transform: rotate(90deg); }
details[open] summary span { background: var(--yellow); border-color: var(--yellow); }
details[open] summary span::after { transform: rotate(0); }
details p { max-width: 690px; padding: 0 54px 30px 0; color: var(--muted); }

.contact { padding-top: 0; background: var(--white); }
.contact-panel { min-height: 540px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: clamp(42px, 7vw, 88px); color: var(--white); background: linear-gradient(118deg, #07101f 0%, #0c264a 60%, #1679c6 120%); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact-panel::before { content: ""; position: absolute; width: 420px; height: 420px; right: -130px; bottom: -170px; border: 70px solid rgba(255,211,40,.12); border-radius: 50%; }
.contact-copy, .contact-actions { position: relative; z-index: 2; }
.contact-copy h2 em { color: var(--yellow); font-style: normal; }
.contact-copy > p:last-child { max-width: 500px; margin-top: 28px; color: #b8c8da; }
.contact-actions { display: grid; gap: 12px; }
.contact-link { min-height: 92px; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 18px; padding: 16px 20px; border: 1px solid rgba(255,255,255,.17); border-radius: 18px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); transition: background .2s ease, transform .2s ease; }
.contact-link:hover { background: rgba(255,255,255,.14); transform: translateX(4px); }
.contact-link svg { width: 46px; height: 46px; padding: 11px; color: var(--yellow); border-radius: 50%; background: rgba(255,211,40,.1); }
.contact-link small, .contact-link strong { display: block; }
.contact-link small { color: #9fb3cb; }
.contact-link strong { margin-top: 2px; font-size: 1.02rem; overflow-wrap: anywhere; }
.contact-link b { font-size: 1.4rem; }
.contact-actions address { padding: 12px 4px 0; color: #9fb3cb; font-style: normal; font-size: .88rem; }
.contact-spark { position: absolute; width: 66px; height: 66px; right: 30px; top: 28px; fill: var(--yellow); stroke: none; opacity: .9; }

.site-footer { padding: 58px 0 24px; color: var(--white); background: #050b15; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 40px; align-items: center; padding-bottom: 42px; }
.footer-brand { color: var(--white); }
.footer-grid > p { color: #8292a7; font-size: .9rem; }
.footer-links { display: flex; gap: 22px; color: #c2cede; font-size: .9rem; }
.footer-links button { padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; }
.footer-links a:hover, .footer-links button:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); color: #6f7d90; font-size: .8rem; }
.footer-bottom a:hover { color: var(--white); }

dialog { width: min(620px, calc(100% - 28px)); padding: 0; border: 0; border-radius: 24px; color: var(--ink); box-shadow: 0 30px 90px rgba(0,0,0,.34); }
dialog::backdrop { background: rgba(2,8,17,.7); backdrop-filter: blur(4px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { font-size: 2rem; }
.dialog-head button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--sky); cursor: pointer; font-size: 1.6rem; }
.dialog-body { padding: 26px 28px 34px; }
.dialog-body p + p { margin-top: 20px; }
.dialog-body a { color: #155ea5; text-decoration: underline; }

.reveal { opacity: 1; transform: none; }

@media (max-width: 980px) {
  h1 { font-size: clamp(3.4rem, 9vw, 5.5rem); }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr .8fr; }
  .hero-visual { min-height: 520px; height: 65vh; }
  .hero-badge { left: -60px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card.featured { grid-row: span 2; }
  .service-card.wide { grid-column: 1 / 3; }
  .process-grid, .faq-grid { gap: 60px; }
  .contact-panel { gap: 40px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 82px 0; }
  .site-header { padding: 11px 0; background: rgba(7,16,31,.84); backdrop-filter: blur(14px); }
  .brand-shield { width: 36px; height: 40px; font-size: 1.25rem; }
  .brand strong { font-size: 1.15rem; }
  nav > a:not(.nav-cta) { display: none; }
  .nav-cta { min-height: 44px; padding: 0 16px; }
  .hero { padding-top: 96px; }
  .hero-grid { display: flex; flex-direction: column; gap: 10px; }
  .hero-copy { padding: 44px 0 16px; }
  .hero-lead { margin: 24px 0 26px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-visual { width: 100%; height: 570px; min-height: 0; align-self: auto; }
  .hero-image-frame { right: -12%; width: 105%; height: 100%; border-radius: 90px 0 0 0; }
  .hero-image-frame img { object-position: 53% 28%; }
  .hero-badge { left: 2px; bottom: 50px; width: 104px; height: 104px; border-width: 4px; }
  .spark-a { right: 0; }
  .service-strip-track { justify-content: flex-start; animation: marquee 18s linear infinite; }
  .intro-grid, .services-head, .process-grid, .faq-grid, .contact-panel { grid-template-columns: 1fr; }
  .intro-grid { gap: 32px; }
  .services-head { gap: 24px; margin-bottom: 38px; }
  .services-head br { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card.featured { min-height: 340px; }
  .service-card.featured { grid-row: auto; padding-top: 190px; background-position: center 23%; }
  .service-card.wide { grid-column: auto; grid-template-columns: 1fr; min-height: 390px; }
  .wide-graphic { height: 125px; }
  .process-copy { position: static; }
  .steps { margin-top: 10px; }
  .steps li { grid-template-columns: 58px 1fr; gap: 16px; }
  .steps > li > span { width: 48px; height: 48px; }
  .faq-grid { gap: 45px; }
  summary { min-height: 86px; font-size: 1.08rem; }
  .contact { padding-left: 0; padding-right: 0; }
  .contact-panel { width: calc(100% - 20px); min-height: auto; padding: 48px 24px; gap: 42px; border-radius: 30px; }
  .contact-link { grid-template-columns: 42px 1fr; padding: 14px; }
  .contact-link > b { display: none; }
  .contact-link strong { font-size: .9rem; }
  .contact-spark { width: 42px; height: 42px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-links { flex-wrap: wrap; }
  .footer-bottom { gap: 20px; }
}

@media (max-width: 400px) {
  h1 { font-size: 3.15rem; }
  h2 { font-size: 2.65rem; }
  .hero-visual { height: 520px; }
  .trust-list { gap: 10px 18px; }
  .contact-panel { padding-inline: 19px; }
}

@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
