/* ========================================
   Centro Odontológico Las Américas
   Modern Dental Clinic Website Styles
   ======================================== */

/* === CSS CUSTOM PROPERTIES === */
:root {
    /* Brand Colors */
    --primary: #0097A7;
    --primary-dark: #00838F;
    --primary-light: #26C6DA;
    --primary-gradient: linear-gradient(135deg, #0097A7 0%, #00BCD4 50%, #26C6DA 100%);
    --primary-gradient-hover: linear-gradient(135deg, #00838F 0%, #0097A7 100%);

    /* Neutral Colors */
    --white: #FFFFFF;
    --off-white: #F8FFFE;
    --light-gray: #E8F5F3;
    --gray: #607D8B;
    --dark: #1A3A3F;
    --text: #2C3E50;
    --text-light: #5D7A85;

    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 2px 10px rgba(0, 151, 167, 0.1);
    --shadow-md: 0 8px 30px rgba(0, 151, 167, 0.15);
    --shadow-lg: 0 15px 50px rgba(0, 151, 167, 0.2);
    --shadow-glow: 0 0 40px rgba(0, 151, 167, 0.3);

    /* Typography */
    --font-main: 'Poppins', sans-serif;
    --font-accent: 'Montserrat', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text);
    background: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

/* === UTILITIES === */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    display: inline-block;
}

.section-title {
    font-family: var(--font-accent);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

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

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

.logo-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    padding: 2px;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--dark);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

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

.nav-cta .btn {
    padding: 12px 28px;
    font-size: 0.9rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--light-gray) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: var(--primary-gradient);
    border-radius: 50%;
    opacity: 0.08;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 50%;
    opacity: 0.05;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(30px, 30px) rotate(5deg);
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
}

.hero-badge i {
    font-size: 1.1rem;
}

.hero h1 {
    font-family: var(--font-accent);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--primary);
    position: relative;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(0, 151, 167, 0.2);
    border-radius: 4px;
    z-index: -1;
}

.hero-text {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 151, 167, 0.2);
}

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

.stat-number {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-number span {
    font-size: 1.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
}

.hero-visual {
    position: relative;
    animation: fadeInUp 1s ease 0.3s backwards;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 151, 167, 0.3), transparent);
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: floatCard 3s ease-in-out infinite;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.floating-card.card-1 {
    bottom: 30px;
    left: -40px;
    z-index: 2;
}

.floating-card.card-2 {
    top: 30px;
    right: -30px;
    z-index: 2;
    animation-delay: 1.5s;
}

.floating-card i {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
}

.floating-card-text h4 {
    font-weight: 700;
    color: var(--dark);
    font-size: 1rem;
}

.floating-card-text p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* === SERVICES SECTION === */
.services {
    padding: var(--section-padding);
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--off-white);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 151, 167, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card:hover .service-icon {
    background: var(--primary-gradient);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* === GALLERY SIMPLE SECTION === */
.gallery-simple {
    padding: 80px 0;
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
}

.gallery-simple::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

.gallery-simple::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 40%;
    height: 150%;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite reverse;
}

.gallery-simple-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.gallery-simple-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.gallery-simple-img:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
}

/* === ABOUT SECTION === */
.about {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--off-white) 0%, var(--light-gray) 100%);
}

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    border: 6px solid var(--white);
    box-shadow: var(--shadow-md);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge span {
    display: block;
    font-family: var(--font-accent);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge p {
    font-size: 0.85rem;
    margin-top: 5px;
}

.about-content h2 {
    font-family: var(--font-accent);
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-content h2 span {
    color: var(--primary);
}

.about-content>p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 35px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature i {
    width: 40px;
    height: 40px;
    background: rgba(0, 151, 167, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.about-feature span {
    font-weight: 600;
    color: var(--dark);
}

/* === TEAM SECTION === */
.team {
    padding: var(--section-padding);
    background: var(--white);
}

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

.team-card {
    background: var(--off-white);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
    transition: var(--transition-slow);
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 151, 167, 0.9), transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.team-specialty {
    display: inline-block;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.team-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 10px;
}

.team-specialties span {
    background: rgba(0, 151, 167, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* === GALLERY SECTION === */
.gallery {
    padding: var(--section-padding);
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.gallery .section-header {
    position: relative;
    z-index: 1;
}

.gallery .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

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

.gallery .section-title span {
    color: rgba(255, 255, 255, 0.9);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.gallery-item {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
}

.gallery-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}

.gallery-before,
.gallery-after {
    position: relative;
}

.gallery-before img,
.gallery-after img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-label {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    color: var(--primary);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.gallery-after .gallery-label {
    background: var(--primary-gradient);
    color: var(--white);
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.gallery-info {
    padding: 20px;
    text-align: center;
}

.gallery-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

/* === SCHEDULE INFO === */
.schedule {
    padding: var(--section-padding);
    background: var(--off-white);
}

.schedule .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.schedule-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.schedule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.schedule-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(0, 151, 167, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
}

.schedule-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.schedule-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
}

.schedule-card p strong {
    color: var(--primary);
    font-weight: 600;
}

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

.contact .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-family: var(--font-accent);
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.contact-info h2 span {
    color: var(--primary);
}

.contact-info>p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item i {
    width: 60px;
    height: 60px;
    background: rgba(0, 151, 167, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    transition: var(--transition);
}

.contact-item:hover i {
    background: var(--primary-gradient);
    color: var(--white);
}

.contact-item-text h4 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-item-text p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: var(--off-white);
    border-radius: 30px;
    padding: 50px;
    box-shadow: var(--shadow-sm);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid transparent;
    border-radius: 16px;
    background: var(--white);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 151, 167, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group textarea {
    resize: none;
    height: 150px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .btn {
    width: 100%;
    padding: 20px;
    font-size: 1.1rem;
}

/* === FOOTER === */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

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

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand .logo-text span {
    color: var(--primary-light);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

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

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom span {
    color: var(--primary-light);
}

/* === SCROLL REVEAL === */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-text {
        margin: 0 auto 35px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image-wrapper img {
        height: 400px;
    }

    .floating-card.card-1 {
        left: 20px;
    }

    .floating-card.card-2 {
        right: 20px;
    }

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

    .about-img-secondary {
        right: 20px;
    }

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 25px;
    }

    .stat-item {
        flex: 1 1 40%;
    }

    .floating-card {
        display: none;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .schedule .container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }

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

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

    .gallery-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px 0;
    }

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

    .hero {
        padding-top: 80px;
    }

    .logo-text {
        font-size: 0.95rem;
    }

    .btn {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .team-image img {
        height: 250px;
    }
}

/* === MOBILE NAVIGATION === */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--white);
    z-index: 1001;
    padding: 100px 40px 40px;
    transition: var(--transition-slow);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-nav-links a {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
}

.mobile-nav-links a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.mobile-nav-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 1.5rem;
    color: var(--dark);
    padding: 10px;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}