:root {
    --bg-main: #e8f2ff;
    --bg-elevated: #ffffff;
    --surface: rgba(255, 255, 255, 0.7);
    --surface-strong: rgba(255, 255, 255, 0.92);
    --text-main: #0f2f5c;
    --text-muted: #506b8d;
    --accent-blue: #2472c3;
    --accent-navy: #153a73;
    --accent-navy-deep: #0f2c57;
    --accent-gold: #d9a64b;
    --accent-gold-soft: #f5e1b6;
    --accent-cyan: #8ec7ff;
    --border-soft: rgba(36, 114, 195, 0.2);
    --border-strong: rgba(14, 49, 96, 0.18);
    --shadow-soft: 0 22px 58px rgba(17, 49, 96, 0.13);
    --shadow-panel: 0 18px 44px rgba(13, 43, 86, 0.16);
    --shadow-lifted: 0 24px 48px rgba(12, 44, 88, 0.2);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --container: min(1240px, 92vw);
    --transition: 260ms ease;
    --transition-emph: 420ms cubic-bezier(0.2, 0.74, 0.22, 1);
    --bg-gradient: radial-gradient(circle at 8% 8%, rgba(129, 185, 248, 0.35), transparent 24%),
        radial-gradient(circle at 86% 12%, rgba(248, 227, 176, 0.32), transparent 22%),
        radial-gradient(circle at 68% 42%, rgba(196, 224, 255, 0.65), transparent 36%),
        radial-gradient(circle at 20% 72%, rgba(183, 213, 247, 0.45), transparent 34%),
        linear-gradient(180deg, #fafdff 0%, #edf5ff 42%, #e4effd 100%);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    background: var(--bg-gradient);
    background-attachment: fixed;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    position: relative;
    overflow-x: clip;
}

body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 999px;
    z-index: -1;
    pointer-events: none;
}

body::before {
    width: min(48vw, 640px);
    aspect-ratio: 1;
    top: -18vw;
    right: -16vw;
    background: radial-gradient(circle, rgba(168, 210, 255, 0.46) 0%, rgba(168, 210, 255, 0) 72%);
}

body::after {
    width: min(44vw, 560px);
    aspect-ratio: 1;
    left: -18vw;
    bottom: -18vw;
    background: radial-gradient(circle, rgba(244, 222, 172, 0.28) 0%, rgba(244, 222, 172, 0) 74%);
}

a {
    color: inherit;
}

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

.skip-link {
    position: absolute;
    left: 8px;
    top: -48px;
    background: linear-gradient(135deg, #f5e2b8 0%, #d8ad5a 100%);
    color: var(--accent-navy);
    padding: 8px 12px;
    border-radius: 8px;
    z-index: 999;
    font-weight: 700;
}

.skip-link:focus {
    top: 8px;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.section {
    padding: 104px 0;
}

main section[id] {
    scroll-margin-top: 112px;
}

.eyebrow {
    margin: 0 0 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-navy);
    font-weight: 700;
    font-size: 0.78rem;
}

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.12;
    margin: 0 0 14px;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.5rem, 5.4vw, 5rem);
    max-width: 11ch;
}

h2 {
    font-size: clamp(1.85rem, 3.4vw, 3rem);
}

h3 {
    font-size: 1.22rem;
}

p {
    margin: 0;
}

.section-head {
    max-width: 820px;
    margin-bottom: 42px;
}

.section-head p {
    color: var(--text-muted);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    background: linear-gradient(106deg, rgba(11, 37, 73, 0.92) 0%, rgba(15, 45, 84, 0.88) 42%, rgba(18, 56, 104, 0.9) 100%);
    border-bottom: 1px solid rgba(216, 166, 75, 0.28);
    margin: 0 !important;
    padding: 0 !important;
    display: block;
    transition: top var(--transition);
}

.site-lector + .site-header {
    top: 58px;
}

.site-header::before {
    content: '';
    position: absolute;
    inset: auto 0 -1px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(142, 199, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
}

.header-inner {
    min-height: 96px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-right: auto;
    transition: transform var(--transition-emph);
}

.brand:hover,
.brand:focus-visible {
    transform: translateY(-1px);
}

.brand-mark-wrap {
    width: clamp(52px, 4.6vw, 64px);
    aspect-ratio: 1;
    border-radius: 16px;
    padding: 4px;
    display: grid;
    place-items: center;
    background: linear-gradient(146deg, rgba(255, 255, 255, 0.4) 0%, rgba(150, 194, 242, 0.2) 100%);
    border: 1px solid rgba(164, 206, 250, 0.42);
    box-shadow: 0 12px 24px rgba(4, 23, 48, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.38);
    position: relative;
    overflow: hidden;
}

.brand-mark-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 56%);
    pointer-events: none;
}

.brand-mark {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    animation: markFloat 7s ease-in-out infinite;
}

.brand-wordmark {
    display: grid;
    gap: 2px;
    text-transform: uppercase;
    line-height: 1;
}

.brand-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    letter-spacing: 0.16em;
    font-weight: 700;
    color: #c0defe;
}

.brand-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.72rem, 1vw, 0.84rem);
    letter-spacing: 0.28em;
    color: var(--accent-gold-soft);
    font-weight: 700;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-nav a {
    text-decoration: none;
    color: rgba(232, 244, 255, 0.84);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color var(--transition), transform var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: #ffffff;
    transform: translateY(-1px);
}

.site-nav a.is-active {
    color: #ffffff;
    text-shadow: 0 0 14px rgba(175, 216, 255, 0.42);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(198, 223, 249, 0.42);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: currentColor;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 13px 24px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -48%;
    width: 42%;
    height: 300%;
    transform: skewX(-18deg) translateX(-80%);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: transform 640ms ease, opacity 420ms ease;
    pointer-events: none;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:hover::before,
.btn:focus-visible::before {
    opacity: 1;
    transform: skewX(-18deg) translateX(430%);
}

.btn-primary {
    color: #112f57;
    background: linear-gradient(138deg, #f8e9c8 0%, #e6bc69 56%, #c89138 100%);
    box-shadow: 0 14px 30px rgba(195, 137, 56, 0.34);
    border-color: rgba(177, 124, 50, 0.34);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    box-shadow: 0 18px 36px rgba(195, 137, 56, 0.42);
}

.btn-secondary {
    color: var(--accent-navy);
    border-color: rgba(21, 59, 111, 0.18);
    background: rgba(255, 255, 255, 0.72);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(17, 58, 112, 0.34);
    box-shadow: 0 12px 24px rgba(15, 50, 92, 0.14);
}

.header-cta {
    white-space: nowrap;
}

.hero {
    padding-top: 126px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 10% 16%, rgba(97, 166, 242, 0.32), transparent 34%),
        radial-gradient(circle at 80% 14%, rgba(247, 223, 170, 0.36), transparent 28%),
        radial-gradient(circle at 64% 58%, rgba(133, 188, 248, 0.22), transparent 28%);
    animation: glowShift 12s ease-in-out infinite alternate;
    z-index: -2;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
    z-index: -1;
}

.hero-orb-a {
    width: min(34vw, 360px);
    aspect-ratio: 1;
    top: 3%;
    right: -9%;
    background: radial-gradient(circle, rgba(143, 199, 255, 0.42) 0%, rgba(143, 199, 255, 0) 74%);
    animation: floatOrbA 11s ease-in-out infinite;
}

.hero-orb-b {
    width: min(26vw, 280px);
    aspect-ratio: 1;
    left: -7%;
    bottom: 4%;
    background: radial-gradient(circle, rgba(240, 220, 172, 0.42) 0%, rgba(240, 220, 172, 0) 76%);
    animation: floatOrbB 10s ease-in-out infinite;
}

.hero-grid {
    display: grid;
    align-items: center;
    gap: 44px;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-copy .lead {
    color: var(--text-muted);
    max-width: 56ch;
    font-size: clamp(1rem, 2vw, 1.14rem);
}

.hero-actions {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.reassurance-list {
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.reassurance-list li {
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.reassurance-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    margin-top: 9px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent-blue), #79b7f5);
    box-shadow: 0 0 0 4px rgba(217, 166, 75, 0.2);
}

.glass-panel {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-strong);
    background: var(--surface);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-panel);
}

.hero-visual {
    padding: 24px;
    display: grid;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.hero-visual::after {
    content: '';
    position: absolute;
    width: 42%;
    aspect-ratio: 1;
    right: -10%;
    top: -18%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.hero-visual-header h2 {
    margin-bottom: 8px;
    font-size: clamp(1.36rem, 2.2vw, 1.96rem);
}

.hero-visual-header p {
    color: var(--text-muted);
}

.hero-map-wrap {
    border-radius: calc(var(--radius-xl) - 8px);
    overflow: hidden;
    border: 1px solid rgba(18, 57, 104, 0.14);
    background: rgba(233, 242, 255, 0.94);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.hero-map-wrap iframe {
    width: 100%;
    min-height: 330px;
    border: 0;
    display: block;
}

.hero-visual-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.hero-visual-actions .btn {
    width: 100%;
}

.why-grid,
.education-grid,
.contact-grid {
    display: grid;
    gap: 20px;
}

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

.info-card,
.edu-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(15, 59, 109, 0.12);
    background: var(--surface-strong);
    padding: 26px;
    box-shadow: 0 14px 30px rgba(16, 53, 100, 0.1);
    transition: transform var(--transition-emph), box-shadow var(--transition), border-color var(--transition);
}

.info-card:hover,
.edu-card:hover {
    transform: translateY(-4px);
    border-color: rgba(36, 113, 195, 0.28);
    box-shadow: var(--shadow-lifted);
}

.info-card p,
.edu-card p {
    color: var(--text-muted);
}

.services {
    background: linear-gradient(180deg, rgba(46, 121, 196, 0.08) 0%, rgba(232, 244, 255, 0.86) 42%, transparent 100%);
}

.services-grid,
.reviews-grid {
    display: grid;
    gap: 20px;
}

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

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

.service-card,
.review-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(13, 55, 106, 0.12);
    background: var(--surface-strong);
    padding: 24px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    box-shadow: 0 14px 32px rgba(16, 52, 95, 0.1);
    transition: transform var(--transition-emph), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover,
.review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(38, 118, 202, 0.3);
    box-shadow: var(--shadow-lifted);
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.service-price {
    font-family: 'Outfit', sans-serif;
    font-size: 1.13rem;
    font-weight: 700;
    color: var(--accent-navy);
}

.service-duration {
    font-size: 0.88rem;
    color: #b9852f;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.service-card .btn {
    margin-top: auto;
    width: fit-content;
}

.section-action {
    margin-top: 22px;
}

.status-message {
    margin-top: 14px;
    color: var(--accent-navy);
    background: rgba(217, 166, 75, 0.12);
    border: 1px solid rgba(217, 166, 75, 0.28);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.95rem;
}

.noscript-note {
    margin-top: 14px;
    color: var(--accent-navy);
    background: rgba(216, 173, 90, 0.14);
    border-radius: 10px;
    border: 1px solid rgba(216, 173, 90, 0.3);
    padding: 10px 14px;
}

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

.edu-card {
    min-height: 210px;
}

.cases {
    background: linear-gradient(180deg, transparent 0%, rgba(83, 147, 221, 0.12) 42%, transparent 100%);
}

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

.case-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-emph), box-shadow var(--transition);
}

.case-card:hover,
.case-card:focus-within {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lifted);
}

.case-media {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    border-bottom: 1px solid rgba(20, 52, 95, 0.12);
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
}

.case-media::after {
    content: 'Powieksz';
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #ffffff;
    background: rgba(12, 42, 83, 0.72);
    border: 1px solid rgba(175, 215, 255, 0.36);
    backdrop-filter: blur(3px);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity var(--transition), transform var(--transition);
}

.case-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 360ms ease;
}

.case-media:hover::after,
.case-card:focus-within .case-media::after {
    opacity: 1;
    transform: none;
}

.case-card:hover .case-media img,
.case-card:focus-within .case-media img {
    transform: scale(1.04);
}

.case-card figcaption {
    padding: 18px 20px 20px;
}

.case-card h3 {
    margin-bottom: 8px;
}

.case-card p {
    color: var(--text-muted);
}

.cases-note {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.map {
    background: linear-gradient(180deg, rgba(20, 52, 95, 0.04) 0%, rgba(232, 243, 255, 0.9) 100%);
}

.map-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 20px;
    align-items: stretch;
}

.map-copy {
    padding: 28px;
    display: grid;
    gap: 12px;
}

.map-copy p {
    color: var(--text-muted);
}

.map-panel {
    padding: 10px;
}

.map-panel iframe {
    width: 100%;
    min-height: 420px;
    border: 0;
    border-radius: 14px;
    background: rgba(233, 242, 255, 0.92);
}

.reviews {
    background: linear-gradient(180deg, transparent 0%, rgba(20, 52, 95, 0.08) 100%);
}

.review-rating {
    margin-bottom: 10px;
    color: var(--accent-gold);
    letter-spacing: 0.1em;
    font-size: 0.95rem;
}

.review-text {
    color: var(--text-main);
    font-size: 0.98rem;
    margin-bottom: 16px;
}

.review-author {
    margin-top: auto;
    border-top: 1px solid rgba(20, 52, 95, 0.12);
    padding-top: 12px;
}

.review-author strong {
    display: block;
    margin-bottom: 3px;
}

.review-author span {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.review-empty {
    grid-column: 1 / -1;
    padding: 28px;
    display: grid;
    gap: 14px;
}

.review-empty p {
    color: var(--text-muted);
    max-width: 62ch;
}

.review-empty .btn {
    width: fit-content;
}

.booking-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 28px;
    align-items: stretch;
}

.booking-stack {
    display: grid;
    gap: 20px;
}

.booking-copy p {
    color: var(--text-muted);
}

.booking-steps {
    margin: 18px 0 24px;
    padding-left: 18px;
    color: var(--text-muted);
    display: grid;
    gap: 8px;
}

.booking-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.booking-meta-card {
    border-radius: 16px;
    border: 1px solid rgba(18, 63, 118, 0.12);
    background: rgba(255, 255, 255, 0.76);
    padding: 14px 16px;
    display: grid;
    gap: 4px;
    box-shadow: 0 12px 26px rgba(16, 52, 95, 0.08);
}

.booking-meta-card span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.booking-meta-card strong {
    font-family: 'Outfit', sans-serif;
    color: var(--accent-navy);
    font-size: 1rem;
}

.booking-widget {
    padding: 28px;
    display: grid;
    gap: 18px;
    transition: transform var(--transition-emph), box-shadow var(--transition), border-color var(--transition);
}

.booking-widget:hover {
    transform: translateY(-3px);
    border-color: rgba(35, 112, 194, 0.26);
    box-shadow: var(--shadow-lifted);
}

.booking-widget-header {
    display: grid;
    gap: 8px;
}

.booking-widget-header h3 {
    margin-bottom: 0;
}

.booksy-widget-stage {
    display: grid;
    gap: 16px;
}

.booksy-widget-mode {
    display: none;
}

body[data-booksy-mode='inline'] .booksy-widget-mode-inline,
body[data-booksy-mode='dialog'] .booksy-widget-mode-dialog {
    display: block;
}

.booksy-host {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.booksy-host:empty {
    display: none;
}

.booksy-host iframe {
    width: 100%;
    min-height: 660px;
    border: 0;
    border-radius: inherit;
    background: rgba(248, 251, 255, 0.98);
    box-shadow: inset 0 0 0 1px rgba(15, 59, 109, 0.08);
}

.booksy-host-dialog {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booksy-host-dialog .booksy-widget-container,
.booksy-host-dialog .booksy-widget-button,
.booksy-host-dialog .booksy-business-link {
    width: 100%;
}

.booksy-fallback {
    display: grid;
    gap: 14px;
    padding-top: 6px;
    border-top: 1px solid rgba(18, 63, 118, 0.12);
}

.booksy-fallback h3 {
    margin-bottom: 0;
}

.booksy-fallback-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.booksy-points {
    margin: 0;
    padding-left: 18px;
    color: var(--text-muted);
    display: grid;
    gap: 8px;
}

.widget-note {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.availability-panel {
    padding: 28px;
    display: grid;
    gap: 18px;
}

.availability-head {
    display: grid;
    gap: 8px;
}

.availability-head h3 {
    margin-bottom: 0;
}

.availability-head p {
    color: var(--text-muted);
}

.next-slots-list,
.calendar-summary {
    display: grid;
    gap: 12px;
}

.slot-card,
.calendar-day-card,
.availability-empty,
.calendar-empty {
    border-radius: 16px;
    border: 1px solid rgba(17, 58, 108, 0.12);
    background: rgba(255, 255, 255, 0.72);
    padding: 16px 18px;
    display: grid;
    gap: 6px;
}

.slot-card strong,
.calendar-day-card strong,
.availability-empty strong,
.calendar-empty strong {
    font-family: 'Outfit', sans-serif;
    color: var(--accent-navy);
}

.slot-card span,
.calendar-day-card span,
.availability-empty p,
.calendar-empty p {
    color: var(--text-muted);
    margin: 0;
}

.slot-card a {
    width: fit-content;
    color: var(--accent-navy);
    font-weight: 700;
    text-decoration: none;
}

.slot-card a:hover,
.slot-card a:focus-visible {
    text-decoration: underline;
}

.calendar-panel {
    display: grid;
    gap: 12px;
}

.calendar-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.calendar-panel-head h4 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
}

.calendar-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(36, 114, 195, 0.12);
    color: var(--accent-navy);
    font-size: 0.84rem;
    font-weight: 700;
}

.calendar-day-card.is-available {
    border-color: rgba(36, 114, 195, 0.24);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(225, 241, 255, 0.88) 100%);
}

body.lightbox-open {
    overflow: hidden;
}

.case-lightbox {
    position: fixed;
    inset: 0;
    z-index: 190;
    padding: 20px;
    display: grid;
    place-items: center;
}

.case-lightbox[hidden] {
    display: none;
}

.case-lightbox-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(7, 24, 47, 0.74);
    backdrop-filter: blur(7px);
}

.case-lightbox-panel {
    position: relative;
    z-index: 1;
    width: min(1080px, 94vw);
    max-height: 88vh;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(171, 211, 252, 0.4);
    background: linear-gradient(180deg, rgba(240, 248, 255, 0.98) 0%, rgba(225, 239, 255, 0.98) 100%);
    box-shadow: 0 26px 68px rgba(5, 24, 48, 0.46);
    display: grid;
    gap: 12px;
}

.case-lightbox-close {
    justify-self: end;
    border-radius: 999px;
    border: 1px solid rgba(17, 55, 103, 0.24);
    background: rgba(255, 255, 255, 0.92);
    color: var(--accent-navy);
    font-weight: 700;
    padding: 8px 14px;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
}

.case-lightbox-close:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(16, 59, 112, 0.34);
}

.case-lightbox-image {
    width: 100%;
    max-height: calc(88vh - 74px);
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 16px 34px rgba(8, 34, 67, 0.24);
}

.protected-media {
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

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

.contact-card {
    padding: 28px;
    min-height: 220px;
    transition: transform var(--transition-emph), box-shadow var(--transition), border-color var(--transition);
}

.contact-card:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 111, 193, 0.28);
    box-shadow: var(--shadow-lifted);
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.contact-card a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--accent-navy);
    text-decoration: none;
}

.contact-card a:hover,
.contact-card a:focus-visible {
    text-decoration: underline;
}

.micro-copy {
    font-size: 0.92rem;
}

.site-footer {
    border-top: 1px solid rgba(216, 166, 75, 0.28);
    background: linear-gradient(180deg, rgba(14, 40, 78, 0.98) 0%, rgba(9, 26, 52, 1) 100%);
    padding: 28px 0 80px;
}

.footer-inner {
    display: grid;
    gap: 6px;
}

.footer-inner p {
    color: rgba(234, 242, 255, 0.78);
    font-size: 0.9rem;
}

.mobile-sticky-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 90;
    display: none;
}

.mobile-sticky-cta a {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 999px;
    padding: 14px 18px;
    font-weight: 800;
    color: var(--accent-navy-deep);
    background: linear-gradient(138deg, #f8e9c8 0%, #e4bb67 56%, #ca9138 100%);
    box-shadow: 0 14px 28px rgba(20, 52, 95, 0.2);
}

.reveal {
    opacity: 0;
    transform: translate3d(0, 22px, 0) scale(0.985);
    filter: blur(6px);
    transition: opacity 640ms ease, transform 640ms cubic-bezier(0.2, 0.74, 0.22, 1), filter 640ms ease;
    transition-delay: calc(var(--reveal-delay, 0) * 1ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

.btn:focus-visible,
.nav-toggle:focus-visible,
.site-nav a:focus-visible,
.contact-card a:focus-visible,
.case-media:focus-visible,
.case-lightbox-close:focus-visible {
    outline: 2px solid #7caedf;
    outline-offset: 2px;
}

@keyframes markFloat {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-2px) scale(1.01);
    }
}

@keyframes glowShift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(-1.5%, 1.5%, 0) scale(1.05);
    }
}

@keyframes floatOrbA {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(-10px, 12px, 0);
    }
}

@keyframes floatOrbB {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(10px, -10px, 0);
    }
}

@media (max-width: 1100px) {
    .services-grid,
    .reviews-grid,
    .education-grid,
    .cases-grid,
    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booking-grid,
    .hero-grid,
    .map-grid {
        grid-template-columns: 1fr;
    }

    .hero-map-wrap iframe {
        min-height: 340px;
    }

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

    .booksy-host iframe {
        min-height: 600px;
    }
}

@media (max-width: 840px) {
    .header-inner {
        min-height: 80px;
    }

    .brand-mark-wrap {
        width: clamp(46px, 12vw, 54px);
        border-radius: 14px;
    }

    .brand-title {
        font-size: 0.92rem;
        letter-spacing: 0.14em;
    }

    .brand-subtitle {
        font-size: 0.66rem;
        letter-spacing: 0.2em;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(13, 40, 76, 0.98);
        border-bottom: 1px solid rgba(216, 166, 75, 0.32);
        padding: 12px 4vw;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        display: none;
    }

    .site-header.nav-open .site-nav {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .section {
        padding: 78px 0;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 68px 0;
    }

    .services-grid,
    .reviews-grid,
    .why-grid,
    .education-grid,
    .cases-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-panel iframe {
        min-height: 360px;
    }

    .info-card,
    .edu-card,
    .service-card,
    .review-card,
    .contact-card,
    .booking-meta-card,
    .availability-panel {
        padding: 18px;
    }

    .booking-meta {
        grid-template-columns: 1fr;
    }

    .booksy-fallback-actions {
        flex-direction: column;
    }

    .booksy-fallback-actions .btn {
        width: 100%;
    }

    .booksy-host iframe {
        min-height: 540px;
    }

    .case-card figcaption {
        padding: 16px 16px 18px;
    }

    .hero {
        padding-top: 88px;
    }

    .hero-orb {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-visual-actions {
        grid-template-columns: 1fr;
    }

    .mobile-sticky-cta {
        display: block;
    }

    .brand-wordmark {
        gap: 1px;
    }

    .brand-title {
        font-size: 0.82rem;
    }

    .brand-subtitle {
        font-size: 0.58rem;
        letter-spacing: 0.16em;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        animation: none !important;
        transition: none !important;
    }

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

/* site-lector styles */
.site-lector {
    position: sticky;
    top: 0;
    z-index: 120;
    background: rgba(15, 45, 84, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: none;
    color: #fff;
    margin: 0 !important;
    padding: 10px 0 !important;
    display: block;
    height: 60px !important; /* Fixed height to match offset */
    line-height: 1 !important;
    font-size: 0.9rem;
}

.lector-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lector-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lector-btn {
    background: linear-gradient(135deg, #f5e2b8 0%, #d8ad5a 100%);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--accent-navy);
    line-height: 1;
    font-size: 1rem;
    padding-left: 2px;
    transition: transform var(--transition);
}

.lector-btn:hover {
    transform: scale(1.05);
}

.lector-info {
    display: flex;
    flex-direction: column;
    min-width: 130px;
}

.lector-label {
    font-weight: 700;
    color: var(--accent-gold-soft);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.lector-timer {
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
}

.lector-progress-wrap {
    flex-grow: 1;
    cursor: pointer;
    padding: 8px 0;
}

.lector-progress-bg {
    height: 6px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    overflow: hidden;
}

.lector-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #d8ad5a 0%, #f5e2b8 100%);
    box-shadow: 0 0 12px rgba(216, 166, 75, 0.4);
    border-radius: 3px;
    transition: width 0.1s linear;
}

@media (max-width: 840px) {
    .site-header {
        top: 80px; /* Offset for lector-bar */
    }
    main section[id] {
        scroll-margin-top: 212px;
    }
}

@media (max-width: 640px) {
    .lector-inner {
        gap: 12px;
    }
    .lector-label {
        display: none;
    }
    .lector-info {
        min-width: auto;
    }
    .site-lector {
        padding: 6px 0;
    }
    .site-header {
        top: 50px; /* Offset for lector-bar on mobile */
    }
    main section[id] {
        scroll-margin-top: 140px; /* Adjust for mobile header offset */
    }
}
