/* ————————————————————————————————
    ESTILOS GENERALES
———————————————————————————————— */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #ffffff;
    color: #1A1A1A;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* ————————————————————————————————
    HEADER
———————————————————————————————— */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(125, 193, 180, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    height: 130px;
}

.logo-img {
    height: 100%;
    width: auto;
    display: block;
}

/* ————————————————————————————————
    NAV (DESKTOP)
———————————————————————————————— */
.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    text-decoration: none;
    color: #1A1A1A;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
    font-size: 0.95rem;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #7DC1B4, #E8B74D);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.nav a:hover {
    color: #7DC1B4;
}

/* ————————————————————————————————
    MENÚ MÓVIL
———————————————————————————————— */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

.nav-toggle .line {
    width: 26px;
    height: 2.5px;
    background: #1A1A1A;
    border-radius: 2px;
    display: block;
    margin-bottom: 5px;
    transition: 0.3s;
}

.nav-toggle .arrow {
    width: 10px;
    height: 10px;
    border-right: 2.5px solid #1A1A1A;
    border-bottom: 2.5px solid #1A1A1A;
    transform: rotate(45deg);
    transition: 0.3s;
    display: block;
    margin-left: 8px;
}

.nav-toggle.open .line {
    transform: scaleX(0);
}

.nav-toggle.open .arrow {
    transform: rotate(-135deg);
}

@media (max-width: 900px) {
    .nav {
        position: absolute;
        top: 85px;
        right: 0;
        background: white;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 25px 0;
        gap: 25px;
        border-bottom: 1px solid #eee;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: 0.35s;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }

    .nav-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle {
        display: block;
    }
}

/* ————————————————————————————————
    HERO
———————————————————————————————— */
.hero {
    position: relative;
    padding: 45px 0 40px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #F0F9F7 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(125, 193, 180, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(232, 183, 77, 0.06) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(125, 193, 180, 0.15), rgba(232, 183, 77, 0.15));
    color: #4A9B8B;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 1px;
    border: 1px solid rgba(125, 193, 180, 0.25);
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 10px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #4A9B8B;
    margin-bottom: 6px;
    font-weight: 500;
}

.hero-info {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
}

/* CTA */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: linear-gradient(135deg, #7DC1B4 0%, #5FAA9D 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(125, 193, 180, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 35px rgba(125, 193, 180, 0.45);
}

.btn-cta svg {
    stroke-width: 2.5;
}

/* ————————————————————————————————
    SECCIONES
———————————————————————————————— */
.section {
    padding: 32px 0;
}

.section-title {
    text-align: center;
    font-size: 1.9rem;
    color: #1A1A1A;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #7DC1B4, #E8B74D);
    border-radius: 2px;
}

/* ————————————————————————————————
    SOBRE MI
———————————————————————————————— */
.about {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 25px;
    align-items: center;
}

.about-visual {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    max-width: 200px;
    margin: 0 auto;
}

.about-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.about-decoration {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(125, 193, 180, 0.3), rgba(232, 183, 77, 0.3));
    border-radius: 10%;
    z-index: -1;
}

.about-text h2 {
    color: #4A9B8B;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4A4A4A;
    margin-bottom: 15px;
}

/* Destacados */
.highlight {
    font-weight: 600;
    color: #4A9B8B;
}

.highlight-strong {
    font-weight: 700;
    color: #3A7B6F;
    background: rgba(125, 193, 180, 0.12);
    padding: 2px 6px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .about {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-visual {
        max-width: 250px;
    }

    .hero-title {
        font-size: 1.9rem;
    }
}

/* ————————————————————————————————
    SERVICIOS
———————————————————————————————— */
.services-section {
    background: linear-gradient(135deg, #F8FCFB 0%, #ffffff 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    border: 2px solid transparent;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Línea superior animada */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #7DC1B4, #E8B74D);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Hover general */
.service-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(125, 193, 180, 0.45);
    box-shadow: 0 15px 45px rgba(125, 193, 180, 0.2);
}

/* Glow */
.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(125, 193, 180, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity .4s ease;
}

.service-card:hover::after {
    opacity: 1;
}

/* Íconos */
.service-icon svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.8;
    stroke: url(#iconGradient);
    display: block;
    margin: 0 auto 20px auto;
}

.service-card:hover svg {
    transform: scale(1.10);
    filter: drop-shadow(0 4px 8px rgba(125, 193, 180, 0.35));
    transition: transform 0.3s ease;
}

.service-card h3 {
    margin-bottom: 20px;
    color: #1A1A1A;
    font-size: 1.5rem;
    font-weight: 700;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    margin-bottom: 12px;
    color: #4A4A4A;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
}

.service-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #7DC1B4;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Forzar ícono de Salud a color sólido */
.service-card:nth-child(4) .service-icon svg {
    stroke: #4A9B8B !important;
}

/* ————————————————————————————————
    CONTACTO
———————————————————————————————— */
.contact-section {
    background: linear-gradient(135deg, #F0F9F7 0%, #ffffff 100%);
    text-align: center;
}

.contact-text {
    margin-bottom: 30px;
    font-size: 1.05rem;
    color: #4A4A4A;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ————————————————————————————————
    FOOTER
———————————————————————————————— */
.footer {
    background: linear-gradient(135deg, #4A9B8B 0%, #3A7B6F 100%);
    padding: 35px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    filter: none;
    opacity: 1;
}

.footer p {
    color: #ffffff;
    font-size: 0.95rem;
    opacity: 0.95;
}

/* ————————————————————————————————
    ANIMACIONES
———————————————————————————————— */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ————————————————————————————————
    RESPONSIVE EXTRA
———————————————————————————————— */
@media (max-width: 600px) {
    .hero {
        padding: 70px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        letter-spacing: .5px;
        font-weight: 700;
    }

    .btn-cta {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
}

/* ————————————————————————————————
    LISTA SOBRE MÍ
———————————————————————————————— */
.about-list {
    list-style: none;
    margin-top: 10px;
    margin-bottom: 20px;
}

.about-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 1rem;
    color: #4A4A4A;
}

.about-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2rem;
    color: #4A9B8B;
    line-height: 1;
}
