:root {
    --primary-color: #0a2540;
    /* Deep Navy */
    --secondary-color: #c5a059;
    /* Gold/Bronze */
    --accent-color: #1e3a8a;
    /* Bright Blue */
    --text-color: #333333;
    --light-bg: #f4f7f6;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.9);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: transparent;
    padding: 2rem 0;
    position: fixed;
    width: 100%;
    top: 34px;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 56px;
    width: auto;
    max-width: 200px;
    display: block;
    transition: var(--transition);
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.22);
    background: #fff;
    object-fit: contain;
}

.navbar.scrolled .logo-img {
    height: 48px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.10);
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--text-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-btn {
    padding: 0.8rem 2rem;
    border: 1px solid var(--white);
    border-radius: 0;
    /* Square buttons for luxury feel */
    color: var(--white) !important;
}

.nav-btn:hover {
    background: var(--white);
    color: var(--primary-color) !important;
}

.navbar.scrolled .nav-btn {
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
}

.navbar.scrolled .nav-btn:hover {
    background: var(--primary-color);
    color: var(--white) !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
}

.navbar.scrolled .mobile-toggle {
    color: var(--primary-color);
}

.nav-urgency {
    color: var(--secondary-color) !important;
    font-weight: 600 !important;
}

.nav-urgency::before {
    content: '⚡ ';
    font-size: 0.8em;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.80) 0%, rgba(10, 37, 64, 0.55) 100%),
                url('images/hero_new.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-left {
    text-align: left;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-badge {
    display: inline-block;
    background: rgba(197, 160, 89, 0.25);
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 0.45rem 1.2rem;
    font-size: 0.8rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 1.8rem;
}

/* Doctor Hero Card */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.8s;
    position: relative;
    z-index: 2;
}

.doctor-hero-card {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.doctor-hero-card::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary-color);
    z-index: 0;
    opacity: 0.6;
}

.doctor-hero-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center top;
    display: block;
    position: relative;
    z-index: 1;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.doctor-hero-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10,37,64,0.95), transparent);
    color: var(--white);
    padding: 2.5rem 1.5rem 1.2rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.doctor-hero-label strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

.doctor-hero-label span {
    font-size: 0.85rem;
    color: var(--secondary-color);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

@media (max-width: 968px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-left {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-right {
        display: none;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4.8rem;
    line-height: 1.12;
    margin-bottom: 1.8rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 3rem;
    font-weight: 300;
    font-style: italic;
    font-family: 'Playfair Display', serif;
    max-width: 580px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1.2rem 3rem;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.btn-primary:hover {
    background-color: #b08d4b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 1.2rem 3rem;
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Sections General */
.section {
    padding: 120px 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-style: italic;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
    margin: 0.8rem auto 0;
}

.text-center .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.about-text .section-title::after,
.urgency-section .section-title::after {
    margin-left: 0;
}

.section-desc {
    color: #777;
    margin-bottom: 4rem;
    font-size: 1.1rem;
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

.text-center {
    text-align: center;
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary-color);
    z-index: 0;
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow);
}

.features-list {
    list-style: none;
    margin-top: 3rem;
}

.features-list li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.features-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Services */
.services {
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 2rem;
    border-radius: 50%;
    /* Optional: Keep circle but minimal */
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: var(--primary-color);
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-style: italic;
}

.service-card p {
    color: #777;
    font-size: 0.97rem;
    line-height: 1.75;
}

/* Appointment */
.appointment {
    background-color: var(--primary-color);
    color: var(--white);
    position: relative;
}

.appointment-content {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.text-white {
    color: white !important;
}

.booking-form {
    margin-top: 3rem;
    display: grid;
    gap: 1.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1.2rem;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: var(--white);
    font-family: inherit;
    font-size: 1.1rem;
    transition: var(--transition);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-bottom-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.05);
}

.form-group select option {
    background: var(--primary-color);
    color: var(--white);
}

/* Footer & Contact */
.footer {
    background-color: #051423;
    /* Darker than primary */
    color: var(--white);
    padding-top: 100px;
}

.footer-info h3 {
    margin-bottom: 2.5rem;
    font-size: 2rem;
    color: var(--secondary-color);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.social-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.footer-map iframe {
    border-radius: 0;
    filter: grayscale(100%);
    transition: var(--transition);
}

.footer-map iframe:hover {
    filter: grayscale(0%);
}

/* ── Scroll offset pentru navbar fix + top-bar ── */
section, header, footer {
    scroll-margin-top: 140px;
}

/* ── Hero: compensare vizuala pentru top-bar ── */
.hero {
    padding-top: 34px;
}

/* background-attachment: fixed nu funcționează pe mobile */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        padding-top: 34px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 34px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 2rem;
        gap: 1.2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        z-index: 999;
        max-height: calc(100vh - 34px);
        overflow-y: auto;
    }

    .nav-links a {
        color: var(--text-color) !important;
        font-size: 1.1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .about-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .nav-btn {
        display: inline-block;
        width: 100%;
        text-align: center;
    }
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0 2px;
    transition: var(--transition);
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--white);
    font-weight: 700;
}

.navbar.scrolled .lang-btn {
    color: var(--text-color);
    opacity: 0.7;
}

.navbar.scrolled .lang-btn:hover,
.navbar.scrolled .lang-btn.active {
    color: var(--primary-color);
    opacity: 1;
}

.sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

.navbar.scrolled .sep {
    color: rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .lang-switch {
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
    }
}

/* Gallery Page */
.gallery-page {
    background: var(--light-bg);
}

.gallery-ba-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.gallery-ba-wide {
    grid-column: 1 / -1;
    max-height: 520px;
}

.gallery-ba-wide img {
    height: 520px !important;
    object-position: center 30% !important;
}

.gallery-ba-item {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    background: #000;
}

.gallery-ba-item img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.gallery-ba-item:hover img {
    transform: scale(1.04);
    opacity: 0.88;
}

.gallery-ba-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 2rem 1.2rem 1rem;
    background: linear-gradient(to top, rgba(10,37,64,0.85), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-ba-item:hover .gallery-ba-info {
    opacity: 1;
}

.gallery-ba-tag {
    color: var(--secondary-color);
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.gallery-zoom-icon {
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
}

.gallery-cta {
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 3rem;
}

.gallery-cta p {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .gallery-ba-grid {
        grid-template-columns: 1fr;
    }

    .gallery-ba-wide {
        grid-column: 1;
        max-height: none;
    }

    .gallery-ba-wide img {
        height: 320px !important;
    }

    .gallery-ba-item img {
        height: 320px;
    }

    .gallery-ba-info {
        opacity: 1;
    }
}

/* Gallery Styles */
.page-header {
    background-color: var(--primary-color);
    padding: 180px 0 80px;
    text-align: center;
    color: var(--white);
    background-image: linear-gradient(rgba(10, 37, 64, 0.8), rgba(10, 37, 64, 0.8)), url('images/clinic.jpg');
    /* Fallback or existing image */
    background-size: cover;
    background-position: center;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-end;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay p {
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Top Bar */
.top-bar {
    background: var(--primary-color);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    padding: 0.6rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    letter-spacing: 0.5px;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar i {
    color: var(--secondary-color);
    margin-right: 6px;
}

.top-bar a {
    color: var(--secondary-color);
    font-weight: 600;
    transition: var(--transition);
}

.top-bar a:hover { color: var(--white); }

@media (max-width: 768px) {
    .top-bar-right { display: none; }
}

/* btn-block */
.btn-block {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
}

/* section-header */
.section-header {
    margin-bottom: 4rem;
}

/* Form Success */
.form-success {
    display: none;
    text-align: center;
    padding: 2.5rem;
    color: var(--white);
    animation: fadeInUp 0.5s ease forwards;
}

.form-success i {
    font-size: 3rem;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 1rem;
}

.form-success p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 14, 30, 0.96);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: zoom-out;
}

.lightbox.open {
    display: flex;
    animation: fadeInUp 0.3s ease forwards;
}

.lightbox img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Before & After Section */
.before-after {
    background: var(--white);
}

.ba-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.ba-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 2px;
    box-shadow: var(--shadow);
}

.ba-card img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ba-card:hover img {
    transform: scale(1.04);
}

.ba-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10,37,64,0.92) 0%, transparent 100%);
    color: var(--white);
    padding: 2.5rem 1.2rem 1.2rem;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--secondary-color);
}

.ba-cta {
    margin-top: 1rem;
}

.btn-outline {
    display: inline-block;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

@media (max-width: 900px) {
    .ba-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .ba-card img {
        height: 420px;
    }
}

/* Urgency Section */
.urgency-section {
    background: linear-gradient(135deg, #051423 0%, var(--primary-color) 100%);
    color: var(--white);
}

.urgency-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.urgency-label {
    display: inline-block;
    background: rgba(197, 160, 89, 0.2);
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 0.4rem 1rem;
    font-size: 0.78rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.urgency-section h2 {
    font-size: 2.6rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.urgency-section p {
    color: rgba(255,255,255,0.78);
    font-size: 1.05rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.urgency-section strong {
    color: var(--white);
}

.urgency-list {
    list-style: none;
    margin: 2rem 0 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

.urgency-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
}

.urgency-list i {
    color: var(--secondary-color);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.btn-urgency {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    border-radius: 2px;
}

.btn-urgency:hover {
    background: #b08d4b;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(197,160,89,0.35);
    color: var(--white);
}

.btn-urgency i {
    font-size: 1.1rem;
}

.urgency-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.urgency-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1.8rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    border-radius: 2px;
}

.urgency-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(197,160,89,0.4);
}

.urgency-card.highlight {
    background: rgba(197,160,89,0.15);
    border-color: var(--secondary-color);
}

.urgency-card i {
    font-size: 1.8rem;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.8rem;
}

.urgency-card strong {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.urgency-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.urgency-card a {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
}

.urgency-card a:hover {
    color: var(--white);
}

@media (max-width: 900px) {
    .urgency-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .urgency-list {
        grid-template-columns: 1fr;
    }
}

/* Stats Section */
.stats-section {
    background: var(--primary-color);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    color: var(--white);
    padding: 1rem;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
}

.stat-suffix {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-top: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Testimonials Section */
.testimonials {
    background: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-left: 4px solid var(--secondary-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.stars {
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    font-size: 1rem;
    gap: 3px;
    display: flex;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    color: var(--primary-color);
    font-size: 1rem;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: #888;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    padding-bottom: 60px;
    align-items: start;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.social-btn {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
    border-radius: 4px;
}

.social-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Contact Item */
.contact-item i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    width: 20px;
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-item a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.contact-item a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* Appointment Wrapper */
.appointment-wrapper {
    width: 100%;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-green 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 6px 30px rgba(37,211,102,0.7); }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .back-to-top {
        bottom: 85px;
        right: 20px;
    }
}

/* ============================================
   MOBILE OPTIMIZATION COMPLET
   ============================================ */
@media (max-width: 768px) {

    /* Container */
    .container { padding: 0 16px; }

    /* Top Bar */
    .top-bar { font-size: 0.78rem; }
    .top-bar-inner { justify-content: center; }

    /* Navbar */
    .navbar { padding: 0.6rem 0; }
    .logo-img {
        height: 40px !important;
        max-width: 140px !important;
        width: auto !important;
        box-shadow: 0 1px 6px rgba(0,0,0,0.18) !important;
    }
    .navbar.scrolled .logo-img { height: 36px !important; }
    .mobile-toggle {
        font-size: 1.4rem;
        padding: 8px;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Hero */
    .hero {
        min-height: 100vh;
        min-height: 100svh;
        height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
        align-items: center;
    }
    .hero-content { padding: 0 4px; }
    .hero-badge { font-size: 0.7rem; letter-spacing: 1.5px; margin-bottom: 1rem; }
    .hero-title { font-size: 2.2rem; letter-spacing: -0.5px; margin-bottom: 1rem; }
    .hero-subtitle { font-size: 0.95rem; margin-bottom: 2rem; max-width: 100%; }
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        align-items: stretch;
    }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
    }
    .scroll-indicator { display: none; }

    /* About */
    .about-grid { gap: 2rem; }
    .about-image::before { display: none; }
    .about-img { height: 260px; }
    .features-list li { font-size: 1rem; }

    /* Services */
    .services-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .service-card { padding: 2rem 1.5rem; }

    /* Urgency */
    .urgency-section h2 { font-size: 1.8rem; }
    .urgency-grid { gap: 2rem; }
    .urgency-cards { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
    .urgency-card { padding: 1.2rem 0.8rem; }
    .urgency-card i { font-size: 1.4rem; }
    .urgency-card strong { font-size: 0.75rem; letter-spacing: 1px; }
    .urgency-list { grid-template-columns: 1fr; gap: 0.6rem; margin: 1.2rem 0 1.8rem; }
    .btn-urgency { width: 100%; justify-content: center; padding: 1rem 1.5rem; font-size: 0.9rem; }

    /* Stats */
    .stats-section { padding: 40px 0; }
    .stat-number { font-size: 2.5rem; }
    .stat-suffix { font-size: 1.8rem; }
    .stat-label { font-size: 0.78rem; }

    /* Section headers */
    .section-header { margin-bottom: 2.5rem; }
    .section-desc { margin-bottom: 2.5rem; font-size: 1rem; }

    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonial-card { padding: 1.8rem; }

    /* Before & After */
    .ba-grid { grid-template-columns: 1fr; max-width: 100%; gap: 1.2rem; }
    .ba-card img { height: 320px; }
    .btn-outline { width: 100%; text-align: center; padding: 0.9rem 1.5rem; }

    /* Appointment Form */
    .appointment { padding: 60px 0; }
    .form-group input,
    .form-group select {
        font-size: 16px; /* previne zoom iOS */
        padding: 1rem;
    }

    /* Footer */
    .footer { padding-top: 50px; }
    .footer-info h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
    .footer-map iframe { height: 220px; }
    .footer-grid { gap: 2rem; }
    .contact-item { align-items: flex-start; gap: 12px; margin-bottom: 1.2rem; }

    /* Page Header (Galerie) */
    .page-header { padding: 130px 0 50px; }
    .page-header h1 { font-size: 2.2rem; }
    .page-header p { font-size: 1rem; }

    /* Gallery Page */
    .gallery-ba-grid { grid-template-columns: 1fr; gap: 1rem; }
    .gallery-ba-item img { height: 280px; }
    .gallery-ba-wide img { height: 260px !important; }
    .gallery-ba-info { opacity: 1; }
    .gallery-cta p { font-size: 1rem; }
}