/*
Theme Name: ErgoVital
Theme URI: https://jm-art.eu/
Author: JM Art
Author URI: https://jm-art.eu/
Description: Jednostronicowy motyw WordPress dla gabinetu ErgoVital w Mosinie.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: ergovital
*/
@import url("https://fonts.cdnfonts.com/css/cafe-aroma");

      :root {
        --bg: #f8f4ee;
        --bg-alt: #efe6da;
        --bg-soft: #f3ede4;
        --card: #fffdf8;
        --ink: #664629;
        --body: #6f5e53;
        --muted: #8a786c;
        --accent: #c87335;
        --accent-dark: #a95e2b;
        --border: #ded2c4;
        --border-soft: #e8ddd0;
        --green: #7f8e76;
        --shadow: 0 22px 55px rgba(75, 48, 31, 0.12);
        --serif: "Cormorant Garamond", Georgia, serif;
        --sans: "Lato", Arial, sans-serif;
      }

      * {
        box-sizing: border-box;
      }

      html {
        scroll-behavior: smooth;
      }

      body {
        margin: 0;
        background: var(--bg);
        color: var(--body);
        font-family: var(--sans);
        font-size: 16px;
        line-height: 1.7;
      }

      img {
        display: block;
        max-width: 100%;
      }

      a {
        color: inherit;
        text-decoration: none;
      }

      h1,
      h2,
      h3 {
        margin: 0;
        color: var(--ink);
        font-family: var(--serif);
        font-weight: 600;
        line-height: 0.98;
        letter-spacing: 0;
      }

      h1 {
        max-width: 610px;
        font-size: clamp(48px, 6.3vw, 82px);
      }

      h2 {
        font-size: clamp(38px, 5vw, 62px);
      }

      h3 {
        font-size: clamp(27px, 3vw, 38px);
      }

      p {
        margin: 0;
      }

      button,
      summary {
        font-family: inherit;
      }

      summary {
        cursor: pointer;
        list-style: none;
      }

      summary::-webkit-details-marker {
        display: none;
      }

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

      .section {
        position: relative;
        overflow: hidden;
        padding: clamp(64px, 8vw, 104px) 0;
      }

      .section > .wrap {
        position: relative;
        z-index: 1;
      }

      .section::before,
      .section::after {
        position: absolute;
        z-index: 0;
        width: 170px;
        height: 340px;
        background: url("data:image/svg+xml,%3Csvg width='180' height='360' viewBox='0 0 180 360' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M36 344C70 270 66 196 112 120C134 84 150 52 154 16' stroke='%237F8E76' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M76 270C43 256 28 227 26 197C58 206 80 228 76 270Z' fill='%237F8E76' fill-opacity='.62'/%3E%3Cpath d='M98 220C128 201 145 172 147 139C116 150 96 179 98 220Z' fill='%237F8E76' fill-opacity='.52'/%3E%3Cpath d='M78 190C48 176 35 152 33 124C61 133 80 156 78 190Z' fill='%237F8E76' fill-opacity='.48'/%3E%3Cpath d='M122 144C151 127 164 101 164 72C136 84 120 108 122 144Z' fill='%237F8E76' fill-opacity='.56'/%3E%3Cpath d='M104 110C77 98 64 75 64 48C90 58 106 82 104 110Z' fill='%237F8E76' fill-opacity='.42'/%3E%3C/svg%3E") center / contain no-repeat;
        content: "";
        opacity: 0.12;
        pointer-events: none;
      }

      .section::after {
        width: 108px;
        height: 216px;
        opacity: 0.09;
      }

      .section-head {
        display: grid;
        gap: 14px;
        margin-bottom: 36px;
        text-align: center;
      }

      .section-head p {
        max-width: 650px;
        margin: 0 auto;
        color: var(--muted);
        font-size: 18px;
      }

      .eyebrow {
        color: var(--ink);
        font-size: 13px;
        font-weight: 900;
        letter-spacing: 0.14em;
        text-transform: uppercase;
      }

      .leaf-mark {
        color: var(--ink);
        font-family: var(--serif);
        font-size: 28px;
      }

      .button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        min-height: 58px;
        padding: 0 30px;
        border: 1px solid var(--accent);
        border-radius: 8px;
        background: var(--accent);
        color: #fffdf8;
        font-weight: 900;
        transition: 0.25s ease;
      }

      .button:hover,
      .button:focus-visible {
        background: var(--accent-dark);
        border-color: var(--accent-dark);
        transform: translateY(-2px);
      }

      .button.outline {
        background: transparent;
        color: var(--ink);
        border-color: var(--border);
      }

      .button.outline:hover,
      .button.outline:focus-visible {
        background: var(--card);
        border-color: var(--accent);
      }

      .topbar {
        position: sticky;
        top: 0;
        z-index: 20;
        border-bottom: 1px solid rgba(222, 210, 196, 0.82);
        background: rgba(255, 253, 248, 0.92);
        backdrop-filter: blur(18px);
      }

      .nav {
        display: grid;
        grid-template-columns: auto 1fr auto auto;
        align-items: center;
        gap: 24px;
        min-height: 66px;
      }

      .logo {
        width: 118px;
      }

      .topbar .button {
        min-height: 44px;
        padding: 0 22px;
      }

      .menu {
        display: flex;
        justify-content: center;
        gap: clamp(18px, 3vw, 40px);
        color: var(--ink);
        font-size: 16px;
      }

      .menu a {
        position: relative;
        padding: 8px 0;
      }

      .menu a::after {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 1px;
        background: var(--accent);
        content: "";
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.25s ease;
      }

      .menu a:hover::after,
      .menu a:focus-visible::after {
        transform: scaleX(1);
      }

      .nav-toggle {
        position: absolute;
        opacity: 0;
        pointer-events: none;
      }

      .menu-toggle {
        display: none;
        width: 48px;
        height: 48px;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--border);
        border-radius: 8px;
        color: var(--ink);
        font-size: 28px;
      }

      .hero {
        position: relative;
        overflow: hidden;
        min-height: clamp(560px, 72vh, 760px);
        background: var(--bg);
      }

      .hero-bg {
        position: absolute;
        inset: 0;
        z-index: 0;
        display: block;
      }

      .hero-bg::after {
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(90deg, rgba(248, 244, 238, 0.96) 0%, rgba(248, 244, 238, 0.88) 32%, rgba(248, 244, 238, 0.35) 58%, rgba(248, 244, 238, 0.04) 100%);
        content: "";
      }

      .hero-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
      }

      .hero::before,
      .hero::after {
        position: absolute;
        z-index: 1;
        width: 210px;
        height: 420px;
        background: url("data:image/svg+xml,%3Csvg width='180' height='360' viewBox='0 0 180 360' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M36 344C70 270 66 196 112 120C134 84 150 52 154 16' stroke='%237F8E76' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M76 270C43 256 28 227 26 197C58 206 80 228 76 270Z' fill='%237F8E76' fill-opacity='.62'/%3E%3Cpath d='M98 220C128 201 145 172 147 139C116 150 96 179 98 220Z' fill='%237F8E76' fill-opacity='.52'/%3E%3Cpath d='M78 190C48 176 35 152 33 124C61 133 80 156 78 190Z' fill='%237F8E76' fill-opacity='.48'/%3E%3Cpath d='M122 144C151 127 164 101 164 72C136 84 120 108 122 144Z' fill='%237F8E76' fill-opacity='.56'/%3E%3Cpath d='M104 110C77 98 64 75 64 48C90 58 106 82 104 110Z' fill='%237F8E76' fill-opacity='.42'/%3E%3C/svg%3E") center / contain no-repeat;
        content: "";
        pointer-events: none;
      }

      .hero::before {
        top: 82px;
        left: -34px;
        opacity: 0.32;
      }

      .hero::after {
        right: 2%;
        bottom: 18px;
        opacity: 0.18;
        transform: rotate(18deg);
      }

      .hero-grid {
        position: relative;
        z-index: 2;
        display: grid;
        grid-template-columns: minmax(300px, 620px);
        align-items: center;
        gap: 0;
        min-height: inherit;
        padding: clamp(46px, 6vw, 74px) 0;
      }

      .hero-copy {
        display: grid;
        gap: 22px;
        max-width: 600px;
        padding: clamp(22px, 2vw, 34px) 0;
      }

      .hero-copy p {
        max-width: 590px;
        color: var(--ink);
        font-size: clamp(18px, 2vw, 23px);
      }

      .hero-actions,
      .contact-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
      }

      .hero-media {
        display: none;
        position: relative;
        min-height: 370px;
      }

      .hero-media::before {
        position: absolute;
        inset: 28px -28px -28px 28px;
        border: 1px solid var(--border);
        border-radius: 36px;
        content: "";
      }

      .hero-media img {
        position: relative;
        width: 100%;
        height: min(500px, 58vh);
        object-fit: cover;
        object-position: center;
        border-radius: 36px;
        box-shadow: var(--shadow);
      }

      .zones {
        background: var(--bg-alt);
      }

      .zones::before {
        top: 34px;
        left: -48px;
        transform: rotate(-12deg);
      }

      .zones::after {
        right: 3%;
        bottom: 28px;
        transform: rotate(14deg) scale(0.76);
      }

      .zone-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
      }

      .zone-card,
      .ritual-card,
      .review-card,
      .contact-card,
      .price-panel {
        border: 1px solid var(--border);
        border-radius: 10px;
        background: var(--card);
        box-shadow: 0 14px 36px rgba(75, 48, 31, 0.08);
      }

      .zone-card,
      .ritual-card,
      .review-card,
      .contact-card {
        transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
      }

      .zone-card:hover,
      .zone-card:focus-within,
      .ritual-card:hover,
      .ritual-card:focus-within,
      .review-card:hover,
      .review-card:focus-within {
        border-color: rgba(200, 115, 53, 0.42);
        box-shadow: 0 24px 52px rgba(75, 48, 31, 0.13);
        transform: translateY(-6px);
      }

      .zone-card {
        overflow: hidden;
      }

      .zone-summary {
        display: grid;
        grid-template-rows: 190px auto;
        min-height: 470px;
      }

      .zone-summary img {
        width: 100%;
        height: 190px;
        object-fit: cover;
        transition: transform 0.6s ease, filter 0.6s ease;
      }

      .zone-card:hover .zone-summary img,
      .zone-card:focus-within .zone-summary img {
        filter: saturate(1.05) contrast(1.02);
        transform: scale(1.06);
      }

      .zone-body {
        display: grid;
        grid-template-rows: auto 1fr auto;
        gap: 14px;
        padding: 26px 24px 22px;
      }

      .zone-body h3 {
        color: var(--ink);
      }

      .zone-body p {
        color: var(--body);
      }

      .plus {
        display: inline-flex;
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        justify-self: center;
        border: 1px solid var(--border);
        border-radius: 50%;
        color: var(--accent);
        font-size: 30px;
        font-weight: 700;
        line-height: 1;
      }

      details[open] > summary .plus::before,
      details[open] > .price-summary .plus::before,
      details[open] > .mini-summary .plus::before {
        content: "−";
      }

      .plus::before {
        content: "+";
      }

      .zone-services,
      .ritual-more {
        display: grid;
        gap: 10px;
        padding: 0 20px 24px;
      }

      .mini-detail {
        border-top: 1px solid var(--border-soft);
      }

      .mini-summary {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 16px;
        align-items: center;
        padding: 14px 0;
        color: var(--ink);
        font-weight: 700;
      }

      .mini-summary .plus {
        width: 30px;
        height: 30px;
        font-size: 22px;
      }

      .mini-detail p {
        padding: 0 0 16px;
        color: var(--body);
        font-size: 15px;
      }

      .about {
        background: var(--bg);
      }

      .about::before {
        top: 70px;
        right: -42px;
        opacity: 0.13;
        transform: rotate(18deg);
      }

      .about::after {
        left: 2%;
        bottom: 42px;
        transform: rotate(-16deg) scale(0.68);
      }

      .about-grid {
        display: grid;
        grid-template-columns: 0.86fr 1fr;
        align-items: center;
        gap: clamp(34px, 6vw, 78px);
      }

      .about img {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 18px;
        box-shadow: var(--shadow);
      }

      .about-copy {
        display: grid;
        gap: 22px;
      }

      .about-copy p {
        max-width: 610px;
        font-size: 18px;
      }

      .signature {
        display: inline-block;
        --signature-width: 21ch;
        max-width: 100%;
        color: var(--ink);
        font-family: "Cafe Aroma", var(--serif);
        font-size: clamp(30px, 3.2vw, 44px);
        font-weight: 800;
        line-height: 1.15;
        white-space: nowrap;
      }

      .signature-typing {
        min-height: 1.15em;
      }

      .signature.typing-active::after {
        content: "";
        display: inline-block;
        width: 2px;
        height: 0.9em;
        margin-left: 4px;
        background: var(--accent);
        vertical-align: -0.08em;
        animation: caret-blink 0.85s step-end infinite;
      }

      .rituals {
        background: var(--bg-soft);
      }

      .rituals::before {
        bottom: 42px;
        left: -50px;
        transform: rotate(7deg);
      }

      .rituals::after {
        right: -24px;
        top: 42%;
        transform: rotate(12deg) scale(0.74);
      }

      .ritual-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
      }

      .ritual-card {
        overflow: hidden;
      }

      .ritual-image {
        overflow: hidden;
        aspect-ratio: 4 / 3;
      }

      .ritual-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.55s ease, filter 0.55s ease;
      }

      .ritual-card:hover .ritual-image img,
      .ritual-card:focus-within .ritual-image img {
        filter: saturate(1.05) contrast(1.03);
        transform: scale(1.08);
      }

      .ritual-summary {
        display: block;
      }

      .ritual-text {
        display: grid;
        gap: 12px;
        padding: 24px;
      }

      .ritual-text p {
        color: var(--body);
      }

      .ritual-text .plus {
        justify-self: start;
        margin-top: 4px;
      }

      .ritual-more {
        padding-top: 0;
      }

      .price-section {
        background: var(--bg);
      }

      .price-section::before {
        top: 54px;
        right: -56px;
        transform: rotate(-18deg);
      }

      .price-section::after {
        left: 2%;
        bottom: 44px;
        transform: rotate(-10deg) scale(0.7);
      }

      .price-panel {
        overflow: hidden;
      }

      .price-group + .price-group {
        border-top: 1px solid var(--border);
      }

      .price-group-title {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 18px;
        padding: 24px 28px;
      }

      .price-group-title h3 {
        font-size: clamp(28px, 3vw, 42px);
      }

      .price-list {
        padding: 0 18px 22px;
      }

      .price-row {
        border-top: 1px solid var(--border-soft);
        transition: transform 0.26s ease, background 0.26s ease;
      }

      .price-row:hover,
      .price-row:focus-within {
        background: rgba(255, 251, 244, 0.82);
        transform: translateX(4px);
      }

      .price-summary {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr) 130px 130px auto;
        gap: 16px;
        align-items: center;
        padding: 16px 10px;
      }

      .price-icon {
        position: relative;
        display: inline-flex;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(204, 116, 45, 0.28);
        border-radius: 50%;
        background: rgba(255, 251, 244, 0.78);
        color: transparent;
        font-size: 0;
        overflow: hidden;
      }

      .price-icon::before {
        content: "";
        display: block;
        width: 22px;
        height: 22px;
        background-color: var(--accent);
        opacity: 0.92;
        -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2032%2032%27%3E%3Cpath%20d%3D%27M6%2024C16%2024%2023%2017%2026%206C15%208%208%2015%206%2024Z%27%20fill%3D%27black%27/%3E%3Cpath%20d%3D%27M9%2023C13%2018%2018%2014%2025%208%27%20stroke%3D%27black%27%20stroke-width%3D%273%27%20stroke-linecap%3D%27round%27/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2032%2032%27%3E%3Cpath%20d%3D%27M6%2024C16%2024%2023%2017%2026%206C15%208%208%2015%206%2024Z%27%20fill%3D%27black%27/%3E%3Cpath%20d%3D%27M9%2023C13%2018%2018%2014%2025%208%27%20stroke%3D%27black%27%20stroke-width%3D%273%27%20stroke-linecap%3D%27round%27/%3E%3C/svg%3E") center / contain no-repeat;
      }

      .price-name {
        color: var(--ink);
        font-weight: 700;
      }

      .price-time,
      .price-cost {
        color: var(--body);
        font-weight: 700;
        text-align: right;
      }

      .price-row .plus {
        width: 32px;
        height: 32px;
        font-size: 23px;
      }

      .price-description {
        max-width: 860px;
        padding: 0 10px 18px 68px;
        color: var(--body);
      }

      .price-booksy-note {
        margin: 0 28px 28px;
        padding: 18px 20px;
        border: 1px solid var(--border-soft);
        border-radius: 16px;
        background: rgba(255, 251, 244, 0.72);
        color: var(--body);
        font-weight: 700;
        text-align: center;
      }

      .price-booksy-note a {
        color: var(--accent);
        text-decoration: underline;
        text-underline-offset: 4px;
      }

      .voucher {
        background: var(--bg-soft);
      }

      .voucher::before {
        right: 2%;
        bottom: 26px;
        opacity: 0.11;
        transform: rotate(12deg);
      }

      .voucher::after {
        top: 52px;
        left: -34px;
        opacity: 0.08;
        transform: rotate(-18deg) scale(0.72);
      }

      .voucher-grid {
        display: grid;
        grid-template-columns: 1.03fr 0.97fr;
        align-items: center;
        gap: clamp(30px, 6vw, 74px);
      }

      .voucher img {
        width: 100%;
        border-radius: 18px;
        box-shadow: var(--shadow);
      }

      .voucher-copy {
        display: grid;
        gap: 22px;
      }

      .reviews {
        background: var(--bg-alt);
      }

      .review-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
      }

      .review-card {
        display: grid;
        gap: 18px;
        min-height: 250px;
        padding: 26px;
      }

      .stars {
        color: var(--accent);
        font-size: 18px;
        letter-spacing: 0.08em;
      }

      .review-card strong {
        color: var(--ink);
      }

      .contact {
        background: var(--bg-soft);
        padding-bottom: 34px;
      }

      .reviews::before {
        top: 52px;
        left: -44px;
        transform: rotate(-5deg);
      }

      .reviews::after {
        right: -24px;
        bottom: 34px;
        transform: rotate(15deg) scale(0.72);
      }

      .contact::before {
        left: 2%;
        bottom: 18px;
        opacity: 0.14;
        transform: rotate(-10deg);
      }

      .contact::after {
        right: 3%;
        top: 34px;
        transform: rotate(14deg) scale(0.64);
      }

      .contact-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        align-items: stretch;
      }

      .contact-card {
        display: grid;
        min-height: 330px;
        align-content: start;
        padding: 28px;
      }

      .notice-card {
        gap: 8px;
      }

      .notice-card .eyebrow,
      .notice-card h3,
      .notice-card p {
        margin: 0;
      }

      .notice-card h3 {
        color: var(--accent);
        font-weight: 800;
      }

      .contact-card:nth-child(2) p {
        color: var(--ink);
        font-weight: 700;
      }

      .contact-list {
        display: grid;
        gap: 12px;
        margin-top: 18px;
      }

      .contact-list > a,
      .contact-list > span {
        display: flex;
        gap: 12px;
        align-items: center;
      }

      .contact-list b {
        color: var(--accent);
      }

      .social-list {
        display: flex;
        gap: 18px;
        align-items: center;
        justify-content: center;
        margin-top: 28px;
      }

      .social-link {
        width: 62px;
        height: 62px;
        flex: 0 0 62px;
        justify-content: center;
        color: var(--accent);
        font-size: 0;
        overflow: hidden;
      }

      .contact-list > a.social-link {
        gap: 0;
      }

      .social-link > span:not(.social-icon) {
        display: none;
      }

      .social-icon {
        display: inline-flex;
        width: 60px;
        height: 60px;
        flex: 0 0 60px;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--accent);
        border-radius: 50%;
        color: #fffdf8;
        background: var(--accent);
        box-shadow: 0 0 0 0 rgba(200, 115, 53, 0.26);
        animation: social-pulse 2.4s ease-in-out infinite;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
      }

      .social-icon svg {
        width: 25px;
        height: 25px;
      }

      .social-link:hover .social-icon,
      .social-link:focus-visible .social-icon {
        color: #fffdf8;
        background: var(--accent);
        transform: translateY(-2px) scale(1.04);
      }

      @keyframes social-pulse {
        0%,
        100% {
          box-shadow: 0 0 0 0 rgba(200, 115, 53, 0.26);
        }

        50% {
          box-shadow: 0 0 0 12px rgba(200, 115, 53, 0);
        }
      }

      .footer-note {
        margin-top: 34px;
        padding-top: 18px;
        border-top: 1px solid var(--border);
        color: var(--muted);
        text-align: center;
        font-size: 14px;
      }

      .footer-note a {
        color: var(--accent-dark);
        font-weight: 900;
      }

      @keyframes fade-rise {
        from {
          opacity: 0;
          transform: translateY(18px);
        }

        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      @keyframes slide-copy {
        from {
          opacity: 0;
          transform: translateX(-16px);
        }

        to {
          opacity: 1;
          transform: translateX(0);
        }
      }

      @keyframes type-signature {
        from {
          width: 0;
        }

        to {
          width: var(--signature-width);
        }
      }

      @keyframes signature-clip {
        from {
          clip-path: inset(0 100% 0 0);
        }

        to {
          clip-path: inset(0 0 0 0);
        }
      }

      @keyframes caret-blink {
        50% {
          border-color: transparent;
        }
      }

      .reveal-text,
      .reveal-card {
        opacity: 1;
      }

      @media (prefers-reduced-motion: no-preference) {
        .hero-copy > *,
        .section-head > * {
          animation: fade-rise 0.75s ease both;
        }

        .hero-copy > *:nth-child(2),
        .section-head > *:nth-child(2) {
          animation-delay: 0.08s;
        }

        .hero-copy > *:nth-child(3),
        .section-head > *:nth-child(3) {
          animation-delay: 0.16s;
        }

        .reveal-text,
        .reveal-card {
          opacity: 0;
          transform: translateX(-22px);
          transition: opacity 0.72s ease, transform 0.72s ease;
          transition-delay: var(--reveal-delay, 0s);
        }

        .reveal-card {
          transform: translateY(22px) scale(0.98);
        }

        .reveal-from-right {
          transform: translateX(22px);
        }

        .reveal-text.is-visible,
        .reveal-card.is-visible {
          opacity: 1;
          transform: translate(0, 0) scale(1);
        }

        details[open] .zone-services,
        details[open] .ritual-more,
        details[open] .price-description,
        details[open] .mini-detail p {
          animation: slide-copy 0.48s ease both;
        }
      }

      .cookie-banner {
        position: fixed;
        z-index: 1000;
        right: 24px;
        bottom: 24px;
        width: min(520px, calc(100% - 48px));
        padding: 24px;
        border: 1px solid var(--border);
        border-radius: 8px;
        background: rgba(255, 253, 248, 0.98);
        box-shadow: 0 18px 50px rgba(75, 48, 31, 0.2);
      }

      .cookie-banner[hidden] {
        display: none;
      }

      .cookie-banner h2 {
        margin-bottom: 10px;
        font-size: 32px;
        line-height: 1.05;
      }

      .cookie-banner p {
        margin: 0;
        font-size: 15px;
        line-height: 1.55;
      }

      .cookie-details {
        margin-top: 12px;
        font-size: 14px;
      }

      .cookie-details summary {
        width: fit-content;
        color: var(--accent-dark);
        font-weight: 700;
        cursor: pointer;
      }

      .cookie-details p {
        margin-top: 8px;
        color: var(--muted);
        font-size: 14px;
      }

      .cookie-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 18px;
      }

      .cookie-actions .button {
        min-height: 48px;
        border: 1px solid var(--accent);
        cursor: pointer;
      }

      .cookie-settings {
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--accent-dark);
        font: inherit;
        font-weight: 700;
        text-decoration: underline;
        text-underline-offset: 3px;
        cursor: pointer;
      }

      @media (max-width: 1040px) {
        .hero-grid,
        .about-grid,
        .voucher-grid,
        .contact-grid {
          grid-template-columns: 1fr;
        }

        .hero-media {
          min-height: 0;
        }

        .zone-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
      }

      @media (max-width: 820px) {
        .nav {
          grid-template-columns: auto 1fr auto;
          min-height: 68px;
        }

        .logo {
          width: 112px;
        }

        .nav .button {
          display: none;
        }

        .menu-toggle {
          display: inline-flex;
          grid-column: 3;
        }

        .menu {
          position: absolute;
          top: 68px;
          right: 18px;
          left: 18px;
          display: none;
          flex-direction: column;
          gap: 6px;
          padding: 16px;
          border: 1px solid var(--border);
          border-radius: 10px;
          background: var(--card);
          box-shadow: var(--shadow);
        }

        .nav-toggle:checked ~ .menu {
          display: flex;
        }

        .hero {
          min-height: min(760px, calc(100vh - 68px));
          background: var(--bg);
        }

        .hero-bg::after {
          background: linear-gradient(180deg, rgba(248, 244, 238, 0.02) 0%, rgba(248, 244, 238, 0.1) 44%, rgba(248, 244, 238, 0.94) 100%);
        }

        .hero-bg img {
          object-position: center top;
        }

        .hero-grid {
          min-height: min(760px, calc(100vh - 68px));
          gap: 0;
          align-items: end;
          padding-top: 300px;
          padding-bottom: 34px;
        }

        .hero-media {
          display: none;
        }

        .hero-media::before {
          display: none;
        }

        .hero-media img {
          height: auto;
          aspect-ratio: 4 / 5;
          border-radius: 18px;
          object-fit: cover;
          object-position: center top;
        }

        .hero-actions,
        .contact-actions {
          flex-direction: column;
        }

        .button {
          width: 100%;
        }

        .ritual-grid,
        .review-grid {
          grid-template-columns: 1fr;
        }

        .price-summary {
          grid-template-columns: 36px 1fr auto;
        }

        .price-time,
        .price-cost {
          grid-column: 2;
          text-align: left;
        }

        .price-description {
          padding-left: 46px;
        }

        .price-booksy-note {
          margin: 0 16px 20px;
          text-align: left;
        }
      }

      @media (max-width: 620px) {
        .wrap {
          width: min(100% - 28px, 1180px);
        }

        .zone-grid {
          grid-template-columns: 1fr;
        }

        .zone-summary {
          min-height: auto;
        }

        h1 {
          font-size: clamp(42px, 14vw, 60px);
        }

        .signature {
          --signature-width: 21ch;
          font-size: clamp(24px, 5.5vw, 28px);
          white-space: nowrap;
        }

        .section-head {
          text-align: left;
        }

        .section-head p {
          margin: 0;
        }

        .social-list {
          display: flex;
          flex-direction: row;
          justify-content: center;
          gap: 16px;
          width: 100%;
        }

        .social-link {
          width: 58px;
          height: 58px;
          flex: 0 0 58px;
          padding: 0;
        }

        .social-icon {
          width: 56px;
          height: 56px;
          flex: 0 0 56px;
        }

        .contact-card {
          min-height: auto;
        }

        .cookie-banner {
          right: 14px;
          bottom: 14px;
          width: calc(100% - 28px);
          padding: 20px;
        }

        .cookie-banner h2 {
          font-size: 28px;
        }

        .cookie-actions {
          display: grid;
          grid-template-columns: 1fr;
        }
      }
