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

:root {
    --navy: #0056a3;
    --dark-navy: #003d7a;
    --teal: #17a697;
    --green: #5cb85c;
    --gold: #ffc107;
    --light-bg: #f0f5f7;
    --white: #ffffff;
    --text-dark: #141414;
    --text-light: #666666;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAVBAR */
.navbar {
    background: var(--white);
    border-bottom: 2px solid var(--teal);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(27, 169, 169, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
}

.logo-img {
    height: 200px;
    height: 160px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

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

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

.btn-contacto {
    background: var(--teal);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-contacto:hover {
    background: var(--green);
}

/* HERO */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark-navy) 50%, var(--teal) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-logo {
    height: 120px;
    width: auto;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

.hero h1 {
    font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
    font-size: 4rem;
    margin: 20px 0;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-primary {
    background: var(--green);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    border: 2px solid white;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 1rem;
}

.btn-secondary:hover {
    background: white;
    color: var(--navy);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s;
    border: 2px solid rgba(255,255,255,0.3);
}

.social-links a:hover {
    background: var(--green);
    border-color: var(--green);
    transform: translateY(-4px);
}

/* SERVICIOS */
.servicios {
    padding: 80px 20px;
    background: var(--light-bg);
}

.servicios h2 {
    font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
    font-size: 3rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

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

.servicio-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(27, 169, 169, 0.15);
    transition: all 0.3s;
    border-top: 4px solid var(--teal);
}

.servicio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(27, 169, 169, 0.25);
}

.servicio-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.servicio-card h3 {
    color: var(--navy);
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.especialista {
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

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

.servicio-content h4 {
    color: var(--green);
    margin-top: 16px;
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 600;
}

.servicio-content ul {
    list-style-position: inside;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

.servicio-content li {
    margin-bottom: 6px;
}

/* PROFESIONALES */
.profesionales {
    padding: 80px 20px;
    background: white;
}

.profesionales h2 {
    font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
    font-size: 3rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 10px;
}

.profesionales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.prof-card {
    text-align: center;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(26, 58, 74, 0.15);
    transition: all 0.3s;
}

.prof-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(27, 169, 169, 0.25);
}

.prof-img {
    width: 100%;
    height: 450px;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.prof-card h3 {
    color: var(--navy);
    font-size: 1.3rem;
    padding: 20px 20px 10px;
    margin: 0;
}

.especialidad {
    color: var(--teal);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0 20px;
}

.bio {
    color: var(--text-light);
    font-size: 0.95rem;
    padding: 12px 20px 20px;
    line-height: 1.6;
}

/* UBICACIÓN */
.ubicacion {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
    color: white;
}

.ubicacion h2 {
    font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
    font-size: 3rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 50px;
}

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

.info-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.info-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-4px);
}

.info-card h3 {
    color: var(--gold);
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.info-card p {
    color: rgba(255,255,255,0.95);
    line-height: 1.8;
    margin-bottom: 12px;
}

.btn-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
    transition: all 0.3s;
}

.btn-link:hover {
    color: var(--green);
    transform: translateX(4px);
}

.cta-section {
    background: rgba(255,255,255,0.1);
    padding: 50px 30px;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.cta-section h3 {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 30px;
    font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* FOOTER */
footer {
    background: linear-gradient(135deg, #22c55e 0%, #3b82f6 50%, #eab308 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-info h3 {
    color: #ffffff;
    margin-bottom: 10px;
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 1.6rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.footer-social h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-family: "Courier New", monospace;
    font-size: 1.1rem;
    font-weight: bold;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: rgba(255,255,255,0.6);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 2px solid rgba(255,255,255,0.3);
    padding-top: 20px;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-family: "Comic Sans MS", cursive;
}
}

/* ANIMATIONS */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInDown 0.6s ease;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .servicios h2,
    .profesionales h2,
    .ubicacion h2 {
        font-size: 2rem;
    }
    
    .cta-section h3 {
        font-size: 1.5rem;
    }
}

/* HERO LOGO GRANDE */
.hero-logo-large {
    height: clamp(200px, 30vw, 400px);
    width: auto;
    max-width: 100%;
    margin: 0 auto 30px;
    display: block;
    animation: fadeInDown 0.8s ease;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

.hero-tagline {
    font-size: clamp(6rem, 22vw, 15rem);
    color: var(--gold); font-family: "Garamond", "Georgia", serif;
    margin: 0 0 40px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 2px;
    animation: fadeInDown 1s ease;
}

/* TESTIMONIOS */
.testimonios {
    padding: 80px 20px;
    background: var(--light-bg);
}

.testimonios h2 {
    font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
    font-size: 3rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 10px;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.testimonio-card {
    background: white;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(27, 169, 169, 0.12);
    border-left: 4px solid var(--teal);
    transition: all 0.3s;
}

.testimonio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(27, 169, 169, 0.2);
}

.stars {
    color: #FFD700;
    font-size: 1.1rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonio-text {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 12px 0;
    font-style: italic;
}

.testimonio-autor {
    color: var(--teal);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 16px;
}

/* PRODUCTOS */
.productos {
    padding: 80px 20px;
    background: white;
}

.productos h2 {
    font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
    font-size: 3rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 10px;
}

.producto-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(27, 169, 169, 0.15);
    max-width: 500px;
    margin: 50px auto;
    border-top: 4px solid var(--green);
    transition: all 0.3s;
}

.producto-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(27, 169, 169, 0.25);
}

.producto-header {
    position: relative;
    margin-bottom: 20px;
}

.badge-venta {
    display: inline-block;
    background: var(--teal);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.producto-img {
    width: 100%;
    max-width: 350px;
    border-radius: 12px;
    margin: 20px auto;
    display: block;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.producto-card h3 {
    color: var(--navy);
    font-size: 1.6rem;
    text-align: center;
    margin: 20px 0;
}

.precio {
    text-align: center;
    font-size: 1.8rem;
    color: var(--green);
    font-weight: 700;
    margin-bottom: 20px;
}

.producto-content h4 {
    color: var(--teal);
    margin: 20px 0 12px;
    font-size: 1rem;
}

.producto-content ul {
    list-style-position: inside;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

.producto-content li {
    margin-bottom: 8px;
}

.producto-descripcion {
    color: var(--text-light);
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 20px 0;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 8px;
}

.producto-card .btn-primary {
    width: 100%;
    justify-content: center;
}


/* NAVBAR LOGO LINK */
.nav-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s;
}

.nav-logo-link:hover {
    transform: scale(1.05);
}

.nav-logo-link .logo-img {
    height: 200px;
    height: 140px;
    width: auto;
}
