/* ShiroCript TODOS LOS DERECHOS RESERVADOS */

/* ========================================
   RESET Y VARIABLES GLOBALES
   ======================================== */
:root {
    --spacing: 16px;
    --primary-red: #ff0000;
    --primary-black: #000;
    --primary-white: #fff;
    --purple: #6b46c1;
    --green: #10b981;
    --gold: #f59e0b;
    --gray: #6b7280;
    --text-gray: #9ca3af;
    --border-gray: #111;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.25);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.35);

    /* Variable de fondo del HERO con valor por defecto
       Permitirá que el editor la sobrescriba en vivo y funcione en Nginx/Apache */
    --hero-bg: url('https://test.dadiel.lat/uploads/recursos/estudiando.png');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, 'Helvetica Neue', Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: 0.2px;
    line-height: 1.2;
    font-weight: 800;
}

strong, b {
    font-weight: 800;
}

/* ========================================
   ESPACIADORES ENTRE SECCIONES
   ======================================== */
.section-spacer {
    background: var(--primary-black);
    height: 38px;
    width: 100%;
}

/* ========================================
   SECCIÓN 1 - HERO
   ======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    text-align: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: clamp(40px, 8vh, 80px) clamp(20px, 4vw, 40px);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: clamp(20px, 4vh, 30px);
    animation: fadeIn 1s ease-out 0.2s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #333;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.logo-icon:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.logo span {
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 800;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: clamp(15px, 3vh, 20px);
    line-height: 1.15;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: clamp(20px, 4vh, 30px);
    opacity: 0.95;
    line-height: 1.5;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cta-button {
    background: var(--primary-red);
    color: var(--primary-white);
    padding: clamp(12px, 2vh, 18px) clamp(24px, 4vw, 40px);
    font-size: clamp(1rem, 2vw, 1.2rem);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 0, 0, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

/* ========================================
   SECCIÓN 2 - EXPLICACIÓN
   ======================================== */
.explanation-section {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: clamp(60px, 10vh, 100px) 0;
}

.explanation-content {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: clamp(30px, 6vw, 60px);
}

.explanation-text h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: clamp(15px, 3vh, 25px);
    line-height: 1.25;
}

.explanation-text p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    margin-bottom: 15px;
    opacity: 0.92;
    line-height: 1.7;
}

.explanation-image {
    width: clamp(250px, 30vw, 350px);
    transition: var(--transition-smooth);
}

.explanation-image:hover {
    transform: scale(1.03);
}

.explanation-image img {
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* ========================================
   SECCIÓN 17 - BANNER
   ======================================== */
.s17 {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: clamp(30px, 6vh, 50px) 0;
    text-align: center;
}

.s17 .linea {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-white), transparent);
    opacity: 0.5;
    margin: 0 auto clamp(20px, 4vh, 30px);
    max-width: 80%;
}

.s17 .banner-wide {
    width: min(90%, 800px);
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-smooth);
}

.s17 .banner-wide:hover {
    transform: scale(1.02);
}

/* ========================================
   SECCIÓN 18 - PRENSA
   ======================================== */
.sec-18 {
    background: var(--primary-black);
    padding: clamp(20px, 4vh, 40px) 0;
    text-align: center;
}

.sec-18 img {
    width: min(85%, 600px);
    margin: 0 auto;
    opacity: 0.9;
    transition: var(--transition-smooth);
}

.sec-18 img:hover {
    opacity: 1;
    transform: scale(1.02);
}

/* ========================================
   SECCIÓN 3 - BEMASTER
   ======================================== */
.bemaster-section {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: clamp(60px, 10vh, 100px) 0;
}

.bemaster-content {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: clamp(30px, 6vw, 60px);
}

.bemaster-image {
    width: clamp(300px, 35vw, 450px);
    transition: var(--transition-smooth);
}

.bemaster-image:hover {
    transform: scale(1.03);
}

.bemaster-image img {
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.bemaster-text {
    flex: 1;
}

.bemaster-logo {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: clamp(20px, 4vh, 30px);
}

.bemaster-text h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: clamp(15px, 3vh, 20px);
}

.bemaster-text p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    margin-bottom: 15px;
    opacity: 0.92;
    line-height: 1.7;
}

.bemaster-cta {
    background: var(--primary-red);
    color: var(--primary-white);
    padding: clamp(12px, 2vh, 18px) clamp(24px, 4vw, 35px);
    border: none;
    border-radius: 12px;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    font-weight: 700;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.3);
}

.bemaster-cta small {
    display: block;
    font-size: 0.85em;
    opacity: 0.9;
    margin-top: 4px;
}

.bemaster-cta:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 0, 0, 0.4);
}

/* ========================================
   SECCIONES DE PROFESIONES (4-9)
   ======================================== */
.profession-section-1,
.profession-section-2,
.profession-section-3,
.profession-section-4,
.profession-section-5,
.profession-section-6 {
    color: var(--primary-white);
    padding: clamp(60px, 10vh, 100px) 0;
    position: relative;
    overflow: hidden;
}

.profession-section-1::before,
.profession-section-2::before,
.profession-section-3::before,
.profession-section-4::before,
.profession-section-5::before,
.profession-section-6::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    opacity: 0.05;
    background: radial-gradient(circle, var(--primary-white) 0%, transparent 70%);
}

.profession-section-1 { background: var(--primary-red); }
.profession-section-2 { background: var(--purple); }
.profession-section-3 { background: var(--green); }
.profession-section-4 { background: var(--purple); }
.profession-section-5 { background: var(--gold); }
.profession-section-6 { background: var(--gray); }

.profession-content-1,
.profession-content-2,
.profession-content-3,
.profession-content-4,
.profession-content-5,
.profession-content-6 {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: clamp(30px, 6vw, 60px);
    position: relative;
    z-index: 1;
}

.profession-content-2,
.profession-content-4,
.profession-content-6 {
    grid-template-columns: auto 1fr;
}

.profession-text-1,
.profession-text-2,
.profession-text-3,
.profession-text-4,
.profession-text-5,
.profession-text-6 {
    flex: 1;
}

.profession-text-1 h2,
.profession-text-2 h2,
.profession-text-3 h2,
.profession-text-4 h2,
.profession-text-5 h2,
.profession-text-6 h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: clamp(15px, 3vh, 25px);
}

.profession-text-1 p,
.profession-text-2 p,
.profession-text-3 p,
.profession-text-4 p,
.profession-text-5 p,
.profession-text-6 p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    margin-bottom: 15px;
    line-height: 1.7;
    opacity: 0.95;
}

.profession-image-1,
.profession-image-2,
.profession-image-3,
.profession-image-4,
.profession-image-5,
.profession-image-6 {
    width: clamp(280px, 35vw, 450px);
    transition: var(--transition-smooth);
}

.profession-image-1:hover,
.profession-image-2:hover,
.profession-image-3:hover,
.profession-image-4:hover,
.profession-image-5:hover,
.profession-image-6:hover {
    transform: scale(1.03) rotate(1deg);
}

.profession-image-1 img,
.profession-image-2 img,
.profession-image-3 img,
.profession-image-4 img,
.profession-image-5 img,
.profession-image-6 img {
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

/* ========================================
   SECCIÓN 10 - FINAL
   ======================================== */
.final-section {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: clamp(60px, 10vh, 100px) 0;
    text-align: center;
}

.final-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: clamp(20px, 4vh, 35px);
    line-height: 1.2;
}

.final-content p {
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    margin-bottom: 20px;
    opacity: 0.92;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.final-question {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin: clamp(30px, 6vh, 50px) 0;
    font-weight: 700;
}

.final-cta {
    background: var(--primary-red);
    color: var(--primary-white);
    padding: clamp(14px, 2.5vh, 22px) clamp(28px, 5vw, 50px);
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-top: clamp(20px, 4vh, 35px);
    font-weight: 700;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.3);
}

.final-cta small {
    display: block;
    font-size: 0.8em;
    opacity: 0.9;
    margin-top: 6px;
}

.final-cta:hover {
    background: #cc0000;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 0, 0, 0.4);
}

/* ========================================
   SECCIÓN 11 - OPCIONES
   ======================================== */
.s11 {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: clamp(50px, 8vh, 80px) 0;
}

.s11 h2 {
    font-size: clamp(1.75rem, 5vw, 3.25rem);
    text-align: center;
    margin-bottom: 15px;
}

.s11 .sub {
    text-align: center;
    opacity: 0.9;
    margin-bottom: clamp(30px, 5vh, 40px);
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: clamp(20px, 4vw, 30px);
    margin: clamp(25px, 5vh, 35px) 0;
}

.opt {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--primary-white);
    color: #111;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-smooth);
}

.opt:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.opt img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.1) brightness(0.75);
    transition: var(--transition-smooth);
}

.opt:hover img {
    transform: scale(1.05);
    filter: grayscale(0) brightness(0.85);
}

.opt .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.opt .content {
    position: relative;
    z-index: 2;
    padding: clamp(18px, 3vw, 28px);
    color: var(--primary-white);
}

.opt h4 {
    margin: 0 0 10px;
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
}

.opt p {
    line-height: 1.5;
    opacity: 0.95;
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
}

.s11 .footerNote {
    text-align: center;
    max-width: 900px;
    margin: clamp(20px, 4vh, 30px) auto 0;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.6;
}

/* ========================================
   SECCIÓN 12 - CASOS DE ÉXITO
   ======================================== */
.s12 {
    background: var(--primary-white);
    color: #111;
    padding: clamp(45px, 8vh, 70px) 0 clamp(60px, 10vh, 100px);
}

.s12 .top {
    text-align: center;
}

.s12 .top h3 {
    font-size: clamp(2rem, 6vw, 4rem);
    margin: 0 0 15px;
}

.s12 .top div {
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.s12 .top a {
    color: var(--primary-black);
    font-weight: 800;
    text-decoration: underline;
    transition: var(--transition-smooth);
}

.s12 .top a:hover {
    color: var(--primary-red);
}

.s12 .divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #cfcfcf, transparent);
    margin: clamp(20px, 4vh, 30px) 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.s12 .arrow {
    width: min(100px, 20vw);
    margin-left: auto;
    margin-right: clamp(20px, 4vw, 40px);
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.s12 .arrow:hover {
    opacity: 1;
    transform: translateX(5px);
}

.s12 .sub h4 {
    text-align: center;
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    margin: 15px 0 12px;
    font-weight: 800;
}

.s12 .bullets {
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.92;
}

/* ========================================
   SECCIÓN 13 - ICONOS
   ======================================== */
.sec-blanca-icons {
    background: var(--primary-white);
    color: #111;
    padding: clamp(30px, 5vh, 50px) 0 clamp(50px, 8vh, 80px);
}

.icons3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: clamp(20px, 4vw, 35px);
    text-align: center;
}

.icons3 .box {
    background: var(--primary-white);
    border: 2px solid #f3f4f6;
    border-radius: 20px;
    padding: clamp(20px, 4vw, 30px);
    transition: var(--transition-smooth);
}

.icons3 .box:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.icons3 img {
    height: clamp(56px, 10vw, 72px);
    width: auto;
    margin: 0 auto clamp(12px, 2vh, 18px);
    transition: var(--transition-smooth);
}

.icons3 .box:hover img {
    transform: scale(1.1);
}

.icons3 .box div {
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    line-height: 1.5;
}

/* ========================================
   SECCIÓN 14 - COMUNIDAD
   ======================================== */
/* 14) Sección blanca con título + imagen (laptops) */
    .sec-14{background:#fff;color:#111;text-align:center}
    .sec-14 h2{font-size:clamp(22px,3.6vw,40px)}
    .sec-14 img{width:100%;max-width:900px;height:auto;display:block;margin:18px auto}

    /* Responsivo */
    @media (max-width:900px){
      .card,
      .card-red,
      .card-blue,
      .card-green,
      .card-yellow,
      .card-gray{grid-template-columns:1fr;gap:18px}
      .choices{grid-template-columns:1fr}
    }
/* ========================================
   SECCIÓN 15 - HERO FINAL
   ======================================== */
.seccion-15 {
    position: relative;
    min-height: 70vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: clamp(40px, 8vh, 80px) clamp(20px, 4vw, 40px);
    color: var(--primary-white);
    overflow: hidden;
}

.seccion-15::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("https://test.dadiel.lat/uploads/recursos/ofione.png?format=webp") center/cover no-repeat;
    filter: brightness(0.4);
    z-index: 0;
}

.seccion-15 .content {
    position: relative;
    z-index: 1;
    max-width: 980px;
}

.seccion-15 h3 {
    opacity: 0.92;
    margin: 0 0 10px;
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
}

.seccion-15 h2 {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    margin: 8px 0 15px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.seccion-15 p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 20px;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ========================================
   SECCIÓN 16 - MODELO EDUCATIVO
   ======================================== */
.sec-17 {
    background: var(--primary-white);
    color: #111;
    padding: clamp(50px, 10vh, 80px) 0 clamp(45px, 8vh, 70px);
    position: relative;
    overflow: hidden;
}

.sec-17 .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

.sec-17 .top {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    margin-bottom: clamp(30px, 5vh, 45px);
    position: relative;
}

.sec-17 h2 {
    margin: 0;
    font-size: clamp(1.75rem, 5vw, 3rem);
    text-align: center;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.sec-17 .arrow {
    width: min(70px, 12vw);
    height: auto;
    object-fit: contain;
    position: absolute;
    right: min(6vw, 26px);
    top: -8px;
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.sec-17 .arrow:hover {
    opacity: 1;
    transform: translateX(5px) translateY(-3px);
}

.sec-17 .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: clamp(18px, 3vw, 28px);
    align-items: stretch;
}

.sec-17 .card {
    background: var(--primary-black);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition-smooth);
}

.sec-17 .card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.sec-17 .card img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

.sec-17 .card:hover img {
    transform: scale(1.05);
}

.sec-17 .label {
    color: var(--primary-white);
    text-align: center;
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    padding: clamp(12px, 2vh, 18px) 10px clamp(14px, 2.5vh, 20px);
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, var(--primary-black) 100%);
}

.sec-17 .label.triunfos {
    letter-spacing: 2px;
}

.sec-17 .label.certificados {
    letter-spacing: 1.5px;
}

.sec-17 .label.caso {
    letter-spacing: 1px;
}

/* ========================================
   SECCIÓN 17 (WhatsApp)
   ======================================== */
.wa {
    background: var(--primary-white);
    color: #111;
    padding: clamp(45px, 8vh, 70px) 0;
}

.wa .wrap {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(20px, 4vw, 35px);
    align-items: center;
}

.wa h3 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin: 0 0 10px;
}

.wa p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.9;
    line-height: 1.6;
}

.wa-btn {
    display: inline-block;
    background: #22c55e;
    color: var(--primary-white);
    font-weight: 800;
    border-radius: 12px;
    padding: clamp(12px, 2vh, 16px) clamp(18px, 3vw, 24px);
    text-decoration: none;
    margin-top: 15px;
    transition: var(--transition-smooth);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
}

.wa-btn:hover {
    background: #16a34a;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(34, 197, 94, 0.4);
}

.wa .wimg {
    justify-self: end;
}

.wa .wimg a {
    display: inline-block;
    transition: var(--transition-smooth);
}

.wa .wimg a:hover {
    transform: scale(1.05);
}

.wa .wimg img {
    width: min(260px, 50vw);
    height: auto;
}

/* ========================================
   RESPONSIVE MEDIA QUERIES
   ======================================== */
@media (max-width: 1024px) {
    .sec-17 .cards {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    }
}

@media (max-width: 935px) {
    .explanation-content,
    .wa .wrap {
        grid-template-columns: 1fr;
        text-align: center;
        gap: clamp(25px, 5vw, 40px);
    }

    .explanation-image,
    .wa .wimg {
        justify-self: center;
        width: min(90%, 380px);
    }

    /* Sección 3 - Bemaster: imagen → texto → botón */
    .bemaster-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: clamp(25px, 5vw, 40px);
    }

    .bemaster-image {
        order: -1;
        justify-self: center;
        width: min(90%, 380px);
    }

    .bemaster-text {
        order: 0;
    }

    /* Secciones de Profesiones 4-9: imagen → texto */
    .profession-content-1,
    .profession-content-2,
    .profession-content-3,
    .profession-content-4,
    .profession-content-5,
    .profession-content-6 {
        grid-template-columns: 1fr;
        text-align: center;
        gap: clamp(25px, 5vw, 40px);
    }

    /* Para todas las secciones de profesiones, imagen primero */
    .profession-image-1,
    .profession-image-2,
    .profession-image-3,
    .profession-image-4,
    .profession-image-5,
    .profession-image-6 {
        order: -1;
        justify-self: center;
        width: min(90%, 380px);
    }

    .profession-text-1,
    .profession-text-2,
    .profession-text-3,
    .profession-text-4,
    .profession-text-5,
    .profession-text-6 {
        order: 0;
    }
}

@media (max-width: 768px) {
    .s17 .cards {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
        gap: clamp(16px, 3vw, 22px);
    }

    .s17 .arrow {
        right: 12px;
        top: -6px;
    }
}

@media (max-width: 560px) {
    .s17 {
        padding: clamp(40px, 8vh, 60px) 0;
    }

    .s17 .cards {
        grid-template-columns: 1fr;
    }

    .s17 .arrow {
        width: 60px;
        opacity: 0.8;
    }

    .icons3 {
        grid-template-columns: 1fr;
    }

    .options {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ANIMACIONES Y UTILIDADES
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible para accesibilidad */
:focus-visible {
    outline: 3px solid var(--primary-red);
    outline-offset: 3px;
}

/* Mejoras de rendimiento */
.hero-section::before,
.seccion-15::before {
    will-change: transform;
}

img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}