/* 
 * Reflexología Landing Page — Mobile First Premium
 * Escuela Alba Granada
 * Palette: Sage Green, Gold, Cream
 */

:root {
    --sage: #4A7C59;
    --sage-dark: #375D43;
    --sage-deep: #1a2a1e;
    --sage-light: #E8F0EA;
    --gold: #C5A065;
    --gold-dark: #B08D55;
    --gold-glow: rgba(197, 160, 101, 0.25);
    --cream: #FDFBF7;
    --cream-warm: #F8F3EB;
    --white: #ffffff;
    --text: #2D2D2D;
    --text-light: #5C5C5C;
    --brown-dark: #2D1A16;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', -apple-system, sans-serif;

    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 50px rgba(0, 0, 0, 0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.block-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--sage-dark);
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--gold-glow);
    display: inline-block;
    padding-bottom: 4px;
}

/* === Reset === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--cream);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    line-height: 1.25;
    color: var(--sage-dark);
}

.container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Fade-In Animation === */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   URGENCY BANNER
   ============================================ */
.urgency-bar {
    background: linear-gradient(90deg, #B8860B, #D4A530, #B8860B);
    color: var(--white);
    text-align: center;
    padding: 6px 12px;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: urgency-glow 2s ease-in-out infinite;
}

@keyframes urgency-glow {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
    }
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background: var(--white);
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid var(--sage-light);
}

.header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 60px;
}

.header-title {
    font-size: 1.25rem;
    color: var(--sage);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.header-tagline {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold);
    font-weight: 700;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    padding: 60px 0 50px;
    text-align: center;
    background: var(--sage-deep);
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(170deg,
            rgba(74, 124, 89, 0.6) 0%,
            rgba(26, 42, 30, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 28px;
    font-weight: 700;
}

.hero-heading {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-lead {
    font-size: 1rem;
    line-height: 1.75;
    max-width: 560px;
    margin: 0 auto;
    font-weight: 300;
    opacity: 0.92;
}

.hero-lead strong {
    color: var(--gold);
    font-weight: 700;
}

/* Featured Image */
.featured-img {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.featured-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   PILARES (Unificado)
   ============================================ */
.pilares {
    padding: 24px 0;
    background: var(--cream-warm);
    position: relative;
    text-align: center;
}

.yinyang-icon {
    width: 76px;
    height: 76px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto -38px auto;
    position: relative;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--white);
}

.yinyang-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
}

.pilares-block {
    background: var(--white);
    padding: 60px 24px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(212, 165, 48, 0.1);
}

.pilar-item {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
    align-items: flex-start;
}

.pilar-item:last-child {
    margin-bottom: 0;
}

.pilar-dot {
    flex-shrink: 0;
    font-size: 1.1rem;
    color: var(--gold);
    margin-top: 2px;
}

.pilar-item p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text);
    margin: 0;
}

/* ============================================
   FILOSOFÍA
   ============================================ */
.filosofia {
    padding: 24px 0;
    background: var(--white);
}

.filosofia-block {
    padding: 30px 24px;
    border-radius: var(--radius);
    margin-bottom: 0;
    background: var(--sage-light);
    border-left: 4px solid var(--sage);
}

.filosofia-block.alt {
    background: var(--cream-warm);
    border-left-color: var(--gold);
}

.filosofia-block p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 20px;
}

.filosofia-img {
    width: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    line-height: 0;
}

.filosofia-img img {
    width: 100%;
    height: auto;
    display: block;
}

.filosofia-block strong {
    color: var(--sage-dark);
}

/* ============================================
   QUÉ APRENDERÁS
   ============================================ */
.aprendizaje {
    padding: 24px 0;
    background: var(--cream);
}

.section-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--gold);
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-title.light {
    color: var(--white);
}

.section-title.light::after {
    background: rgba(255, 255, 255, 0.4);
}

.aprende-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.aprende-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--white);
    padding: 22px 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.check {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--sage);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 900;
}

.aprende-item p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   MATERIAL DIDÁCTICO
   ============================================ */
.material {
    padding: 24px 0;
    background: var(--sage-light);
}

.material-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.material-item {
    display: flex;
    gap: 16px;
    align-items: center;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.material-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.mat-icon {
    flex-shrink: 0;
    font-size: 1.6rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: 50%;
}

.material-item p {
    font-size: 0.9rem;
    line-height: 1.55;
}

/* ============================================
   FECHAS Y HORARIOS
   ============================================ */
.fechas {
    padding: 24px 0;
    background: var(--sage);
    color: var(--white);
}

.calendario-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cal-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 28px 24px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cal-card h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: var(--font-body);
    font-weight: 700;
}

.cal-desc {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 16px;
}

.date-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.date-chips span {
    background: var(--white);
    color: var(--sage-dark);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.fechas-sub {
    text-align: center;
    font-size: 1rem;
    opacity: 0.8;
    margin-top: -24px;
    margin-bottom: 32px;
    letter-spacing: 0.5px;
}

/* Location Card */
.lugar-card {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.lugar-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.lugar-info h3 {
    color: var(--white);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 4px;
    opacity: 0.7;
}

.lugar-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.lugar-addr {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.5;
}

/* ============================================
   PRECIO (Pills)
   ============================================ */
.precio-section {
    padding: 24px 0;
    background: var(--cream);
}

.precio-pills {
    display: flex;
    gap: 16px;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

.precio-pill {
    flex: 1;
    background: linear-gradient(145deg, var(--white) 0%, var(--cream-warm) 100%);
    border-radius: var(--radius);
    padding: 28px 16px 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--sage-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.precio-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--sage);
}

.precio-pill.main {
    border-color: var(--gold);
    box-shadow: 0 8px 28px var(--gold-glow);
}

.precio-pill.main::before {
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
}

.precio-pill-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 700;
}

.precio-pill-valor {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--sage-dark);
}

.precio-pill.main .precio-pill-valor {
    color: var(--gold-dark);
}

.precio-pill-valor small {
    font-size: 0.45em;
    font-weight: 400;
    color: var(--text-light);
}

/* ============================================
   TALLER GRATUITO CTA
   ============================================ */
.taller {
    padding: 24px 0;
    background: var(--cream-warm);
}

.taller-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
    padding: 40px 24px;
    border: 2px solid var(--sage-light);
    position: relative;
    overflow: hidden;
}

.taller-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--sage), var(--gold));
}

.taller-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-dark);
    font-weight: 900;
    margin-bottom: 12px;
}

.taller-title {
    font-size: 1.5rem;
    color: var(--sage-dark);
    margin-bottom: 20px;
}

.taller-date {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.taller-warn {
    font-size: 0.85rem;
    color: #e74c3c;
    font-weight: 700;
    margin-bottom: 20px;
}

.taller-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #0077B6;
    color: var(--white);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(0, 119, 182, 0.35);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-btn.secondary {
    background: var(--gold);
    box-shadow: 0 8px 20px var(--gold-glow);
}

.cta-btn.secondary:hover {
    background: var(--gold-dark);
}

.cta-btn:active {
    transform: scale(0.97);
}

.cta-wa-icon {
    width: 22px;
    height: 22px;
    fill: var(--white);
    flex-shrink: 0;
}

/* ============================================
   ACREDITACIÓN
   ============================================ */
.acreditacion {
    padding: 24px 0;
    background: var(--white);
}

.acred-video {
    margin-bottom: 24px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-label {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--sage);
    margin-top: 6px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    opacity: 0.8;
}

.acred-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--cream-warm);
    border-radius: var(--radius);
    border: 1px solid var(--sage-light);
}

.acred-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.acred-card h3 {
    font-size: 1.4rem;
    color: var(--sage-dark);
    margin-bottom: 14px;
}

.acred-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-light);
    max-width: 440px;
    margin: 0 auto;
}

.acred-card strong {
    color: var(--sage-dark);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 50px 0 120px;
    /* Space for WhatsApp sticky */
    background: var(--brown-dark);
    color: var(--white);
    text-align: center;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 8px;
    filter: brightness(0) invert(1);
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-phone {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 6px;
}

.footer-url {
    font-size: 0.85rem;
    opacity: 0.6;
}

.copyright {
    font-size: 0.75rem;
    opacity: 0.35;
    margin-top: 16px;
}

/* Sticky bar container */
.wa-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--white);
    padding: 12px 16px 14px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

/* Pill button inside */
.wa-sticky {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #0077B6;
    color: var(--white);
    padding: 16px 28px;
    border-radius: 60px;
    box-shadow: 0 4px 18px rgba(0, 119, 182, 0.45);
    transition: var(--transition);
    animation: wa-vibrate 4s ease-in-out infinite;
    text-decoration: none;
}

.wa-sticky:active {
    transform: scale(0.97);
}

.wa-sticky-icon {
    width: 28px;
    height: 28px;
    fill: var(--white);
    flex-shrink: 0;
}

.wa-sticky-label {
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

@keyframes wa-vibrate {

    0%,
    18%,
    100% {
        transform: translateX(0);
        box-shadow: 0 4px 18px rgba(0, 119, 182, 0.45);
    }

    2% {
        transform: translateX(-3px);
    }

    4% {
        transform: translateX(3px);
    }

    6% {
        transform: translateX(-3px);
    }

    8% {
        transform: translateX(3px);
    }

    10% {
        transform: translateX(-2px);
    }

    12% {
        transform: translateX(2px);
    }

    14% {
        transform: translateX(-1px);
    }

    16% {
        transform: translateX(0);
        box-shadow: 0 4px 30px rgba(0, 119, 182, 0.7);
    }
}

/* ============================================
   TABLET — 768px+
   ============================================ */
@media (min-width: 768px) {

    body {
        font-size: 17px;
    }

    .header-inner {
        flex-direction: row;
        justify-content: space-between;
    }

    .header-text {
        text-align: right;
    }

    .logo {
        height: 70px;
    }

    .hero {
        padding: 90px 0 80px;
    }

    .hero-heading {
        font-size: 2.6rem;
    }

    .hero-lead {
        font-size: 1.1rem;
    }

    .pilar-card {
        padding: 32px 30px;
    }

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

    .aprende-grid {
        gap: 16px;
    }

    .material-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .calendario-grid {
        flex-direction: row;
    }

    .cal-card {
        flex: 1;
    }

    .precio-card {
        max-width: 500px;
        margin: 0 auto;
    }

    .taller-card {
        padding: 50px 40px;
    }

    .taller-title {
        font-size: 1.8rem;
    }

    .wa-sticky {
        padding: 20px;
    }

    .wa-sticky-label {
        font-size: 1.1rem;
    }
}

/* ============================================
   DESKTOP — 1024px+
   ============================================ */
@media (min-width: 1024px) {

    body {
        font-size: 18px;
    }

    .hero {
        padding: 120px 0 100px;
    }

    .hero-heading {
        font-size: 3.2rem;
    }

    .hero-lead {
        font-size: 1.15rem;
    }

    .pilares .container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
    }

    .pilar-card {
        flex-direction: column;
        text-align: center;
        margin-bottom: 0;
        border-left: none;
        border-top: 4px solid var(--gold);
    }

    .pilar-icon {
        margin: 0 auto 4px;
    }

    .filosofia .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .filosofia-block {
        margin-bottom: 0;
    }

    .aprende-grid {
        flex-direction: row;
    }

    .aprende-item {
        flex: 1;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .material-list {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .wa-sticky {
        padding: 20px;
    }

    .wa-sticky:hover {
        background: #005f8a;
    }
}