/*agregue su codigo CSS*/

/* ── BOTÓN FLOTANTE DE WHATSAPP (inc.cabecera.php / producto.html) ── */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 300;
    display: flex;
    align-items: center;
    gap: 9px;
    height: 46px;
    padding: 0 18px 0 8px;
    border-radius: 999px;
    background: #1da851;
    color: #fff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .01em;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(29, 168, 81, .4), 0 2px 8px rgba(0, 0, 0, .12);
    transition: transform .2s, box-shadow .2s, opacity .2s;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    opacity: .94;
    box-shadow: 0 10px 26px rgba(29, 168, 81, .5), 0 2px 8px rgba(0, 0, 0, .16);
}

.whatsapp-float-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.whatsapp-float svg {
    width: 15px;
    height: 15px;
    fill: #1da851;
}

/* ═══════════════════════════════════════════════════════════
   PLANTILLA DE PRODUCTO (cursos) — usada por producto.html
   ═══════════════════════════════════════════════════════════ */

/* ── PAGE HERO (banner interior, sustituye al hero-slider en páginas internas) ── */
.page-hero {
    position: relative;
    height: 576px;
    min-height: 504px;
    overflow: hidden;
    background: #1a1410;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.page-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 15, 10, .55) 0%, rgba(20, 15, 10, .25) 45%, rgba(20, 15, 10, .8) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2.5rem 48px;
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    transition: color .2s;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb svg {
    width: 12px;
    height: 12px;
    stroke: rgba(255, 255, 255, .45);
    fill: none;
    stroke-width: 2;
}

.breadcrumb span[aria-current] {
    color: #fff;
    font-weight: 500;
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0 auto 14px;
    max-width: 760px;
}

.page-hero-lead {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, .9);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
}

/* ── LAYOUT DE PRODUCTO (columna de contenido + sidebar de precio) ── */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 56px;
    align-items: start;
    max-width: 1240px;
    margin: 0 auto;
}

.product-main h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--slate);
    line-height: 1.25;
    margin: 44px 0 16px;
}

.product-main>h2:first-child {
    margin-top: 0;
}

.product-main p {
    font-size: 17px;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.85;
    margin-bottom: 18px;
}

/* ── DETALLES RÁPIDOS (inicio del curso / horarios) ── */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 8px;
}

.detail-item {
    background: var(--sand0);
    border: 0.5px solid var(--border);
    border-radius: 12px;
    padding: 22px;
    display: flex;
    gap: 14px;
}

.detail-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(3, 51, 114, .08);
    border: 0.5px solid rgba(3, 51, 114, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--blue);
    fill: none;
    stroke-width: 1.8;
}

.detail-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--slate);
    margin-bottom: 4px;
}

.detail-item p {
    font-size: 14px;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* ── TABLA DE PRECIOS ── */
.price-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--sand0);
    border: 0.5px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
}

.price-table th,
.price-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 0.5px solid var(--border);
}

.price-table th {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--sand1);
}

.price-table td {
    font-size: 16px;
    color: var(--text);
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table .price-cell {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--slate);
}

.price-footnotes {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
}

.price-footnotes li {
    font-size: 14px;
    color: var(--muted);
    font-weight: 300;
    padding-left: 16px;
    position: relative;
}

.price-footnotes li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--green);
}

/* ── NOTA DESTACADA (cita centrada bajo una sección) ── */
.section-note {
    max-width: 640px;
    margin: 8px auto 0;
    text-align: center;
    font-size: 16px;
    font-style: italic;
    font-weight: 300;
    color: var(--muted);
}

/* ── SIDEBAR DE PRECIO (tarjeta sticky) ── */
.price-card {
    position: sticky;
    top: 96px;
    background: var(--sand0);
    border: 0.5px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 24px 60px rgba(63, 74, 89, .1);
}

.price-card-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 10px;
}

.price-card-amount {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 2px;
}

.price-card-amount strong {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--slate);
    line-height: 1;
}

.price-card-amount span {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.3;
}

.price-card-alt {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 22px;
}

.price-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    padding-top: 22px;
    border-top: 0.5px solid var(--border);
}

.price-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
}

.price-list svg {
    width: 16px;
    height: 16px;
    stroke: var(--green);
    fill: none;
    stroke-width: 2.5;
    flex-shrink: 0;
    margin-top: 2px;
}

.price-card .btn-fill {
    width: 100%;
    text-align: center;
    margin-bottom: 14px;
}

.price-card .form-note {
    font-size: 13px;
}

/*<Estilos imagenes insercion>*/
.izquierda {
	position: relative;
	float: left;
	margin-right: 20px;
}

.derecha {
	position: relative;
	float: right;
	margin-left: 20px;
}

.centro {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
}

.cien_porciento {
	position: relative;
	float: left;
	width: 100%;
	clear: both;
}

.cincuenta_porciento_izquierda {
	position: relative;
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
	width: calc(50% - 20px);
	text-align: left;
}

.cincuenta_porciento_derecha {
	position: relative;
	float: right;
	margin-left: 20px;
	width: calc(50% - 20px);
	margin-bottom: 20px;
}

.treinta_porciento_izquierda {
	position: relative;
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
	width: calc(33.3% - 20px);
	text-align: justify;
}

.treinta_porciento_centro {
	position: relative;
	float: left;
	width: calc(33.3% - 20px);
	margin-bottom: 20px;
	margin-right: 10px;
	margin-left: 10px;
	text-align: justify;
}

.veinticinco_porciento_izquierda {
	position: relative;
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
	width: calc(25% - 20px);
	text-align: justify;
}

.veinticinco_porciento_derecha {
	position: relative;
	float: left;
	margin-left: 20px;
	margin-bottom: 20px;
	width: calc(25% - 20px);
	text-align: justify;
}

.treinta_porciento_derecha {
	position: relative;
	float: right;
	margin-left: 20px;
	width: calc(33.3% - 20px);
	margin-bottom: 20px;
	text-align: justify;
}

.veinte_porciento_izquierda {
	position: relative;
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
	width: calc(20% - 20px);
	text-align: justify;
}

.diez_porciento_izquierda {
	position: relative;
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
	width: calc(10% - 20px);
	text-align: justify;
}

.cuarenta_porciento_izquierda {
	position: relative;
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
	width: calc(40% - 20px);
	text-align: justify;
}

.cuarenta_porciento_derecha {
	position: relative;
	float: right;
	margin-left: 20px;
	width: calc(40% - 20px);
	margin-bottom: 20px;
}

.veinte_porciento_derecha {
	position: relative;
	float: right;
	margin-left: 20px;
	width: calc(20% - 20px);
	margin-bottom: 20px;
}

.diez_porciento_derecha {
	position: relative;
	float: right;
	margin-left: 20px;
	width: calc(10% - 20px);
	margin-bottom: 20px;
}