/* ============================================
   EXPAT RESET — Custom Styles
   Landing Page + Registration + Aviso Legal
   ============================================ */

/* ── CSS Custom Properties ─────────────────── */
:root {
    --er-dark:       #252627;
    --er-dark-alt:   #313132;
    --er-cream:      #ECE6D0;
    --er-brown:      #4A261F;
    --er-gold:       #D1CD5A;
    --er-blue:       #B1DAEE;
    --er-white:      #FFFFFF;
    --er-black:      #000000;
    --er-gray:       #333333;
    --ff-primary:    'Poppins', sans-serif;
}

/* ── Layout: laterales azules en pantallas anchas ── */
body {
    background-color: #B1DAEE !important;
}

/* Todas las secciones centradas con max-width */
.elementor-section {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* ── Global base ───────────────────────────── */
body,
.elementor-widget-text-editor,
.elementor-widget-heading .elementor-heading-title {
    font-family: var(--ff-primary) !important;
}

/* ── Section helpers ───────────────────────── */
.er-bg-dark {
    background-color: var(--er-dark) !important;
}
.er-bg-dark-alt {
    background-color: var(--er-dark-alt) !important;
}
.er-bg-cream {
    background-color: var(--er-cream) !important;
}

/* ── Typography ────────────────────────────── */
.er-title-xl {
    font-family: var(--ff-primary) !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.er-subtitle {
    font-family: var(--ff-primary) !important;
    font-weight: 600 !important;
}
.er-italic {
    font-family: var(--ff-primary) !important;
    font-weight: 500 !important;
    font-style: italic !important;
}
.er-body {
    font-family: var(--ff-primary) !important;
    font-weight: 400 !important;
    line-height: 1.7;
}

/* Colors */
.er-c-white  { color: var(--er-white) !important; }
.er-c-brown  { color: var(--er-brown) !important; }
.er-c-gold   { color: var(--er-gold) !important; }
.er-c-blue   { color: var(--er-blue) !important; }
.er-c-dark   { color: var(--er-dark) !important; }

/* ── Hero overlay (when background image is set) ──────────────── */
.er-hero-section .elementor-background-overlay {
    background: rgba(20, 20, 22, 0.50) !important;
}

/* ── CTA Buttons ───────────────────────────── */
.er-btn-cta {
    display: inline-block;
    font-family: var(--ff-primary) !important;
    font-weight: 700 !important;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 16px 44px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
    line-height: 1.4;
}
.er-btn-cta--gold {
    background-color: var(--er-gold) !important;
    color: var(--er-dark) !important;
}
.er-btn-cta--gold:hover {
    background-color: #bfbb4e !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(209, 205, 90, 0.35);
}
.er-btn-cta--blue {
    background-color: var(--er-blue) !important;
    color: var(--er-dark) !important;
}
.er-btn-cta--blue:hover {
    background-color: #9bcde3 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(177, 218, 238, 0.35);
}

/* ── Outline button (hero CTA) ──────────────────────────────── */
/* Forzar transparente sobre cualquier color inline de Elementor o Astra */
.er-hero-section .elementor-widget-button .elementor-button,
.er-btn-outline .elementor-button,
.er-btn-outline a.elementor-button {
    background-color: transparent !important;
    background: transparent !important;
    color: #ECE6D0 !important;
    border: 2px solid #ECE6D0 !important;
    font-family: var(--ff-primary) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 14px 48px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease;
    box-shadow: none !important;
}
.er-hero-section .elementor-widget-button .elementor-button:hover,
.er-btn-outline .elementor-button:hover {
    background-color: #ECE6D0 !important;
    background: #ECE6D0 !important;
    color: #252627 !important;
}

/* Elementor button override — gold filled (selector correcto: sin espacio) */
.elementor-widget-button.er-btn-cta--gold .elementor-button,
.er-btn-cta--gold .elementor-button {
    background-color: var(--er-gold) !important;
    background: var(--er-gold) !important;
    color: var(--er-dark) !important;
    font-family: var(--ff-primary) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none !important;
    transition: all 0.3s ease;
}
.elementor-widget-button.er-btn-cta--gold .elementor-button:hover,
.er-btn-cta--gold .elementor-button:hover {
    background-color: #bfbb4e !important;
    background: #bfbb4e !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(209, 205, 90, 0.35);
}

/* Botón píldora (RESERVAR MI PLAZA estilo original) */
.er-btn-pill .elementor-button,
.elementor-widget-button.er-btn-pill .elementor-button {
    background-color: var(--er-gold) !important;
    background: var(--er-gold) !important;
    color: var(--er-dark) !important;
    border-radius: 50px !important;
    padding: 14px 44px !important;
    font-family: var(--ff-primary) !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: none !important;
    transition: all 0.3s ease;
}
.er-btn-pill .elementor-button:hover,
.elementor-widget-button.er-btn-pill .elementor-button:hover {
    background-color: #bfbb4e !important;
    background: #bfbb4e !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(209,205,90,0.4);
}

/* ── HERO ──────────────────────────────────── */
.er-hero-section {
    min-height: 92vh;
    display: flex;
    align-items: center;
}
.er-hero-logo {
    font-family: var(--ff-primary) !important;
    font-weight: 800 !important;
    font-size: 1.2rem !important;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--er-gold) !important;
}
.er-hero-title {
    font-family: var(--ff-primary) !important;
    font-weight: 800 !important;
    font-size: clamp(2.2rem, 5vw, 3.8rem) !important;
    color: var(--er-white) !important;
    line-height: 1.15 !important;
}
.er-hero-subtitle {
    font-family: var(--ff-primary) !important;
    font-weight: 400 !important;
    font-size: clamp(1rem, 2.5vw, 1.25rem) !important;
    color: rgba(255,255,255,0.88) !important;
    line-height: 1.7 !important;
    max-width: 620px;
}
.er-hero-info {
    font-family: var(--ff-primary) !important;
    font-weight: 600 !important;
    color: var(--er-gold) !important;
    letter-spacing: 0.05em;
}

/* ── Checklist (¿Esto es para ti?) ─────────── */
.er-checklist-item {
    position: relative;
    padding-left: 1.4em !important;
    margin-bottom: 0.65em;
    font-family: var(--ff-primary) !important;
    font-weight: 400;
    color: var(--er-brown);
    line-height: 1.65;
    font-size: 1rem;
}
.er-checklist-item::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--er-brown);
    font-size: 1.1em;
}

/* ── Círculo azul decorativo (columna derecha sección 2) ─── */
.er-col-photo-circle,
.er-col-circle-right {
    position: relative;
    overflow: visible !important;
}
.er-col-photo-circle::after,
.er-col-circle-right::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -30px;
    width: 260px;
    height: 260px;
    background: var(--er-blue);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.65;
    pointer-events: none;
}
.er-col-photo-circle .elementor-widget-wrap,
.er-col-circle-right .elementor-widget-wrap {
    position: relative;
    z-index: 1;
}
.er-photo-expat img,
.er-photo-cutout img {
    border-radius: 12px;
    object-fit: cover;
    max-height: 500px;
    width: 100%;
    display: block;
}

/* ── Inline pill button (HTML widget) ───────── */
a.er-btn-inline-pill {
    display: inline-block;
    background: var(--er-gold) !important;
    color: var(--er-brown) !important;
    font-family: var(--ff-primary), sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: opacity 0.2s;
}
a.er-btn-inline-pill:hover { opacity: 0.85; }

/* ── Concepts row ──────────────────────────── */
.er-concepts-row {
    display: flex;
    gap: 2rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 1.2em 0;
}
.er-concept-item {
    font-family: var(--ff-primary) !important;
    font-weight: 800 !important;
    font-size: 1.05rem;
    color: var(--er-brown);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    position: relative;
}
.er-concept-item + .er-concept-item::before {
    content: "|";
    position: absolute;
    left: -1.15rem;
    color: var(--er-gold);
    font-weight: 400;
}

/* ── Concepts Blue Pill ─────────────────────── */
.er-concepts-pill {
    display: inline-flex;
    align-items: center;
    gap: 1.4rem;
    background-color: var(--er-blue);
    border-radius: 50px;
    padding: 14px 32px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1.2em 0;
}
.er-concepts-pill span {
    font-family: var(--ff-primary) !important;
    font-weight: 700 !important;
    font-size: 1rem;
    color: var(--er-brown);
    font-style: italic;
    letter-spacing: 0.01em;
}
.er-concept-sep {
    color: var(--er-brown) !important;
    opacity: 0.4;
    font-weight: 300 !important;
    font-style: normal !important;
}

/* ── Speaker cards ─────────────────────────── */
.er-speaker-photo img {
    border-radius: 50% !important;
    border: 4px solid var(--er-gold) !important;
    width: 180px !important;
    height: 180px !important;
    object-fit: cover;
}
.er-speaker-name {
    font-family: var(--ff-primary) !important;
    font-weight: 800 !important;
    color: var(--er-brown) !important;
}
.er-speaker-role {
    font-family: var(--ff-primary) !important;
    font-weight: 600 !important;
    color: var(--er-gold) !important;
    font-size: 0.95rem !important;
}
.er-speaker-bio {
    font-family: var(--ff-primary) !important;
    font-weight: 400 !important;
    color: var(--er-brown) !important;
    line-height: 1.65 !important;
}
.er-speaker-quote {
    font-family: var(--ff-primary) !important;
    font-weight: 500 !important;
    font-style: italic !important;
    color: var(--er-brown) !important;
    border-left: 3px solid var(--er-gold);
    padding-left: 1em;
}

/* ── Benefits (Al terminar) ────────────────── */
.er-benefit-icon {
    color: var(--er-gold) !important;
    font-size: 2.8rem !important;
    margin-bottom: 0.6rem;
}
.er-benefit-text {
    font-family: var(--ff-primary) !important;
    font-weight: 400 !important;
    color: var(--er-white) !important;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ── Pricing / CTA Final ──────────────────── */
.er-price-big {
    font-family: var(--ff-primary) !important;
    font-weight: 800 !important;
    font-size: 3rem !important;
    color: var(--er-brown) !important;
}
.er-price-label {
    font-family: var(--ff-primary) !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    color: var(--er-gold) !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.er-detail-line {
    font-family: var(--ff-primary) !important;
    font-weight: 400 !important;
    color: var(--er-brown) !important;
    font-size: 1.05rem;
    margin-bottom: 0.2em;
}

/* ── Legal checkbox ────────────────────────── */
.er-legal-check {
    display: flex;
    align-items: flex-start;
    gap: 0.6em;
    font-family: var(--ff-primary);
    font-size: 0.88rem;
    color: var(--er-brown);
    cursor: pointer;
    margin: 1rem 0;
}
.er-legal-check input[type="checkbox"] {
    margin-top: 0.3em;
    accent-color: var(--er-gold);
    width: 18px;
    height: 18px;
}
.er-legal-check a {
    color: var(--er-brown);
    text-decoration: underline;
    font-weight: 600;
}
.er-legal-check a:hover {
    color: var(--er-gold);
}

/* ── Footer legal link ─────────────────────── */
.er-footer-legal a {
    color: var(--er-brown);
    text-decoration: underline;
    opacity: 0.7;
    font-size: 0.82rem;
    transition: opacity 0.2s;
}
.er-footer-legal a:hover {
    opacity: 1;
    color: var(--er-gold);
}

/* ── Registration Form ─────────────────────── */
.er-registration-form {
    max-width: 520px;
    margin: 0 auto;
}
.er-form-group {
    margin-bottom: 1.4rem;
}
.er-form-group label {
    display: block;
    font-family: var(--ff-primary);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--er-brown);
    margin-bottom: 0.4rem;
}
.er-form-group input[type="text"],
.er-form-group input[type="email"],
.er-form-group input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--ff-primary);
    font-size: 1rem;
    border: 2px solid rgba(74, 38, 31, 0.2);
    border-radius: 6px;
    background: var(--er-white);
    color: var(--er-brown);
    transition: border-color 0.2s;
}
.er-form-group input:focus {
    outline: none;
    border-color: var(--er-gold);
    box-shadow: 0 0 0 3px rgba(209, 205, 90, 0.15);
}
.er-form-group--checkbox {
    margin-top: 0.5rem;
}
.er-form-group .er-btn-cta {
    width: 100%;
}

.er-form-success {
    text-align: center;
    padding: 2rem;
    font-family: var(--ff-primary);
    color: var(--er-brown);
}
.er-form-success h3 {
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--er-brown);
}
.er-form-success p {
    font-weight: 400;
    margin-bottom: 1rem;
}

/* ── Aviso Legal page ──────────────────────── */
.er-aviso-legal {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    font-family: var(--ff-primary);
    color: var(--er-brown);
}
.er-aviso-legal h1 {
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
.er-aviso-legal h2 {
    font-weight: 700;
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}
.er-aviso-legal p {
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.er-aviso-legal ul {
    padding-left: 1.5em;
    margin-bottom: 1rem;
}
.er-aviso-legal li {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.4em;
}

/* ── Divider helpers ───────────────────────── */
.er-divider-gold .elementor-divider-separator {
    border-color: var(--er-gold) !important;
}

/* ── Image placeholder ─────────────────────── */
.er-img-placeholder img {
    border-radius: 12px;
    object-fit: cover;
}

/* ── Speaker combined photo ─────────────────── */
.er-speaker-combined img {
    border-radius: 16px !important;
    object-fit: cover;
    width: 100% !important;
    max-width: 420px;
}

/* ── Speaker text block ─────────────────────── */
.er-speaker-block {
    margin-bottom: 1.8rem;
}
.er-speaker-block + .er-speaker-block {
    padding-top: 1.8rem;
    border-top: 1px solid rgba(74,38,31,0.15);
}

/* ── Decorative airplane ────────────────────── */
.er-deco-plane {
    opacity: 0.5;
}
.er-deco-plane img {
    max-width: 56px !important;
    width: 56px !important;
}

/* ── Benefits 2x2 grid ──────────────────────── */
.er-benefit-col {
    padding: 24px 16px !important;
}

/* ── Pricing INVERSIÓN label ─────────────────── */
.er-inversion-label {
    font-family: var(--ff-primary) !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    color: var(--er-brown) !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.2rem;
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 767px) {
    .er-hero-section {
        min-height: 80vh;
    }
    .er-hero-title {
        font-size: 1.9rem !important;
    }
    .er-hero-subtitle {
        font-size: 1rem !important;
    }
    .er-concepts-row {
        flex-direction: column;
        gap: 0.6rem;
    }
    .er-concept-item + .er-concept-item::before {
        display: none;
    }
    .er-speaker-photo img {
        width: 140px !important;
        height: 140px !important;
    }
    .er-price-big {
        font-size: 2.2rem !important;
    }
    .er-btn-cta {
        padding: 14px 28px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 340px;
    }
    .er-registration-form {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .er-hero-title {
        font-size: 1.6rem !important;
    }
    .er-btn-cta {
        max-width: 100%;
    }
}

/* ════════════════════════════════════════════════
   SECTION 3 — El Problema
   ════════════════════════════════════════════════ */

.expat-s3-section .elementor-container {
    align-items: stretch;
}

/* Photo column */
.s3-col-photo {
    padding: 0 !important;
}
.s3-col-photo .s3-photo img {
    width: 100%;
    display: block;
}

/* Avión encima de la foto, columna izquierda */
.s3-plane img {
    width: 220px !important;
    display: block;
    position: relative;
    z-index: 1;
    margin-bottom: -110px !important;
}

/* Pill azul */
.s3-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: #B1DAEE;
    border-radius: 50px;
    padding: 13px 30px;
    margin: 0 0 24px 0;
    flex-wrap: wrap;
}
.s3-pill-item {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    font-style: italic;
    color: #4A261F;
    padding: 0 14px;
}
.s3-pill-item + .s3-pill-item {
    border-left: 1px solid rgba(74,38,31,0.25);
}

/* Text column paragraphs */
.s3-col-text .elementor-text-editor p {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #4A261F;
    line-height: 1.75;
    margin: 0;
}

/* ════════════════════════════════════════════════
   SECTION 2 — ¿ESTO ES PARA TI?
   ════════════════════════════════════════════════ */

/* — Sección: compacta, overflow hidden — */
.expat-s2-section.elementor-section {
    overflow: hidden !important;
}
.expat-s2-section > .elementor-container {
    align-items: stretch !important;
}

/* — Columna izquierda — */
.expat-s2-left > .elementor-widget-wrap {
    align-items: flex-start !important;
    justify-content: center !important;
    padding-right: 20px !important;
    padding-bottom: 20px !important;
}
.expat-s2-left .elementor-widget-container {
    text-align: left !important;
    width: 100%;
}

/* Subtítulo: centrado en su caja */
.expat-s2-subtitle .elementor-widget-container {
    text-align: center !important;
}
.expat-s2-subtitle p { text-align: center !important; }

/* Botón: desplazado ~90px a la derecha */
.expat-s2-btn .elementor-button-wrapper {
    text-align: left !important;
}
.expat-s2-btn .elementor-widget-container {
    text-align: left !important;
}
.expat-s2-btn .elementor-button {
    background-color: #C7C54D !important;
    background:       #C7C54D !important;
    color:            #4A342A !important;
    border-radius:    999px   !important;
    padding:          12px 32px !important;
    font-family:      'Poppins', sans-serif !important;
    font-weight:      700  !important;
    font-size:        13px !important;
    letter-spacing:   1.5px;
    text-transform:   uppercase;
    border:           none !important;
    box-shadow:       none !important;
    margin-left:      90px;
}
.expat-s2-btn .elementor-button:hover {
    background-color: #b5b340 !important;
    background:       #b5b340 !important;
}

/* Avión */
.expat-s2-plane .elementor-widget-container { text-align: left !important; }
.expat-s2-plane img {
    max-width: 110px !important;
    width:     110px !important;
    opacity:   0.72;
    display:   block !important;
}

/* — Columna derecha — */
.expat-s2-right.elementor-column {
    position: relative !important;
    overflow: visible !important;
    padding:  0 !important;
}
.expat-s2-right > .elementor-widget-wrap {
    position:        relative !important;
    z-index:         1;
    padding:         0 !important;
    justify-content: flex-end !important;
    align-items:     flex-end !important;
    height:          100%;
}

/* Círculo azul: detrás de la imagen, en la zona media-alta */

/* Imagen: grande, desde arriba, cubre el círculo */
.expat-s2-img.elementor-widget-image {
    position:    relative;
    z-index:     2;
    width:       100% !important;
    margin:      0 !important;
    padding:     0 !important;
}
.expat-s2-img .elementor-widget-container {
    padding:     0 !important;
    margin:      0 !important;
    line-height: 0;
    text-align:  right;
}
.expat-s2-img img {
    display:        block !important;
    height:         460px !important;
    width:          auto  !important;
    max-width:      none  !important;
    object-fit:     contain !important;
    object-position: top right !important;
    margin:         0 0 0 auto !important;
    padding:        0 !important;
}

/* — Responsive tablet — */
@media (max-width: 1024px) {
    .expat-s2-right.elementor-column::before {
        width: 240px; height: 240px;
        right: -30px; top: 50px;
    }
    .expat-s2-img img { height: 300px !important; }
    .expat-s2-btn .elementor-button { margin-left: 40px; }
}

/* — Responsive móvil — */
@media (max-width: 767px) {
    .expat-s2-right.elementor-column::before {
        width: 180px; height: 180px;
        right: -20px; top: auto; bottom: 30px;
    }
    .expat-s2-img img { height: 260px !important; }
    .expat-s2-btn .elementor-button { margin-left: 0 !important; }
    .expat-s2-plane img { max-width: 50px !important; width: 50px !important; }
}

/* ════════════════════════════════════════════════
   SECTION 4 — El Workshop
   ════════════════════════════════════════════════ */

/* Background contain + beige en los lados */
.expat-s4-section.elementor-section {
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #ECE6D0 !important;
}

/* Pill box dorado */
.s4-pill-box {
  display: block;
  background-color: #C7C54D;
  color: #4A342A;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 26px;
  line-height: 1.4;
  text-align: center;
  padding: 20px 48px;
  border-radius: 60px;
  max-width: 566px;
  white-space: nowrap;
}

/* Botón outline con flecha */
.s4-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 25px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #4A342A;
    text-decoration: none;
    border-bottom: 2px solid #4A342A;
    padding-bottom: 2px;
    transition: opacity 0.2s;
}
.s4-btn-outline:hover {
    opacity: 0.7;
    color: #4A342A;
}

/* ════════════════════════════════════════════════
   SECTION 5 — ¿Quiénes te acompañan?
   ════════════════════════════════════════════════ */

/* Foto con badges */
.s5-photo-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
    bottom: -5%;
}
.s5-speakers-photo {
    width: 100%;
    max-width: 340px;
    height: auto;
    display: block;
    border-radius: 50%;
}
.s5-badge {
    position: absolute;
    background: #B1DAEE;
    color: #4A342A;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.3px;
    padding: 5px 14px;
    border-radius: 20px;
    white-space: nowrap;
}
.s5-badge--left  { bottom: 73%; left: -10px; }
.s5-badge--right { bottom: 68%; right: 5px; }

/* Speaker blocks */
.s5-speaker-block { padding: 0; }

.s5-speaker-name {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 800;
    font-size: 17px;
    color: #4A342A;
    margin: 0 0 2px 0;
}
.s5-speaker-role {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700;
    font-size: 16px;
    color: #4A342A;
    margin: 0 0 10px 0;
    line-height: 1.3;
}
.s5-speaker-bio {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400;
    font-size: 14px;
    color: #4A342A;
    line-height: 1.65;
    margin: 0 0 10px 0;
}
.s5-speaker-quote {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500;
    font-size: 14px;
    font-style: italic;
    color: #4A342A;
    margin: 0;
    line-height: 1.5;
}

/* ════════════════════════════════════════════════
   SECTION 6 — Al terminar el workshop
   ════════════════════════════════════════════════ */

.expat-s6-photo.elementor-section {
    background-size:     cover !important;
    background-position: center center !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.expat-s5-section.elementor-section {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Tarjetas de beneficios */
.s6-card-col > .elementor-widget-wrap {
    align-items: center !important;
    text-align: center !important;
    padding: 10px 30px !important;
}
.s6-card-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #4A342A;
    text-align: center;
    line-height: 1.6;
    margin: 0;
}
.s6-pin {
    display: block;
    font-size: 22px;
    margin-bottom: 8px;
}

/* Avión decorativo — background del contenedor, alineado a la derecha */
.s6-deco-plane {
    display: none !important;
}

.elementor-element.expat-s6-benefits {
    position: relative;
}
.elementor-element.expat-s6-benefits::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 280px;
    height: 280px;
    background-image: url('/wp-content/uploads/imagen-avion-2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}

/* ════════════════════════════════════════════════
   SECTION 7 — Tu nueva etapa empieza aquí
   ════════════════════════════════════════════════ */

/* Background contain + beige en los lados (igual que sección 4) */
.expat-s7-section.elementor-section {
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #ECE6D0 !important;
}

/* Banner curvo superior */
.s7-title-banner {
    background: none;
    text-align: center;
    padding: 22px 60px 48px;
    border-radius: 0 0 60% 60% / 0 0 40px 40px;
    margin: 0 0 30px 0;
}
.s7-title {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 800;
  font-size: 42px;
  color: #4A342A;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 50px 0;
  line-height: 1.2;
}

/* Contenido izquierdo */
.s7-content {
    padding: 0 0 40px 50px;
    max-width: 420px;
}
.s7-date {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    color: #4A342A;
    line-height: 1.7;
    margin: 0 0 18px 0;
}
.s7-date strong {
    font-weight: 700;
    font-size: 26px;
}
.s7-price {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: #4A342A;
    margin: 0 0 4px 0;
    line-height: 1;
}
.s7-price-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 20px;
    color: #4A342A;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 22px 0;
}
.s7-btn {
    display: inline-block;
    background: #C7C54D;
    color: #4A342A;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 36px;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s;
}
.s7-btn:hover {
    background: #b5b340;
    color: #4A342A;
}

/* Footer aviso legal */
.er-footer-legal-link {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #4A342A;
    text-decoration: underline;
    opacity: 0.65;
    transition: opacity 0.2s;
}
.er-footer-legal-link:hover { opacity: 1; color: #4A342A; }

/* ════════════════════════════════════════════════
   RESPONSIVE MÓVIL — max-width: 767px
   ════════════════════════════════════════════════ */

@media (max-width: 767px) {

    /* — Layout general — */
    .elementor-section {
        max-width: 100% !important;
    }

    /* — Hero — */
    .er-hero-section {
        min-height: 70vh !important;
    }
    .er-hero-title {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }
    .er-hero-subtitle {
        font-size: 0.95rem !important;
    }

    /* — Sección 2 — columnas apiladas — */
    .expat-s2-section .elementor-column {
        width: 100% !important;
    }
    .expat-s2-img img,
    .wp-image-22 {
        height: auto !important;
        width: 60% !important;
        object-fit: contain !important;
        margin: 0 auto !important;
    }
    .expat-s2-btn .elementor-button {
        margin-left: 0 !important;
    }
    /* Ocultar avión sección 2 en móvil */
    .expat-s2-plane,
    .s3-plane,
    .wp-image-23,
    img[src*="imagen-avion-1"] {
        display: none !important;
    }

    /* — Sección 3 — */
    .expat-s3-section .elementor-column {
        width: 100% !important;
    }
    .s3-plane img {
        width: 140px !important;
        margin-bottom: -70px !important;
    }
    .s3-photo img {
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
        display: block !important;
    }
    .s3-pill {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        padding: 10px 16px !important;
        justify-content: center !important;
    }
    .s3-pill-item {
        font-size: 12px !important;
        padding: 0 8px !important;
    }
    .s3-pill-item + .s3-pill-item {
        border-left: 1px solid rgba(74,38,31,0.25) !important;
        border-top: none !important;
    }

    /* — Sección 4 — */
    .expat-s4-section.elementor-section {
        background-size: cover !important;
        min-height: 320px !important;
    }
    .s4-pill-box {
        font-size: 16px !important;
        padding: 14px 24px !important;
        white-space: normal !important;
        max-width: 100% !important;
    }
    .s4-btn-outline {
        font-size: 16px !important;
    }

    /* — Sección 5 — */
    .expat-s5-section .elementor-column {
        width: 100% !important;
    }
    .s5-photo-wrap {
        bottom: 0 !important;
        text-align: center !important;
    }
    .s5-speakers-photo {
        max-width: 360px !important;
        width: 90% !important;
        margin: 0 auto !important;
    }
    .s5-badge {
        font-size: 10px !important;
        padding: 4px 10px !important;
    }
    .s5-badge--left  { bottom: 76%; left: 5px; }
    .s5-badge--right { bottom: 70%; right: 10px; }
    .s5-speaker-name { font-size: 15px !important; }
    .s5-speaker-role { font-size: 14px !important; }
    .s5-speaker-bio, .s5-speaker-quote { font-size: 13px !important; }
    /* Reducir separación entre bloques de speakers */
    .s5-speaker-block + .s5-speaker-block {
        padding-top: 8px !important;
        margin-top: 0 !important;
        border-top: 1px solid rgba(74,38,31,0.15) !important;
    }
    .s5-speaker-block {
        margin-bottom: 0 !important;
    }

    /* — Sección 6 — */
    .expat-s6-photo.elementor-section {
        min-height: 220px !important;
        background-size: cover !important;
    }
    .s6-card-col > .elementor-widget-wrap {
        padding: 10px 15px !important;
    }
    .s6-card-text { font-size: 13px !important; }
    .elementor-element.expat-s6-benefits::after {
        width: 150px !important;
        height: 150px !important;
        opacity: 0.25 !important;
    }

    /* — Sección 7 — */
    .expat-s7-section.elementor-section {
        background-size: cover !important;
    }
    .s7-title {
        font-size: 26px !important;
        margin-bottom: 24px !important;
    }
    .s7-content {
        padding: 0 20px 30px 20px !important;
        max-width: 100% !important;
    }
    .s7-date, .s7-date strong { font-size: 18px !important; }
    .s7-price { font-size: 22px !important; }
    .s7-price-label { font-size: 15px !important; }
    .s7-btn {
        font-size: 17px !important;
        padding: 12px 28px !important;
    }
    .s7-title-banner {
        padding: 16px 20px 30px !important;
    }
}

/* ════════════════════════════════════════════════
   RESPONSIVE MÓVIL PEQUEÑO — max-width: 480px
   ════════════════════════════════════════════════ */

@media (max-width: 480px) {

    .er-hero-title { font-size: 1.5rem !important; }

    .expat-s2-img img { height: 220px !important; }

    .s4-pill-box { font-size: 14px !important; padding: 12px 18px !important; }

    .s5-speakers-photo { max-width: 200px !important; }

    .s7-title { font-size: 22px !important; }
    .s7-btn { font-size: 15px !important; width: 100% !important; text-align: center !important; }
}
