:root {
    --primary-color: #002b49;
    /* Deep Navy */
    --primary-light: #004080;
    --secondary-color: #00a8cc;
    /* Teal */
    --secondary-dark: #0087a3;
    --accent-color: #d4af37;
    /* Gold */
    --accent-light: #f3cf55;
    --text-color: #333333;
    --text-light: #666666;
    --light-bg: #f8fbfd;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --box-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

strong {
    color: var(--primary-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: 0.5px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 168, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 168, 204, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto 0;
}

.section-subtitle {
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 10px;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(0, 43, 73, 0.8), rgba(0, 43, 73, 0.7)), url('../images/capa-site.webp') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
}

.hero .section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 25px;
    color: var(--white);
    line-height: 1.1;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Principles Section */
.principles {
    background-color: var(--white);
    padding-bottom: 50px;
}

.principles-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.principles p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* About Section */
.about {
    background-color: var(--light-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 20px 20px 0 var(--secondary-color), 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Services Section */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border: 1px solid #eee;
    padding: 0;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
    border-color: transparent;
}

.service-img-wrapper {
    width: 100%;
    height: 220px;
    margin-bottom: 0;
    overflow: hidden;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.1rem;
    padding: 20px 15px;
    margin-bottom: 0;
    color: var(--primary-color);
    text-transform: uppercase;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.service-card .btn-link {
    margin-top: auto;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Sedation Section */
.sedation {
    background-color: var(--light-bg);
}

.video-wrapper {
    max-width: 700px;
    margin: 0 auto 60px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow-hover);
}

.sedation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sedation-img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.benefit-card {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    text-align: left;
}

.benefit-icon {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.benefit-card h4 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #e0e0e0;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-logo img {
    filter: brightness(0) invert(1);
    height: 40px;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-item i {
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
}

.social-links {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Reviews */
.reviews {
    background-color: var(--white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.review-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    position: relative;
    border-bottom: 3px solid var(--secondary-color);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
    box-shadow: var(--box-shadow);
}

.review-name {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 0;
}

.review-stars {
    color: #ffc107;
    font-size: 0.9rem;
    margin-top: 5px;
}

.review-content {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-color);
    margin: 0;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h2 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 5px;
    font-weight: 800;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Location Map */
.location-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.location-info h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.location-details p {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.location-details i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    height: 450px;
    box-shadow: var(--box-shadow-hover);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Instagram Section */
.instagram {
    background-color: var(--white);
}

.instagram-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.instagram-mockup img {
    border-radius: 20px;
    box-shadow: var(--box-shadow-hover);
}

/* Services Owl Carousel */
.services-carousel.owl-carousel .owl-stage {
    display: flex;
}

.services-carousel.owl-carousel .owl-item {
    display: flex;
    flex: 1 0 auto;
}

.services-carousel .service-card {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.services-carousel .owl-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.services-carousel .owl-nav button.owl-prev,
.services-carousel .owl-nav button.owl-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white) !important;
    color: var(--primary-color) !important;
    border: 1px solid #eee !important;
    font-size: 1.2rem !important;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.services-carousel .owl-nav button.owl-prev:hover,
.services-carousel .owl-nav button.owl-next:hover {
    background: var(--secondary-color) !important;
    color: var(--white) !important;
    border-color: var(--secondary-color) !important;
    transform: translateY(-3px);
}

.services-carousel .owl-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.services-carousel .owl-dot span {
    width: 10px;
    height: 10px;
    background: #ccc !important;
    display: block;
    border-radius: 50%;
    transition: var(--transition);
}

.services-carousel .owl-dot.active span {
    background: var(--secondary-color) !important;
    width: 25px;
    border-radius: 10px;
}

/* Responsive */




/* Curriculum Page Specifics */
.cv-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 160px 0 100px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cv-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--light-bg);
    transform: skewY(-2deg);
}

.cv-hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.cv-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

.cv-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.cv-sidebar {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-hover);
    height: fit-content;
}

.profile-card {
    text-align: center;
    margin-bottom: 40px;
}

.profile-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 5px solid var(--light-bg);
    object-fit: cover;
    box-shadow: var(--box-shadow);
}

.sidebar-section {
    margin-top: 35px;
}

.sidebar-section h4 {
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.cv-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--light-bg);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 4px;
}

.cv-main-content {
    background: transparent;
}

.cv-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    border-top: 5px solid var(--secondary-color);
}

.cv-card h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--primary-color);
}

.cv-card h2 i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.timeline-modern {
    position: relative;
    padding-left: 30px;
}

.timeline-modern::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 0;
    width: 2px;
    background: var(--light-bg);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--light-bg);
    z-index: 1;
}

.timeline-item .date {
    display: block;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.timeline-item h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.timeline-item p {
    font-size: 0.95rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.cv-footer-cta {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cv-footer-cta .section-title {
    color: var(--white);
}

.cv-footer-cta .section-title::after {
    background: var(--secondary-color);
}

/* Responsive Adaptation */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .about-grid,
    .sedation-content,
    .location-content,
    .instagram-content,
    .cv-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero {
        background: linear-gradient(rgba(0, 43, 73, 0.85), rgba(0, 43, 73, 0.75)), url('../images/capa-site.webp') no-repeat center center/cover !important;
        background-attachment: scroll !important;
        background-position: center center !important;
        min-height: 80vh;
        height: auto;
        padding: 120px 0 80px;
        display: flex;
        align-items: center;
    }

    .about-image,
    .instagram-mockup {
        order: -1;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nav-menu {
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        height: auto;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .mobile-menu-btn {
        display: block;
    }

    .map-container {
        height: 350px;
    }

    .cv-hero {
        padding: 120px 0 80px;
    }

    .cv-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        font-weight: 700;
    }

    .hero {
        background: linear-gradient(rgba(0, 43, 73, 0.85), rgba(0, 43, 73, 0.75)), url('../images/capa-site.webp') no-repeat center center/cover !important;
        background-attachment: scroll !important;
        background-position: center center !important;
        min-height: 60vh;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-buttons {
        justify-content: center;
        gap: 10px;
    }

    .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.8rem;
    }

    .cv-hero {
        padding: 100px 0 60px;
    }

    .cv-hero h1 {
        font-size: 2rem;
    }

    .cv-sidebar,
    .cv-card {
        padding: 25px;
    }

    .stat-item h2 {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }
}