/* ==========================================================================
   Kids & Family - Premium Custom CSS (PDF Layout)
   ========================================================================== */

/* --- Fonts --- */
@font-face {
    font-family: 'GeorgiaCustom';
    src: url('./assets/fonts/georgia-2/georgia.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'GeorgiaCustom';
    src: url('./assets/fonts/georgia-2/georgiab.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'GeorgiaCustom';
    src: url('./assets/fonts/georgia-2/georgiai.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'GeorgiaCustom';
    src: url('./assets/fonts/georgia-2/georgiaz.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Open Sauce One';
    src: url('./assets/fonts/open-sauce/OpenSauceOne-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sauce One';
    src: url('./assets/fonts/open-sauce/OpenSauceOne-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sauce One';
    src: url('./assets/fonts/open-sauce/OpenSauceOne-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sauce One';
    src: url('./assets/fonts/open-sauce/OpenSauceOne-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sauce One';
    src: url('./assets/fonts/open-sauce/OpenSauceOne-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
  font-family: 'One Little Font';
  src:
    url('./assets/fonts/one-little/one-little-font-regular.woff2') format('woff2'),
    url('./assets/fonts/one-little/one-little-font-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Variables --- */
:root {
    /* Color Palette - Kids & Family Brand */
    --color-bg-main: #F4F1E9; /* Pale beige/cream matching the PDF background */
    --color-bg-white: #FFFFFF;
    
    --color-brand-pink: #F7D1D7;
    --color-brand-yellow: #FFF5BA;
    --color-brand-blue-light: #B8D8D8;
    --color-brand-blue: #92B4D2;
    --color-brand-green: #A8E6CF;
    --color-brand-lilac: #CDB4DB;
    --color-brand-orange: #FFDAC1;
    --color-brand-sage: #D6E0D9;
    
    /* Text Colors */
    --color-text-dark: #333333;
    --color-text-muted: #666666;
    --color-text-light: #FFFFFF;
    
    /* Typography */
    --font-primary: 'Open Sauce One', sans-serif;
    --font-accent: 'One Little Font', cursive;
    
    /* Spacing & Layout */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-premium: cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Reset & Base Styles --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-main);
    color: var(--color-text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-smooth); }

/* --- Typography Classes --- */
.highlight-font {
    font-family: 'One Little Font', cursive !important;
    font-weight: 400 !important;
    font-style: normal !important;
}
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: var(--color-text-light) !important; }

/* Section Titles */
.pdf-section-title {
    font-family: 'Open Sauce One', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--color-text-dark);
    margin-bottom: var(--space-md);
    letter-spacing: 0.02em;
}

/* Buttons */
.btn-pill {
    display: inline-block;
    width: auto;
    padding: 0.45rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: transform 0.5s var(--transition-premium), box-shadow 0.5s var(--transition-premium);
    color: #FFFFFF !important;
}

.btn-pill:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 25px rgba(44, 48, 46, 0.12);
}
.btn-blue { background-color: #BED7E6; }
.btn-blue-light { background-color: var(--color-brand-blue-light); }
.btn-pink { background-color: var(--color-brand-pink); }
.btn-yellow { background-color: var(--color-brand-yellow); }
.btn-green { background-color: var(--color-brand-green); }
.btn-lilac { background-color: var(--color-brand-lilac); }
.btn-orange { background-color: var(--color-brand-orange); }

/* --- Top Bar & Navbar --- */
.top-bar {
    background-color: #899A9F;
    color: #FFFFFF;
    text-align: center;
    padding: 0.3rem 1rem;
    font-size: 0.85rem;
    font-family: 'Open Sauce One', sans-serif;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    z-index: 101;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-bar-pink { background-color: #F7D1D7; color: #FFFFFF; }
.top-bar-yellow { background-color: #FAD02C; color: #FFFFFF; }
.top-bar-blue { background-color: #BED7E6; color: #FFFFFF; }
.top-bar-green { background-color: #D6E0D9; color: #FFFFFF; }

.top-bar a {
    text-decoration: underline;
    font-weight: 700;
    margin-left: 10px;
}

.navbar {
    position: absolute;
    top: 36px; /* Below top bar */
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition-smooth);
    padding: 1.5rem 2rem;
}

.navbar.scrolled {
    position: fixed;
    top: 0;
    background: rgba(255, 253, 249, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    isolation: isolate;
}

.nav-links::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 999px;
    box-shadow: 0 12px 35px rgba(44, 48, 46, 0.12);
    backdrop-filter: blur(14px);
    opacity: 0;
    transform: scaleX(0.96) translateY(-4px);
    transition: opacity 0.4s var(--transition-premium), transform 0.4s var(--transition-premium);
    z-index: -1;
}

.navbar:hover .nav-links::before,
.nav-links:hover::before {
    opacity: 1;
    transform: scaleX(1) translateY(0);
}

.navbar.scrolled .nav-links::before {
    display: none;
}

.nav-links a {
    position: relative;
    z-index: 2;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: color 0.4s var(--transition-premium), text-shadow 0.4s var(--transition-premium);
}

.navbar:hover .nav-links a {
    color: var(--color-text-dark);
    text-shadow: none;
}

.navbar.scrolled .nav-links a {
    color: var(--color-text-dark);
    text-shadow: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-brand-pink);
    transition: width 0.4s var(--transition-premium);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--color-brand-pink) !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background-color: white;
}
.navbar.scrolled .mobile-toggle span {
    background-color: var(--color-text-dark);
}

/* --- Hero Section --- */
.hero-pdf {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: -36px; /* Pull up under top bar if needed, or leave top bar above */
    padding-top: 120px;
}

.hero-pdf-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-pdf-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.hero-pdf-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo-wrapper {
    margin-bottom: 1rem;
}

.hero-main-logo {
    width: 240px;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
}

.hero-pdf-title {
    font-family: 'One Little Font', cursive !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-size: 4rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1.1;
}

.hero-info-block {
    color: white;
    text-align: center;
    font-family: 'Open Sauce One', sans-serif;
    font-weight: 300;
    font-size: 1.15rem;
    line-height: 1.6;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
    margin-top: 0.5rem;
    max-width: 700px;
}

.hero-info-block p {
    margin-bottom: 1.2rem;
}

.hero-info-highlight {
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.hero-info-promo {
    font-size: 0.95rem;
    opacity: 0.95;
    margin-bottom: 0 !important;
}

/* --- General Containers --- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-xl) 2rem;
}

/* --- Kids & Family todos los dias --- */
.daily-section {
    background-color: var(--color-bg-main);
    padding: 4rem 0;
}

.daily-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.daily-list li {
    font-size: 1.25rem;
    color: var(--color-text-muted);
}

/* --- Banners --- */
.banner-maria-section, .banner-jero-section {
    width: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-maria-section {
    background-image: url('./assets/ELEMENTOS_WEB_K&F/banners/BANNER_MARIA.jpg');
}

.banner-jero-section {
    background-image: url('./assets/ELEMENTOS_WEB_K&F/banners/BANNER_JERO.jpg');
}

/* --- Philosophy Section (50/50 Layout) --- */
.philosophy-section {
    display: flex;
    min-height: 500px;
    background-image: url('./assets/backgrounds/TEXTURA_LINEAS.jpg');
    background-repeat: repeat-x;
    background-size: auto 100%;
}

.philosophy-text-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem 6rem;
}

.philosophy-desc {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.philosophy-tags {
    font-size: 1.2rem;
    font-weight: 500;
    color: #BED7E6;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.philosophy-image-container {
    flex: 1;
    position: relative;
}

.philosophy-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Diseñado para cada edad --- */
.ages-section {
  width: 100%;
  min-height: 620px;
  padding: 5rem 0 6rem;
  background-image: url('./assets/backgrounds/banner-bg-cada-etapa-merece-su-espacio.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.ages-section .section-container {
  max-width: 900px;
  margin: 0 auto;
}

.ages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

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

.age-img-wrapper {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.6s var(--transition-premium), box-shadow 0.6s var(--transition-premium);
}

.age-img-wrapper img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    transition: transform 0.8s var(--transition-premium);
}

.age-card:hover .age-img-wrapper {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(44, 48, 46, 0.15);
}

.age-card:hover .age-img-wrapper img {
    transform: scale(1.06);
}

.age-info h3 {
    font-family: 'Open Sauce One', sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

/* Decorative Elements - Ages Section */
.deco-planta {
    position: absolute;
    bottom: -120px;
    left: -90px;
    width: 460px;
    height: 460px;
    background-image: url('./assets/ELEMENTOS_WEB_K&F/elementos decorativos/planta.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.65;
    z-index: 0;
    pointer-events: none;
}

.deco-planta-right {
    left: auto;
    right: -100px;
    bottom: -80px;
    width: 400px;
    height: 400px;
    background-image: url('./assets/ELEMENTOS_WEB_K&F/elementos decorativos/flor.png');
    opacity: 0.65;
}

/* --- Tenemos más para ti --- */
.more-section {
    background-image: url('./assets/backgrounds/TEXTURA_LINEAS.jpg');
    background-size: auto;
    background-position: top left;
    background-repeat: repeat;
    position: relative;
    overflow: hidden;
}

.more-section .section-container {
    position: relative;
    z-index: 2;
}

.more-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

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

.more-img-wrapper {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.6s var(--transition-premium), box-shadow 0.6s var(--transition-premium);
}

.more-img-wrapper img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: transform 0.8s var(--transition-premium);
}

.more-card:hover .more-img-wrapper {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(44, 48, 46, 0.15);
}

.more-card:hover .more-img-wrapper img {
    transform: scale(1.06);
}

.more-card h3 {
    font-family: 'GeorgiaCustom', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

/* Decorative Elements - More Section */
.deco-flor {
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background-image: url('./assets/ELEMENTOS_WEB_K&F/elementos decorativos/flor.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.45;
    z-index: 0;
    pointer-events: none;
}

/* --- Footer --- */
.footer-pdf {
    background-color: var(--color-bg-main);
    padding: 3rem 0;
}

.footer-centered-layout {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-left {
    align-items: flex-start;
    text-align: left;
}

.footer-center {
    align-items: center;
    text-align: center;
}

.footer-right {
    align-items: flex-end;
    text-align: right;
}

.footer-circular-logo {
    width: 250px;
    height: 250px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    margin-bottom: 1rem;
}

.footer-circular-logo img {
    max-width: 80%;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

.footer-col p, .footer-col a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.footer-copyright {
    font-size: 0.8rem !important;
    margin-top: 1rem;
}

.footer-whatsapp svg {
    width: 40px;
    height: 40px;
    fill: #25D366;
    margin-bottom: 1rem;
}

.footer-contact-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.footer-contact-links ul li {
    margin-bottom: 0.5rem;
}

.footer-contact-links ul li a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-contact-links ul li a:hover {
    color: var(--color-brand-pink);
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-social-icons a {
    color: var(--color-text-muted);
    background-color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: transform 0.3s var(--transition-premium), box-shadow 0.3s var(--transition-premium), opacity 0.3s var(--transition-premium);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social-icons a svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-social-icons a:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    opacity: 0.9;
}

/* --- Floating Elements --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 100;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

.mobile-sticky-cta {
    display: none;
}

/* ==========================================================================
   Internal Pages (Nosotros, Filosofia, Shop, Talleres)
   ========================================================================== */

/* --- Nosotros --- */
.hero-internal {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: -36px;
    padding-top: 100px;
}

.hero-internal-title {
    font-family: 'One Little Font', cursive;
    color: white;
    font-size: 4rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 2;
}

.white-section {
    background-color: #FFFFFF;
    padding: 4rem 2rem;
    text-align: center;
}

.white-section p {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Open Sauce One', sans-serif;
    font-weight: 300;
    font-size: 1.5rem;
    color: var(--color-text-muted);
}

.full-image-banner {
    width: 100%;
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.full-image-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
}

.full-image-banner p {
    font-family: 'One Little Font', cursive;
    color: white;
    font-size: 3rem;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* --- Filosofia --- */
.split-section {
    display: flex;
    flex-wrap: wrap;
    background-color: #F4F1E9;
}

.split-col {
    flex: 1 1 50%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
}

.split-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.split-col.image-col {
    padding: 2rem;
}

.split-text {
    font-family: 'Open Sauce One', sans-serif;
    font-weight: 300;
    font-size: 1.3rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.filosofia-intro {
    background-color: #FFFFFF;
    padding: 4rem 2rem;
    text-align: center;
}

.filosofia-intro p {
    font-family: 'Open Sauce One', sans-serif;
    font-weight: 300;
    font-size: 1.4rem;
    color: var(--color-text-muted);
    max-width: 900px;
    margin: 0 auto;
}

/* --- Shop --- */
.shop-hero {
    width: 100%;
    height: 60vh;
    background-image: url('./assets/ELEMENTOS_WEB_K&F/tenemos para ti/shop.jpg');
    background-size: cover;
    background-position: center;
    margin-top: -36px;
}

.shop-content {
    background-color: #F4F1E9;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
}

.shop-content p {
    font-family: 'Open Sauce One', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

.btn-shop-pill {
    display: inline-flex;
    align-items: center;
    background-color: #899A9F;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: 'Open Sauce One', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: none;
    gap: 10px;
    margin-bottom: 4rem;
}

.shop-floral {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background-image: url('./assets/ELEMENTOS_WEB_K&F/elementos decorativos/flor.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom left;
    opacity: 0.15;
    pointer-events: none;
}

.shop-contact {
    margin-top: 2rem;
    font-family: 'Open Sauce One', sans-serif;
    font-weight: 300;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

/* --- Talleres y Eventos --- */
.talleres-hero {
    width: 100%;
    height: 50vh;
    background-size: cover;
    background-position: center;
    margin-top: -36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.talleres-hero img {
    width: 200px;
    opacity: 0.9;
}

.talleres-content {
    display: flex;
    flex-wrap: wrap;
    background-image: url('./assets/backgrounds/TEXTURA_LINEAS.jpg');
    background-size: auto 100%;
    background-repeat: repeat-x;
    padding: 4rem 2rem;
}

.talleres-left {
    flex: 1 1 50%;
    padding-right: 2rem;
    min-width: 300px;
}

.talleres-right {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 300px;
}

.talleres-right img {
    width: 100%;
    border-radius: 0; /* Boxy look per layout */
    object-fit: cover;
}

.talleres-title {
    font-family: 'Open Sauce One', sans-serif;
    font-weight: 300;
    font-size: 2.5rem;
    color: #899A9F;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.talleres-subtitle {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.talleres-list {
    list-style: none;
    margin-bottom: 2rem;
}

.talleres-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 15px;
    color: var(--color-text-muted);
}
.talleres-list li::before {
    content: "- ";
    position: absolute;
    left: 0;
}

.talleres-price {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--color-text-dark);
}

.talleres-horarios {
    text-align: center;
    padding: 3rem;
    background-color: #F4F1E9;
    font-family: 'Open Sauce One', sans-serif;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* --- Floating Whatsapp Adjustment --- */
.whatsapp-float-green {
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.whatsapp-float-green svg {
    width: 35px;
    height: 35px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .hero-main-logo { width: 180px; }
    .nav-links { display: none; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-links.active a { color: var(--color-text-dark); text-shadow: none; }
    .mobile-toggle { display: flex; }
    
    /* --- Philosophy Section --- */
    .philosophy-section {
        flex-direction: column;
    }
    .philosophy-text-container {
        padding: 3rem 1.25rem;
    }
    .philosophy-image-container {
        min-height: 400px;
    }
    
    /* --- Banners --- */
    .banner-maria-section, .banner-jero-section {
        min-height: 400px;
        background-position: center center;
    }
    .footer-centered-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-left, .footer-right {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-pdf-title { font-size: 3rem; }
    .hero-main-logo { width: 140px; margin-bottom: 1rem; }
    .hero-pdf-content { padding: 1rem; }
    .hero-info-block { font-size: 0.95rem; margin-top: 1rem; text-shadow: 0 2px 8px rgba(0,0,0,0.8); }
    .hero-info-highlight { font-size: 1.1rem; }
    .hero-info-promo { font-size: 0.85rem; }
    .ages-grid, .more-grid { grid-template-columns: 1fr; }
    
    .mobile-sticky-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 1rem;
        background: rgba(255,255,255,0.9);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(0,0,0,0.05);
        z-index: 99;
    }
    
    .mobile-sticky-cta .btn-primary {
        width: 100%;
        display: block;
        padding: 1rem;
        background-color: var(--color-brand-green);
        color: var(--color-text-dark);
        border-radius: var(--radius-full);
        font-weight: bold;
        text-transform: uppercase;
    }
    .whatsapp-float { bottom: 90px; }
    .footer-pdf { padding-bottom: 80px; }
    
    /* Decorative adjustments for mobile */
    .ages-section::before, .ages-section::after {
        width: 250px;
        height: 180px;
        opacity: 0.45;
    }
    .ages-section::before { left: -80px; top: -10px; }
    .ages-section::after { right: -80px; top: -10px; }
    
    .more-section::after {
        width: 280px;
        height: 280px;
        right: -50px;
        top: 20%;
        opacity: 0.15;
    }
    
    .deco-planta {
        width: 260px;
        height: 260px;
        bottom: -40px;
        left: -40px;
        opacity: 0.40;
    }

    .deco-planta-right {
        width: 260px;
        height: 260px;
        bottom: -40px;
        right: -40px;
        opacity: 0.40;
    }
    
    .deco-flor {
        width: 220px;
        height: 220px;
        bottom: -20px;
        left: -20px;
        opacity: 0.40;
    }
}

/* --- Hero Banners Internos Globales --- */
.internal-hero-standard {
  width: 100%;
  min-height: calc(100vh - 60px);
  height: 760px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

@media (max-width: 768px) {
  .internal-hero-standard {
    height: 520px;
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .internal-hero-standard {
    height: 420px;
  }
}

.blog-hero {
  background-image: url('./assets/heroes/banner-blog.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 42%;
  background-color: #9FC3E0;
}


/* ========================================================= */
/* --- QA RESPONSIVE GLOBAL - KIDS & FAMILY --- */
/* ========================================================= */

@media (max-width: 992px) {
  .navbar { padding: 1rem 1.25rem; }
  .nav-container { justify-content: flex-end; }
  
  .mobile-toggle {
    display: flex;
    position: fixed;
    top: 52px;
    right: 22px;
    z-index: 10000;
  }
  
  .nav-links { display: none; }
  
  .nav-links.active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    padding: 4rem 2rem 6rem;
    border-radius: 0 !important;
    z-index: 9999;
    overflow-y: auto;
  }
  
  .nav-links.active a {
    color: #333 !important;
    font-family: 'Open Sauce One', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-shadow: none !important;
    text-align: center;
  }

  /* Ocultar elementos flotantes mientras el menú está abierto */
  body.menu-open .whatsapp-float,
  body.menu-open .mobile-sticky-cta {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .internal-hero-standard { height: 620px; }
}

@media (max-width: 768px) {
  /* Hero Home */
  .hero-pdf { min-height: 620px; height: auto; padding-top: 110px; padding-bottom: 3rem; }
  .hero-main-logo { width: 125px; }
  .hero-pdf-title { font-size: clamp(2.2rem, 10vw, 3.2rem); line-height: 1.05; }
  .hero-info-block { font-size: 0.9rem; line-height: 1.45; max-width: 92%; }
  
  /* Hero Internos */
  .internal-hero-standard { height: 520px; min-height: auto; }
  
  /* Background Position */
  .blog-hero { background-position: center center; }
  .hero-internal[style*="render-3-cambio-kids-and-moms"] { background-position: center 65% !important; }
  .hero-internal[style*="banner_talleres_2"] { background-position: center center !important; }
  .hero-internal[style*="render-kidsjpeg"] { background-position: center center !important; }
  
  /* Grids */
  .ages-grid, .more-grid { grid-template-columns: 1fr !important; max-width: 360px !important; gap: 2rem !important; }
  .age-img-wrapper, .more-img-wrapper { max-width: 100%; }
  
  /* Split Sections */
  .split-section { flex-direction: column !important; gap: 2rem !important; padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
  .split-col, .split-col.image-col, .split-col.split-text { flex: 1 1 100% !important; width: 100% !important; padding: 0 !important; }
  .split-col img { width: 100%; height: auto; }
  
  /* Textos */
  .pdf-section-title { font-size: 2rem; line-height: 1.2; }
  .white-section p, .shop-content p, .filosofia-intro p { font-size: 1.05rem !important; line-height: 1.55 !important; }
  h1.hero-internal-title { font-size: 2.8rem !important; }
  
  /* Footer */
  .footer-centered-layout { grid-template-columns: 1fr !important; text-align: center; gap: 2rem; }
  .footer-left, .footer-right, .footer-center { align-items: center !important; text-align: center !important; }
  .footer-circular-logo { width: 190px; height: 190px; }
  
  /* WhatsApp */
  .whatsapp-float { bottom: 95px; right: 18px; width: 56px; height: 56px; }
  .mobile-sticky-cta { display: block; }
}

@media (max-width: 480px) {
  /* Hero Home */
  .hero-pdf { min-height: 560px; padding-top: 95px; }
  .hero-main-logo { width: 110px; }
  
  /* Hero Internos */
  .internal-hero-standard { height: 420px; }
  
  /* Textos */
  .pdf-section-title { font-size: 1.75rem; }
  h1.hero-internal-title { font-size: 2.3rem !important; }
}


/* ========================================================= */

/* ========================================================= */

/* ========================================================= */
/* --- BANNERS COMO IMAGEN (Maria / Jero) --- */
/* ========================================================= */
.quote-banner-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================================= */
/* --- BACKGROUND FALLBACK PARA HEROES --- */
/* ========================================================= */
.hero-pdf, .hero-internal, .internal-hero-standard {
    background-color: #f4f0ec;
}

/* ========================================================= */
/* --- CORRECCION CRITICA MOBILE (Top Bar, Menu, Hero) --- */
/* ========================================================= */
@media (max-width: 768px) {
  .top-bar {
    position: relative !important;
    height: 86px !important;
    min-height: 86px !important;
    max-height: 86px !important;
    padding: 14px 76px 14px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    overflow: hidden !important;
    z-index: 1000 !important;
  }

  .top-bar * {
    font-size: clamp(0.78rem, 3vw, 1rem) !important;
    line-height: 1.25 !important;
    letter-spacing: 0.08em !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .navbar {
    position: absolute !important;
    top: 0 !important;
    height: 86px !important;
    width: 100% !important;
    background: transparent !important;
    z-index: 1002 !important;
  }

  .mobile-toggle {
    position: absolute !important;
    top: 50% !important;
    right: 22px !important;
    transform: translateY(-50%) !important;
    z-index: 1003 !important;
  }

  .hero-pdf,
  .hero-internal,
  .internal-hero-standard {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* ========================================================= */

/* CTA Reservaciones Desktop */
.nav-reserva-btn {
  background: #899A9F;
  color: #FFFFFF !important;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-shadow: none !important;
  margin-left: 0.5rem;
}

.nav-reserva-btn:hover {
  background: #6f8187;
  color: #FFFFFF !important;
}

@media (max-width: 992px) {
  .nav-reserva-btn {
    display: inline-block;
    margin-top: 1rem;
    margin-left: 0;
  }
}


/* Corrección Definitiva - Hero Font Server */
.hero-pdf-title,
.hero-pdf-title.highlight-font,
.hero-pdf-content h1,
.hero-pdf h1,
.hero-internal-title,
.full-image-banner p,
.highlight-font {
  font-family: 'One Little Font', cursive !important;
  font-weight: 400 !important;
  font-style: normal !important;
}
