:root {
    --primary-blue: #2c5282;
    --secondary-blue: #3182ce;
    --accent-blue: #4299e1;
    --light-blue: #ebf8ff;
    --white: #ffffff;
    --soft-gray: #f7fafc;
    --medium-gray: #e2e8f0;
    --dark-text: #1a202c;
    --light-text: #4a5568;
    --success: #38a169;

    --container-max: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

/* --- Components --- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    color: var(--white);
    box-shadow: 0 10px 20px rgba(44, 82, 130, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(44, 82, 130, 0.3);
}

.btn-secondary {
    background: var(--light-blue);
    color: var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--medium-gray);
}

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

.badge {
    background: var(--light-blue);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(44, 82, 130, 0.1);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.section-title span {
    color: var(--accent-blue);
}

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

/* --- Navbar --- */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    padding: 1.25rem 0;
}

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

.logo-text {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--light-text);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* --- Hero --- */

.hero {
    padding: 10rem 0 6rem;
    background: radial-gradient(circle at top right, var(--light-blue) 0%, var(--white) 60%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
}

.hero-content .subtitle {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: visible;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.image-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 20px;
    right: -20px;
    border: 4px solid var(--light-blue);
    border-radius: var(--radius-md);
    z-index: 1;
}

/* --- Story --- */

.story {
    padding: 8rem 0;
    background: var(--soft-gray);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.story-grid.story-centered {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-grid.story-centered .story-content {
    text-align: center;
}

.story-image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.carousel {
    position: relative;
    width: 100%;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    transition: opacity 0.5s ease-in-out;
}

.carousel-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.story-content {
    text-align: left;
}

.story-content p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

/* --- Treatment Carousel --- */
.treatment-carousel-container {
    margin: 2rem 0;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    background: var(--white);
    border: 1px solid var(--medium-gray);
}

.treatment-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.treatment-carousel::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.treatment-slide {
    min-width: 100%;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.treatment-slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.treatment-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.t-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    cursor: pointer;
}

.t-dot.active {
    background: var(--white);
    width: 20px;
    border-radius: 4px;
}

/* --- Specialties --- */

.specialties {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-blue);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

/* --- Authority --- */

.authority {
    padding: 8rem 0;
    background: var(--primary-blue);
    color: var(--white);
}

.authority .section-title {
    color: var(--white);
}

.authority-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.authority-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.features-list li i {
    flex-shrink: 0;
    color: var(--accent-blue);
    width: 28px;
    height: 28px;
}

.features-list li strong {
    font-size: 1.125rem;
    display: block;
    margin-bottom: 0.25rem;
    font-family: 'Outfit', sans-serif;
}

.features-list li p {
    color: rgba(255, 255, 255, 0.8);
}

/* --- Location --- */

.location {
    padding: 8rem 0;
}

.location-card {
    background: var(--white);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
}

.location-info {
    padding: 4rem;
}

.address-grid {
    margin-top: 2rem;
}

.address-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.address-item i {
    color: var(--secondary-blue);
}

.location-map {
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--light-text);
}

/* --- CTA Final --- */

.cta-final {
    padding: 8rem 0;
    background: linear-gradient(rgba(235, 248, 255, 0.9), rgba(235, 248, 255, 0.9)), url('https://images.unsplash.com/photo-1576091160550-217359f42f8c?auto=format&fit=crop&q=80&w=2070');
    background-size: cover;
    background-position: center;
}

.cta-final h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.cta-final p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--light-text);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- WhatsApp Float --- */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: var(--success);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(56, 161, 105, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

.whatsapp-float i {
    width: 32px;
    height: 32px;
}

/* --- Footer --- */

footer {
    padding: 4rem 0;
    background: var(--soft-gray);
    border-top: 1px solid var(--medium-gray);
}

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

.footer-logo {
    font-size: 1.25rem;
    font-family: 'Outfit', sans-serif;
    color: var(--primary-blue);
}

.footer-content p {
    color: var(--light-text);
}

/* --- Animations --- */

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* --- Responsive --- */

@media (max-width: 992px) {

    .hero-container,
    .story-grid,
    .authority-grid,
    .location-card {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image {
        order: -1;
    }

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

    .location-info {
        padding: 2rem;
    }

    .location-map {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

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

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}