
/* =========================================================
   PLANTILLA SEO - GINECOLOGA CDMX
   5 secciones exactas:
   Banner / Biografía / Beneficios / Testimonios / Preguntas
   ========================================================= */

.gyn-template {
    --gyn-pink: #cb949a;
    --gyn-pink-dark: #b87881;
    --gyn-blue: #005799;
    --gyn-navy: #18314f;
    --gyn-text: #5f6874;
    --gyn-soft: #fff7f8;
    --gyn-white: #ffffff;
    overflow: hidden;
    background: #fff;
}

.gyn-template strong {
    font-weight: 900;
}

.gyn-section {
    position: relative;
    padding: 95px 0;
}

.gyn-heading h2 {
    color: var(--gyn-navy);
    font-size: clamp(32px, 4vw, 49px);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
}

.gyn-heading p,
.gyn-template p {
    color: var(--gyn-text);
    font-size: 16px;
    line-height: 1.82;
}

.gyn-heading--center {
    max-width: 880px;
    margin: 0 auto 42px;
    text-align: center;
}

/* BANNER */
.gyn-hero {
    position: relative;
    margin-top: 135px;
    padding: 95px 0 100px;
    background:
        radial-gradient(circle at 8% 15%, rgba(203,148,154,.23), transparent 28%),
        radial-gradient(circle at 93% 82%, rgba(0,87,153,.10), transparent 30%),
        linear-gradient(135deg, #fff6f7 0%, #ffffff 50%, #f5f9fc 100%);
}

.gyn-hero h1 {
    color: var(--gyn-navy);
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.04;
    letter-spacing: -.025em;
    margin-bottom: 24px;
}

.gyn-hero__content > p {
    max-width: 760px;
    font-size: 18px;
}

.gyn-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.gyn-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 22px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    transition: .25s ease;
}

.gyn-btn--primary {
    color: #fff !important;
    border: 2px solid var(--gyn-pink);
    background: linear-gradient(135deg, var(--gyn-pink), var(--gyn-pink-dark));
    box-shadow: 0 13px 30px rgba(203,148,154,.23);
}

.gyn-btn--primary:hover {
    transform: translateY(-2px);
}

.gyn-btn--outline {
    color: var(--gyn-navy) !important;
    border: 2px solid rgba(24,49,79,.16);
    background: #fff;
}

.gyn-hero__image,
.gyn-about__image,
.gyn-faq__image {
    padding: 11px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 20px 52px rgba(24,49,79,.12);
}

.gyn-hero__image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

/* BIO */
.gyn-about {
    background:
        radial-gradient(circle at 92% 10%, rgba(203,148,154,.14), transparent 25%),
        linear-gradient(145deg, #fff 0%, #fbf7f8 100%);
}

.gyn-about__image img,
.gyn-faq__image img {
    display: block;
    width: 100%;
    border-radius: 20px;
}

.gyn-about p {
    margin-bottom: 19px;
}

/* BENEFICIOS */
.gyn-benefits {
    background:
        radial-gradient(circle at 7% 15%, rgba(203,148,154,.19), transparent 28%),
        radial-gradient(circle at 93% 84%, rgba(0,87,153,.09), transparent 28%),
        linear-gradient(145deg, #fff3f5 0%, #fcfdfd 52%, #f2f7fb 100%);
}

.gyn-card {
    height: calc(100% - 30px);
    margin-bottom: 30px;
    padding: 30px 27px;
    border: 1px solid rgba(203,148,154,.28);
    border-radius: 19px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 11px 30px rgba(24,49,79,.055);
    transition: .25s ease;
}

.gyn-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(24,49,79,.10);
}

.gyn-card__icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 22px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--gyn-pink), var(--gyn-blue));
}

.gyn-card h3 {
    color: var(--gyn-navy);
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 12px;
}

/* TESTIMONIOS */
.gyn-testimonials {
    background:
        radial-gradient(circle at 88% 16%, rgba(203,148,154,.14), transparent 27%),
        #fff;
}

.gyn-testimonial {
    height: calc(100% - 25px);
    margin-bottom: 25px;
    padding: 12px;
    border: 1px solid #eadfe1;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(24,49,79,.075);
}

.gyn-testimonial img {
    display: block;
    width: 100%;
    min-height: 260px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
}

/* FAQ */
.gyn-faq {
    background:
        radial-gradient(circle at 5% 88%, rgba(203,148,154,.15), transparent 25%),
        linear-gradient(135deg, #fff7f8 0%, #fff 57%, #f3f8fb 100%);
}

.gyn-faq__links {
    margin-bottom: 14px;
}

.gyn-accordion {
    margin-top: 27px;
}

.gyn-faq-item {
    overflow: hidden;
    margin-bottom: 13px;
    border: 1px solid #eadfe1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(24,49,79,.04);
}

.gyn-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 19px 21px;
    color: var(--gyn-navy);
    text-align: left;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 700;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.gyn-faq-question span {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: var(--gyn-pink);
}

.gyn-faq-answer {
    display: none;
    padding: 0 21px 19px;
}

.gyn-faq-item.active .gyn-faq-answer {
    display: block;
}

.gyn-template p a {
    color: var(--gyn-blue);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .gyn-section,
    .gyn-hero {
        padding: 78px 0;
    }

    .gyn-hero {
        margin-top: 90px;
    }

    .gyn-hero__image,
    .gyn-about__image,
    .gyn-faq__image {
        margin-top: 38px;
    }
}

@media (max-width: 767px) {
    .gyn-hero {
        margin-top: 75px;
        padding: 64px 0;
    }

    .gyn-hero h1 {
        font-size: clamp(35px, 11vw, 49px);
    }

    .gyn-hero__image img {
        height: 365px;
    }

    .gyn-actions {
        flex-direction: column;
    }

    .gyn-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .gyn-section {
        padding: 66px 0;
    }

    .gyn-card {
        padding: 24px 21px;
    }

    .gyn-heading h2 {
        font-size: 31px;
    }
}
