/* ==========================================================================
   Signos y síntomas de XLH en niños — Page-specific stylesheet
   Reuses tokens, container, buttons, header & footer from styles.css.
   Sections:
     1. Page hero (banner image + text overlay + name caption)
     2. Breadcrumb
     3. Intro block ("El impacto de XLH en huesos…")
     4. Symptoms heading + accordion + symptom grid
     5. CTA banner
   ========================================================================== */


/* ==========================================================================
   1. PAGE HERO  — Banner image + text overlay + name caption
   --------------------------------------------------------------------------
   MOBILE + TABLET (<992px): stacked → image, then name, then text
   DESKTOP (>=992px)       : text overlays the faded-left of the photo;
                             text drives the height so it can't overflow;
                             name floats bottom-right.
   ========================================================================== */
.page-hero {
    background: var(--color-white);
    padding: 28px 0 0;
}

.page-hero__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: #E6E7EC;
    padding: 0;
    gap: 0;
}

/* --- Banner photo --- */
.page-hero__media {
    width: 100%;
    max-width: none;
    flex-shrink: 0;
    order: 1;
    align-self: stretch;
    margin: 0;
    background: transparent;
    aspect-ratio: auto;
}

.page-hero__media img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: 72% center;
    transition: transform var(--transition-base);
}

/* --- Name caption --- */
.page-hero__name {
    order: 2;
    padding: 14px 30px 0;
    position: static;
    right: auto;
    bottom: auto;
}

.page-hero__name p {
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
    color: var(--color-text);
    text-align: left;
}

/* --- Text block --- */
.page-hero__content {
    order: 3;
    padding: 18px 30px 30px;
    flex: 0 1 auto;
}

.page-hero__title {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-text);
    margin: 0 0 16px;
    letter-spacing: 0.3px;
}

/* Responsive line-break utility — hidden on mobile/tablet, shown on desktop.
   Used inside hero title AND name caption to force the Figma line breaks. */
.hero-br {
    display: none;
}

.page-hero__text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0 0 14px;
    max-width: none;
}

.page-hero__text:last-child {
    margin-bottom: 0;
}

/* The first paragraph on this page is a bare <p> (no .page-hero__text class),
   so match its typography to the rest of the hero copy. */
.page-hero__content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0 0 14px;
}

.page-hero__content p:last-child {
    margin-bottom: 0;
}

.accordion .accordian-close-icon{
	display: block;
	width: 20px;
	height: auto;
}

.accordion .is-open .accordian-close-icon{
	display: none;
}

.accordion .accordian-open-icon{
	display: none;
}

.accordion .is-open .accordian-open-icon{
	display: block;
	width: 20px;
	height: auto;
}

/* ---------- DESKTOP: overlay layout ---------- */
@media (min-width: 992px) {
    .page-hero {
        padding: 36px 0 0;
    }

    .page-hero__inner {
        display: block;
        min-height: 360px;
		border-radius: 0 !important;
    }

    /* image fills the card behind the text */
    .page-hero__media {
        position: absolute;
        inset: 0;
    }
    .page-hero__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* text drives the height, so it cannot overflow */
    .page-hero__content {
        position: relative;
        z-index: 1;
/*         width: 52%; */
		 width: 53%;
        padding: 52px 52px 52px 56px;
    }

    .page-hero__title {
        font-size: 40px;
        margin-bottom: 24px;
    }

    /* show forced line-breaks in title + name caption on desktop */
    .hero-br {
        display: inline;
    }

    .page-hero__text,
    .page-hero__content p {
        font-size: 18px;
    }

    /* name floats bottom-right over the photo */
    .page-hero__name {
        position: absolute;
        z-index: 1;
        right: 24px;
        bottom: 18px;
        padding: 0;
    }

    .page-hero__name p {
        color: var(--color-white);
        text-align: right;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    }
}


/* ==========================================================================
   2. BREADCRUMB
   ========================================================================== */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.5;
    padding: 32px 0 8px;
    letter-spacing: 0.3px;
}

.breadcrumb a {
    color: var(--color-cyan);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--color-cyan-dark);
}

.breadcrumb__sep {
    color: var(--color-text);
	font-weight: 400;
}

.breadcrumb__current {
    color: #333333;
}

@media (min-width: 768px) {
    .breadcrumb {
        font-size: 16px;
        padding: 36px 0 12px;
        margin-top: 30px;
    }
}


/* ==========================================================================
   3. INTRO BLOCK — "El impacto de XLH en huesos…"
   ========================================================================== */
.intro-block {
    background: var(--color-white);
    padding: 16px 0 32px;
}

.intro-block__heading {
    font-size: 25px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 20px;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.intro-block__text {
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    margin: 0 0 20px;
}

.intro-block__text:last-child {
    margin-bottom: 0;
}

.intro-block__text strong {
    font-weight: 700;
    color: var(--color-text);
}

@media (min-width: 768px) {
    .intro-block {
        padding: 20px 0 40px;
    }
}

@media (min-width: 992px) {
    .intro-block__heading {
        font-size: 25px;
    }
}


/* ==========================================================================
   4. SYMPTOMS SECTION HEADING + ACCORDION
   ========================================================================== */
.symptoms {
    background: var(--color-white);
    padding: 12px 0 48px;
}

.symptoms__heading {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 20px;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .symptoms {
        padding: 16px 0 64px;
    }
    .symptoms__heading {
        font-size: 24px;
        margin-bottom: 24px;
    }
}

@media (min-width: 992px) {
    .symptoms__heading {
        font-size: 25px;
    }
}


/* ==========================================================================
   5. ACCORDION
   ========================================================================== */
.accordion {
    width: 100%;
}

.accordion__item {
    border-top: 1px solid #D8DAE3;
    background: var(--color-white);
}

.accordion__item:last-child {
/*     border-bottom: 1px solid #D8DAE3; */
}

.accordion__item.is-open {
	border-top-color: #8586AE; 
    background: rgba(0, 0, 0, 0.03);
}

.accordion__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 16px 18px;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
    transition: background var(--transition-fast);
}

.accordion__trigger:hover {
    background: rgba(87, 181, 222, 0.06);
}

.accordion__title {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--xlh-argetina-xlh-secondary-colors-xlh-secondary-cyan-100, #57B5DE);
    letter-spacing: 0.4px;
/*     line-height: 1.3; */
	    line-height: 24px;
    letter-spacing: 0;
}

.accordion__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--color-cyan);
    transition: transform var(--transition-base);
}

.accordion__panel-inner { padding: 24px 16px 32px; }

/* Chevron drawn in CSS (the span is empty in the markup) */
.accordion__icon::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);     /* points down when closed */
    margin-top: -4px;             /* optical centering */
}

/* keep the svg rule in case an inline icon is added later */
.accordion__icon svg {
    width: 100%;
    height: 100%;
}

.accordion__item.is-open .accordion__icon {
    transform: rotate(180deg);    /* flips the chevron to point up */
}

.accordion__item:not(.is-open) .accordion__icon {
    color: var(--color-text);
    opacity: 0.55;
}

.accordion__panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
    background: #fff;
}

.accordion__item.is-open .accordion__panel {
    max-height: 4000px;
}

.accordion__inner {
    padding: 8px 18px 32px;
}

.accordion__placeholder {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-align: center;
    padding: 24px 0;
    margin: 0;
    font-style: italic;
}

@media (min-width: 768px) {
    .accordion__trigger {
        padding: 18px 24px;
    }
    .accordion__title {
        font-size: 20px;
    }
    .accordion__inner {
        padding: 16px 24px 40px;
    }
}


@media (min-width: 768px) {
    .accordion__trigger { padding: 22px 20px; }
    .accordion__label { 
	font-family: "Work Sans", sans-serif;
        font-weight: 700;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 0;
        text-transform: uppercase;
        color: #57B5DE;
	}
    .accordion__intro {
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    margin: 0 auto 28px;
    text-align: center;
    max-width: 1000px;
    }
}


/* ==========================================================================
   SYMPTOM ICON GRID
   ========================================================================== */
.symptom-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px 20px;
}

.symptom-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 280px;
}

.symptom-card__icon {
    width: 100%;
    max-width: 140px;
    aspect-ratio: 1 / 1;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.symptom-card__icon img,
.symptom-card__icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.symptom-card__label {
    font-size: 15px;
    line-height: 1.45;
    color: var(--color-text);
    margin: 0;
    padding: 0 8px;
}

@media (min-width: 600px) {
    .symptom-grid { gap: 32px 24px; }
    .symptom-card { width: calc(50% - 12px); }
}

@media (min-width: 768px) {
    .symptom-grid {
        gap: 40px 24px;
        max-width: 650px;
        margin: 0 auto;
    }
    .symptom-card {
        width: calc(50% - 12px);
        max-width: 280px;
    }

    .symptom-grid--two .symptom-card {
        width: calc(50% - 12px);
        max-width: 280px;
    }
    .symptom-grid--two {
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }
    .symptom-card__icon { max-width: 160px; }
    .symptom-card__label { font-size: 16px; }
}


/* ==========================================================================
   5. CTA BANNER — Purple band with cyan pill button
   ========================================================================== */
.cta-banner {
    background: var(--color-purple);
    padding: 48px 0;
    text-align: center;
}

.cta-banner__text {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-white);
    margin: 0 auto 2.5rem;
    line-height: 1.4;
}

.cta-banner__button {
    text-transform: uppercase;
    font-size: 13px;
    padding: 14px 24px;
}

@media (min-width: 768px) {
    .cta-banner { padding: 56px 0; }
    .cta-banner__text { font-size: 20px; }
    .cta-banner__button { font-size: 16px; padding: 14px 28px; }
}

@media (min-width: 992px) {
    .cta-banner { padding: 64px 0; }
    .cta-banner__text { font-size: 25px; }
}


/* ==========================================================================
   Content wrap
   ========================================================================== */
.content-wrap { padding: 0 56px; }

@media (max-width: 767px) {
    .content-wrap { padding: 16px; }
}
.MB35{
margin-bottom:35px;
}

@media (min-width: 768px) {
    .symptom-grid--three {
        max-width: 1000px;
        margin: 0 auto;
    }

    .symptom-grid--three .symptom-card {
        width: calc(33.333% - 16px);
        max-width: 280px;
    }
}