/* -------------------------------------------------
   VARIABLES DE MARCA
-------------------------------------------------- */
:root {
    --bt-red: #C6302C;
    --bt-pink: #FFB7E9;
    --bt-fuchsia: #E80B74;
    --bt-black: #000000;
    --bt-white: #FFFFFF;
    --bt-cream: #FFE9DB;
    --bt-orange: #FFA31D;
    --bt-mint: #A3E6C8;

    --bt-font-title: "Amatic SC", cursive;
    --bt-font-display: "Special Elite", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --bt-font-body: "Calibri", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

    --bt-radius-sm: 6px;
    --bt-radius-md: 12px;
    --bt-radius-lg: 50px;

    --bt-shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.12);
    --bt-shadow-card: 0 8px 20px rgba(0, 0, 0, 0.15);

    --bt-header-height: 80px;
    --bt-max-width: 1100px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    margin: 0;
    font-family: var(--bt-font-body);
    color: var(--bt-black);
    background-color: var(--bt-white);
    /* line-height: 1.6; */
    width: 100%;
    position: relative;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* -------------------------------------------------
   SECCIONES GENERALES
-------------------------------------------------- */
.bt-section {
    padding: 80px 16px;
    z-index: 1;
}

.bt-section--cream {
    background-color: var(--bt-cream);
}

.bt-section__inner {
    max-width: var(--bt-max-width);
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.bt-section__inner--narrow {
    max-width: 720px;
    margin: 0 auto;
}

.bt-section__header {
    margin-bottom: 40px;
}

.bt-section__header--center {
    text-align: center;
}

.bt-section__title {
    font-family: var(--bt-font-title);
    font-size: 3.5rem;
    color: var(--bt-fuchsia);
    margin: 0 0 10px;
    letter-spacing: 0.02em;
    font-weight: normal;
    text-transform: uppercase;
}

.bt-section__subtitle {
    font-family: var(--bt-font-body);
    font-size: 1.1rem;
    color: var(--bt-black);
    max-width: 600px;
    line-height: 1.4;
    font-weight: normal;
}

.bt-section__header--center .bt-section__subtitle {
    margin: 0 auto;
}

/* -------------------------------------------------
   HEADER
-------------------------------------------------- */
.bt-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.bt-header__inner {
    max-width: var(--bt-max-width);
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bt-logo img {
    height: 56px;
    width: auto;
}

.bt-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.bt-nav__list {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bt-nav__link {
    font-family: var(--bt-font-title);
    font-size: 1.4rem;
    color: var(--bt-black);
    position: relative;
    padding-bottom: 3px;
}

.bt-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--bt-red);
    transition: width 0.25s ease-out;
}

.bt-nav__link:hover::after,
.bt-nav__link--active::after {
    width: 100%;
}

.bt-nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.bt-nav__toggle span {
    width: 22px;
    height: 2px;
    background-color: var(--bt-black);
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.bt-nav__toggle--open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.bt-nav__toggle--open span:nth-child(2) {
    opacity: 0;
}

.bt-nav__toggle--open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Auth buttons in nav */
.btn-login {
    font-family: var(--bt-font-title);
    font-size: 1.2rem;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid var(--bt-red);
    background: transparent;
    color: var(--bt-red);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn-login:hover {
    background: var(--bt-red);
    color: var(--bt-white);
}

/* -------------------------------------------------
   HERO
-------------------------------------------------- */
.bt-hero {
    position: relative;
    min-height: 100vh;
    padding: 80px 16px 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bt-white);
    background: linear-gradient(180deg, #d38ca5 0%, #d896b0 50%, #ea9ab2 100%);
    overflow: hidden;
}

.bt-hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: 0;
}

.bt-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(232, 11, 116, 0.35);
    z-index: 1;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    mix-blend-mode: overlay;
}

.bt-hero__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 60px;
}

.bt-hero__title {
    font-family: var(--bt-font-title);
    font-size: 4.5rem;
    line-height: 1.1;
    margin: 0 0 10px;
    color: var(--bt-white);
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 2px;
}

.bt-hero__subtitle {
    margin: 0 auto 30px;
    font-family: var(--bt-font-body);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--bt-white);
    max-width: 600px;
}

.bt-hero__actions {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
}

/* Services Icons Section */
.bt-hero__services {
    display: flex;
    justify-content: center;
    gap: 40px;
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1000px;
    margin-top: 40px;
}

.bt-service-icon {
    width: 180px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.bt-service-icon:hover {
    transform: scale(1.05);
}

/* Heart shape (Sobre Mi image) */
.bt-heart-shape {
    width: 100%;
    height: 100%;
    background-color: var(--bt-white);
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 85' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 85 C45 80 0 50 0 25 C0 10 10 0 25 0 C35 0 45 10 50 20 C55 10 65 0 75 0 C90 0 100 10 100 25 C100 50 55 80 50 85 Z' fill='black'/%3E%3C/svg%3E") no-repeat center/contain;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 85' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 85 C45 80 0 50 0 25 C0 10 10 0 25 0 C35 0 45 10 50 20 C55 10 65 0 75 0 C90 0 100 10 100 25 C100 50 55 80 50 85 Z' fill='black'/%3E%3C/svg%3E") no-repeat center/contain;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background: var(--bt-pink);
}

.bt-heart-shape img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 85' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 85 C45 80 0 50 0 25 C0 10 10 0 25 0 C35 0 45 10 50 20 C55 10 65 0 75 0 C90 0 100 10 100 25 C100 50 55 80 50 85 Z' fill='black'/%3E%3C/svg%3E") no-repeat center/contain;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 85' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 85 C45 80 0 50 0 25 C0 10 10 0 25 0 C35 0 45 10 50 20 C55 10 65 0 75 0 C90 0 100 10 100 25 C100 50 55 80 50 85 Z' fill='black'/%3E%3C/svg%3E") no-repeat center/contain;
}

@media (max-width: 768px) {
    .bt-hero__title {
        font-size: 3rem;
    }

    .bt-hero__services {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .bt-service-icon {
        width: 150px;
    }
}

/* -------------------------------------------------
   ECLIPSES (Separadores)
-------------------------------------------------- */
.bt-eclipse {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40vw;
    height: auto;
    /* Tamaño que se adapta responsablemente */
    z-index: 0 !important;
    pointer-events: none;
    /* Que no interrumpan clics por error */
}

/* Compensar 1px o 2px para evitar la linea divisora tipica de los navegadores si se muestra */
.bt-eclipse--top {
    bottom: -1px;
}

.bt-eclipse--bottom {
    top: -1px;
}

/* -------------------------------------------------
   BOTONES
-------------------------------------------------- */
.bt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 5px 15px;
    border-radius: 999px;
    font-family: var(--bt-font-title);
    font-size: 1.4rem;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
    text-align: center;
}

.bt-btn--primary {
    background-color: var(--bt-fuchsia);
    color: var(--bt-white);
    box-shadow: 0 4px 15px rgba(232, 11, 116, 0.4);
    border: 1px solid var(--bt-white);
}

.bt-btn--primary:hover {
    background-color: var(--bt-white);
    color: var(--bt-fuchsia);
    border-color: var(--bt-fuchsia);
    transform: translateY(-3px);
}

.bt-btn--full {
    width: 100%;
}

.bt-btn--secondary {
    background: var(--bt-pink);
    color: var(--bt-black);
}

.bt-btn--secondary:hover {
    background: var(--bt-fuchsia);
    color: var(--bt-white);
}

/* -------------------------------------------------
   SOBRE MI
-------------------------------------------------- */
.bt-about-me {
    position: relative;
    background-image: url('../img/BT_PW_Grafica_Fondo1.webp');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.bt-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.bt-about-text {
    font-family: var(--bt-font-body);
    font-size: 1.1rem;
    color: var(--bt-black);
    line-height: 1.4;
    font-weight: normal;
}

.bt-about-text p {
    margin-bottom: 16px;
}

.bt-about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bt-big-heart-container {
    width: 400px;
    height: 350px;
    position: relative;
}

.bt-heart-shape--large {
    padding: 6px;
}

@media (max-width: 900px) {
    .bt-about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .bt-big-heart-container {
        width: 300px;
        height: 260px;
    }
}

/* -------------------------------------------------
   SERVICIOS
-------------------------------------------------- */
.bt-services {
    position: relative;
    background-image: url('../img/BT_PW_Grafica_Fondo2.webp');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    padding: 80px 16px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.bt-services .bt-tabs {
    justify-content: center;
    border-bottom: none;
    margin-bottom: 20px;
}

.bt-service-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 30px;
}

.bt-service-image img {
    width: 100%;
    height: auto;
    border-radius: 30px !important;
    box-shadow: var(--bt-shadow-card);
    object-fit: cover;
    max-height: 400px;
}

.bt-service-intro {
    font-size: 1.05rem;
    /* color: var(--bt-black); */
    margin-bottom: 24px;
    font-family: 'Calibri', sans-serif;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .bt-service-content-grid {
        grid-template-columns: 1fr;
    }
}

/* Catálogo CTA */
.bt-catalogo-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 550px;
    /* ~10% más grande que el tamaño físico original que era de 496px (80% de 620px) */
    width: 90%;
    margin: 40px auto 0;
    container-type: inline-size;
}

.bt-catalogo-cta__bg {
    width: 100%;
    height: auto;
    display: block;
}

.bt-catalogo-cta__text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    text-align: center;
    margin: 0;
    font-family: var(--bt-font-body);
    font-size: 3.1cqi;
    /* Tamaño relativo al contenedor, se achica y agranda exactamente igual que la imagen */
    color: var(--bt-black);
    font-weight: 500;
    white-space: nowrap;
}

.bt-catalogo-cta__link {
    text-decoration: underline;
    text-underline-offset: 2px;
    color: var(--bt-black);
    cursor: pointer;
    transition: color 0.2s ease;
}

.bt-catalogo-cta__link:hover {
    color: var(--bt-fuchsia);
}

@media (max-width: 600px) {
    .bt-catalogo-cta {
        width: 95%;
        /* Pequeño ajuste en móviles para aprovechar la pantalla */
    }
}

/* Tabs */
.bt-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
}

.bt-tab {
    padding: 10px 24px;
    border-radius: 999px;
    font-family: var(--bt-font-title);
    font-size: 1.4rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
    background-color: var(--bt-fuchsia);
    color: var(--bt-white);
    box-shadow: 0 4px 15px rgba(232, 11, 116, 0.4);
    border: 1px solid var(--bt-white);
}

.bt-tab:hover {
    transform: translateY(-3px);
    background-color: var(--bt-white);
    color: var(--bt-fuchsia);
    border-color: var(--bt-fuchsia);
}

.bt-tab--active {
    background-color: var(--bt-white);
    color: var(--bt-fuchsia);
    border-color: var(--bt-fuchsia);
    box-shadow: 0 6px 12px rgba(232, 11, 116, 0.4);
}

.bt-tab-panels {
    position: relative;
}

.bt-tab-panel {
    display: none;
    animation: fadeIn 0.25s ease-out;
}

.bt-tab-panel--active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accordion */
.bt-accordion {
    overflow: hidden;
    border-radius: 20px;
    border: 2px solid var(--bt-fuchsia);
    box-shadow: var(--bt-shadow-card);
}

.bt-accordion__item {
    border-radius: 0;
    overflow: hidden;
    border: none;
    border-top: 1px solid var(--bt-fuchsia);
    background-color: var(--bt-cream);
}

.bt-accordion__item:first-child {
    border-top: none;
}

.bt-accordion__header {
    padding: 3px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: transparent;
}

.bt-accordion__title {
    font-family: var(--bt-font-body);
    font-size: 1.05rem;
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
    color: var(--bt-black);
    font-weight: normal;
}

.bt-accordion__icon {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: var(--bt-fuchsia);
    border: 2px solid var(--bt-fuchsia);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="1.5" stroke-linecap="square" stroke-linejoin="miter"><path d="M9 5l7 7-7 7"/></svg>');
    background-size: 20px 20px;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.bt-accordion__header:hover .bt-accordion__icon {
    background-color: #ffffff;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23E80B74" stroke-width="1.5" stroke-linecap="square" stroke-linejoin="miter"><path d="M9 5l7 7-7 7"/></svg>');
}

.bt-accordion__item--open .bt-accordion__icon {
    transform: rotate(90deg);
    background-color: #ffffff;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23E80B74" stroke-width="1.5" stroke-linecap="square" stroke-linejoin="miter"><path d="M9 5l7 7-7 7"/></svg>');
}

.bt-accordion__item--open .bt-accordion__header:hover .bt-accordion__icon {
    background-color: var(--bt-fuchsia);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="1.5" stroke-linecap="square" stroke-linejoin="miter"><path d="M9 5l7 7-7 7"/></svg>');
}

.bt-accordion__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.22s ease-out, padding 0.22s ease-out;
    padding: 0 16px;
    background-color: #A3E6C8;
}

.bt-accordion__item--open .bt-accordion__body {
    /* padding: 10px 16px 16px; */
    border-top: 1px solid var(--bt-fuchsia);
}

.bt-accordion__body p {
    font-size: 0.95rem;
    margin: 0 0 10px;
}

/* -------------------------------------------------
   BLOG (Carousel)
-------------------------------------------------- */
.bt-blog {
    position: relative;
    background-image: url('../img/BT_PW_Grafica_Fondo2.webp');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 16px;
}

.bt-blog-wrapper {
    position: relative;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 70px;
    width: 100%;
}

.bt-blog-container {
    overflow: hidden;
    width: 100%;
    padding: 10px 0 20px;
}

.bt-blog-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-out;
}

.bt-post-card {
    flex: 0 0 300px;
    /* Ancho estandar: no depende de si hay 1 tarjeta o 4 */
    max-width: 100%;
    background: white;
    border-radius: var(--bt-radius-md);
    overflow: hidden;
    box-shadow: var(--bt-shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: auto;
    text-decoration: none;
    color: inherit;
}

.bt-post-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--bt-shadow-soft);
}

.bt-post-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.bt-post-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.bt-post-title {
    font-family: var(--bt-font-title);
    font-size: 1.5rem;
    line-height: 1.2;
    margin: 0 0 10px;
    color: var(--bt-red);
    text-transform: uppercase;
}

.bt-post-excerpt {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bt-post-date {
    font-size: 0.85rem;
    color: #666;
    margin-top: auto;
    padding-top: 10px;
    font-family: var(--bt-font-display);
}

/* Navigation Buttons */

/* -------------------------------------------------
   ALIANZAS
-------------------------------------------------- */
.bt-alianzas {
    position: relative;
    background-image: url('../img/BT_PW_Grafica_Fondo1.webp');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 16px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.bt-alianzas .bt-section__subtitle {
    max-width: 600px;
    margin: 0 auto;
}

.bt-alianzas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    width: 100%;
    max-width: 1100px;
}

.bt-alianza-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bt-alianza-logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -30px; /* overlap with the card */
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 15px;
}

.bt-alianza-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.bt-alianza-card {
    background-image: url('../img/BT_PW_Grafica_LaminaAlianza_Caja.webp');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    padding: 50px 30px 40px; /* extra top padding for overlap */
    width: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.bt-alianza-card p {
    font-family: var(--bt-font-body);
    font-size: 0.95rem;
    color: var(--bt-black);
    line-height: 1.4;
    margin-bottom: 10px;
}

.bt-alianza-social {
    margin-top: auto;
    font-weight: bold;
    padding-top: 10px;
}

@media (max-width: 900px) {
    .bt-alianzas-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--bt-fuchsia);
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    text-decoration: none;
    background-size: 26px 26px;
    background-position: center;
    background-repeat: no-repeat;
}

.nav-button:hover {
    transform: translateY(-50%) scale(1.1);
    background-color: var(--bt-white);
    border-color: var(--bt-fuchsia);
    box-shadow: 0 6px 15px rgba(232, 11, 116, 0.3);
}

.nav-button:active {
    background-color: #ffffff;
    border-color: var(--bt-fuchsia);
    transform: translateY(-50%) scale(0.95);
}

.nav-button--prev {
    left: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="1.5" stroke-linecap="square" stroke-linejoin="miter"><path d="M15 19l-7-7 7-7"/></svg>');
}

.nav-button--prev:hover,
.nav-button--prev:active {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23E80B74" stroke-width="1.5" stroke-linecap="square" stroke-linejoin="miter"><path d="M15 19l-7-7 7-7"/></svg>');
}

.nav-button--next {
    right: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="1.5" stroke-linecap="square" stroke-linejoin="miter"><path d="M9 5l7 7-7 7"/></svg>');
}

.nav-button--next:hover,
.nav-button--next:active {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23E80B74" stroke-width="1.5" stroke-linecap="square" stroke-linejoin="miter"><path d="M9 5l7 7-7 7"/></svg>');
}

.nav-button:disabled,
.nav-button.disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
    box-shadow: none;
}

/* -------------------------------------------------
   CONTACTO
-------------------------------------------------- */
.bt-contacto-bg {
    position: relative;
    background-image: url('../img/BT_PW_Grafica_Fondo1.webp');
    background-size: cover;
    background-position: center;
    padding: 80px 16px 100px;
}

.bt-form {
    background: var(--bt-mint);
    border-radius: 30px;
    padding: 25px 30px;
    box-shadow: none;
    border: 2px solid #ffffff;
}

.bt-form__row {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bt-form__group {
    margin-bottom: 12px;
}

.bt-form__group label {
    display: block;
    font-size: 1.05rem;
    font-weight: bold;
    color: var(--bt-black);
    margin-bottom: 4px;
    font-family: var(--bt-font-body);
}

.bt-form__group input,
.bt-form__group select,
.bt-form__group textarea {
    width: 100%;
    border-radius: 8px;
    border: none;
    padding: 10px 14px;
    font-family: var(--bt-font-body);
    font-size: 1rem;
    background-color: var(--bt-white);
    transition: box-shadow 0.18s ease;
}

.bt-form__group textarea {
    resize: vertical;
    min-height: 100px;
}

.bt-form__group input:focus,
.bt-form__group select:focus,
.bt-form__group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--bt-fuchsia);
}

.bt-form__note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--bt-black);
    margin-top: 15px;
    margin-bottom: 15px;
}

.bt-form__socials {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.bt-form__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: var(--bt-fuchsia);
    color: var(--bt-white);
    border-radius: 50%;
    border: 2px solid #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bt-form__socials a:hover {
    transform: scale(1.1);
    background-color: var(--bt-white);
    color: var(--bt-fuchsia);
    border-color: var(--bt-fuchsia);
}

#contacto {
    background-image: url('../img/BT_PW_Grafica_Fondo1.webp');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: transparent;
}

/* -------------------------------------------------
   FOOTER
-------------------------------------------------- */
.bt-footer {
    position: relative;
    background-image: url('../img/BT_PW_Grafica_FondoFooter.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--bt-white);
    padding: 60px 20px 30px;
    font-family: var(--bt-font-body);
}

.bt-footer__container {
    max-width: var(--bt-max-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.bt-footer__top {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

@media (max-width: 900px) {
    .bt-footer__top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .bt-footer__top {
        grid-template-columns: 1fr;
    }
}

.bt-footer__links-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bt-footer__title {
    font-family: var(--bt-font-title);
    font-size: 2.2rem;
    margin: 0 0 16px;
    letter-spacing: 0.05em;
    font-weight: normal;
    text-transform: uppercase;
    color: var(--bt-white);
}

.bt-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.bt-footer__nav a {
    text-decoration: none;
    font-size: 1.15rem;
    color: var(--bt-white);
    transition: color 0.2s;
}

.bt-footer__nav a:hover {
    color: var(--bt-cream);
}

.bt-footer__login {
    background: transparent;
    border: 1.5px solid var(--bt-white);
    border-radius: 8px;
    color: var(--bt-white);
    padding: 2px 14px;
    font-family: var(--bt-font-title);
    font-size: 1.5rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
    margin-top: 15px;
    margin-bottom: 12px;
    display: inline-block;
}

.bt-footer__login:hover {
    background: var(--bt-white);
    color: var(--bt-fuchsia);
}

.bt-footer__contact-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bt-footer__email {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
}

.bt-footer__email i {
    font-size: 1.8rem;
}

.bt-footer__email a {
    color: var(--bt-white);
    text-decoration: none;
}

.bt-footer__socials-col {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.bt-copyright {
    font-size: 0.75rem;
    margin: 0;
    font-family: var(--bt-font-body);
}

.bt-footer__socials {
    display: flex;
    gap: 14px;
    align-self: flex-end;
}

.bt-footer__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: var(--bt-fuchsia);
    color: var(--bt-white);
    border-radius: 50%;
    border: 2px solid #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bt-footer__socials a:hover {
    transform: scale(1.1);
    background-color: var(--bt-white);
    color: var(--bt-fuchsia);
    border-color: var(--bt-fuchsia);
}



/* -------------------------------------------------
   TOAST
-------------------------------------------------- */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--bt-black);
    color: var(--bt-white);
    padding: 12px 20px;
    border-radius: var(--bt-radius-md);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.toast.error {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

/* -------------------------------------------------
   ADMIN
-------------------------------------------------- */
.bt-admin {
    background-color: var(--bt-white);
}

/* -------------------------------------------------
   UTILITIES
-------------------------------------------------- */
.selectable-text {
    user-select: text;
    cursor: text;
}

/* -------------------------------------------------
   WHATSAPP FLOATING BUTTON
-------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--bt-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 998;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--bt-red);
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.whatsapp-float i {
    font-size: 2rem;
    color: var(--bt-red);
}

/* -------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */
@media (max-width: 768px) {
    .bt-header__inner {
        padding-inline: 16px;
    }

    .bt-nav__toggle {
        display: flex;
    }

    .bt-nav__list {
        position: absolute;
        top: 100%;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        padding: 12px 18px 16px;
        min-width: 180px;
        transform-origin: top right;
        transform: scaleY(0);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.16s ease-out, opacity 0.16s ease-out;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .bt-nav__list--open {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .bt-section {
        padding: 64px 16px;
    }

    .bt-form__row {
        grid-template-columns: 1fr;
    }

    .bt-hero__title {
        font-size: 3rem;
    }

    /* Alineación de textos a la izquierda en vista de teléfono (excepto títulos y cajas) */
    .bt-about-text,
    .bt-about-grid,
    .bt-section__subtitle,
    .bt-hero__subtitle,
    .bt-service-intro,
    .bt-accordion__body p {
        text-align: left !important;
    }
}

@media (max-width: 480px) {
    .bt-hero__title {
        font-size: 2.6rem;
    }

    .bt-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .bt-section__title {
        font-size: 2.4rem;
    }
}

/* Responsive Blog */
@media (max-width: 1024px) {
    .bt-post-card {
        flex: 0 0 300px;
        /* Mantener el ancho fijo o se estirará para llenar toda la columna si quedan pocos */
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .bt-post-card {
        flex: 0 0 100%;
        /* Aquí sí puede ocupar el 100% en pantallas pequeñas porque es la única manera de leer bien en ellas */
    }

    .bt-blog-wrapper {
        padding: 0 50px;
    }

    .nav-button {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .nav-button--prev {
        left: 0px;
    }

    .nav-button--next {
        right: 0px;
    }
}

/* -------------------------------------------------
   FADE-IN ANIMATION (Blog Cards)
-------------------------------------------------- */
.bt-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.bt-fade-in--visible {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------------------
   MODAL CATÁLOGO
-------------------------------------------------- */
.bt-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.25s ease-out;
}

.bt-modal-overlay--open {
    display: flex;
}

.bt-modal {
    position: relative;
    background-color: var(--bt-mint);
    border-radius: 30px;
    border: 2px solid #ffffff;
    max-width: 620px;
    width: 100%;
    padding: 30px 35px 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.bt-modal__close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: var(--bt-fuchsia);
    color: var(--bt-white);
    border: 2px solid var(--bt-white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.3rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.bt-modal__close:hover {
    background: var(--bt-white);
    color: var(--bt-fuchsia);
    border-color: var(--bt-fuchsia);
    transform: scale(1.1);
}

.bt-modal__body {
    color: var(--bt-black);
}

.bt-modal__desc {
    font-family: var(--bt-font-body);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 10px;
}

.bt-modal__promise {
    font-family: var(--bt-font-body);
    font-size: 1.05rem;
    font-weight: normal;
    margin: 0 0 28px;
}

.bt-modal__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bt-modal__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bt-modal__label {
    font-family: var(--bt-font-body);
    font-size: 1.05rem;
    font-weight: bold;
    color: var(--bt-black);
}

.bt-modal__input {
    width: 100%;
    padding: 10px 14px;
    border: none;
    border-radius: 8px;
    font-family: var(--bt-font-body);
    font-size: 1rem;
    background-color: var(--bt-white);
    transition: box-shadow 0.18s ease;
}

.bt-modal__input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--bt-fuchsia);
}

.bt-modal__submit {
    align-self: center;
    margin-top: 10px;
    /* padding: 10px 36px; */
    font-size: 1.4rem;
}

.bt-btn:disabled,
.bt-btn[disabled] {
    background-color: #a0a0a0 !important;
    color: #e0e0e0 !important;
    border-color: #a0a0a0 !important;
    cursor: not-allowed !important;
    opacity: 0.8;
    transform: none !important;
    box-shadow: none !important;
}

@media (max-width: 600px) {
    .bt-modal {
        padding: 30px 22px 26px;
    }

    .bt-modal__input {
        width: 100%;
    }

    .bt-modal__desc,
    .bt-modal__promise {
        font-size: 0.95rem;
    }
}