@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800;900&display=swap');

:root {

    --text-color: #2D3748;
    --text-color-gray: #718096;
    --background-color: #F8FAFC;

    --customize-button-hover: #E3E6E8FF;
    --border-color: #CBD5E0;

    --primary-color: #7FDCC8;
    --primary-color-dark: #2A7A6F;
    --primary-color-light: #E6F9F5;
    --secondary-color: #A78BFA;
    --secondary-color-dark: #5B2DC7;
    --accent-color: #77D49F; /* 119, 212, 159 */
    --accent-color-transparent: rgba(119,212,159, .5);

    --mint-light: #E6F9F5;

    --teenager-color: #1A7A6A;
    --teenager-color-transparent: rgba(26, 122, 106, 0.25);
    --parent-color: #FFB5A7;
    --parent-color-transparent: rgba(255, 181, 167, 0.25);
    --teacher-color: #1E5FA8;
    --teacher-color-transparent: rgba(30, 95, 168, 0.25);
    --doctor-color: #7C3AED;
    --doctor-color-transparent: rgba(124, 58, 237, 0.25);

    --card-background: #ffffff;
    --white: #ffffff;

    --mint-color-1: #7FDCC8;
    --mint-color-2: #A78BFA;
    --mint-color-3: #77D49F;

    --aqua-color-1 : #6EC6CA;
    --aqua-color-2 : #A8E6CF;
    --aqua-color-3 : #FFB5A7;
    --aqua-color-3-transparent : rgba(255, 181, 167, 0.5);

    --lavender-color-1 : #B8A1E3;
    --lavender-color-2 : #D6CCF5;
    --lavender-color-3 : #FFB4A2;
    --lavender-color-3-transparent : rgba(255, 180, 162, 0.5);

    --sage-color-1 : #7FB77E;
    --sage-color-2 : #A5D7E8;
    --sage-color-3 : #F7C8A4;
    --sage-color-3-transparent : rgba(247, 200, 164, 0.5);

    --peach-color-1 : #FFB5A7;
    --peach-color-2 : #BDE0C4;
    --peach-color-3 : #A2D2FF;
    --peach-color-3-transparent : rgba(162, 210, 255, 0.5);

    --amber-color: #FDE047;
    --amber-color-transparent: #FEF9C3;


     /* sizes */
    --0-5-rem: 8px;
    --0-75-rem: 12px;
    --1-rem: 16px;
    --1-5-rem: 24px;
    --2-rem: 32px;
    --3-rem: 48px;
    --4-rem: 64px;

    --font-title: 'Nunito', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-title);
    font-optical-sizing: auto;
    font-style: normal;
}
a.home-link {
    font-family: var(--font-title);
}
a.home-link span#part1 {
    color: var(--primary-color);
}
a.home-link span#part2 {
    color: var(--secondary-color);
}

/* GENERAL */

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: var(--text-color);
    transition: 0.3s;
}


/* NAVBAR */

.navbar {
    background-color: white;
    color: var(--text-color);
    padding: var(--1-rem) 0;
    border-bottom: solid 1px #bababa;
    box-shadow: 0 0 4px rgba(0,0,0,0.25);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-color);
}

.navbar-brand img {
    max-height: 36px;
}

.navbar .navbar-collapse {
    flex-grow: unset;
}

.nav-link {
    font-weight: bold;
    margin-right: var(--1-rem);
    transition: 0.3s;
    border-radius: var(--1-5-rem);
    padding: 8px 16px;
}

.navbar .nav-link.active,
.navbar .nav-link.show  {
    color: var(--accent-color);
}

.navbar .nav-link.active:hover {
    color: var(--accent-color-transparent);
}

.navbar .nav-link:hover {
    color: var(--accent-color);
}

/* CUSTOMIZE BUTTON AND MENU */

.customize-menu-container {
    position: fixed;
    bottom: var(--2-rem);
    right: var(--2-rem);
    z-index: 9999;

}

.customize-button img{
    width: var(--3-rem);
    height: var(--3-rem);
    float: right;
    box-shadow: var(--secondary-color) 0 0 8px;
    padding: 8px;
    border-radius: 50%;
    background-color: var(--background-color);
}

.customize-button:hover img{
    box-shadow: var(--primary-color) 0 0 8px;
    transform: scale(1.1);
}

.customize-menu {
    border-radius: var(--1-rem);
    background-color: var(--background-color);
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all .3s ease;
    padding: var(--1-rem) var(--0-5-rem);
    box-shadow: 4px 4px 6px var(--secondary-color);
    display: none;
}
.customize-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(-20px);
    display: block;
}
#customize-menu-header {
    padding-bottom: var(--0-5-rem);
    border-bottom: solid 2px var(--border-color);
    margin-bottom: var(--0-5-rem);
    text-transform: uppercase;
    color: var(--border-color);
}
#customize-menu-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
#customize-menu-body > div{
    display: flex;
    align-items: center;
    padding: 6px 8px;
    text-decoration: none;
    color: var(--text-color);
    border-radius: var(--2-rem);
    border: solid 2px transparent;
}

#customize-menu-body > div:hover {
    background-color: var(--accent-color-transparent);
    border-color: var(--accent-color);
    color: var(--teenager-color);
    cursor: pointer;
}

.circle {
    border-radius: 50%;
    width: var(--1-rem);
    height: var(--1-rem);
    margin-right: 4px;
}
.bg-mint-1 {
    background-color: var(--mint-color-1);
}
.bg-mint-2 {
    background-color: var(--mint-color-2);
}
.bg-mint-3 {
    background-color: var(--mint-color-3);
}
.bg-aqua-1 {
    background-color: var(--aqua-color-1);
}
.bg-aqua-2 {
    background-color: var(--aqua-color-2);
}
.bg-aqua-3 {
    background-color: var(--aqua-color-3);
}
.bg-lavender-1 {
    background-color: var(--lavender-color-1);
}
.bg-lavender-2 {
    background-color: var(--lavender-color-2);
}
.bg-lavender-3 {
    background-color: var(--lavender-color-3);
}
.bg-sage-1 {
    background-color: var(--sage-color-1);
}
.bg-sage-2 {
    background-color: var(--sage-color-2);
}
.bg-sage-3 {
    background-color: var(--sage-color-3);
}

.bg-peach-1 {
    background-color: var(--peach-color-1);
}
.bg-peach-2 {
    background-color: var(--peach-color-2);
}
.bg-peach-3 {
    background-color: var(--peach-color-3);
}

.text-bg-accent {
    color: var(--text-color);
    background-color: var(--accent-color);
}

/* HERO */


.main-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-text {
    max-width: 700px;
    margin: auto;
    font-size: 1.3rem;
    opacity: 0.9;
}

.hero-home {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 24px 24px;
    text-align: center;
}

h1.hero-title {
    font-family: var(--font-title);
    font-size: clamp(34px,5vw,58px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 18px;
}
h1.hero-title span{
    color: var(--teenager-color);
}

.hero-sub {
    max-width: 560px;
    margin: 0 auto;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: auto;
}

/* BOTONES */

.btn-main {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-main:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline-main {
    border: solid 1px var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--0-5-rem);
}

.btn-outline-main:hover {
    background-color: var(--primary-color);
    color: white;
}

/* SECCIONES */

.info-section,
.collective-section {
    padding: 64px 20px 0;
}

section h2 {
    font-weight: 900;
    margin-bottom: var(--2-rem);
    margin-top: var(--3-rem);
}

/* TARJETA INFO */

.info-card {
    background-color: var(--card-background);
    padding: 35px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}


.info-card ul {
    margin-top: 20px;
}

.info-card li {
    margin-bottom: 12px;
}

/* TARJETAS COLECTIVOS */

.collective-card {
    background-color: var(--card-background);
    padding: 0;
    border-radius: var(--1-5-rem);
    text-align: center;
    height: 100%;
    transition: 0.3s;
    box-shadow: 0 10px var(--1-5-rem) rgba(0,0,0,0.08);
    text-decoration: none;
    color: var(--text-color);
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    border: solid 2px transparent;
}

.collective-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.collective-card .collective-card-inner {
    padding: var(--1-5-rem);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.collective-card img {
    border-top-left-radius: var(--1-rem);
    border-top-right-radius: var(--1-rem);
}

/* COLORES DIFERENTES */

.collective-card.adolescent {
    border-top: var(--0-5-rem) solid var(--teenager-color);
}

.collective-card.adolescent:hover {
    border-color: var(--teenager-color);
    box-shadow: 0 18px 40px var(--teenager-color-transparent);
}

.collective-card.adolescent h3 {
    color: var(--teenager-color);
}

.collective-card.parents {
    border-top: var(--0-5-rem) solid var(--parent-color);
}

.collective-card.parents:hover {
    border-color: var(--parent-color);
    box-shadow: 0 18px 40px var(--parent-color-transparent);
}

.collective-card.parents h3{
    color: var(--parent-color);
}

.collective-card.teachers {
    border-top: var(--0-5-rem) solid var(--teacher-color);
}

.collective-card.teachers:hover {
    border-color: var(--teacher-color);
    box-shadow: 0 18px 40px var(--teacher-color-transparent);
}

.collective-card.teachers h3 {
    color: var(--teacher-color);
}

.collective-card.health {
    border-top: var(--0-5-rem) solid var(--doctor-color);
}
.collective-card.health:hover {
    border-color: var(--doctor-color);
    box-shadow: 0 18px 40px var(--doctor-color-transparent);
}
.collective-card.health h3 {
    color: var(--doctor-color);
}

.collective-card .btn {
    border-radius: 32px;
    padding: var(--0-75-rem) var(--1-5-rem);
    margin-top: auto;
}

.btn.btn-teenager {
    background-color: var(--teenager-color);
    color: white;
}

.btn.btn-parent {
    background-color: var(--parent-color);
    color: white;
}

.btn.btn-teacher {
    background-color: var(--teacher-color);
    color: white;
}

.btn.btn-health {
    background-color: var(--doctor-color);
    color: white;
}

section.curiosities {
    margin-top: var(--4-rem);
    padding-top: var(--3-rem);
    margin-bottom: var(--4-rem);
    padding-bottom: var(--3-rem);
}
section.curiosities .container{
    margin: 0 auto;
}

section.curiosities div.card {
    height: 100%;
    font-size: 0.85em;
    border-radius: var(--1-5-rem);
}
section.curiosities div.card div.card-body {
    align-content: center;
    padding: var(--1-rem);
    font-size: 1.1em;
}

.card.bg-mint {
    background: linear-gradient(135deg,#E6F9F5 0%,#D0F5EE 100%);
    border: 2px solid #B0E8DC;
}
.card.bg-blue {
    background: linear-gradient(135deg,#DBEAFE 0%,#BFDBFE 100%);
    border: 2px solid #93C5FD;
}
.card.bg-lavender {
    background: linear-gradient(135deg,#EDE9FE 0%,#DDD6FE 100%);
    border: 2px solid #C4B5FD;
}
.card.bg-sage {
    background: linear-gradient(135deg,#DCFCE7 0%,#BBF7D0 100%);
    border: 2px solid #86EFAC;
}
.card.bg-peach {
    background: linear-gradient(135deg,#FFE8E4 0%,#FFD5CE 100%);
    border: 2px solid #FCA5A5;
}
.card.bg-amber {
    background: linear-gradient(135deg,#FEF9C3 0%,#FEF08A 100%);
    border: 2px solid #FDE047;
}

section.curiosities button.card img {
    max-width: var(--3-rem);
    max-height: var(--3-rem);
    padding-bottom: var(--0-5-rem);
}

section.curiosities .splide__pagination{
    bottom: -2em;
}

section.curiosities .splide__pagination__page {
    transition: width 300ms ease;
}
section.curiosities .splide__pagination__page.is-active {
    background-color: var(--accent-color);
    border-radius: 5px;
    transform: none;
    width: var(--2-rem);
}
/* NEWS */
section.news {
    margin-top: var(--4-rem);
    margin-bottom: var(--4-rem);
}
section.news .container {
    margin: 0 auto;
}

section.news div.single-new {
    padding:var(--1-rem);
    border-radius: var(--2-rem);
    margin: var(--0-5-rem);
}

section.news div.single-new.news-page {
    margin-bottom: var(--3-rem);
}

section.news div.single-new.production {
    background-color: var(--doctor-color-transparent);
}
section.news div.single-new.divulgation {
    background-color: var(--teacher-color-transparent);
}

section.news div.single-new a{
    text-decoration: none;
    color: var(--text-color);
}

section.news div.single-new span.new-type {
    text-transform: uppercase;
    font-size: 0.8em;
    font-weight: bold;
}
section.news div.single-new.production span.new-type {
    color: var(--doctor-color);
}
section.news div.single-new.divulgation span.new-type {
    color: var(--teacher-color);
}
section.news div.single-new.production button.btn-news {
    background-color: var(--doctor-color);
    color: white;
}
section.news div.single-new.divulgation button.btn-news {
    background-color: var(--teacher-color);
    color: white;
}

section.news div.single-new img {
    border-radius: var(--1-5-rem);
    height: 250px;
    width: 100%;
    object-fit: cover;
    margin-bottom: var(--1-rem);
}

section.news div.single-new p.new-title {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: var(--1-rem);
    margin-top:0;
}

/* WHY TEENFIT */
section.why-teenfit {
    background-color: var(--primary-color-light);
    margin-top: var(--3-rem);
    padding: var(--3-rem) var(--1-5-rem);
}
div.teenfit-inner {
    margin: 0 auto;
    text-align: center;
}
div.teenfit-inner-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: var(--1-5-rem);
}
div.teenfit-inner-cols div.card {
    background-color: white;
    border-radius: var(--1-5-rem);
    text-align: left;
}
div.teenfit-inner-cols div.card i {
    background-color: var(--teenager-color-transparent);
    color: var(--teenager-color);
    border-radius: 50%;
    padding: 2px;
    width: var(--2-rem);
    height: var(--2-rem);
    text-align: center;
    align-content: center;
}
.teenfit-inner h2{
    font-weight: 800;
    margin-bottom: var(--2-rem);
}
.text-green {
    font-weight: bold;
    color: var(--teenager-color);
}

/* EQUIPO */

.know-us {
    text-align: center;
    padding-top: var(--3-rem);

}

.know-us .label {
    font-size: 0.8em;
    border-radius: var(--1-5-rem);
    max-height: var(--2-rem);
    padding: var(--0-5-rem) var(--1-rem);
    font-weight: bold;
    white-space: nowrap;
    line-height: 3em;
}

.know-us .label.label-sport {
    color: var(--white);
    background-color: var(--teenager-color);
}

.know-us .label.label-medicine {
    color: var(--text-color);
    background-color: var(--amber-color);
}

.know-us .label.label-psychology {
    color: var(--white);
    background-color: var(--doctor-color);
}

.know-us .label.label-infirmary {
    color: var(--white);
    background-color: var(--teacher-color);
}

.know-us .label.label-documentalist {
    color: var(--text-color);
    background-color: var(--parent-color);
}

.know-us > img.group {
    border-radius: var(--2-rem);
    max-width: 90%;
}

.know-us .label img {
    max-height: var(--1-rem);
    margin-right: var(--0-5-rem);
}

.team {
    margin-left: auto;
    margin-right: auto;
    margin-top: var(--2-rem);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-gap: var(--1-5-rem);
}

.team-member-group {
    display: flex;
    flex-direction: row;
    width: 100%;
    border-radius: var(--1-rem);
    padding: var(--0-5-rem);
    gap: var(--0-5-rem);
    transition: all 0.2s;
    border: solid 5px white;
    background-color: white;
}
.team-member-group > div {
    flex: 1;
}
.team-member-group .team-member-description {
    text-align: left;
}
.team-member-group .team-member-description p {
    margin:0;
}
.team-member-name {
    font-family: var(--font-title);
    font-weight: bold;
    margin-top: var(--0-5-rem);
    margin-bottom: var(--0-5-rem);
    font-size: 1.15em;
}
.team-member-group .team-member-description .team-member-position {
    transition: all 0.8s;
}

.team-member-group:hover .team-member-description .team-member-position {
    display: block;
    height: unset;
    opacity: 1;
}
.team-member-group:hover {
    transform: scale(1.10);
}
.team-member-group img {
    border-radius: var(--1-rem);
}
.team-member-group.sport {
    border-color: var(--teenager-color);
}
.team-member-group.medicine {
    border-color: var(--amber-color);
}
.team-member-group.infirmary {
    border-color: var(--teacher-color);
}
.team-member-group.documentalist {
    border-color: var(--parent-color);
}
.team-member-group.psychology {
    border-color: var(--doctor-color);
}

.team-member {
    text-align: center;
    margin-bottom: var(--1-5-rem);
}

.team-member .team-member-name {
    font-family: var(--font-title);
    font-weight: bold;
    font-size: 0.8em;
    margin-top: var(--0-5-rem);
    margin-bottom: var(--0-5-rem);
}

.team-member .team-member-description {
    font-size: 0.7em;
}

.team-member img {
    border-radius: 50%;
    border: solid 4px;
    margin: 0 auto;
    text-align: center;
    max-width: 88px;
    height: auto;
    transition: transform 0.3s ease;
    transform: scale(1);
    width: 100%;
}

.team-member.sport img {
    border-color: var(--primary-color);
}
.team-member.medicine img {
    border-color: var(--amber-color);
}
.team-member.infirmary img{
    border-color: var(--teacher-color);
}
.team-member.documentalist img{
    border-color: var(--parent-color);
}
.team-member.psychology img{
    border-color: var(--doctor-color);
}

.team-member img:hover {
    transform: scale(1.25);
}


/* TARJETAS */

a.application-search {
    text-decoration: none;
    color: inherit;
}

.card-custom {
    background-color: var(--card-background);
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
    height: 100%;
}

.card-custom:hover {
    transform: translateY(-6px);
}

.collective-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* NEWS */

div#view-article {
    max-width: 1140px;
    margin: var(--2-rem) auto;
}

div#view-article #article-header {
    margin-bottom: var(--2-rem)
}

div#article-header .carousel-indicators {
    margin-bottom: 0;
    bottom: -32px;
}

div#article-header .carousel-indicators > button.active {
    background-color: var(--accent-color);
    width: var(--2-rem);
}

div#article-header .carousel-indicators > button{
    width: var(--0-5-rem);
    height: var(--0-5-rem);
    border-radius: 8px;
    background-color: var(--text-color-gray);
    opacity: 1;
    border: none;
    transition: width .6s ease;
}

div#article-header .carousel-control-next,
div#article-header .carousel-control-prev {
    width: 5%;
    opacity: 0.7;
}
div#article-header .carousel-control-next:hover,
div#article-header .carousel-control-prev:hover {
    opacity: 1;
}

div#article-header .carousel-control-next > i,
div#article-header .carousel-control-prev > i {
    color: white;
}

div#article-header .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#000'><path d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/></svg>");
}
div#article-header .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#000'><path d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/></svg>");
}

div#article-header img {
    max-width: 100%;
    border-radius: var(--2-rem);
    max-height: 500px;
    object-fit: cover;
}

p.article-date {
    font-size: 0.85em;
    color: var(--text-color-gray);
    margin-bottom: var(--1-rem);
}

div.article-body p{
    margin-bottom: var(--1-rem);
}

div.article-body div.article-gallery .col{
    text-align: center;
}
div.article-body div.article-gallery img{
    max-height: 250px;
}

/* ═══════════════════════════════════════════════
   NEW HOME PAGE LAYOUT — hero + sidebar + pricing cards
═══════════════════════════════════════════════ */
.ph-hero-full {
    padding: 36px 24px 30px;
    color: #fff;
}

#home-teen .ph-hero-full {
    background:linear-gradient(145deg,var(--primary-color-dark),var(--secondary-color-dark));
}

#home-parent .ph-hero-full {
    background:linear-gradient(145deg,#E8836B,var(--primary-color));
}

#home-teacher .ph-hero-full {
    background:linear-gradient(145deg,#6FA8DC,#1E5FA8);
}

#home-doctor .ph-hero-full {
    background:linear-gradient(145deg,var(--secondary-color),#6FA8DC);
}

.ph-hero-full-inner {
    max-width: 1180px;
    margin: 0 auto
}


.ph-hero-full p {
    font-size: 14px;
    opacity: .92;
    margin-bottom: 16px
}

.ph-hero-full .ph-quiz-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .18);
    border: 1.5px solid rgba(255, 255, 255, .4);
    color: #fff;
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    text-align: left;
    text-decoration: none;
}

.ph-hero-full .ph-quiz-cta:hover {
    background: rgba(255, 255, 255, .28)
}

.ph-hero-full .ph-quiz-cta small {
    display: block;
    font-size: 10px;
    font-weight: 400;
    opacity: .85;
    margin-top: 1px
}

/**************************************
 * Interactive image for teen profile *
 **************************************/

.teen-interactive-layout {
    display: flex;
    flex-direction: column;
    max-width: 1180px;
    margin: 0 auto;
    padding: var(--1-rem) var(--1-rem) 0;
}

.teen-interactive-layout p {
    color: var(--text-color-gray);
}

.teen-interactive-layout > img {
    border-radius: var(--2-rem);
}

/* INTERACTIVE IMAGE */
.teen-interactive-image {
    position: relative;
    max-width: 1376px;
}

.teen-interactive-image svg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    stroke: none;
    z-index: 22;
}

.teen-interactive-image svg path {
    fill-opacity: 0;
}

.teen-interactive-image svg path#zona1:hover {
    fill: red;
}
.teen-interactive-image svg path#zona2:hover {
    fill: orange;
}
.teen-interactive-image svg path#zona3:hover {
    fill: rebeccapurple;
}
.teen-interactive-image svg path#zona4:hover {
    fill: mediumpurple;
}
.teen-interactive-image svg path#zona5:hover {
    fill: greenyellow;
}
.teen-interactive-image svg path#zona6:hover {
    fill: yellow;
}
.teen-interactive-image svg path#zona7:hover {
    fill: deepskyblue;
}
.teen-interactive-image svg path#zona8:hover {
    fill: green;
}
.teen-interactive-image svg path#zona9:hover {
    fill: aquamarine;
}
.teen-interactive-image svg path#zona10:hover {
    fill: hotpink;
}

.teen-interactive-image svg path:hover {
    fill: var(--teenager-color);
    fill-opacity: 0.5;
    cursor: pointer;
}

div#interactive-popup {
    position: absolute;
    z-index: 1000;
    background: white;
    border: solid 1px var(--text-color);
    border-radius: var(--0-5-rem);
    padding: var(--0-5-rem);
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0,0,0,.25);
}
div#interactive-popup-header {
    color: var(--teenager-color);
    font-weight: bold;
    margin-bottom: var(--1-rem);
}
div#interactive-popup-body {
    display: flex;
    flex-direction: column;
    gap: var(--0-5-rem);
}
div#interactive-popup-body img {
    max-width: var(--3-rem);
    border-radius: var(--0-5-rem);
}

div#interactive-popup-body a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.85em;
    display: flex;
    flex-direction: row;
    gap: var(--0-5-rem);
    align-items: center;
}
/* END INTERACTIVE IMAGE */

.ph2-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    max-width: 1180px;
    margin: 0 auto;
    gap: var(--1-5-rem);
    padding: 28px var(--1-rem) 60px;
}

.ph2-sidebar {
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    align-self: start;
    position: sticky;
    top: 80px;
    max-height: 650px;
    overflow: auto;
}

.phf-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-color);
}

.phf-label {
    font-size: 0.9em;
    font-weight: 800;
    color: var(--text-color-gray);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: var(--1-5-rem) 0 var(--0-5-rem);
}

.phf-label:first-of-type {
    margin-top: 0;
}

.form-check {
    display: flex;
    align-items: center;
    gap: var(--0-5-rem);
    font-size: 0.85em;
    color: var(--text-color);
    cursor: pointer;
}

.form-check input:checked[type="checkbox"] {
    accent-color: var(--accent-color);
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
    width: var(--1-rem);
    height: var(--1-rem);
    flex-shrink: 0;
}

.form-check-input:focus {

    box-shadow: 0 0 0 0.25rem var(--accent-color-transparent);
}

.phf-more {
    width: 100%;
    margin-top: 18px;
    padding: 9px;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    transition: all .15s;
}

.ph2-main {
    min-width: 0
}

.ph2-search-row {
    margin-bottom: var(--2-rem);
}

.ph2-search-row .search-bar {
    max-width: none;
}


.search-bar-wrap {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    align-items: center
}

.search-bar {
    flex: 1;
    display: flex;
    align-items: center;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: 10px 20px;
    gap: 10px;
    transition: border-color .15s, box-shadow .15s;
}

.search-bar:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(127, 220, 200, .2)
}

.search-bar input[type=text] {
    border: none;
    outline: none;
    font-size: 15px;
    flex: 1;
    color: var(--text-main);
    background: transparent;
}
.search-bar input[type=text]:focus {
    box-shadow: none;
}


.search-icon {
    font-size: 18px;
    color: var(--text-color-gray)
}


/* ── Pricing-style cards (¿Sabías que? screenshot layout) ───── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--1-rem);
}

@media(max-width:900px) {
    .pricing-grid {
        grid-template-columns: 1fr
    }
}

.pricing-card {
    background: #fff;
    border: 1.5px solid var(--border-color);
    border-radius: var(--2-rem);
    padding: var(--2-rem) 26px 28px;
    position: relative;
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
    margin-bottom: var(--1-rem);
}

.pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, .08)
}

.pricing-card .pc-badge img {
    max-height: var(--1-rem);
}

.pricing-card .pc-icon-wrap img {
    max-height: var(--2-rem);
}

.pricing-card.top .pc-badge,
.pricing-card.top .pc-cta {
    background: var(--primary-color);
}

.pricing-card.top .pc-icon-wrap {
    background:#7FDCC81A;
}

.pricing-card.evidence .pc-badge,
.pricing-card.evidence .pc-cta {
    background:var(--secondary-color);
}

.pricing-card.evidence .pc-icon-wrap {
    background:#A78BFA1A;
}


.pricing-card.expert .pc-badge,
.pricing-card.expert .pc-cta {
    background:#6FA8DC;
}

.pricing-card.expert .pc-icon-wrap {
    background:#6FA8DC1A
}

.pricing-card.downloads .pc-badge,
.pricing-card.downloads .pc-cta {
    background: var(--teacher-color);
}

.pricing-card.downloads .pc-icon-wrap {
    background: var(--teacher-color);
}


.pc-badge {
    position: absolute;
    top: -14px;
    left: 24px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: .02em;
}

.pc-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--1-rem);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 14px 0 18px;
    font-size: 26px;
}

.pc-title {
    font-size: 22px;
    font-weight: 900;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.25;
}

.pc-cta {
    width: 100%;
    padding: 13px;
    border-radius: 14px;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all .18s;
    margin-bottom: 18px;
    text-decoration: none;
    text-align: center;
}

.pc-cta:hover {
    opacity: .88;
    transform: scale(1.02)
}

.pc-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
    flex: 1
}

.pc-features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.4
}

.pc-chk {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}


/* BUSCADOR */

.search-box {
    background-color: white;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 40px;
}

span#search-filters {
    background-color: var(--primary-color);
    color: var(--bs-tertiary-bg);
}
span#search-filters.collapsed {
    background-color: var(--bs-tertiary-bg) ;
    color: var(--text-color);

}

/* SEARCH RESULTS */
.applications-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--1-rem);
}

.applications-grid-full {
    margin-top: var(--2-rem);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--1-rem);
}

.single-application a {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--0-5-rem);
    color: var(--text-color);
    border: solid 1px var(--text-color-gray);
    padding: var(--0-5-rem);
    border-radius: var(--0-75-rem);
    height: 100%;
}

.single-application.app-page-2 {
    display: none;
}

.single-application.app-page-3 {
    display: none;
}

.single-application a img {
    border-radius: var(--0-5-rem);
}

/* FICHA APP */

.application-info .badge img {
    max-height: var(--0-75-rem);
    margin-right: var(--0-5-rem);
}

.info-section .img-rounded {
    border-radius: var(--1-rem);
}

.app-header {
    margin-bottom: 40px;
}

.app-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.store-buttons a {
    margin-right: 15px;
    margin-top: 15px;
}

/* FOOTER */

footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 32px 0;
    margin-top: 80px;
}

/* CONFIG PANEL */

.theme-panel {
    position: absolute;
    top: 80px;
    right: 20px;
    background-color: white;
    padding: 20px;
    border-radius: var(--1-rem);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    display: none;
    z-index: 999;
}

/* ADOLESCENTES */

.teenager-navbar .navbar-collapse {
    display: none;
    transition: opacity 1s ease;
    opacity: 0;
}

.teenager-navbar .navbar-collapse.show {
    display: flex;
    position: fixed;
    right: 32px;
    top: 64px;
    background-color: white;
    padding: 16px 32px;
    border-radius: 16px;
    border: solid 1px black;
    opacity: 1;
}

.rating-small img {
    height: 16px;
    margin: 0;
    padding: 0;
}

.lightbox-carousel > .carousel-inner > .carousel-item > .ratio{
    background-color:#fff0 !important;
}

a.application-search img {
    width: var(--4-rem);
}

div.application-info img {
    border-radius: var(--1-rem);
    max-width: 100%;
}

div.application-screenshots img {
    border-radius: var(--1-rem);
}

/* APPLICATION RATING MODAL */

.star-rating {
    font-size: 0;
    white-space: nowrap;
    display: inline-block;
    width: 100px;
    height: 20px;
    overflow: hidden;
    position: relative;
    background: url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cG9seWdvbiBmaWxsPSIjREREREREIiBwb2ludHM9IjEwLDAgMTMuMDksNi41ODMgMjAsNy42MzkgMTUsMTIuNzY0IDE2LjE4LDIwIDEwLDE2LjU4MyAzLjgyLDIwIDUsMTIuNzY0IDAsNy42MzkgNi45MSw2LjU4MyAiLz48L3N2Zz4=');
    background-size: contain;
}

.star-rating i {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 20%;
    z-index: 1;
    background: url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cG9seWdvbiBmaWxsPSIjRkZERjg4IiBwb2ludHM9IjEwLDAgMTMuMDksNi41ODMgMjAsNy42MzkgMTUsMTIuNzY0IDE2LjE4LDIwIDEwLDE2LjU4MyAzLjgyLDIwIDUsMTIuNzY0IDAsNy42MzkgNi45MSw2LjU4MyAiLz48L3N2Zz4=');
    background-size: contain;
}

.star-rating input {
    -moz-appearance: none;
    -webkit-appearance: none;
    opacity: 0;
    display: inline-block;
    width: 20%;
    height: 100%;
    margin: 0;
    padding: 0;
    z-index: 2;
    position: relative;
}

.star-rating input:hover+i,
.star-rating input:checked+i {
    opacity: 1;
}

.star-rating i~i {
    width: 40%;
}

.star-rating i~i~i {
    width: 60%;
}

.star-rating i~i~i~i {
    width: 80%;
}

.star-rating i~i~i~i~i {
    width: 100%;
}

/* RESPONSIVE */

@media(max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

}


/* THEMES */
[data-theme="aqua"] {
    --primary-color: var(--aqua-color-1);
    --secondary-color: var(--aqua-color-2);
    --accent-color: var(--aqua-color-3);
    --accent-color-transparent: var(--aqua-color-3-transparent);
    --text-color: #334155;

    --teenager-color: rgb(26, 110, 114);
    --teenager-color-transparent: rgba(26, 110, 114, 0.25);
    --parent-color: rgb(42, 140, 92);
    --parent-color-transparent: rgba(42, 140, 92, 0.25);
    --teacher-color: rgb(196, 90, 74);
    --teacher-color-transparent: rgba(196, 90, 74, 0.25);
    --doctor-color: rgb(42, 140, 92);
    --doctor-color-transparent: rgba(42, 140, 92, 0.25);
}

[data-theme="lavender"] {
    --primary-color: var(--lavender-color-1);
    --secondary-color: var(--lavender-color-2);
    --accent-color: var(--lavender-color-3);
    --accent-color-transparent: var(--lavender-color-3-transparent);
    --background-color: #FFF8F6;
    --text-color: #4B5563;

    --teenager-color: rgb(91, 63, 138);
    --teenager-color-transparent: rgba(91, 63, 138, 0.25);
    --parent-color: rgb(123, 94, 167);
    --parent-color-transparent: rgba(123, 94, 167, 0.25);
    --teacher-color: rgb(160, 82, 45);
    --teacher-color-transparent: rgba(160, 82, 45, 0.25);
    --doctor-color: rgb(123, 94, 167);
    --doctor-color-transparent: rgba(123, 94, 167, 0.25);
}

[data-theme="sage"] {
    --primary-color: var(--sage-color-1);
    --secondary-color: var(--sage-color-2);
    --accent-color: var(--sage-color-3);
    --accent-color-transparent: var(--sage-color-3-transparent);
    --text-color: #334155;

    --teenager-color: rgb(45, 107, 44);
    --teenager-color-transparent: rgba(45, 107, 44, 0.25);
    --parent-color: rgb(26, 107, 133);
    --parent-color-transparent: rgba(26, 107, 133, 0.25);
    --teacher-color: rgb(181, 97, 42);
    --teacher-color-transparent: rgba(181, 97, 42, 0.25);
    --doctor-color: rgb(26, 107, 133);
    --doctor-color-transparent: rgba(26, 107, 133, 0.25);
}

[data-theme="peach"] {
    --primary-color: var(--peach-color-1);
    --secondary-color: var(--peach-color-2);
    --accent-color: var(--peach-color-3);
    --accent-color-transparent: var(--peach-color-3-transparent);
    --background-color: #FFFDF8;
    --text-color: #475569;

    --teenager-color: rgb(184, 76, 56);
    --teenager-color-transparent: rgba(184, 76, 56, 0.25);
    --parent-color: rgb(42, 107, 58);
    --parent-color-transparent: rgba(42, 107, 58, 0.25);
    --teacher-color: rgb(26, 94, 168);
    --teacher-color-transparent: rgba(26, 94, 168, 0.25);
    --doctor-color: rgb(42, 107, 58);
    --doctor-color-transparent: rgba(42, 107, 58, 0.25);
}



/***********************
* Custom radio buttons *
************************/

.input-container-label {
    padding: 2.3rem 10px 0;
    height: 100%;
    font-size: 1.2em;
    color: var(--teenager-color);
    font-weight: bold;
    font-family: var(--font-title);
}

.radio-tile-group {
    display: flex;
    flex-wrap: wrap;
}
.radio-tile-group .input-container {
    flex: 50%;
}

.radio-container-group > img {
    border-radius: var(--1-5-rem);
    max-width: 100%;
}

@media (max-width: 600px){
    .radio-tile-group .input-container {
        flex: 100%;
    }
}

.radio-tile-group .input-container-inner {
    margin: 10px 5px;
    position: relative;
}
.radio-tile-group > div > div {
    height: 85%;
}

.radio-tile-group .input-container .radio-button {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    margin: 0;
    cursor: pointer;
    z-index: 900;
}
.radio-tile-group .input-container .radio-tile {
    border-radius: var(--0-5-rem);
    padding: 1.1rem 0 0.8rem;
    height: 100%;
    margin: 0;
    background-color: var(--white);
    border: solid 2px var(--border-color);
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.1);
}

div.buttons {
    margin-top: 60px;
}

.radio-tile-group .input-container .radio-tile-label {
    font-size: 1.2rem;
}
.radio-tile-group .input-container .radio-tile i {
    color: var(--text-color);
}
.radio-tile-group .input-container .radio-button:checked + .radio-tile i {
    color: var(--teacher-color);
}
.radio-tile-group .input-container .radio-button:checked + .radio-tile {
    border-color: var(--primary-color);
    background-color: var(--primary-color-light);
}
.radio-tile-group .input-container .radio-button:checked + .radio-tile .radio-tile-label {
    color: var(--teenager-color);
    font-weight: bold;
}
/* DISABLED OPTIONS */
.radio-container-group.disabled .input-container-label {
    background-color: #dddddd;
    color: #999999;
}
.radio-container-group.disabled .radio-tile {
    background-color: #dddddd !important;
}
.radio-container-group.disabled .radio-tile-label {
    color: #999999 !important;
}

/*********************
* END Custom buttons *
**********************/


/* MULTI STEP FORM */
form#multiStepForm div.step {
    display: none;
}
form#multiStepForm div.step.active {
    display: block;
}

.quiz-page h2 {
    color: var(--teenager-color);
}
