/* === CSS Variables === */
:root {
    --primary: #00a651;
    --primary-dark: #008c44;
    --primary-light: #4caf50;
    --accent: #ff6b35;
    --accent-dark: #e55a2b;
    --text: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg: #ffffff;
    --bg-light: #f5f7fa;
    --bg-dark: #1a1a2e;
    --border: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    padding-top: 0;
    padding-bottom: 0;
}

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

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

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* === Header === */
.header {
    background: var(--bg);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4000;
    transition: var(--transition);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: auto;
}

.header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-phone {
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
}

.header-social {
    display: flex;
    gap: 10px;
}

.social-link {
    color: var(--text-light);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.social-link:hover {
    color: var(--primary);
}

.cta-button {
    background: var(--accent);
    color: var(--text-white);
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    font-size: 14px;
}

.cta-button:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* === Desktop Navigation (below logo) === */
.header-nav {
    max-width: var(--max-width);
    margin: 0 auto;
    border-top: 1px solid var(--border);
    padding: 0 20px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0;
    overflow-x: auto;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 12px 20px;
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    margin-top: 110px;
    overflow: hidden;
    z-index: 2000;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 30%, #a5d6a7 60%, #81c784 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 20% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 70%),
        radial-gradient(ellipse 400px 300px at 80% 30%, rgba(0, 166, 81, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 500px 350px at 50% 80%, rgba(0, 140, 68, 0.08) 0%, transparent 70%);
    z-index: 1;
}

/* Animated decorative elements for hero - medical style floating circles */
.hero::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    top: -80px;
    right: -80px;
    z-index: 1;
    animation: heroFloat 12s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-30px, 20px) scale(1.05);
    }

    66% {
        transform: translate(20px, -15px) scale(0.95);
    }
}

.hero-decor-1 {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    z-index: 1;
    animation: heroFloat2 10s ease-in-out infinite;
    pointer-events: none;
}

.hero-decor-2 {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    top: 20%;
    right: 15%;
    z-index: 1;
    animation: heroFloat3 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroFloat2 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(25px, -20px);
    }
}

@keyframes heroFloat3 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-15px, 15px) rotate(180deg);
    }
}

/* Medical cross decorative element */
.hero-cross {
    position: absolute;
    width: 40px;
    height: 40px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.12;
    animation: heroFloat 15s ease-in-out infinite;
}

.hero-cross::before,
.hero-cross::after {
    content: "";
    position: absolute;
    background: white;
    border-radius: 3px;
}

.hero-cross::before {
    width: 14px;
    height: 40px;
    left: 13px;
    top: 0;
}

.hero-cross::after {
    width: 40px;
    height: 14px;
    left: 0;
    top: 13px;
}

.hero-cross-1 {
    top: 15%;
    left: 8%;
    animation-delay: -3s;
}

.hero-cross-2 {
    bottom: 20%;
    right: 10%;
    animation-delay: -7s;
    animation-duration: 18s;
}

.hero-content {
    padding-bottom: 40px;
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 20px;
    color: var(--text);
    width: 100%;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--primary-dark);
    max-width: 600px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 550px;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-white);
}

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

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

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* === Hero Features === */
.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 100px;
}

.feature {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 166, 81, 0.1);
}

.feature:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.feature h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.feature p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* === Section Common === */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

/* === Services Grid (SM Clinic style cards) === */
.services-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}

.service-card {
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: block;
    position: relative;
    overflow: hidden;
    border: none;
    color: #fff;
}

.service-card:nth-child(1) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #1a5c2e;
}

.service-card:nth-child(2) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #0d3b66;
}

.service-card:nth-child(3) {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #5c2a00;
}

.service-card:nth-child(4) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #5c1a2a;
}

.service-card:nth-child(5) {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    color: #3a1a5c;
}

.service-card:nth-child(6) {
    background: linear-gradient(135deg, #43e97b 0%, #68f7b0 100%);
    color: #1a4c3a;
}

.service-card:nth-child(7) {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #5c3a1a;
}

.service-card:nth-child(8) {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
    color: #1a2a4c;
}

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

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.35);
    color: inherit;
}

.service-card h3 {
    color: inherit;
    font-size: 1.05rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.service-card p {
    color: inherit;
    opacity: 0.85;
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.service-arrow {
    display: none;
}

.price-block {
    text-align: center;
    padding: 36px;
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.price-block h3 {
    color: var(--primary-dark);
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.price-block p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* === Program Section === */
.program-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #e8f5e9, #e0f2f1);
}

.program-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-content {
    padding: 40px;
}

.program-content h2 {
    color: var(--primary-dark);
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.program-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 20px;
}

.program-collapsed {
    display: none;
}

.program-collapsed.visible {
    display: block;
}

.program-steps {
    display: grid;
    gap: 12px;
    margin: 20px 0;
}

.step {
    padding: 14px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary);
}

.step strong {
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
}

.btn-read-more {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    padding: 10px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.btn-read-more:hover {
    color: var(--primary-dark);
}

.btn-read-more::after {
    content: none;
}

.btn-read-more.active::after {
    transform: rotate(90deg);
}

/* === About Section === */
.about-section {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.about-text {
    color: var(--text-light);
}

.about-text p {
    margin-bottom: 14px;
}

.specialists-list {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
}

.specialists-list li {
    margin-bottom: 4px;
}

/* === Doctors Section === */
.doctors-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 36px;
}

.doctor-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.doctor-image {
    min-height: 320px;
    height: auto;
    overflow: visible;
    background: var(--bg-light);
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition);
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.05);
}

.doctor-info {
    padding: 18px;
}

.doctor-info h3 {
    color: var(--primary-dark);
    font-size: 1rem;
    margin-bottom: 4px;
}

.doctor-info p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.doctor-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
}

/* === Reviews Section === */
.reviews-section {
    padding: 60px 0;
}

.reviews-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.review-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.7;
}

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

.stars {
    color: #ffc107;
}

/* === CTA Section === */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Animated decorative elements for CTA */
.cta-section::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    z-index: 1;
    animation: ctaFloat 14s ease-in-out infinite;
    pointer-events: none;
}

.cta-section::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.08);
    bottom: -50px;
    right: 5%;
    z-index: 1;
    animation: ctaFloat2 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ctaFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, 25px) scale(1.1);
    }
}

@keyframes ctaFloat2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-20px, -15px) rotate(180deg);
    }
}

.cta-decor-cross {
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.08;
    animation: ctaFloat 12s ease-in-out infinite;
}

.cta-decor-cross::before,
.cta-decor-cross::after {
    content: "";
    position: absolute;
    background: white;
    border-radius: 2px;
}

.cta-decor-cross::before {
    width: 10px;
    height: 30px;
    left: 10px;
    top: 0;
}

.cta-decor-cross::after {
    width: 30px;
    height: 10px;
    left: 0;
    top: 10px;
}

.cta-decor-cross-1 {
    top: 15%;
    right: 12%;
    animation-delay: -4s;
}

.cta-decor-cross-2 {
    bottom: 20%;
    left: 8%;
    animation-delay: -8s;
    animation-duration: 16s;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 28px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.cta-contacts {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.cta-contacts a {
    color: var(--text-white);
}

/* === Modal === */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 6000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 36px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-light);
}

.modal-content h2 {
    color: var(--primary);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.1);
}

.form-consent {
    margin-bottom: 18px;
}

.form-consent label {
    font-size: 0.8rem;
    color: var(--text-light);
    display: block;
    margin-left: 24px;
    text-align: left;
}

/* === Page Sections === */
.page-section {
    overflow: hidden;
    padding: 60px 0;
    margin-top: 110px;
}

.page-content {
    line-height: 1.8;
    color: var(--text-light);
}

.page-content h2 {
    color: var(--primary-dark);
    margin: 24px 0 14px;
}

.page-content ul,
.page-content ol {
    padding-left: 20px;
    margin: 14px 0;
}

.page-content li {
    margin-bottom: 6px;
}

.single-header-image {
    max-height: 350px;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 28px;
}

.single-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 18px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.content-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.content-card-image {
    height: 220px;
    overflow: hidden;
}

.content-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-card-body {
    padding: 18px;
}

.content-card-body h2 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.content-card-meta {
    color: var(--primary);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* === Cookie Banner === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 10px 20px;
    z-index: 3500;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    max-height: 60px;
    display: flex;
    align-items: center;
}

.cookie-banner.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner-content {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.cookie-banner-content p {
    flex: 1;
    font-size: 0.8rem;
    line-height: 1.3;
}

.cookie-banner-content a {
    color: var(--primary-light);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-buttons .btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    padding: 8px 18px;
    font-size: 0.8rem;
}

.cookie-buttons .btn-outline {
    border-color: var(--text-white);
    color: var(--text-white);
    padding: 8px 18px;
    font-size: 0.8rem;
}

/* === Tech Notice === */
.tech-notice {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: var(--text);
    padding: 10px 20px;
    z-index: 4000;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.tech-notice.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.tech-notice-content {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
    font-size: 0.9rem;
}

.tech-notice-close {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--text-light);
}

/* === Mobile Bottom Navigation (SM Clinic style) === */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 5000;
    padding: 6px 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-top: 1px solid var(--border);
}

.mobile-nav.visible {
    transform: translateY(0);
}

.mobile-nav-list {
    display: flex;
    justify-content: space-around;
    list-style: none;
    align-items: center;
}

.mobile-nav-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-light);
    font-size: 10px;
    padding: 4px 8px;
    transition: var(--transition);
}

.mobile-nav-item a.active,
.mobile-nav-item a:hover {
    color: var(--primary);
}

.mobile-nav-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === Footer === */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 50px 0 20px;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
}

.footer-logo {
    height: 45px;
    margin-bottom: 14px;
    filter: brightness(0) invert(1);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 18px;
}

.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary-light);
}

.footer-contacts h4,
.footer-links h4,
.footer-legal h4 {
    color: var(--primary-light);
    margin-bottom: 18px;
    font-size: 1rem;
}

.footer-address {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.footer-phone {
    color: var(--text-white);
    display: block;
    margin-bottom: 4px;
}

.footer-phone:hover {
    color: var(--primary-light);
}

.footer-email {
    color: var(--primary-light);
    display: block;
    margin-bottom: 12px;
}

.footer-hours {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.footer-tech-notice {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    font-style: italic;
    margin-top: 6px;
}

.footer-disclaimer {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.7rem;
    max-width: 450px;
    text-align: right;
}

/* === Animations === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* === Utility === */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* === Terms Page === */
.terms-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
}

.terms-content th,
.terms-content td {
    padding: 10px;
    border: 1px solid var(--border);
    text-align: left;
}

.terms-content th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--primary);
}

/* === Map Section === */
.map-section {
    margin-top: 30px;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
    position: relative;
    width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

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

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

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

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

    .program-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: nowrap;
    }

    .header-nav {
        display: none !important;
    }

    .header-right .header-phone,
    .header-right .header-social,
    .header-right .cta-button {
        display: none !important;
    }

    .mobile-toggle {
        display: flex !important;
        margin-left: auto;
    }

    .hero {
        margin-top: 70px;
        min-height: auto;
    }

    /* Header slide-up animation on mobile */
    .header.header-hidden {
        transform: translateY(-100%) !important;
        transition: transform 0.3s ease;
    }

    /* Hide decorative elements on mobile */
    .hero::after,
    .hero-decor-1,
    .hero-decor-2,
    .hero-cross,
    .cta-decor-cross {
        display: none !important;
    }

    .cta-section::before,
    .cta-section::after {
        display: none !important;
    }

    .hero-content {
        padding-bottom: 40px;
        padding: 40px 16px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

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

    .hero-features {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 100px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .service-card {
        padding: 20px 14px;
    }

    .service-card h3 {
        font-size: 0.9rem;
    }

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

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

    .reviews-carousel {
        grid-template-columns: 1fr;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-disclaimer {
        text-align: center;
    }

    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .program-content {
        padding: 20px;
    }

    .modal-content {
        padding: 24px;
        margin: 10px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-contacts {
        flex-direction: column;
        gap: 8px;
    }

    /* Mobile nav always visible on small screens */
    .mobile-nav {
        display: block !important;
        transform: translateY(0) !important;
    }

    /* Add padding for mobile nav and cookie banner */
    body {
        padding-bottom: 130px;
        /* 60px cookie banner + 70px extra */
    }

    .cookie-banner {
        bottom: 60px;
        /* Above mobile nav */
    }

    .cookie-banner.hidden {
        bottom: 0;
    }

    /* Hero features need more space */
    .hero-features {
        margin-bottom: 100px;
    }

    /* Ensure program section has enough bottom space */
    .program-section {
        padding-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .feature {
        padding: 16px;
    }

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