/* ==========================================================================
   Signos y síntomas de XLH en adultos — Page-specific stylesheet
   Reuses tokens, container, buttons, header, footer & video-modal from styles.css.
   Sections:
     1. Page hero (banner image + text overlay + name caption)
     2. Breadcrumb
     3. Intro block ("Convivir con XLH en la adultez")
     4. Symptoms heading
     5. Accordion (Huesos, Músculos, Dientes)
     6. Symptom intro paragraph + 3-col icon grid
     7. CTA banner (purple band with cyan pill)
   ========================================================================== */


/* ==========================================================================
   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 is BOTH the rounded card and the positioning anchor */
.page-hero__inner {
    position: relative;
    display: flex;
    flex-direction: column;          /* MOBILE/TABLET: stacked */
    border-radius: var(--radius-card);
    overflow: hidden;
    background: #E6E7EC;
}

/* --- Banner photo --- */
.page-hero__media {
    width: 100%;
    order: 1;                        /* MOBILE/TABLET: image first */
}

.page-hero__media img {
    display: block;
    width: 100%;
    height: 220px;                   /* MOBILE/TABLET: fixed strip */
    object-fit: cover;
    object-position: 72% center;     /* keep the person in frame on the crop */
    transition: transform var(--transition-base);
}

/* --- Name caption --- */
.page-hero__name {
    order: 2;                        /* MOBILE/TABLET: right after the image */
    padding: 14px 30px 0;
}

.page-hero__name p {
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
    color: var(--color-text);        /* dark text on the light area */
    text-align: center;
}

/* --- Text block --- */
.page-hero__content {
    order: 3;                        /* MOBILE/TABLET: last */
    padding: 18px 30px 30px;
}

.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;
	line-height: 44px;
		letter-spacing: 0;
}

/* forced title line-breaks only kick in on desktop (see >=992px) */
.page-hero__title .hero-br {
    display: none;
}

.page-hero__text {
    font-size: 16px;
/*     line-height: 1.7; */
    color: var(--color-text);
    margin: 0;
	line-height: 27px;
	letter-spacing: 0;
}

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

    /* drop flex; the image is positioned behind the text */
    .page-hero__inner {
        display: block;
        min-height: 320px;
		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%;                /* fill whatever height the text needs */
        object-fit: cover;
      
    }

    /* text stays in normal flow → it DEFINES the card height,
       so it can never overflow the banner */
    .page-hero__content {
        position: relative;
        z-index: 1;
        width: 44%;
        padding: 52px 52px 52px 56px;
    }

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

    .page-hero__title .hero-br {
        display: inline;             /* SIGNOS Y / SÍNTOMAS DE / XLH EN ADULTOS */
    }

    .page-hero__text {
        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;
	line-height: 24px;
    letter-spacing: 0;
}

.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: var(--color-grey-20, #333);
}

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


/* ==========================================================================
   3. INTRO BLOCK — "Convivir con XLH en la adultez"
   ========================================================================== */
.intro-block {
    background: var(--color-white);
    padding: 16px 0 24px;
}

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

.intro-block__text {
    font-size: 16px;
/*     line-height: 1.65; */
    color: var(--color-text);
    margin: 0 0 18px;
	line-height: 24px;
    letter-spacing: 0;
}

.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 32px;
    }
}



/* ==========================================================================
   4. SYMPTOMS ACCORDION — Wrapper + heading
   ========================================================================== */
.symptoms-accordion {
    background: var(--color-white);
    padding: 16px 0 48px;
}

.symptoms-accordion__heading {
    font-size: 25px;
    font-weight: 600;
    text-transform: none;
    color: var(--color-text);
    margin: 0 0 24px;
    letter-spacing: 0.3px;
/*     line-height: 1.2; */
	  line-height: 30px;
    letter-spacing: 0;
	
}

@media (min-width: 768px) {
    .symptoms-accordion {
        padding: 24px 0 64px;
    }
    .symptoms-accordion__heading {
        margin-bottom: 28px;
    }
}



/* ==========================================================================
   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);
}

/* 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 0 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 0 40px;
    }
}


/* ==========================================================================
   6. SYMPTOM INTRO + ICON GRID (inside accordion panels)
   ========================================================================== */
.symptom-intro {
    font-size: 16px;
/*     line-height: 1.65; */
    color: var(--color-text);
    text-align: center;
    margin: 0 auto 32px;
	    line-height: 24px;
    letter-spacing: 0;
	
}

.symptom-intro strong {
    font-weight: 700;
}

.symptom-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px 24px;
    justify-items: center;
    align-items: start;
}

.symptom-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.symptom-card__icon {
    width: 160px;
    height: 160px;
    margin-bottom: 14px;
}

.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;
	line-height: 18px;
    letter-spacing: 0;
}

@media (min-width: 600px) {
    .symptom-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 32px;
    }
}

@media (min-width: 900px) {
    .symptom-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 48px 24px;
    }
	.symptom-grid-two{
		gap: 48px 24px;
        display: grid;
        justify-content: center;
        grid-template-columns: repeat(2, 250px);
	}
    .symptom-card__icon {
        width: 180px;
        height: 180px;
    }
    .symptom-card__label {
        font-size: 16px;
    }
    .symptom-intro {
        margin-bottom: 40px;
    }
}


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

.cta-banner__text {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-white);
    margin: 0 0 22px;
    line-height: 1.3;
}

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

@media (min-width: 768px) {
    .cta-banner {
        padding: 48px 0;
    }
    .cta-banner__text {
        font-size: 25px;
        margin-bottom: 24px;
    }
    .cta-banner__button {
        font-size: 16px;
        padding: 14px 32px;
    }
}

.MB25 {
    margin-bottom: 35px;
}


.content-wrap {
    padding: 0 85px;
}

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