/* ==========================================================================
   PALIUM — Pielęgniarski Ośrodek — Design System
   ========================================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

/* --- Design Tokens --- */
:root {
    /* Primary - Medical Teal */
    --primary: #0B8A7B;
    --primary-dark: #077A6C;
    --primary-light: #E6F5F3;
    --primary-glow: rgba(11, 138, 123, 0.15);

    /* Accent - Warm Coral (human warmth) */
    --accent: #E8785A;
    --accent-dark: #D4654A;
    --accent-light: #FFF0EC;

    /* Neutrals */
    --white: #FFFFFF;
    --bg: #F8FAFB;
    --bg-alt: #EEF3F5;
    --text: #1A2A33;
    --text-secondary: #5A6E7A;
    --text-muted: #8A9DAA;
    --border: #D8E2E8;
    --border-light: #ECF1F4;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 4px 24px var(--primary-glow);

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --section-padding: 100px;
    --container-max: 1140px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 50%;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 16px auto 0;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-base);
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px var(--primary-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn svg, .btn i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-smooth);
    background: transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.header__logo-icon {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    transition: transform var(--transition-base);
}

.header.scrolled .header__logo-icon {
    background: var(--primary);
}

.header__logo:hover .header__logo-icon {
    transform: scale(1.05);
}

.header__logo-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    transition: color var(--transition-base);
}

.header.scrolled .header__logo-text {
    color: var(--text);
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header__nav a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition-fast);
    position: relative;
}

.header.scrolled .header__nav a {
    color: var(--text-secondary);
}

.header__nav a:hover {
    color: var(--white);
}

.header.scrolled .header__nav a:hover {
    color: var(--primary);
}

.header__nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-base);
}

.header__nav a:hover::after {
    width: 100%;
}

.header__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.header.scrolled .header__phone {
    color: var(--primary);
}

.header__phone svg {
    width: 18px;
    height: 18px;
}

/* Mobile menu toggle */
.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
    z-index: 1001;
}

.header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.header.scrolled .header__burger span {
    background: var(--text);
}

.header__burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.header__burger.active span:nth-child(2) {
    opacity: 0;
}
.header__burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--text);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        135deg,
        rgba(11, 138, 123, 0.85) 0%,
        rgba(26, 42, 51, 0.8) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 3;
    max-width: 680px;
    color: var(--white);
    padding: 120px 0 80px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero__badge svg {
    width: 16px;
    height: 16px;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero__subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero__stats {
    display: flex;
    gap: 48px;
    margin-top: 60px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero__stat {
    text-align: center;
}

.hero__stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.hero__stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    transition: all var(--transition-smooth);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
    transition: all var(--transition-base);
}

.service-card__icon svg {
    width: 24px;
    height: 24px;
}

.service-card:hover .service-card__icon {
    background: var(--primary);
    color: var(--white);
}

.service-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 10px;
    color: var(--text);
    font-size: 1.15rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* ==========================================================================
   TEAM
   ========================================================================== */
.team {
    padding: var(--section-padding) 0;
    background: var(--bg);
}

.team__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    border: 1px solid var(--border-light);
    position: relative;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.team-card__info {
    padding: 36px 28px;
    text-align: center;
}

.team-card__name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.team-card__role {
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.team-card__desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ==========================================================================
   DECLARATION
   ========================================================================== */
.declaration {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.declaration__methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.declaration__method {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg) 100%);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    border: 1px solid var(--border-light);
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: all var(--transition-smooth);
}

.declaration__method:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.declaration__method-number {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0;
}

.declaration__method-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text);
}

.declaration__method-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.declaration__steps {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.8;
    padding-left: 20px;
    margin-bottom: 20px;
}

.declaration__steps li {
    padding-left: 4px;
    margin-bottom: 4px;
}

.declaration__note {
    font-size: 0.88rem !important;
    color: var(--text-muted) !important;
    font-style: italic;
    margin-bottom: 20px !important;
}

/* Declaration Video */
.declaration__video {
    background: var(--bg);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--border-light);
}

.declaration__video h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}

.declaration__video h3 svg {
    color: var(--accent);
}

.declaration__video > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.declaration__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.declaration__video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================================
   DOCUMENTS
   ========================================================================== */
.documents {
    padding: var(--section-padding) 0;
    background: var(--bg);
}

.documents__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.document-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    border: 1px solid var(--border-light);
    text-decoration: none;
    transition: all var(--transition-smooth);
    cursor: pointer;
}

.document-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.document-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.document-card__icon svg {
    width: 26px;
    height: 26px;
}

.document-card__icon--pdf {
    background: #FEE2E2;
    color: #DC2626;
}

.document-card__icon--doc {
    background: #DBEAFE;
    color: #2563EB;
}

.document-card__icon--img {
    background: #FEF3C7;
    color: #D97706;
}

.document-card__info {
    flex: 1;
    min-width: 0;
}

.document-card__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.3;
}

.document-card__meta {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.document-card__download {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.document-card__download svg {
    width: 18px;
    height: 18px;
}

.document-card:hover .document-card__download {
    background: var(--primary);
    color: var(--white);
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item__icon svg {
    width: 22px;
    height: 22px;
}

.contact-item__label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item__value {
    color: var(--text);
    font-weight: 500;
}

.contact-item__value a {
    color: var(--text);
    font-weight: 600;
}

.contact-item__value a:hover {
    color: var(--primary);
}

.contact-item__value small {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 2px;
}

.contact__map {
    width: 100%;
    height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.contact__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Night Care Info Block --- */
.contact__nightcare {
    margin-top: 48px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: linear-gradient(135deg, #1a2a33 0%, #243642 100%);
    border-radius: var(--radius-xl);
    padding: 36px 40px;
    color: var(--white);
}

.nightcare__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nightcare__icon svg {
    width: 28px;
    height: 28px;
    color: #FCD34D;
}

.nightcare__content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 8px;
}

.nightcare__content p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 16px;
}

.nightcare__details {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.nightcare__details span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.nightcare__details svg {
    color: #FCD34D;
    flex-shrink: 0;
}

.nightcare__details a {
    color: #FCD34D;
    font-weight: 700;
}

.nightcare__details a:hover {
    color: #FDE68A;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 0;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__copy {
    font-size: 0.85rem;
}

.footer__links {
    display: flex;
    gap: 24px;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--white);
}

/* ==========================================================================
   STICKY MOBILE CTA
   ========================================================================== */
.sticky-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-smooth);
}

.sticky-cta.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sticky-cta__btn {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
    text-decoration: none;
}

.sticky-cta__btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
    box-shadow: 0 8px 32px var(--primary-glow);
}

.sticky-cta__btn svg {
    width: 24px;
    height: 24px;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }
.animate-on-scroll:nth-child(7) { transition-delay: 0.6s; }
.animate-on-scroll:nth-child(8) { transition-delay: 0.7s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .team__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .declaration__method {
        padding: 32px 28px;
    }

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

    .hero__stats {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px;
    }

    .header__nav,
    .header__phone {
        display: none;
    }

    .header__nav.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        background: rgba(26, 42, 51, 0.98);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        justify-content: center;
        align-items: center;
        gap: 28px;
        z-index: 999;
    }

    .header__nav.active a {
        color: var(--white);
        font-size: 1.2rem;
    }

    .header__burger {
        display: flex;
    }

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

    .team__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .hero__content {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero__stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero__cta {
        flex-direction: column;
    }

    .footer__inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .declaration__method {
        flex-direction: column;
        padding: 28px 24px;
    }

    .declaration__video {
        padding: 28px 24px;
    }

    .contact__nightcare {
        flex-direction: column;
        padding: 28px 24px;
    }

    .nightcare__details {
        flex-direction: column;
        gap: 12px;
    }

    .document-card {
        padding: 20px;
    }

    .document-card__title {
        font-size: 0.95rem;
    }

    .team-card__avatar span {
        font-size: 3rem;
    }
}
