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

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #eff6ff;
    --accent: #0d9488;
    --accent-dark: #0f766e;
    --accent-light: #f0fdfa;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --surface: #ffffff;
    --surface-alt: #f8fafc;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 50px -12px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 17px;
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--primary);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.navbar.scrolled .navbar-menu a {
    color: var(--text-secondary);
}

.navbar.scrolled .navbar-menu a:hover,
.navbar.scrolled .navbar-menu a.active {
    color: var(--primary);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    color: var(--surface);
    text-decoration: none;
    line-height: 1.1;
}

.navbar.scrolled .navbar-brand {
    color: var(--text-primary);
}

.brand-title {
    font-family: 'Nunito', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.8;
}

.brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.navbar-menu {
    display: flex;
    gap: 4px;
}

.navbar-menu a {
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color var(--transition);
    white-space: nowrap;
    border-radius: 8px;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--surface);
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .navbar-menu a:hover,
.navbar.scrolled .navbar-menu a.active {
    color: var(--primary);
    background: var(--primary-light);
}

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

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--surface);
    transition: var(--transition);
    border-radius: 1px;
}

.navbar.scrolled .navbar-toggle span {
    background: var(--text-primary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/hero-bg.jpg') center center / cover no-repeat;
    text-align: center;
    color: var(--surface);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(59, 130, 246, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 0 24px;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 62px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: 0.01em;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 0.01em;
}

/* ============================================
   FEATURES CARDS
   ============================================ */
.features {
    position: relative;
    z-index: 2;
    margin-top: -100px;
    padding-bottom: 40px;
}

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

.feature-card {
    background: var(--surface);
    color: var(--text-primary);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: 16px;
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 100px 0;
    background: var(--surface);
}

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

.about-text h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.about-text p {
    font-size: 17px;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.about-signature {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.signature-name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    text-transform: uppercase;
}

.signature-img {
    height: 48px;
    width: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.about-image img {
    border-radius: var(--radius-lg);
    width: 100%;
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    position: relative;
    padding: 100px 0;
    background: url('../images/services-bg.jpg') center center / cover no-repeat fixed;
    color: var(--surface);
}

.services-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.92) 0%, rgba(59, 130, 246, 0.85) 100%);
}

.services .container {
    position: relative;
    z-index: 1;
}

.services .section-title {
    color: var(--surface);
}

.services .section-title::after {
    background: rgba(255, 255, 255, 0.5);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 16px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 28px 36px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 3px solid rgba(255, 255, 255, 0.35);
    transition: all var(--transition);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.13);
    transform: translateY(-5px);
}

.service-icon {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--surface);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    margin-bottom: 24px;
    flex-shrink: 0;
}

.service-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.service-card p {
    font-size: 17px;
    line-height: 1.8;
    opacity: 0.85;
}

/* ============================================
   APPOINTMENT SECTION
   ============================================ */
.appointment {
    padding: 110px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1a3a5c 60%, #0f2d40 100%);
    color: var(--surface);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.appointment::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 65%);
    pointer-events: none;
}

.appointment::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.18) 0%, transparent 65%);
    pointer-events: none;
}

.appointment-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.appointment-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-light);
    background: rgba(13, 148, 136, 0.25);
    border: 1px solid rgba(13, 148, 136, 0.4);
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.appointment h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 0.01em;
}

.appointment p {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.75;
    margin-bottom: 44px;
}

.appointment-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.appt-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 700;
    transition: all var(--transition);
    white-space: nowrap;
}

.appt-btn i {
    font-size: 18px;
}

.appt-btn-phone {
    background: var(--surface);
    color: var(--text-primary);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.appt-btn-phone:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}

.appt-btn-viber {
    background: rgba(115, 96, 242, 0.2);
    color: var(--surface);
    border: 1.5px solid rgba(115, 96, 242, 0.6);
}

.appt-btn-viber:hover {
    background: #7360f2;
    border-color: #7360f2;
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(115, 96, 242, 0.35);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: 100px 0;
    background: var(--surface-alt);
}

.testimonials-slider {
    padding-bottom: 56px !important;
}

.testimonial-item {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 48px 44px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    text-align: center;
    margin: 8px 4px;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 28px;
    color: #f59e0b;
    font-size: 18px;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
}

.testimonial-author span {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 17px;
}

.testimonials-slider .swiper-pagination {
    bottom: 0;
}

.testimonials-slider .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    opacity: 1;
    transition: all var(--transition);
}

.testimonials-slider .swiper-pagination-bullet-active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

.testimonials-slider .swiper-button-prev,
.testimonials-slider .swiper-button-next {
    color: var(--primary);
    background: var(--surface);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: var(--shadow);
    top: 50%;
    transform: translateY(calc(-50% - 28px));
}

.testimonials-slider .swiper-button-prev:hover,
.testimonials-slider .swiper-button-next:hover {
    background: var(--primary);
    color: #fff;
}

.testimonials-slider .swiper-button-prev::after,
.testimonials-slider .swiper-button-next::after {
    font-size: 16px;
    font-weight: 800;
}

.testimonials-footer {
    text-align: center;
    margin-top: 20px;
}

.btn-add-testimonial {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-add-testimonial:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
}

/* ============================================
   TESTIMONIAL MODAL
   ============================================ */
.testimonial-modal {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.testimonial-modal.active {
    opacity: 1;
    visibility: visible;
}

.testimonial-modal-inner {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 48px 44px;
    width: 100%;
    max-width: 520px;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(16px);
    transition: transform var(--transition);
}

.testimonial-modal.active .testimonial-modal-inner {
    transform: translateY(0);
}

.testimonial-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: var(--surface-alt);
    color: var(--text-secondary);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.testimonial-modal-close:hover {
    background: var(--border);
    color: var(--text-primary);
}

.testimonial-modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.testimonial-modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.testimonial-modal-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.testimonial-modal-header p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    color: var(--text-primary);
    background: var(--surface-alt);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 13px 16px;
    width: 100%;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
    background: #fff;
}

.testimonial-submit {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: none;
    background: var(--primary);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    margin-top: 4px;
}

.testimonial-submit:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.3);
}

.testimonial-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-message {
    margin-top: 16px;
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

.form-message-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-message-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.testimonials-slider .swiper-button-prev,
.testimonials-slider .swiper-button-next {
    color: var(--primary);
    opacity: 0.6;
    transition: opacity var(--transition);
}

.testimonials-slider .swiper-button-prev:hover,
.testimonials-slider .swiper-button-next:hover {
    opacity: 1;
}

.testimonials-slider .swiper-button-prev::after,
.testimonials-slider .swiper-button-next::after {
    font-size: 18px;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
    padding: 100px 0;
    background: var(--surface-alt);
}

.gallery .section-title {
    margin-bottom: 48px;
}

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

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    min-height: 520px;
}

.contact-map {
    position: relative;
}

.contact-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.contact-info {
    padding: 56px 44px;
    background: linear-gradient(135deg, var(--text-primary) 0%, #334155 100%);
    color: var(--surface);
}

.contact-info h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.hours-list {
    margin-bottom: 28px;
}

.hours-list li {
    padding: 8px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hours-list li i {
    opacity: 0.6;
    font-size: 14px;
}

.contact-details {
    margin-bottom: 28px;
}

.contact-details p {
    padding: 8px 0;
    font-size: 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-details p i {
    opacity: 0.6;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-details a {
    color: var(--surface);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    transition: text-decoration-color var(--transition);
}

.contact-details a:hover {
    text-decoration-color: rgba(255, 255, 255, 0.8);
}

.contact-nzok {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 24px;
}

.contact-nzok > p {
    font-size: 15px;
    margin-bottom: 12px;
    font-weight: 700;
}

.contact-nzok ul {
    padding-left: 0;
}

.contact-nzok li {
    font-size: 15px;
    padding: 4px 0;
    opacity: 0.8;
}

.nzok-note {
    font-size: 14px;
    margin-top: 14px;
    opacity: 0.75;
    font-style: italic;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--text-primary);
    color: var(--surface);
    padding: 48px 0;
    text-align: center;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.footer-links a {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    opacity: 0.6;
    transition: all var(--transition);
    padding: 6px 12px;
    border-radius: 6px;
}

.footer-links a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.4;
}

/* ============================================
   FLOATING PHONE BUTTON
   ============================================ */
@keyframes bounce-attention {
    0%, 100% { transform: translateY(0); }
    30% { transform: translateY(-8px); }
    50% { transform: translateY(0); }
    70% { transform: translateY(-4px); }
}

.floating-contacts {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 999;
    min-width: 190px;
}

.floating-contacts-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background: var(--accent);
    color: var(--surface);
    padding: 16px 28px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.35);
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    animation: bounce-attention 2s ease-in-out infinite;
}

.floating-contacts:hover .floating-contacts-btn {
    animation: none;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(13, 148, 136, 0.45);
}

.floating-contacts-options {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
}

.floating-contacts:hover .floating-contacts-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 28px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    transition: all var(--transition);
}

.contact-option-call {
    background: #16a34a;
    color: #fff;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.35);
}

.contact-option-call:hover {
    background: #15803d;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.45);
}

.contact-option-viber {
    background: #7360f2;
    color: #fff;
    box-shadow: 0 4px 16px rgba(115, 96, 242, 0.35);
}

.contact-option-viber:hover {
    background: #5b48d0;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(115, 96, 242, 0.45);
}

.contact-option i {
    font-size: 20px;
    width: 22px;
    text-align: center;
}

.contact-option-viber i {
    font-size: 22px;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 36px;
    color: var(--surface);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity var(--transition);
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

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

    .features {
        margin-top: -50px;
    }

    .about {
        padding: 80px 0;
    }

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

    .about-image {
        order: -1;
    }

    .about-image img {
        max-height: 400px;
        object-fit: cover;
    }

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

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

    .contact-map {
        position: relative;
        height: 300px;
    }

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

    .gallery-item img {
        height: 220px;
    }

    /* Mobile nav */
    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        position: absolute;
        top: 76px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
        padding: 12px;
        display: none;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-menu a {
        color: var(--text-secondary);
        padding: 12px 16px;
        border-radius: 8px;
    }

    .navbar-menu a:hover,
    .navbar-menu a.active {
        color: var(--primary);
        background: var(--primary-light);
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 100vh;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .section-title {
        font-size: 32px;
    }

    .appointment h2 {
        font-size: 36px;
    }

    .appt-btn {
        padding: 16px 28px;
        font-size: 16px;
    }

    .contact-info {
        padding: 36px 24px;
    }

    .floating-contacts-btn {
        padding: 18px 32px;
        border-radius: 16px;
    }

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

    .service-card {
        padding: 32px 24px;
    }
}
