/* Landing de Carnisseria Elisabeth.
   Medidas, colores y puntos de corte tomados del tema en produccion (bootscore-child). */

@font-face {
    font-family: 'Rubik';
    src: url('../fonts/rubik-latin.woff2') format('woff2');
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto Slab';
    src: url('../fonts/roboto-slab-latin.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --red: #da3c22;
    --buy: #dc3545;
    --ink: #343a40;
    --text: #808080;
    --navy: #0c1529;
    --bg-soft: #f8f8ff;
    --bg-grey: #f8f8f8;
    --bg-disc: #fbf3f1;
    --bg-bottom: #091020;
    --serif: 'Roboto Slab', sans-serif;
    --sans: 'Rubik', sans-serif;
}

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

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

body {
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    background: #fff;
}

h1, h2, h3, h4, h5 {
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 700;
}

img, svg {
    vertical-align: middle;
}

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

ul {
    list-style: none;
}

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

button {
    font: inherit;
    background: transparent;
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

.sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.page {
    position: relative;
    overflow-x: clip;
}

.scroll-sentinel {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 350px;
    pointer-events: none;
}

.container {
    width: 100%;
    margin-inline: auto;
    padding-inline: 15px;
}

@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1200px; } }

.shape {
    position: absolute;
    pointer-events: none;
}

/* ---------- Titulos de seccion ---------- */
.sec-title {
    position: relative;
    display: block;
    margin-top: -8px;
    padding-bottom: 52px;
}

.sec-title--center {
    text-align: center;
}

.sec-title__sub {
    display: block;
    padding-bottom: 26px;
}

.sec-title__label {
    display: inline-block;
    color: var(--red);
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.dash {
    position: relative;
    top: -5px;
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--red);
}

.dash--left { margin-right: 19px; }
.dash--right { margin-left: 15px; }

.sec-title h1,
.sec-title h2 {
    margin: 0 0 18px;
    color: var(--ink);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: capitalize;
}

.sec-title p {
    font-size: 17px;
}

/* ---------- Botones ---------- */
.btn-main {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding-inline: 50px;
    color: #fff;
    font-family: var(--sans);
    font-size: 17px;
    font-weight: 500;
    line-height: 60px;
    text-transform: capitalize;
    background: var(--red);
    transition: all 0.3s linear;
}

.btn-main::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 0;
    background: var(--ink);
    border: 2px solid var(--red);
    opacity: 0;
    transform: rotateX(45deg);
    transition: all 0.2s linear;
}

.btn-main:hover,
.btn-main:focus-visible {
    color: #fff;
    text-shadow: 0 5px 3px rgba(12, 21, 41, 0.1);
}

.btn-main:hover::before,
.btn-main:focus-visible::before {
    width: 100%;
    opacity: 1;
    transform: rotateX(0deg);
    transition: all 0.4s linear;
}

.btn-main__text {
    position: relative;
    z-index: 1;
}

.btn-buy {
    display: inline-block;
    white-space: nowrap;
    padding: 6px 12px;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    background: var(--buy);
    border: 1px solid var(--buy);
    border-radius: 4px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.btn-buy:hover {
    background: #c82333;
    border-color: #bd2130;
}

.buy {
    display: flex;
    flex: none;
    align-items: flex-start;
    height: 110px;
    padding: 32px 0 0;
}

/* ---------- Cabecera ---------- */
.site-header {
    position: relative;
    z-index: 999;
}

.topbar {
    padding: 10px 0 11px;
    background: var(--ink);
}

.topbar__row {
    min-height: 29px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.topbar__social {
    display: flex;
    align-items: center;
    height: 28px;
    color: #fff;
}

.topbar__label {
    font-size: 15px;
    line-height: 28px;
}

.topbar__social a {
    display: inline-flex;
    margin-left: 20px;
    font-size: 14px;
    transition: color 200ms linear 0.1s;
}

.topbar__contact {
    display: flex;
}

.topbar__contact li {
    position: relative;
    padding-right: 31px;
    margin-right: 30px;
    color: #fff;
    white-space: nowrap;
}

.topbar__contact li:last-child {
    padding-right: 0;
    margin-right: 0;
}

.topbar__contact li:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 4px;
    right: 0;
    bottom: 4px;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.topbar__contact .icon {
    margin-right: 10px;
    color: var(--red);
    font-size: 18px;
    vertical-align: -3px;
}

.topbar__contact a {
    color: #fff;
    font-size: 15px;
    line-height: 28px;
    transition: color 200ms linear 0.1s;
}

.topbar a:hover {
    color: var(--red);
}

.masthead {
    position: relative;
    background: #fff;
}

.masthead__row,
.sticky-bar__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.masthead__logo {
    display: block;
    width: 80px;
    padding-block: 25px;
    box-sizing: content-box;
}

.masthead__logo img,
.sticky-bar__logo img {
    display: block;
}

.sticky-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    width: 100%;
    background: #000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
}

.is-scrolled .sticky-bar {
    opacity: 1;
    visibility: visible;
}

.sticky-bar__logo {
    display: block;
    flex: 0 1 auto;
    min-width: 0;
    width: 200px;
    padding-block: 19px 20px;
    box-sizing: content-box;
}

.sticky-bar .buy {
    height: 111px;
}

@media (max-width: 1199.98px) {
    .sticky-bar__logo {
        width: 180px;
    }
}

@media (max-width: 991.98px) {
    .topbar {
        display: none;
    }
}

/* ---------- Portada ---------- */
.hero {
    position: relative;
    z-index: 10;
    display: block;
    padding-bottom: 100px;
    background: var(--bg-soft);
}

.hero__slide {
    position: relative;
    overflow: hidden;
    padding: 123px 0 300px;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.hero__inner {
    position: relative;
    z-index: 11;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 15px;
    overflow: hidden;
}

.hero__title {
    overflow: hidden;
    margin-bottom: 30px;
}

.hero__title h1 {
    color: #fff;
    font-size: 80px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 5px 3px 2px #000;
}

.hero__lead {
    overflow: hidden;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    text-shadow: 2px 2px 2px #000;
}

.hero__card-wrap {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 12;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    max-width: 1170px;
    margin-inline: auto;
}

.hero__card {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 670px;
    padding: 50px;
    background: #fff;
    box-shadow: 0 30px 80px 0 rgba(12, 21, 41, 0.15);
}

.hero__card-text {
    flex: 0 0 330px;
    width: 330px;
    padding-right: 40px;
}

.hero__card-text h2 {
    margin: 0 0 22px;
    font-size: 26px;
    line-height: 36px;
}

.hero__card-image {
    flex: 1 1 auto;
    min-width: 0;
}

.hero__card-image img {
    display: block;
    width: 100%;
}

@media (min-width: 1200px) and (max-width: 1390.98px) {
    .hero__inner { padding-inline: 120px; }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero__inner { padding-inline: 120px; }
    .hero__title { margin-bottom: 31px; }
    .hero__title h1 { font-size: 48px; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .hero__inner { padding-inline: 120px; }
    .hero__slide { padding: 153px 0 330px; }
    .hero__title { margin-bottom: 24px; }
    .hero__title h1 { font-size: 38px; }
    .hero__title br { display: none; }
}

@media (min-width: 500px) and (max-width: 767.98px) {
    .hero { padding: 0 20px; }
    .hero__inner { padding-inline: 30px; }
    .hero__slide { padding: 147px 0 330px; }
    .hero__title { margin-bottom: 23px; }
    .hero__title h1 { font-size: 38px; font-weight: 600; line-height: 1.3; }
    .hero__title br { display: none; }
    .hero__card-wrap { right: 50px; left: 50px; width: auto; max-width: none; margin: 0; }
    .hero__card { display: block; padding: 47px 30px 41px; }
    .hero__card-text { width: 100%; padding-right: 0; }
    .hero__card-text h2 { margin-bottom: 12px; }
    .hero__card-image { display: none; }
}

@media (max-width: 499.98px) {
    .hero { padding: 0; }
    .hero__inner { padding-inline: 30px; }
    .hero__slide { padding: 146px 0 200px; }
    .hero__title { margin-bottom: 22px; }
    .hero__title h1 { font-size: 38px; font-weight: 500; line-height: 1.3; }
    .hero__title br { display: none; }
    .hero__card-wrap { top: 430px; align-items: flex-start; width: 90%; }
    .hero__card { padding: 10px; }
    .hero__card-text { flex: 1 1 auto; width: auto; }
    .hero__card-text h2 { margin-bottom: 22px; font-size: 16px; line-height: 18px; }
    .hero__card-text p { font-size: 14px; line-height: 1.2; }
    .hero__card-image { flex: 0 0 100px; }
}

/* ---------- Categorias ---------- */
.features {
    position: relative;
    padding: 150px 0 100px;
    background: var(--bg-soft);
}

.features__grid {
    display: grid;
    gap: 0 30px;
}

@media (min-width: 992px) {
    .features__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.feature {
    position: relative;
    margin-bottom: 42px;
    padding: 0 30px;
    text-align: center;
}

.feature__icon {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 36px;
    padding: 3px;
    background: var(--red);
    border-radius: 50%;
}

.feature:hover .feature__icon {
    box-shadow: 0 30px 80px 0 rgba(12, 21, 41, 0.25);
    transition: all 200ms linear 0.1s;
}

.feature__dots {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.feature__dots::before,
.feature__dots::after {
    content: "";
    position: absolute;
    z-index: 10;
    width: 26px;
    height: 26px;
    background: var(--red);
    border: 3px solid #fff;
    border-radius: 50%;
}

.feature__dots::before { top: 15px; right: 13px; }
.feature__dots::after { bottom: 15px; left: 13px; }

.feature__disc {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bg-disc);
    border-radius: 50%;
}

.feature__disc::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: #fff;
    border-radius: 50%;
    transform: scale(0, 0);
    transition: all 0.5s cubic-bezier(0.62, 0.21, 0.45, 1.52);
}

.feature:hover .feature__disc::before {
    transform: scale(1, 1);
}

.feature__disc span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.feature h3 {
    margin: 0 0 22px;
    color: var(--ink);
    font-size: 24px;
    line-height: 34px;
}

.feature p {
    font-size: 17px;
}

/* ---------- About ---------- */
.about {
    position: relative;
    padding-bottom: 150px;
    background: var(--bg-soft);
}

.about__grid {
    display: grid;
    gap: 0 30px;
}

@media (min-width: 1200px) {
    .about__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.about__media {
    position: relative;
    width: 100%;
    max-width: 530px;
    padding-left: 35px;
}

.about__shape1 { top: -30px; left: -100px; opacity: 0.2; }
.about__shape2 { top: 120px; right: 34px; opacity: 0.2; }
.about__shape3 { top: 220px; right: -30px; opacity: 0.2; }
.about__shape4 { bottom: 104px; left: -7px; opacity: 0.2; }
.about__shape5 { bottom: 22px; left: -32px; opacity: 0.2; }

.about__main-image {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding-bottom: 75px;
}

.about__main-image img {
    display: block;
    width: 100%;
}

.about__thumb {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 200px;
    box-shadow: 0 30px 80px 0 rgba(12, 21, 41, 0.15);
}

.about__thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 12px solid #fff;
}

.about__thumb img {
    display: block;
    width: 200px;
}

.about__content {
    margin-left: 40px;
}

.about__content .sec-title {
    padding-bottom: 11px;
}

.about__text {
    margin-bottom: 41px;
}

.about__text p {
    margin: 0 0 28px;
}

@media (max-width: 1199.98px) {
    .about__media { max-width: 630px; padding-left: 0; }
    .about__main-image { max-width: 520px; }
    .about__content { margin-top: 40px; margin-left: 0; }
}

@media (max-width: 767.98px) {
    .about__content { margin-top: 60px; }
}

/* ---------- Productos ---------- */
.products {
    position: relative;
    z-index: 1;
    padding: 150px 0;
    background: var(--bg-grey);
}

.products__wave {
    position: absolute;
    top: -90px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background: url('../img/landing/shape/shape-bg-1.png') center top / cover no-repeat;
}

.products__box {
    position: relative;
}

.products__shape1 { bottom: 1px; left: -30px; opacity: 0.3; }
.products__shape2 { top: -60px; left: -80px; opacity: 0.2; }
.products__shape3 { top: -180px; right: -280px; opacity: 0.2; }

.products__grid {
    position: relative;
    display: grid;
    gap: 0 30px;
}

@media (min-width: 768px) {
    .products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
    .products__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.product {
    position: relative;
    margin-bottom: 30px;
}

.product:hover {
    box-shadow: 0 3px 8px #f0f0f0;
}

.product__image {
    position: relative;
    overflow: hidden;
}

.product__image img {
    display: block;
    width: 100%;
    transform: scale(1);
    transition: all 0.7s ease 0s;
}

.product:hover .product__image img {
    transform: scale(1.1);
}

.product__zoom {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    background: rgba(218, 60, 34, 0.8);
    opacity: 0;
    transition: all 0.7s ease-in-out 0.1s;
}

.product__zoom .icon {
    transform: scale(0);
    transition: all 0.5s ease-in-out;
}

.product:hover .product__zoom,
.product__zoom:focus-visible {
    opacity: 1;
}

.product:hover .product__zoom .icon,
.product__zoom:focus-visible .icon {
    transform: scale(1);
}

.product__zoom:focus-visible {
    outline-offset: -4px;
    outline-color: #fff;
}

.product__info {
    position: relative;
    padding: 30px;
    background: #fff;
    transition: all 0.4s linear;
}

.product:hover .product__info {
    box-shadow: 0 20px 50px 0 rgba(12, 21, 41, 0.1);
}

.product__info h3 {
    margin: 0 0 5px;
    color: #222;
    font-size: 18px;
    line-height: 20px;
    transition: all 500ms ease;
}

.product:hover .product__info h3 {
    color: var(--red);
}

.stars {
    display: flex;
    gap: 3px;
    height: 16px;
    color: #fbb419;
}

.stars li {
    display: flex;
    align-items: center;
    width: 13px;
}

.stars .icon {
    width: 13px;
    height: 14px;
}

.products__more {
    text-align: center;
    padding-top: 30px;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .products__wave { top: -170px; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .products__wave { top: -150px; }
}

@media (max-width: 767.98px) {
    .products__wave {
        top: 0;
        background-color: var(--bg-disc);
        background-size: auto;
    }
}

/* ---------- FAQ ---------- */
.faq {
    position: relative;
    padding: 150px 0 120px;
    background: #fff;
}

.faq__grid {
    display: grid;
    gap: 0 30px;
}

@media (min-width: 1200px) {
    .faq__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.faq__content {
    position: relative;
    width: 100%;
    max-width: 540px;
}

.faq__content .sec-title {
    padding-bottom: 46px;
}

.faq__content .sec-title h2 {
    margin: 0;
}

.faq__shape1 { bottom: -40px; left: -300px; opacity: 0.2; transform: rotate(45deg); }
.faq__shape2 { top: 170px; left: -30px; opacity: 0.3; }

.faq__list {
    position: relative;
}

.faq-item {
    position: relative;
    margin-bottom: 30px;
    padding: 15px 30px;
    background: #fff;
    box-shadow: 0 10px 50px 0 rgba(12, 21, 41, 0.15);
}

.faq-item summary {
    position: relative;
    display: block;
    padding: 16px 30px 16px 0;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary h3 {
    color: var(--navy);
    font-size: 18px;
    line-height: 28px;
}

.faq-item summary .icon {
    position: absolute;
    top: 50%;
    right: 0;
    width: 13px;
    height: 20px;
    color: var(--navy);
    transform: translateY(-50%);
}

.faq-item[open] summary .icon {
    transform: translateY(-50%) rotate(180deg);
}

.faq-item > p {
    padding-bottom: 25px;
}

.faq__media {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    padding-bottom: 215px;
    padding-left: 80px;
}

.faq__shape3 { top: 35px; left: -95px; opacity: 0.2; }
.faq__shape4 { bottom: 135px; left: 305px; opacity: 0.2; }
.faq__shape5 { right: -300px; bottom: -150px; opacity: 0.2; }

.faq__image {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 30px 80px 0 rgba(12, 21, 41, 0.2);
}

.faq__image::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
}

.faq__image img,
.faq__overlay img {
    display: block;
    width: 100%;
}

.faq__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    overflow: hidden;
    box-shadow: 0 30px 80px 0 rgba(12, 21, 41, 0.3);
}

.faq__overlay img {
    transition: all 0.7s ease-in-out 0.1s;
}

.faq__media:hover .faq__overlay img {
    transform: scale(1.1) rotate(5deg);
}

@media (max-width: 1199.98px) {
    .faq { padding: 150px 0; }
    .faq__content { max-width: 100%; }
    .faq__media { margin-top: 30px; margin-left: 0; }
}

/* ---------- Testimonios ---------- */
.testimonials {
    position: relative;
    display: flow-root;
    overflow: hidden;
    background: #fff;
}

.testimonials__media {
    float: left;
    width: 50%;
}

.testimonials__media img {
    display: block;
    width: calc(50% - 20px);
}

.testimonials__content {
    float: left;
    width: 50%;
}

.testimonials__inner {
    position: relative;
    width: 100%;
    max-width: 600px;
    padding: 90px 0 0 60px;
}

.testimonials__inner .sec-title {
    padding-bottom: 7px;
}

.carousel {
    position: relative;
}

.carousel__track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.carousel__track::-webkit-scrollbar {
    display: none;
}

.testimonial {
    position: relative;
    flex: 0 0 100%;
    padding-right: 20px;
    scroll-snap-align: start;
}

.testimonial__quote {
    position: absolute;
    top: 0;
    right: 0;
    width: 70px;
    height: 70px;
    color: rgba(218, 60, 34, 0.1);
}

.testimonial blockquote {
    position: relative;
    padding-bottom: 24px;
    color: #2d2929;
    font-size: 18px;
    font-weight: 500;
    line-height: 34px;
}

.testimonial figcaption {
    margin-top: 5px;
    padding-left: 70px;
    color: #2d2929;
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
}

.carousel__nav {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 10;
    display: none;
    gap: 20px;
}

.js .carousel__nav {
    display: flex;
}

.carousel__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    color: #222;
    font-size: 30px;
    background: transparent;
    border-radius: 50%;
    transition: all 700ms ease 0s;
}

.carousel__btn--prev {
    transform: rotate(180deg);
}

.carousel__btn:hover {
    color: var(--red);
}

@media (max-width: 1199.98px) {
    .testimonials__media,
    .testimonials__content {
        float: none;
        width: 100%;
    }

    .testimonials__inner {
        max-width: 100%;
        padding: 90px 60px 0;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .testimonials__inner { padding: 60px 60px 0; }
}

@media (max-width: 767.98px) {
    .testimonials__media { padding-bottom: 20px; }
    .testimonials__media img { width: 100%; }
    .testimonials__inner { padding: 40px 20px 0; }
}

/* ---------- Bloque de WhatsApp ---------- */
.slogan {
    position: relative;
    z-index: 1;
    padding: 150px 0;
}

.slogan::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ac2c19;
    opacity: 0.85;
}

.slogan__row {
    position: relative;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
}

.slogan h2 {
    color: #fff;
    font-size: 40px;
    font-weight: 800;
    line-height: 50px;
}

.btn-main--whatsapp {
    padding-inline: 30px;
    color: #061a3a;
    font-weight: 800;
    line-height: 68px;
    background: #fff;
}

.btn-main--whatsapp svg {
    position: relative;
    z-index: 1;
    fill: currentColor;
}

.btn-main--whatsapp::before {
    border-color: #fff;
}

.slogan__action:hover .btn-main--whatsapp,
.btn-main--whatsapp:focus-visible {
    color: #fff;
}

@media (max-width: 991.98px) {
    .slogan__row {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .slogan h2 {
        padding-bottom: 17px;
    }
}

@media (max-width: 767.98px) {
    .slogan h2 br { display: none; }
}

/* ---------- Equipo ---------- */
.team {
    position: relative;
    padding: 150px 0 100px;
    background: #fff;
}

.team__shape { top: -60px; right: -20px; opacity: 0.3; }

.team .sec-title {
    padding-bottom: 46px;
}

.team .sec-title h2 {
    margin: 0;
}

.team__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0 30px;
}

.member {
    position: relative;
    grid-column: span 12;
    margin-bottom: 50px;
}

@media (min-width: 768px) {
    .member { grid-column: span 6; }
}

@media (min-width: 992px) {
    .member { grid-column: span 4; }
    .member:first-child { grid-column: 3 / span 4; }
}

.member__image {
    position: relative;
    overflow: hidden;
}

.member__image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--navy);
    opacity: 0.5;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: all 0.5s ease-in-out 0.1s;
}

.member:hover .member__image::after {
    transform: scaleY(1);
}

.member__image img {
    display: block;
    width: 100%;
    aspect-ratio: 370 / 400;
    object-fit: cover;
    transition: all 200ms linear 0.1s;
}

@media (min-width: 768px) {
    .member__image img {
        height: 400px;
        aspect-ratio: auto;
    }
}

.member:hover .member__image img {
    transform: scale(1.2);
    transition: all 0.5s cubic-bezier(0.62, 0.21, 0.45, 1.52);
}

.member__info {
    position: relative;
    padding: 25px 30px;
    text-align: center;
    background: #fff;
    box-shadow: 0 20px 50px 0 rgba(12, 21, 41, 0.15);
}

.member__info h3 {
    margin-bottom: 1px;
    color: var(--navy);
    font-size: 20px;
    line-height: 30px;
}

.member__info p {
    line-height: 20px;
}

/* ---------- Pie ---------- */
.site-footer {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.footer-main {
    position: relative;
    z-index: 1;
    padding: 245px 0 100px;
    background: var(--ink);
}

.footer-main__shape2 {
    right: 0;
    bottom: -35px;
    left: 0;
    opacity: 0.15;
    text-align: center;
}

.footer-main__shape3 {
    top: 170px;
    right: 55px;
    opacity: 0.15;
}

.footer-main__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0 30px;
}

.footer-col {
    grid-column: span 12;
}

.footer-col--logo { margin-bottom: 88px; }

@media (min-width: 768px) {
    .footer-col--logo,
    .footer-col--links { grid-column: span 6; }
    .footer-col--logo { margin-bottom: 48px; }
}

.footer-col__title {
    padding-block: 25px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: capitalize;
}

.footer-contact li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 35px;
    color: #fff;
}

.footer-contact li:last-child {
    margin-bottom: 0;
}

.footer-contact__icon {
    position: absolute;
    top: 4px;
    left: 0;
    display: block;
    color: var(--red);
    font-size: 20px;
    line-height: 1;
}

.footer-contact__icon--pin {
    top: 5px;
    font-size: 22px;
}

.footer-contact__icon--ig {
    top: 3px;
    font-size: 22px;
}

.footer-contact p {
    font-size: 16px;
    line-height: 30px;
}

.footer-contact a {
    color: #fff;
    transition: all 200ms linear 0.1s;
}

.footer-contact a:hover {
    color: var(--red);
}

.footer-bottom {
    position: relative;
    padding: 25px 0;
    background: var(--bg-bottom);
}

.footer-bottom__row {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom__copy {
    color: #fff;
}

.footer-bottom__copy a {
    padding-right: 3px;
    color: var(--red);
    transition: all 500ms ease;
}

.footer-bottom__copy a:hover {
    color: #fff;
}

.footer-bottom__menu {
    display: flex;
    flex-wrap: wrap;
}

.footer-bottom__menu li {
    position: relative;
    margin-right: 15px;
    padding-right: 16px;
}

.footer-bottom__menu li:last-child {
    margin-right: 0;
    padding-right: 0;
}

.footer-bottom__menu li:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 4px;
    right: 0;
    bottom: 4px;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.footer-bottom__menu a {
    color: #fff;
    transition: all 500ms ease;
}

.footer-bottom__menu a:hover {
    color: var(--red);
}

.footer-bottom__credit a {
    color: #007bff;
}

.footer-bottom__credit a:hover {
    color: #0056b3;
}

@media (max-width: 991.98px) {
    .footer-bottom__row {
        flex-direction: column;
        justify-content: center;
    }
}

/* ---------- Volver arriba ---------- */
.to-top {
    position: fixed;
    right: 15px;
    bottom: 20px;
    z-index: 9999999;
    width: 55px;
    height: 55px;
    color: #fff;
    font-size: 20px;
    line-height: 55px;
    text-align: center;
    background: var(--red);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms linear, visibility 300ms linear;
}

.to-top::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 5%;
    z-index: -1;
    width: 90%;
    height: 10px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 80%);
}

.to-top:hover {
    color: #f8f8f8;
}

.is-scrolled .to-top {
    opacity: 1;
    visibility: visible;
}

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    background: transparent;
    overscroll-behavior: contain;
}

.lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox::backdrop {
    background: rgba(30, 30, 30, 0.87);
}

.lightbox__image {
    width: auto;
    max-width: calc(100% - 140px);
    max-height: calc(100% - 88px);
}

.lightbox__close {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    color: #ccc;
    font-size: 30px;
    line-height: 44px;
    background: rgba(30, 28, 28, 0.6);
}

.lightbox__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-inline: 13px;
    color: #ccc;
    font-size: 24px;
    background: rgba(30, 28, 28, 0.6);
}

.lightbox__arrow--prev {
    transform: rotate(180deg);
}

.lightbox__close:hover,
.lightbox__arrow:hover {
    color: #fff;
}

@media (max-width: 575.98px) {
    .lightbox__image { max-width: calc(100% - 96px); }
    .lightbox__arrow { margin-inline: 2px; }
}

/* ---------- Pagina Proximamente ---------- */
.soon {
    position: relative;
    padding: 150px 0;
    text-align: center;
    background: var(--bg-soft);
}

.soon__shape1 { top: 40px; left: 8%; opacity: 0.2; }
.soon__shape2 { right: 10%; bottom: 80px; opacity: 0.3; }

/* ---------- Paginas legales ---------- */
.legal-hero {
    position: relative;
    padding: 90px 0 70px;
    background: var(--bg-soft);
}

.legal-hero .sec-title {
    margin-bottom: 0;
}

.legal-hero__shape1 { top: 24px; left: 6%; opacity: 0.2; }
.legal-hero__shape2 { right: 8%; bottom: 40px; opacity: 0.3; }

@media (max-width: 991.98px) {
    .legal-hero .shape { display: none; }
}

.legal {
    padding: 70px 0 100px;
    background: #fff;
}

.legal__body {
    max-width: 860px;
    margin-inline: auto;
    color: var(--ink);
    overflow-wrap: anywhere;
}

.legal__body > :first-child {
    margin-top: 0;
}

.legal__body h2 {
    margin: 44px 0 16px;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 700;
    line-height: 36px;
}

.legal__body p,
.legal__body ul,
.legal__body ol {
    margin: 0 0 16px;
}

.legal__body ul,
.legal__body ol {
    padding-left: 24px;
}

.legal__body ul { list-style: disc; }
.legal__body ol { list-style: decimal; }

.legal__body li {
    margin-bottom: 8px;
}

.legal__body a {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal__body a:hover {
    text-decoration: none;
}

.legal__body b,
.legal__body strong {
    font-weight: 500;
}

.legal__body hr {
    margin: 32px 0;
    border: 0;
    border-top: 1px solid #e6e6e6;
}

/* ---------- Tipografia responsive del tema ---------- */
@media (max-width: 767.98px) {
    .sec-title h1,
    .sec-title h2 {
        margin: 0 0 20px;
        font-size: 36px;
        font-weight: 700;
    }

    .sec-title h1 br,
    .sec-title h2 br,
    .sec-title p br {
        display: none;
    }

    .faq__content .sec-title h2,
    .team .sec-title h2 {
        margin: 0;
    }
}

/* ---------- Movimiento: todo desaparece con prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: no-preference) {
    .float-y {
        animation: float-bob-y 2s linear infinite;
    }

    .spin-zoom {
        animation: zoomInOut 3s ease-in-out infinite;
    }

    .anim-sway {
        animation: animation1 5s ease-in infinite;
    }

    .is-paused {
        animation-play-state: paused;
    }

    .feature__dots {
        animation: service-spin 3s linear infinite;
        animation-play-state: paused;
    }

    .feature:hover .feature__dots {
        animation-play-state: running;
    }

    .faq__media:hover .faq__image::before {
        animation: circle 0.75s;
    }

    .hero__card {
        animation: slideInRight 1500ms ease 300ms both;
    }

    .hero__title {
        transform-origin: bottom;
        animation: hero-title 1000ms ease 500ms both;
    }

    .hero__lead {
        transform-origin: bottom;
        animation: hero-lead 1000ms ease 1000ms both;
    }

    .sticky-bar {
        transition: opacity 500ms ease, visibility 500ms ease;
    }

    .is-scrolled .sticky-bar {
        animation: fadeInDown 500ms linear;
    }

    /* Entradas al hacer scroll, solo si hay JS que las dispare. */
    .js [data-reveal]:not(.is-in) {
        visibility: hidden;
    }

    [data-reveal].is-in {
        animation-duration: var(--duration, 1000ms);
        animation-delay: var(--delay, 0s);
        animation-fill-mode: both;
    }

    [data-reveal="fade-up"].is-in { animation-name: fadeInUp; }
    [data-reveal="slide-left"].is-in { animation-name: slideInLeft; }
    [data-reveal="slide-right"].is-in { animation-name: slideInRight; }
    [data-reveal="zoom"].is-in { animation-name: zoomIn; }

    /* Parallax ligado al scroll; sin soporte, el dibujo queda estatico. */
    @supports (animation-timeline: view()) {
        .parallax-y {
            animation: parallax-y linear both;
            animation-timeline: view();
        }

        .parallax-x {
            animation: parallax-x linear both;
            animation-timeline: view();
        }
    }

    /* Apertura animada del FAQ. */
    @supports (interpolate-size: allow-keywords) {
        :root {
            interpolate-size: allow-keywords;
        }

        .faq-item::details-content {
            block-size: 0;
            overflow: clip;
            transition: block-size 500ms ease, content-visibility 500ms ease allow-discrete;
        }

        .faq-item[open]::details-content {
            block-size: auto;
        }
    }
}

@keyframes float-bob-y {
    0% { transform: translateY(-20px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(-20px); }
}

@keyframes zoomInOut {
    0% { transform: rotate(0deg) scale(0.7); opacity: 0; }
    50% { transform: rotate(180deg) scale(1); opacity: 1; }
    100% { transform: rotate(360deg) scale(0.7); opacity: 0; }
}

@keyframes animation1 {
    0%, 100% { transform: rotate(0deg) translateX(0); }
    25%, 75% { transform: rotate(5deg) translateX(15px); }
    50% { transform: rotate(10deg) translateX(30px); }
}

@keyframes service-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes circle {
    0% { opacity: 1; }
    40% { opacity: 1; }
    100% { width: 200%; height: 200%; opacity: 0; }
}

@keyframes hero-title {
    from { opacity: 0; transform: perspective(400px) translateY(-120px); }
    to { opacity: 1; transform: perspective(400px) translateY(0); }
}

@keyframes hero-lead {
    from { opacity: 0; transform: perspective(400px) translateY(80px); }
    to { opacity: 1; transform: perspective(400px) translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translate3d(0, -100%, 0); }
    to { opacity: 1; transform: none; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translate3d(0, 100%, 0); }
    to { opacity: 1; transform: none; }
}

@keyframes slideInLeft {
    from { visibility: visible; transform: translate3d(-100%, 0, 0); }
    to { transform: translate3d(0, 0, 0); }
}

@keyframes slideInRight {
    from { visibility: visible; transform: translate3d(100%, 0, 0); }
    to { transform: translate3d(0, 0, 0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale3d(0.3, 0.3, 0.3); }
    50% { opacity: 1; }
}

/* Equivalen a paroller (factor -0.1 vertical, 0.05 horizontal): el dibujo esta en su sitio
   cuando cruza el centro de la ventana y se desplaza de forma proporcional al alejarse. */
@keyframes parallax-y {
    from { transform: translateY(calc(-5vh - 8px)); }
    to { transform: translateY(5vh); }
}

@keyframes parallax-x {
    from { transform: translateX(calc(2.5vh + 4px)); }
    to { transform: translateX(-2.5vh); }
}
