/* ============================================
   DR. MEHROCHIDIN KHOLMUROD
   Premium Medical Website
   ============================================ */

:root {
    --emerald: #059669;
    --emerald-light: #34d399;
    --emerald-dark: #047857;
    --emerald-bg: #ecfdf5;

    --gold: #d4a574;
    --gold-light: #e8c9a8;

    --dark: #0f1923;
    --dark-2: #162231;
    --dark-3: #1e2d3d;

    --text: #1a2332;
    --text-2: #4a5568;
    --text-3: #94a3b8;

    --white: #ffffff;
    --off-white: #f7faf9;
    --gray-bg: #f1f5f4;
    --border: #e2e8f0;

    --shadow-1: 0 1px 3px rgba(0,0,0,.06);
    --shadow-2: 0 8px 30px rgba(0,0,0,.08);
    --shadow-3: 0 20px 60px rgba(0,0,0,.1);
    --shadow-em: 0 8px 30px rgba(5,150,105,.2);

    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 40px;

    --sans: 'Inter', system-ui, sans-serif;
    --serif: 'DM Serif Display', Georgia, serif;
}

/* Particles Canvas */
#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ===== LABELS ===== */
.label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: var(--emerald-bg);
    color: var(--emerald);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 16px;
}

.label-light {
    background: rgba(255,255,255,.15);
    color: var(--emerald-light);
}

/* ===== BUTTONS ===== */
.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    background: var(--emerald);
    color: var(--white);
    font-size: .95rem;
    font-weight: 600;
    border-radius: 100px;
    transition: all .3s ease;
    border: none;
    font-family: var(--sans);
}

.btn-main:hover {
    background: var(--emerald-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-em);
}

.btn-full { width: 100%; justify-content: center; }

.btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    background: transparent;
    color: var(--text);
    font-size: .95rem;
    font-weight: 600;
    border-radius: 100px;
    border: 2px solid var(--border);
    transition: all .3s ease;
}

.btn-wa:hover {
    border-color: #25d366;
    color: #25d366;
    background: rgba(37,211,102,.05);
}

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all .35s ease;
}

.nav.scrolled {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0,0,0,.06);
    padding: 10px 0;
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--emerald);
    color: var(--white);
    font-family: var(--serif);
    font-size: 1.2rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.logo-name {
    display: block;
    font-weight: 700;
    font-size: .88rem;
    color: #ffffff;
    white-space: nowrap;
}

.logo-sub {
    display: block;
    font-size: .68rem;
    color: rgba(255,255,255,.5);
    font-weight: 500;
    white-space: nowrap;
}

.nav.scrolled .logo-name { color: var(--text); }
.nav.scrolled .logo-sub { color: var(--text-3); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 1px;
}

.nav-links a {
    padding: 7px 10px;
    font-size: .82rem;
    white-space: nowrap;
    font-weight: 500;
    color: rgba(255,255,255,.7);
    border-radius: 8px;
    transition: all .25s ease;
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(255,255,255,.1);
}

.nav.scrolled .nav-links a {
    color: var(--text-2);
}

.nav.scrolled .nav-links a:hover {
    color: var(--emerald);
    background: var(--emerald-bg);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--emerald);
    color: #ffffff;
    font-size: .82rem;
    white-space: nowrap;
    font-weight: 600;
    border-radius: 100px;
    transition: all .3s ease;
}

.nav-cta:hover {
    background: var(--emerald-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-em);
}

/* Nav Right Group */
.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Language Switcher */
.lang-switch {
    display: flex;
    background: rgba(255,255,255,.1);
    border-radius: 100px;
    padding: 3px;
    border: 1px solid rgba(255,255,255,.1);
}

.nav.scrolled .lang-switch {
    background: var(--off-white);
    border-color: var(--border);
}

.lang-btn {
    padding: 5px 11px;
    font-size: .75rem;
    font-weight: 700;
    font-family: var(--sans);
    color: rgba(255,255,255,.5);
    background: transparent;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all .25s ease;
    letter-spacing: .5px;
}

.nav.scrolled .lang-btn {
    color: var(--text-3);
}

.lang-btn.active {
    background: var(--emerald);
    color: var(--white) !important;
    box-shadow: 0 2px 8px rgba(5,150,105,.3);
}

.lang-btn:hover:not(.active) {
    color: var(--white);
}

.nav.scrolled .lang-btn:hover:not(.active) {
    color: var(--emerald);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    padding: 4px;
}

.burger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all .3s ease;
}

.nav.scrolled .burger span { background: var(--text); }

.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

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

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(5,150,105,.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(52,211,153,.1);
    border: 1px solid rgba(52,211,153,.2);
    border-radius: 100px;
    color: var(--emerald-light);
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 28px;
}

.tag-dot {
    width: 8px;
    height: 8px;
    background: var(--emerald-light);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52,211,153,.4); }
    50% { opacity: .7; box-shadow: 0 0 0 6px rgba(52,211,153,0); }
}

.hero-h1 { margin-bottom: 12px; }

.hero-line1 {
    display: block;
    font-family: 'Playfair Display', var(--serif);
    font-size: 3.6rem;
    font-weight: 600;
    font-style: italic;
    color: rgba(255,255,255,.5);
    line-height: 1.15;
    letter-spacing: 1px;
}

.hero-line2 {
    display: block;
    font-family: 'Playfair Display', var(--serif);
    font-size: 4.6rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.05;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 30%, var(--emerald-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-role {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-desc {
    font-size: 1rem;
    color: rgba(255,255,255,.5);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-desc strong {
    color: rgba(255,255,255,.8);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 40px;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.hero-stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-txt {
    font-size: .78rem;
    color: rgba(255,255,255,.4);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,.1);
}

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

.hero .btn-wa {
    color: rgba(255,255,255,.7);
    border-color: rgba(255,255,255,.15);
}

.hero .btn-wa:hover {
    color: #25d366;
    border-color: #25d366;
    background: rgba(37,211,102,.08);
}

/* Hero Photo */
.hero-right { display: flex; justify-content: center; }

.hero-photo-wrap {
    position: relative;
    max-width: 440px;
    width: 100%;
}

.hero-photo-bg {
    position: absolute;
    inset: -6px;
    background: linear-gradient(135deg, var(--emerald), var(--gold));
    border-radius: var(--r-lg);
    opacity: .25;
    z-index: 0;
}

.hero-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: var(--r-lg);
}

.hero-float {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-3);
    animation: float-y 3.5s ease-in-out infinite;
}

.hero-float-1 {
    bottom: 18%;
    left: -40px;
}

.hero-float-1 i {
    font-size: 1.3rem;
    color: var(--emerald);
}

.hero-float-1 strong {
    display: block;
    font-size: .92rem;
    color: var(--text);
}

.hero-float-1 small {
    font-size: .72rem;
    color: var(--text-3);
}

.hero-float-2 {
    top: 12%;
    right: -30px;
    gap: 10px;
    padding: 10px 16px;
}

.float-pulse {
    width: 10px;
    height: 10px;
    background: var(--emerald);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.hero-float-2 span {
    font-size: .78rem;
    font-weight: 600;
    color: var(--emerald-dark);
}

@keyframes float-y {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

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

.about-top {
    text-align: center;
    margin-bottom: 50px;
}

.about-top h2 {
    font-family: var(--serif);
    font-size: 2.6rem;
    font-weight: 400;
    color: var(--text);
}

.about-top h2 em {
    color: var(--emerald);
    font-style: italic;
}

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

.about-photo {
    border-radius: var(--r-lg);
    overflow: hidden;
}

.about-photo img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.about-body p {
    color: var(--text-2);
    font-size: .95rem;
    line-height: 1.85;
    margin-bottom: 16px;
}

.about-body p:last-child {
    margin-bottom: 0;
}

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

.about-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.about-fact {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    transition: all .3s ease;
}

.about-fact:hover {
    border-color: var(--emerald);
    box-shadow: var(--shadow-2);
    transform: translateY(-4px);
}

.af-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: var(--emerald-bg);
    color: var(--emerald);
    border-radius: 14px;
    font-size: 1.2rem;
    transition: all .3s ease;
}

.about-fact:hover .af-icon {
    background: var(--emerald);
    color: var(--white);
}

.about-fact strong {
    display: block;
    font-size: .88rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.about-fact span {
    font-size: .82rem;
    color: var(--text-3);
    line-height: 1.4;
}

/* ===== SECTION TOP ===== */
.section-top {
    text-align: center;
    margin-bottom: 56px;
}

.section-top h2 {
    font-family: var(--serif);
    font-size: 2.6rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 12px;
}

.section-top h2 em {
    color: var(--emerald);
    font-style: italic;
}

.section-sub {
    color: var(--text-2);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ===== EXPERIENCE ===== */
.experience {
    padding: 100px 0;
    background: var(--off-white);
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.tl-line {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--emerald), var(--gold-light), var(--emerald-light));
    border-radius: 2px;
}

.tl-item {
    position: relative;
    padding-left: 68px;
    padding-bottom: 48px;
}

.tl-item:last-child { padding-bottom: 0; }

.tl-dot {
    position: absolute;
    left: 10px;
    top: 6px;
    width: 30px;
    height: 30px;
    background: var(--white);
    border: 2px solid var(--emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald);
    font-size: .7rem;
    z-index: 1;
    transition: all .3s ease;
}

.tl-dot.active {
    background: var(--emerald);
    color: var(--white);
    box-shadow: 0 0 0 6px rgba(5,150,105,.15);
}

.tl-card {
    background: var(--white);
    padding: 28px 28px;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-1);
    border: 1px solid var(--border);
    transition: all .35s ease;
}

.tl-card:hover {
    box-shadow: var(--shadow-2);
    transform: translateX(6px);
    border-color: var(--emerald);
}

.tl-card-active {
    border-color: var(--emerald);
    background: var(--emerald-bg);
}

.tl-year {
    display: inline-block;
    padding: 4px 12px;
    background: var(--emerald-bg);
    color: var(--emerald);
    font-size: .78rem;
    font-weight: 700;
    border-radius: 100px;
    margin-bottom: 12px;
}

.tl-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.tl-sub {
    font-size: .88rem;
    color: var(--emerald);
    font-weight: 600;
    margin-bottom: 10px;
}

.tl-card p:last-child {
    font-size: .9rem;
    color: var(--text-2);
    line-height: 1.7;
}

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

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

.srv-card {
    position: relative;
    padding: 36px 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    transition: all .35s ease;
    overflow: hidden;
}

.srv-card:hover {
    border-color: var(--emerald);
    box-shadow: var(--shadow-2);
    transform: translateY(-6px);
}

.srv-num {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 3rem;
    font-weight: 900;
    color: var(--off-white);
    line-height: 1;
    transition: all .3s ease;
}

.srv-card:hover .srv-num {
    color: var(--emerald-bg);
}

.srv-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-bg);
    color: var(--emerald);
    font-size: 1.2rem;
    border-radius: var(--r-sm);
    margin-bottom: 20px;
    transition: all .3s ease;
}

.srv-card:hover .srv-icon {
    background: var(--emerald);
    color: var(--white);
    transform: scale(1.1);
}

.srv-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    position: relative;
}

.srv-card p {
    font-size: .88rem;
    color: var(--text-2);
    line-height: 1.7;
    position: relative;
}

/* ===== GALLERY ===== */
.gallery {
    padding: 100px 0;
    background: var(--off-white);
}

.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 230px;
    gap: 12px;
}

.gal-item {
    position: relative;
    border-radius: var(--r-md);
    overflow: hidden;
    cursor: pointer;
}

.gal-big {
    grid-row: span 2;
}

.gal-wide {
    grid-column: span 2;
}

.gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

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

.gal-over {
    position: absolute;
    inset: 0;
    background: rgba(15,25,35,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all .3s ease;
}

.gal-item:hover .gal-over { opacity: 1; }

.gal-over i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: var(--white);
    font-size: 1rem;
    transform: scale(.8);
    transition: transform .3s ease;
}

.gal-item:hover .gal-over i { transform: scale(1); }

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.93);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}

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

.lightbox img {
    max-width: 88%;
    max-height: 88vh;
    border-radius: var(--r-md);
    object-fit: contain;
    transform: scale(.92);
    transition: transform .4s ease;
}

.lightbox.active img { transform: scale(1); }

.lb-close, .lb-arr {
    position: absolute;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
    border: none;
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all .25s ease;
}

.lb-close:hover, .lb-arr:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ===== BOOKING SECTION ===== */
.booking {
    position: relative;
    padding: 100px 0;
    background: var(--off-white);
    overflow: hidden;
}

.booking-bg {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(5,150,105,.06) 0%, transparent 70%);
    pointer-events: none;
}

.booking-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 50px;
    align-items: start;
}

.booking-left h2 {
    font-family: var(--serif);
    font-size: 2.6rem;
    font-weight: 400;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 16px;
}

.booking-left h2 em {
    color: var(--emerald);
    font-style: italic;
}

.booking-desc {
    color: var(--text-2);
    font-size: .95rem;
    line-height: 1.8;
    margin-bottom: 36px;
}

.booking-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bf-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bf-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-bg);
    color: var(--emerald);
    border-radius: 14px;
    font-size: 1rem;
}

.bf-item strong {
    display: block;
    font-size: .9rem;
    color: var(--text);
    margin-bottom: 2px;
}

.bf-item span {
    font-size: .82rem;
    color: var(--text-3);
}

/* Booking Form Card */
.booking-form-card {
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: 0 4px 40px rgba(0,0,0,.06);
    border: 1px solid var(--border);
    overflow: hidden;
}

.bfc-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 32px;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
    color: var(--white);
}

.bfc-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.2);
    border-radius: 12px;
    font-size: 1.2rem;
}

.bfc-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.bfc-header span {
    font-size: .8rem;
    opacity: .7;
}

.bform {
    padding: 28px 32px 32px;
}

.bf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.bf-field {
    margin-bottom: 20px;
}

.bf-field label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.bf-field label span {
    color: #ef4444;
}

.bf-input-wrap {
    position: relative;
}

.bf-input-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-3);
    font-size: .85rem;
    pointer-events: none;
    transition: color .3s ease;
}

.bf-textarea-wrap i {
    top: 16px;
    transform: none;
}

.bf-input-wrap input,
.bf-input-wrap select,
.bf-input-wrap textarea {
    width: 100%;
    padding: 13px 16px 13px 42px;
    background: var(--off-white);
    border: 2px solid transparent;
    border-radius: var(--r-sm);
    font-size: .9rem;
    font-family: var(--sans);
    color: var(--text);
    outline: none;
    transition: all .3s ease;
    appearance: none;
    -webkit-appearance: none;
}

.bf-input-wrap select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.bf-input-wrap textarea {
    resize: vertical;
    min-height: 90px;
}

.bf-input-wrap input::placeholder,
.bf-input-wrap textarea::placeholder {
    color: var(--text-3);
}

.bf-input-wrap input:focus,
.bf-input-wrap select:focus,
.bf-input-wrap textarea:focus {
    border-color: var(--emerald);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(5,150,105,.08);
}

.bf-input-wrap input:focus + i,
.bf-input-wrap select:focus + i,
.bf-input-wrap textarea:focus + i,
.bf-input-wrap input:focus ~ i,
.bf-input-wrap select:focus ~ i,
.bf-input-wrap textarea:focus ~ i {
    color: var(--emerald);
}

/* fix icon order - icon is before input */
.bf-input-wrap:has(input:focus) i,
.bf-input-wrap:has(select:focus) i,
.bf-input-wrap:has(textarea:focus) i {
    color: var(--emerald);
}

.bf-submit-row {
    margin-top: 8px;
}

.btn-book {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--sans);
    border: none;
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: all .3s ease;
    box-shadow: var(--shadow-em);
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(5,150,105,.3);
}

.btn-book:active {
    transform: translateY(0);
}

.bf-privacy {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    margin-top: 14px;
    font-size: .74rem;
    color: var(--text-3);
}

.bf-privacy i { font-size: .68rem; }

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 100px 0;
    background: #0f1923;
    color: #ffffff;
}

.contact .section-top h2 {
    color: #ffffff;
}

.contact .section-top h2 em {
    color: var(--emerald-light);
}

.contact .label-light {
    background: rgba(255,255,255,.1);
    color: var(--emerald-light);
}

.section-sub-light {
    color: rgba(255,255,255,.45) !important;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cc-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 24px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--r-md);
    transition: all .35s ease;
}

.cc-card:hover {
    background: rgba(255,255,255,.08);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,.2);
}

.cc-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5,150,105,.12);
    color: var(--emerald-light);
    border-radius: 16px;
    font-size: 1.3rem;
    margin-bottom: 20px;
    transition: all .3s ease;
}

.cc-card:hover .cc-icon {
    background: var(--emerald);
    color: #ffffff;
    transform: scale(1.1);
}

.cc-icon-wa {
    background: rgba(37,211,102,.12);
    color: #25d366;
}

.cc-card:hover .cc-icon-wa {
    background: #25d366;
    color: #ffffff;
}

.cc-card h4 {
    font-size: .78rem;
    font-weight: 600;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.cc-card strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.cc-sub {
    font-size: .85rem;
    color: rgba(255,255,255,.4);
}

.cc-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--emerald-light);
    opacity: 0;
    transform: translateY(6px);
    transition: all .3s ease;
}

.cc-card:hover .cc-action {
    opacity: 1;
    transform: translateY(0);
}

.cc-action i { font-size: .7rem; }

/* ===== FOOTER ===== */
.footer {
    background: #0a1219;
    padding: 50px 0 0;
    color: rgba(255,255,255,.5);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer .logo-name { color: #ffffff; }
.footer .logo-sub { color: rgba(255,255,255,.4); }

.footer-brand .logo { margin-bottom: 16px; }

.footer-brand p {
    font-size: .88rem;
    line-height: 1.7;
    max-width: 340px;
}

.footer-nav h4,
.footer-social h4 {
    color: #ffffff;
    font-size: .9rem;
    margin-bottom: 16px;
}

.footer-nav a {
    display: block;
    padding: 6px 0;
    font-size: .88rem;
    color: rgba(255,255,255,.45);
    transition: all .25s ease;
}

.footer-nav a:hover {
    color: var(--emerald-light);
    padding-left: 6px;
}

.soc-row {
    display: flex;
    gap: 10px;
}

.soc-row a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.06);
    border-radius: var(--r-sm);
    color: rgba(255,255,255,.5);
    font-size: 1.1rem;
    transition: all .3s ease;
}

.soc-row a:hover {
    background: var(--emerald);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-bot {
    text-align: center;
    padding: 20px 0;
    font-size: .8rem;
    color: rgba(255,255,255,.25);
}

/* ===== WA FLOAT ===== */
.wa-float {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: var(--white);
    font-size: 1.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    box-shadow: 0 4px 20px rgba(37,211,102,.35);
    transition: all .3s ease;
    animation: wa-pulse 2.5s infinite;
}

.wa-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 28px rgba(37,211,102,.5);
}

@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,.35); }
    70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== TO TOP ===== */
.to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    background: var(--emerald);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all .35s ease;
    box-shadow: var(--shadow-em);
}

.to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top:hover {
    background: var(--emerald-dark);
    transform: translateY(-3px);
}

/* ===== COLOR THEMES ===== */
[data-color="blue"] {
    --emerald: #2563eb;
    --emerald-light: #60a5fa;
    --emerald-dark: #1d4ed8;
    --emerald-bg: #eff6ff;
    --shadow-em: 0 8px 30px rgba(37,99,235,.2);
}

[data-color="violet"] {
    --emerald: #7c3aed;
    --emerald-light: #a78bfa;
    --emerald-dark: #6d28d9;
    --emerald-bg: #f5f3ff;
    --shadow-em: 0 8px 30px rgba(124,58,237,.2);
}

[data-color="rose"] {
    --emerald: #e11d48;
    --emerald-light: #fb7185;
    --emerald-dark: #be123c;
    --emerald-bg: #fff1f2;
    --shadow-em: 0 8px 30px rgba(225,29,72,.2);
}

[data-color="amber"] {
    --emerald: #d97706;
    --emerald-light: #fbbf24;
    --emerald-dark: #b45309;
    --emerald-bg: #fffbeb;
    --shadow-em: 0 8px 30px rgba(217,119,6,.2);
}

[data-color="teal"] {
    --emerald: #0d9488;
    --emerald-light: #2dd4bf;
    --emerald-dark: #0f766e;
    --emerald-bg: #f0fdfa;
    --shadow-em: 0 8px 30px rgba(13,148,136,.2);
}

/* ===== DARK MODE ===== */
[data-mode="dark"] {
    --text: #e2e8f0;
    --text-2: #94a3b8;
    --text-3: #64748b;
    --white: #0f172a;
    --off-white: #1e293b;
    --gray-bg: #1e293b;
    --border: #334155;
    --shadow-1: 0 1px 3px rgba(0,0,0,.2);
    --shadow-2: 0 8px 30px rgba(0,0,0,.25);
    --shadow-3: 0 20px 60px rgba(0,0,0,.3);
}

/* Keep white text on always-dark sections */
[data-mode="dark"] .hero,
[data-mode="dark"] .contact,
[data-mode="dark"] .footer {
    --white: #ffffff;
}

[data-mode="dark"] .nav.scrolled {
    background: rgba(15,23,42,.92);
}

[data-mode="dark"] .nav.scrolled .logo-name,
[data-mode="dark"] .nav.scrolled .nav-links a {
    color: var(--text-2);
}

[data-mode="dark"] .nav.scrolled .logo-sub {
    color: var(--text-3);
}

[data-mode="dark"] .nav.scrolled .nav-links a:hover {
    color: var(--emerald-light);
    background: rgba(255,255,255,.05);
}

[data-mode="dark"] .nav.scrolled .burger span {
    background: var(--text);
}

[data-mode="dark"] .lang-switch {
    border-color: rgba(255,255,255,.1);
}

[data-mode="dark"] .nav.scrolled .lang-switch {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.1);
}

[data-mode="dark"] .nav.scrolled .lang-btn {
    color: var(--text-3);
}

[data-mode="dark"] .nav.scrolled .lang-btn:hover:not(.active) {
    color: var(--emerald-light);
}

[data-mode="dark"] .about-fact,
[data-mode="dark"] .srv-card,
[data-mode="dark"] .tl-card,
[data-mode="dark"] .booking-form-card {
    background: var(--off-white);
    border-color: var(--border);
}

[data-mode="dark"] .about-fact:hover,
[data-mode="dark"] .srv-card:hover,
[data-mode="dark"] .tl-card:hover {
    border-color: var(--emerald);
}

[data-mode="dark"] .srv-num {
    color: rgba(255,255,255,.04);
}

[data-mode="dark"] .srv-card:hover .srv-num {
    color: rgba(255,255,255,.06);
}

[data-mode="dark"] .tl-dot {
    background: var(--off-white);
}

[data-mode="dark"] .tl-card-active {
    background: rgba(5,150,105,.08);
}

[data-mode="dark"] .bfc-header {
    background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
}

[data-mode="dark"] .bf-input-wrap input,
[data-mode="dark"] .bf-input-wrap select,
[data-mode="dark"] .bf-input-wrap textarea {
    background: rgba(255,255,255,.05);
    color: var(--text);
    border-color: var(--border);
}

[data-mode="dark"] .bf-input-wrap input::placeholder,
[data-mode="dark"] .bf-input-wrap textarea::placeholder {
    color: var(--text-3);
}

[data-mode="dark"] .nav-links {
    background: var(--off-white);
}

/* ===== THEME PANEL ===== */
.theme-toggle {
    position: fixed;
    bottom: 96px;
    right: 28px;
    width: 46px;
    height: 46px;
    background: var(--emerald);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-em);
    transition: all .3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.tp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}

.tp-overlay.open {
    opacity: 1;
    visibility: visible;
}

.theme-panel {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--white);
    border-left: 1px solid var(--border);
    z-index: 9999;
    padding: 0;
    transition: right .35s ease;
    overflow-y: auto;
    box-shadow: var(--shadow-3);
}

.theme-panel.open {
    right: 0;
}

.tp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.tp-header h4 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
}

.tp-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--off-white);
    color: var(--text-2);
    font-size: .9rem;
    cursor: pointer;
    border: none;
    transition: all .25s ease;
}

.tp-close:hover {
    background: var(--emerald-bg);
    color: var(--emerald);
}

.tp-section {
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

.tp-label {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 14px;
}

/* Mode Buttons */
.tp-mode-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.tp-mode {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--off-white);
    border: 2px solid transparent;
    border-radius: var(--r-sm);
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-2);
    cursor: pointer;
    transition: all .25s ease;
    font-family: var(--sans);
}

.tp-mode:hover {
    border-color: var(--border);
}

.tp-mode.active {
    border-color: var(--emerald);
    color: var(--emerald);
    background: var(--emerald-bg);
}

.tp-mode i {
    font-size: 1rem;
}

/* Color Buttons */
.tp-colors {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.tp-color {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    background: var(--c);
    border: 3px solid transparent;
    cursor: pointer;
    transition: all .25s ease;
    position: relative;
}

.tp-color:hover {
    transform: scale(1.1);
}

.tp-color.active {
    border-color: var(--text);
    box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--c);
}

.tp-color.active::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .7rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    .hero-left { order: 1; }
    .hero-right { order: 0; }
    .hero-desc { margin: 0 auto 36px; }
    .hero-stats { justify-content: center; }
    .hero-actions { justify-content: center; }
    .hero-line1 { font-size: 2.4rem; }
    .hero-line2 { font-size: 2.8rem; }
    .hero-photo-wrap { max-width: 360px; }
    .hero-float-1 { left: -16px; }
    .hero-float-2 { right: -12px; }
    .about-grid { grid-template-columns: 1fr; }
    .about-facts { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .booking-inner { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: repeat(2, 1fr); }
    .gallery-mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        padding: 40px;
        box-shadow: var(--shadow-3);
        transition: right .4s ease;
        z-index: 1000;
    }
    .nav-links.open { right: 0; }
    .nav-links a {
        color: var(--text) !important;
        font-size: 1.05rem;
        padding: 12px 16px;
        border-radius: 8px;
    }
    .nav-links a:hover { background: var(--emerald-bg) !important; color: var(--emerald) !important; }
    .nav-cta { display: none; }
    .nav-right { gap: 10px; }
    .lang-btn { padding: 5px 10px; font-size: .72rem; }
    .burger { display: flex; }
    .hero { padding: 100px 0 60px; }
    .hero-line1 { font-size: 1.8rem; }
    .hero-line2 { font-size: 2.2rem; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .about-top h2 { font-size: 2rem; }
    .about-facts { grid-template-columns: 1fr 1fr; }
    .section-top h2 { font-size: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .gallery-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }
    .gal-big { grid-row: span 1; }
    .gal-wide { grid-column: span 1; }
    .booking-left h2 { font-size: 2rem; }
    .bform { padding: 20px 20px 24px; }
    .bfc-header { padding: 20px 20px; }
    .bf-row { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .wa-float { width: 50px; height: 50px; font-size: 1.4rem; bottom: 20px; left: 20px; }
    .to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
    .theme-toggle { bottom: 72px; right: 20px; width: 40px; height: 40px; font-size: .9rem; }
    .theme-panel { width: 280px; }
}

@media (max-width: 480px) {
    .hero-line1 { font-size: 1.5rem; }
    .hero-line2 { font-size: 1.8rem; letter-spacing: 1px; }
    .hero-stat-num { font-size: 1.4rem; }
    .hero-float { padding: 10px 12px; }
    .hero-float-1 { left: 0; }
    .hero-float-2 { right: 0; }
    .about-photos { grid-template-columns: 1fr; }
    .gallery-mosaic { grid-auto-rows: 160px; }
}
