/*
Theme Name: ARDE Catering de Fuegos
Theme URI: the-theme's-homepage
Description: Sitio web de Arde, Catering de fuegos
Author: Poncho
Author URI: your-URI
Version: 1.0
*/

/* ====================================================
   TABLA DE CONTENIDOS
   ====================================================
   
   1. VARIABLES Y CONFIGURACIÓN
      1.1. Colores
      1.2. Tipografía
      1.3. Espaciado
   
   2. RESET Y ESTILOS BASE
      2.1. Reset
      2.2. Tipografías
      2.3. Scrollbar
   
   3. COMPONENTES GLOBALES
      3.1. Botones
      3.2. Separador
      3.3. Enlaces
   
   4. HEADER Y NAVEGACIÓN
      4.1. Header principal
      4.2. Logo
      4.3. Menú desktop
      4.4. Menú móvil (Offcanvas)
      4.5. Animaciones menú
   
   5. FOOTER
   
   6. PÁGINA DE INICIO - FRONT PAGE
      6.1. Hero
      6.2. Sección Servicios
      6.3. Sección About
      6.4. Sección Why Us
      6.5. Sección Testimonials
      6.6. Sección FAQ
      6.7. Sección Contacto
   
   7. ANIMACIONES GLOBALES
      7.1. Keyframes
      7.2. Slide In Left (Headings)
      7.3. Fade In Up (Cards)
      7.4. Expand From Center (SVG)
   
   8. BOTÓN WHATSAPP FLOTANTE
   
   9. MEDIA QUERIES
      9.1. Tablet (md)
      9.2. Desktop (lg)
      9.3. Desktop XL (xl)
      9.4. Desktop XXL (xxl)
   
   ==================================================== */

/* ====================================================
   1. VARIABLES Y CONFIGURACIÓN
   ==================================================== */

:root {
    /* 1.1. Colores */
    --black: #3a3a3a;
    --white: #fff;
    --primary: #be683d;
    --secondary: #daba93;
    --tertiary: #f3e8d4;
    --bg-dark: #151515;

    /* Escala de negros */
    --color-black-50: #e8e8e8;
    --color-black-100: #d4d4d4;
    --color-black-200: #ababab;
    --color-black-300: #848484;
    --color-black-400: #5e5e5e;
    --color-black-500: #3a3a3a;
    --color-black-600: #303030;
    --color-black-700: #262626;
    --color-black-800: #1b1b1b;
    --color-black-900: #111111;
    --color-black-950: #070707;

    /* Escala de naranjas */
    --color-orange-50: #fff1ed;
    --color-orange-100: #ffe2da;
    --color-orange-200: #ffc4b1;
    --color-orange-300: #ffa582;
    --color-orange-400: #ff8436;
    --color-orange-500: #e46e00;
    --color-orange-600: #b75700;
    --color-orange-700: #8a4000;
    --color-orange-800: #5f2a00;
    --color-orange-900: #381600;
    --color-orange-950: #250c00;

    /* 1.2. Tipografía */
    --headings: "Playfair Display", serif;
    --paragraphs: "Plus Jakarta Sans", sans-serif;
    --ux: "Plus Jakarta Sans", sans-serif;

    /* 1.3. Espaciado */
    --p-m-1: clamp(48px, 6vw, 64px);
    --p-m-2: clamp(48px, 6vw, 96px);
    --p-m-3: clamp(64px, 6vw, 120px);
}

/* ====================================================
   2. RESET Y ESTILOS BASE
   ==================================================== */

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

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: var(--p-m-1);
}

body {
    margin: 0;
    font-family: var(--paragraphs), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1em;
    letter-spacing: -0.0301px;
    font-weight: 400;
    color: var(--white);
    text-rendering: optimizeLegibility;
    background: var(--bg-dark);
    line-height: 160%;
}

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

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

*:focus {
    outline: none !important;
    box-shadow: none !important;
}

*:focus-visible {
    outline: 2px solid var(--primary);
}

/* 2.2. Tipografías */
.playfair-display {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.plus-jakarta-sans {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--headings);
}

/* 2.3. Scrollbar - Ocultar en todos los navegadores */
body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

/* 2.4. Separador */
.separador {
    width: 100%;
    height: clamp(64px, 6vw, 80px);
    margin-bottom: 48px;
}

/* html,
body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100%;
} */

/* ====================================================
3. COMPONENTES GLOBALES
   ==================================================== */

/* 3.1. Botones */
.btn__primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem 2rem;
    font-family: var(--paragraphs);
    font-weight: 500;
    color: var(--white);
    background: var(--primary);
    border: 1px solid transparent;
    border-radius: 100px;
    transition: transform .15s ease, box-shadow .15s ease, width .25 ease;
}

.btn__primary:hover {
    background: var(--color-orange-600);
}

.btn__primary:active {
    transform: scale(0.96);
    box-shadow: inset 0 4px 8px rgb(82, 27, 0);
}

.btn__primary[aria-pressed="true"] {
    background: var(var(--primary)-dark);
}

.btn__secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem 2rem;
    font-family: var(--paragraphs);
    font-weight: 500;
    color: var(--black);
    background: transparent;
    border: 1px solid var(--black);
    border-radius: 100px;
    transition: transform .15s ease, box-shadow .15s ease, width .25 ease;
}

.btn__secondary:hover {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn__secondary:active {
    transform: scale(0.96);
    box-shadow: inset 0 4px 8px var(--bg-dark);
}

.btn__secondary[aria-pressed="true"] {
    background: transparent;
}

/* 3.2. Enlaces */
.section__link {
    color: var(--primary);
    display: inline-block;
    margin-top: 24px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.section__link:hover {
    color: var(--color-orange-600);
}

.section__link-inline {
    color: var(--primary);
    display: inline-block;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.section__link-inline:hover {
    color: var(--color-orange-600);
}

/* ====================================================
   4. HEADER Y NAVEGACIÓN
   ==================================================== */

/* 4.1. Header principal */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: clamp(64px, 6vw, 80px);
    background: rgba(52, 52, 52, 0.2);
    backdrop-filter: blur(17.799999237060547px);
    position: fixed;
    z-index: 9999;
}

.header__content {
    position: relative;
    height: 100%;
}

/* 4.2. Logo */
.header__logo {
    width: fit-content;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: color 0.2s;
}

.header__logo__mobile {
    height: 24px;
}

.header__logo__desktop {
    height: 36px;
}

.header__logo:hover {
    color: var(--primary);
}

/* 4.3. Menú desktop */
.header__content .principal {
    height: 48px;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    font-size: 16px;
    letter-spacing: -0.00188rem;
    text-transform: capitalize;
}

.header__content .principal li:hover {
    color: var(--primary);
}

/* Línea indicadora del menú activo */
.header__content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: var(--active-x, 50%);
    width: 64px;
    height: 3px;
    border-radius: 1px;
    background-color: var(--primary);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.35s ease, left 0.35s ease;
}

.header__content.has-active::after {
    transform: translateX(-50%) scaleX(1);
}

/* 4.4. Menú móvil - Burger */
.header__burger {
    width: 48px;
    height: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 12px 6px;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header__burger-line {
    width: 32px;
    height: 3px;
    background-color: var(--white);
    z-index: 100;
    border-radius: 1px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* .header__burger:hover .header__burger-line {
    background-color: var(--primary);
    transition: all 0.3s;
} */

/* Estados de la 'X' (Menú Abierto) */
.header__burger.is-open .header__burger-line-top {
    transform: translateY(10.5px) rotate(45deg);
}

.header__burger.is-open .header__burger-line-bottom {
    transform: translateY(-10.5px) rotate(-45deg);
}

.header__burger.is-open .header__burger-line-center {
    opacity: 0;
    transform: translateX(10px);
}

/* 4.5. Offcanvas - Menú móvil */
.offcanvas,
.offcanvas button,
.offcanvas a {
    outline: none !important;
    box-shadow: none !important;
}

.offcanvas {
    width: 100vw !important;
}

.offcanvas__body {
    width: 100%;
    height: 100%;
    color: var(--white);
    background: rgba(52, 52, 52, 0.2);
    backdrop-filter: blur(17.799999237060547px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    line-height: 36px;
}

.offcanvas__body .menu-item:hover {
    color: var(--primary);
}

.offcanvas__body-content {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-block: 64px;
}

.offcanvas__body nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
}

.offcanvas__body nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
}

.offcanvas__divider {
    width: 100%;
    height: 1px;
    background-color: var(--primary);
    margin-block: 24px;
}

.offcanvas__social {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    line-height: 48px;
}

.offcanvas__social:last-child span {
    font-size: 14px;
    line-height: 14px;
    font-weight: 200;
}

.offcanvas__social>a:hover {
    color: var(--primary);
}

/* 4.6. Animaciones del menú móvil */
.offcanvas .principal>li,
.offcanvas__social {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.offcanvas.show .principal>li {
    opacity: 1;
    transform: translateX(0);
}

.offcanvas.show .principal>li:nth-child(1) {
    transition-delay: 0.1s;
}

.offcanvas.show .principal>li:nth-child(2) {
    transition-delay: 0.2s;
}

.offcanvas.show .principal>li:nth-child(3) {
    transition-delay: 0.3s;
}

.offcanvas.show .principal>li:nth-child(4) {
    transition-delay: 0.4s;
}

.offcanvas.show .principal>li:nth-child(5) {
    transition-delay: 0.5s;
}

.offcanvas .principal>li {
    transition-delay: 0s;
}

.offcanvas.show .offcanvas__social {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.6s;
}

/* ====================================================
   5. FOOTER
   ==================================================== */

.footer {
    background: var(--bg-dark);
    color: var(--black);
}

.footer ul,
li,
p {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__content {
    padding-block: var(--p-m-3) !important;
}

.footer__content-logo {
    margin-bottom: 48px;
}

.footer__content-logo a svg {
    width: 200px;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer__content-logo a svg:hover {
    color: var(--primary);
    transition: all 0.3s ease;
}

.footer__content-logo-copy {
    font-size: 0.875rem;
    line-height: 16px;
}

.footer__content-logo-copy p {
    width: 240px;
}

.footer__content__links-title {
    text-transform: capitalize;
    color: var(--white);
}

.footer__content__links-nav ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer__content__links-nav ul li {
    width: fit-content;
    transition: all 0.3s ease;
}

.footer__content__links-nav ul li:hover {
    transform: translateX(8px);
    color: var(--primary);
    transition: all 0.3s ease;
}

.footer__content-poncho {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-block: 1rem;
    font-size: 0.875rem;
    color: var(--white);
    border-top: 1px solid var(--black);
}

/* ====================================================
   6. PÁGINA DE INICIO - FRONT PAGE
   ==================================================== */

/* 6.1. Hero */
.hero {
    position: relative;
    width: 100vw;
    height: 100svh;
    overflow: hidden;
}

.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.3) 30%,
            rgba(21, 21, 21, 0.9) 85%,
            #151515 100%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1.5rem;
    padding-bottom: clamp(64px, 6vw, 80px);
}

.hero__content-preheading {
    font-size: 1rem;
    font-weight: 200;
    text-transform: uppercase;
    color: var(--primary);
}

.hero__content h1 {
    font-size: 4rem;
    line-height: 4rem;
    font-weight: 300;
}

.hero__content-title-line {
    display: block;
}

.hero__content-subheading {
    font-family: var(--headings);
    font-size: 20px;
    line-height: 160%;
}

.hero__pages {
    padding-bottom: 0 !important;
}

/* 6.2. Sección Servicios */
.section__padding {
    padding-block: var(--p-m-2);
}

.section__content {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--p-m-1) !important;
}

.section__preheading {
    font-size: clamp(14px, 1.2vw, 16px);
    font-weight: 200;
    text-transform: uppercase;
    color: var(--primary);
}

.section__title {
    font-size: clamp(32px, 5vw, 54px);
}

.section__subheading {
    font-weight: 400;
    font-size: clamp(18px, 1.2vw, 20px);
    display: flex;
    align-items: flex-end;
    font-family: var(--headings);
    line-height: 160%;
}

/* Slider de servicios */
.servicios__cards-slider {
    margin-bottom: 32px;
}

.card {
    overflow: hidden;
    border: none;
    position: relative;
    border-radius: 0px;
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom,
            transparent 40%,
            rgba(0, 0, 0, 0.9) 100%);
}

.card__img img {
    object-fit: cover;
    aspect-ratio: 3/4;
}

.card__text-content {
    z-index: 2;
    color: var(--white);
    position: absolute;
    padding: 24px;
    bottom: 0;
    left: 0;
}

.swiper__service-pagination {
    position: static !important;
}

.swiper-pagination-bullet {
    background: var(--primary) !important;
}

/* 6.3. Sección About */
.section__about {
    background: var(--white);
    color: var(--black);
}

/* Imagen mobile */
.section__about-img-mobile {
    position: relative;
    width: 100%;
    max-height: 50vh;
    overflow: hidden;
}

.section__about-img-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.section__about-img-mobile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom,
            transparent 60%,
            rgba(0, 0, 0, 0.85) 100%);
    pointer-events: none;
}

/* Cita mobile */
.section__about-quote-mobile {
    position: absolute;
    left: 24px;
    bottom: 24px;
    right: 24px;
    z-index: 2;
    margin: 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.section__about-img-mobile:hover .section__about-quote-mobile {
    transform: translateY(-4px);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}

.section__about-quote-mobile blockquote {
    margin: 0 0 8px 0;
    border-left: 4px solid var(--primary);
    padding-left: 16px;
}

.section__about-quote blockquote p,
.section__about-quote-mobile blockquote p {
    font-family: var(--headings);
}

.section__about-quote-mobile blockquote p {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    color: white;
    quotes: "“" "”" "‘" "’";
}

.section__about-quote-mobile blockquote p::before {
    content: open-quote;
    margin-right: 4px;
}

.section__about-quote-mobile blockquote p::after {
    content: close-quote;
    margin-left: 4px;
}

.section__about-quote-mobile figcaption {
    font-size: 0.875rem;
    opacity: 0.9;
    color: white;
}

.section__about-quote-mobile cite {
    font-style: normal;
    font-weight: 600;
}

.section__about-quote-mobile .role {
    font-size: 0.75rem;
    opacity: 0.8;
    display: block;
    margin-top: 4px;
}

/* SVG decorativo */
.section__about-svg-container {
    width: clamp(120px, 10vw, 180px);
    height: auto;
    color: var(--bg-dark);
}

/* 6.4. Sección Why Us */
.section__why-us {
    overflow: hidden;
    background-color: var(--white);
}

.section__why-us__bg {
    background-image: url(https://ardecatering.es/wp-content/uploads/bg-arde-uniforme.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: relative;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.section__why-us__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.3) 30%,
            rgba(21, 21, 21, 0.9) 85%,
            #151515 100%);
    z-index: 1;
    transform: translateZ(0);
}

.section__why-us__bg>* {
    position: relative;
    z-index: 2;
}

.section__why-us h2 {
    font-size: clamp(48px, 5vw, 96px);
    line-height: clamp(48px, 5vw, 96px);
    margin-bottom: var(--p-m-2);
    color: var(--white);
}

/* Cards Why Us */
.section__why-us__card {
    padding: 1.5rem;
    height: 100%;
    border-radius: 24px;
    border: 1px solid var(--black);
    background: rgba(52, 52, 52, 0.8);
    color: var(--white);
    transform: translateZ(0);
    backface-visibility: hidden;
}

.section__why-us__card span i {
    font-size: clamp(32px, 3.5vw, 48px);
    color: var(--primary);
}

/* 6.5. Sección Testimonials */
.section__testimonials {
    background-color: var(--white);
    color: var(--black);
    overflow: visible;
}

.testimonial-card {
    height: 100%;
    padding: 3rem;
    border-radius: 24px;
    background-color: var(--tertiary);
}

.testimonial-card__comilla svg {
    width: 48px;
    aspect-ratio: 1/1;
    color: var(--secondary);
}

.testimonial-card-text {
    line-height: 180%;
}

.testimonial-card-user {
    position: relative;
}

.testimonial-card-user>img {
    clip-path: circle(36px at 50% 50%) !important;
    width: 80px;
    aspect-ratio: 1/1;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.1)) !important;
    position: relative;
    z-index: 2;
}

.testimonial-card-user::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(144, 109, 69, 0.35);
    left: 0;
    top: 4px;
    z-index: 1;
    filter: blur(8px);
}

.testimonial-card-name {
    font-size: 14px;
}

.testimonial-card-name p:first-of-type {
    font-size: 16px;
    font-weight: 600;
}

/* Swiper custom buttons */
.swiper-button-custom-prev,
.swiper-button-custom-next {
    color: var(--tertiary);
    width: 64px;
    height: 64px;
    border-radius: 50px;
    background-color: var(--black);
    position: absolute;
    z-index: 2;
    top: 50%;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.swiper-button-custom-prev {
    left: 0;
    transform: translate(-50%, -50%);
}

.swiper-button-custom-next {
    right: 0;
    transform: translate(50%, -50%);
}

.swiper-button-custom-prev svg,
.swiper-button-custom-next svg {
    margin: 0 auto;
    left: 0;
    right: 0;
    transform: translate(0, 40%);
}

.swiper-button-custom-prev:hover,
.swiper-button-custom-next:hover {
    background: var(--primary);
    color: var(--black);
}

.swiper-button-custom-prev:active,
.swiper-button-custom-next:active {
    width: 62px;
    height: 62px;
    box-shadow: inset 0 4px 16px var(--primary);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    color: transparent;
}

.testimonials-pagination {
    position: static !important;
    margin-top: 32px;
}

/* Transición suave para slides */
.testimonials-swiper .swiper-slide {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* 6.6. Sección FAQ */
.section__padding-img-container svg {
    width: 40vw !important;
    max-width: 320px;
    justify-self: center;
    margin-top: var(--p-m-2);
}

.section__faq-accordion-item {
    background-color: var(--white) !important;
}

.section__faq-accordion h2 {
    font-family: var(--paragraphs) !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary);
    color: var(--white);
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 16px !important;
    overflow: hidden;
    border: transparent !important;
}

.accordion {
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}


/* 6.7. Sección Contacto */
.section__content-contact {
    display: flex;
    justify-content: space-between;
    height: 100%;
}

.section__contact-form-container {
    width: 100%;
    padding: 48px 24px 16px;
    background-color: var(--color-black-700);
    border-radius: 24px;
}

.section__contact-info-phone-btn {
    width: 48px;
    aspect-ratio: 1/1;
    border-radius: 50px;
    background-color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s;
}

.section__contact-info a:hover>.section__contact-info-phone-btn {
    background-color: var(--color-orange-600);
    transition: all .3 ease;
}

.section__contact-info-phone-btn i {
    font-size: 24px;
}

.section__contact-info a i {
    transition: transform 0.3s ease;
}

.section__contact-info a:hover i {
    transform: scale(1.2);
}

/* Formulario Contact Form 7 */
.form-control {
    background-color: var(--color-black-700);
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--primary);
    color: var(--color-orange-300);
}

.form-label {
    font-weight: 600;
}

.form-control:focus {
    color: var(--white);
    background-color: var(--color-black-600);
    border-bottom: 1px solid var(--primary);
    box-shadow: none;
}

.section__contact input::placeholder,
.section__contact textarea::placeholder {
    color: var(--white);
    opacity: 0.5;
}

.form-acceptance {
    font-size: 14px;
}

/* ====================================================
   7. ANIMACIONES GLOBALES
   ==================================================== */

/* 7.1. Keyframes */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandFromCenter {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }

    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* 7.2. Slide In Left - Headings (Scroll Reveal) */
.section__preheading,
.section__title,
.section__subheading {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section__preheading.animate-in,
.section__title.animate-in,
.section__subheading.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.section__preheading.animate-in {
    transition-delay: 0.2s;
}

.section__title.animate-in {
    transition-delay: 0.5s;
}

.section__subheading.animate-in {
    transition-delay: 0.8s;
}

/* Why Us Title */
.section__why-us h2 {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section__why-us h2.animate-in {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}

/* 7.3. Fade In Up - Cards (Scroll Reveal) */
.section__why-us__card,
.section__about-img,
.section__about-img-mobile,
.section__faq .accordion-item,
.section__contact .section__contact-form-container {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.section__why-us__card.animate,
.section__about-img.animate,
.section__about-img-mobile.animate,
.section__faq .accordion-item.animate,
.section__contact .section__contact-form-container.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Delays Why Us Cards - Mobile */
.section__why-us .col-12:nth-child(1) .section__why-us__card.animate {
    transition-delay: 0.1s;
}

.section__why-us .col-12:nth-child(2) .section__why-us__card.animate {
    transition-delay: 0.2s;
}

.section__why-us .col-12:nth-child(3) .section__why-us__card.animate {
    transition-delay: 0.3s;
}

.section__why-us .col-12:nth-child(4) .section__why-us__card.animate {
    transition-delay: 0.4s;
}

/* Delays About Image */
.section__about-img-mobile.animate {
    transition-delay: 0.3s;
}

/* Delays Accordion - Mobile */
.section__faq .accordion-item:nth-child(1).animate {
    transition-delay: 0.1s;
}

.section__faq .accordion-item:nth-child(2).animate {
    transition-delay: 0.15s;
}

.section__faq .accordion-item:nth-child(3).animate {
    transition-delay: 0.2s;
}

.section__faq .accordion-item:nth-child(4).animate {
    transition-delay: 0.25s;
}

.section__faq .accordion-item:nth-child(5).animate {
    transition-delay: 0.3s;
}

/* Delays Contact Form */
.section__contact .section__contact-form-container.animate {
    transition-delay: 0.2s;
}

/* Quote Animation */
.section__about-quote,
.section__about-quote-mobile {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.6s;
}

.section__about-img.animate .section__about-quote,
.section__about-img-mobile.animate .section__about-quote-mobile {
    opacity: 1;
    transform: translateY(0);
}

/* 7.4. Expand From Center - SVG FAQ */
.section__faq .section__padding-img-container svg {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center center;
    animation: expandFromCenter 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.5s;
    display: block;
    width: 100%;
    height: auto;
}

/* 7.5. Contacto Directo - Slide In Left */
.section__contact .section__contact-info h4,
.section__contact .section__contact-info a {
    opacity: 0;
    transform: translateX(-40px);
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.section__contact .section__contact-info h4 {
    animation-delay: 1.1s;
}

.section__contact .section__contact-info a:nth-of-type(1) {
    animation-delay: 1.3s;
}

.section__contact .section__contact-info a:nth-of-type(2) {
    animation-delay: 1.5s;
}

.section__contact .section__contact-info a:nth-of-type(3) {
    animation-delay: 1.7s;
}

/* ====================================================
   8. BOTÓN WHATSAPP FLOTANTE
   ==================================================== */

.btn-wsp-flotante {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 1030;
    width: auto;
    max-width: none;
    box-sizing: content-box;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-wsp-flotante.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-wsp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    box-sizing: border-box;
    background: linear-gradient(145deg, #25d366, #128C7E);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: none;
    text-decoration: none;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-wsp svg {
    width: 32px;
    height: 32px;
    fill: white;
}

@media (hover: hover) {
    .btn-wsp:hover {
        transform: scale(1.1);
        box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
    }
}

.tooltip {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    background: #1a1a1a;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent transparent #1a1a1a;
}

@media (hover: hover) and (min-width: 992px) {
    .btn-wsp:hover .tooltip {
        opacity: 1;
        visibility: visible;
        right: 90px;
    }
}

/* ====================================================
   9. MEDIA QUERIES
   ==================================================== */

/* 9.1. Tablet (md) */
@media (min-width: 768px) {
    .section__why-us__card {
        transform: translateY(45px);
    }

    /* Delays Why Us - Tablet */
    .section__why-us .col-md-6:nth-child(1) .section__why-us__card.animate {
        transition-delay: 0.1s;
    }

    .section__why-us .col-md-6:nth-child(2) .section__why-us__card.animate {
        transition-delay: 0.2s;
    }

    .section__why-us .col-md-6:nth-child(3) .section__why-us__card.animate {
        transition-delay: 0.3s;
    }

    .section__why-us .col-md-6:nth-child(4) .section__why-us__card.animate {
        transition-delay: 0.4s;
    }
}

/* 9.2. Desktop (lg) */
@media (min-width: 992px) {

    /* Botones */
    .btn__primary {
        width: fit-content;
        padding: 1rem 3rem;
        font-size: 1.125rem;
        transition: width .25s ease;
    }

    /* Header */
    .header__content .principal {
        display: flex;
    }

    /* Footer */
    .footer__content-logo a svg {
        width: 360px;
    }

    /* Hero */
    .hero__content {
        gap: 3rem;
    }

    .hero__content-title-line {
        display: inline-block;
    }

    .hero__content h1 {
        font-size: 5rem;
        line-height: 5rem;
        letter-spacing: -0.1rem;
    }

    .hero__content-subheading {
        font-size: 24px;
    }

    .hero__content-subheading-line {
        display: block;
    }

    /* About Desktop */
    .section__about-img {
        position: relative;
        width: 100%;
        height: 100%;
        max-height: 550px;
        overflow: hidden;
    }

    .section__about-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .section__about-img::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.85) 100%);
        pointer-events: none;
    }

    .section__about-quote {
        position: absolute;
        left: 24px;
        bottom: 24px;
        right: 24px;
        z-index: 2;
        color: white;
    }

    .section__about-quote blockquote {
        margin: 0 0 8px 0;
        border-left: 4px solid var(--primary);
        padding-left: 16px;
    }

    .section__about-quote blockquote p {
        font-size: 1.75rem;
    }

    .section__about-quote blockquote p::before,
    .section__about-quote blockquote p::after {
        font-size: 4rem;
        vertical-align: middle;
    }

    .section__about-quote figcaption {
        font-size: 1rem;
    }

    .section__about-quote cite {
        font-style: normal;
        font-weight: 700;
    }

    .section__about-quote .role {
        font-size: 0.875rem;
        display: block;
        margin-top: 4px;
    }

    .section__about-img.animate {
        transition-delay: 0.4s;
    }

    /* Why Us Desktop */
    .section__why-us__card {
        transform: translateY(50px);
        transition-duration: 0.9s;
    }

    .section__why-us .col-lg-3:nth-child(1) .section__why-us__card.animate {
        transition-delay: 0.1s;
    }

    .section__why-us .col-lg-3:nth-child(2) .section__why-us__card.animate {
        transition-delay: 0.3s;
    }

    .section__why-us .col-lg-3:nth-child(3) .section__why-us__card.animate {
        transition-delay: 0.5s;
    }

    .section__why-us .col-lg-3:nth-child(4) .section__why-us__card.animate {
        transition-delay: 0.7s;
    }

    .section__why-us h2 {
        transform: translateX(-50px);
        animation-delay: 0.2s;
    }

    /* FAQ Desktop */
    .section__faq .section__preheading {
        animation-delay: 0.2s;
    }

    .section__faq .section__title {
        animation-delay: 0.5s;
    }

    .section__faq .section__subheading {
        animation-delay: 0.8s;
    }

    .section__faq .section__padding-img-container svg {
        animation-delay: 2s;
    }

    .section__faq .accordion-item:nth-child(1).animate {
        transition-delay: 0.1s;
    }

    .section__faq .accordion-item:nth-child(2).animate {
        transition-delay: 0.2s;
    }

    .section__faq .accordion-item:nth-child(3).animate {
        transition-delay: 0.3s;
    }

    .section__faq .accordion-item:nth-child(4).animate {
        transition-delay: 0.4s;
    }

    .section__faq .accordion-item:nth-child(5).animate {
        transition-delay: 0.5s;
    }

    /* Contact Desktop */
    .section__contact-form-container {
        padding: 48px 48px 24px 48px;
    }

    .section__contact .section__contact-form-container.animate {
        transition-delay: 0.4s;
    }

    .section__contact .section__preheading,
    .section__contact .section__contact-info h4,
    .section__contact .section__contact-info a {
        transform: translateX(-50px);
    }

    .section__contact .section__preheading {
        animation-delay: 0.2s;
    }

    .section__contact .section__title {
        animation-delay: 0.5s;
    }

    .section__contact .section__subheading {
        animation-delay: 0.8s;
    }

    .section__contact .section__contact-info h4 {
        animation-delay: 1.1s;
    }

    .section__contact .section__contact-info a:nth-of-type(1) {
        animation-delay: 1.3s;
    }

    .section__contact .section__contact-info a:nth-of-type(2) {
        animation-delay: 1.5s;
    }

    .section__contact .section__contact-info a:nth-of-type(3) {
        animation-delay: 1.7s;
    }
}

/* 9.3. Desktop XL (xl) */
@media (min-width: 1200px) {
    .section__about-img {
        min-height: 650px;
    }

    .section__about-quote {
        left: 40px;
        bottom: 40px;
        right: 40px;
    }

    .section__about-quote blockquote p {
        font-size: 2rem;
    }
}

/* 9.4. Desktop XXL (xxl) */
@media (min-width: 1400px) {
    .section__about-img {
        min-height: 700px;
    }

    .section__why-us__card {
        transform: translateY(60px);
    }
}

/* 9.5. Mobile Only */
@media (max-width: 991.98px) {
    .btn-wsp-flotante {
        bottom: 20px;
        right: 20px;
    }

    .tooltip {
        display: none;
    }

    .testimonials-swiper .swiper-slide-active {
        opacity: 1;
    }

    .testimonials-swiper .swiper-slide-prev,
    .testimonials-swiper .swiper-slide-next {
        transform: scale(0.92) !important;
        opacity: 0.6;
    }
}

/* 9.6. Mobile Small */
@media (max-width: 575.98px) {
    .section__about-quote-mobile {
        left: 16px;
        bottom: 16px;
        right: 16px;
    }

    .section__about-quote-mobile blockquote p {
        font-size: 1.25rem;
    }
}

/* 9.7. Mobile Animations */
@media (max-width: 767px) {

    .section__preheading,
    .section__title,
    .section__subheading,
    .section__why-us h2,
    .section__contact .section__contact-info h4,
    .section__contact .section__contact-info a {
        transform: translateX(-30px);
    }

    .section__preheading.animate-in {
        transition-delay: 0.1s;
    }

    .section__title.animate-in {
        transition-delay: 0.3s;
    }

    .section__subheading.animate-in {
        transition-delay: 0.5s;
    }

    .section__why-us h2.animate-in {
        transition-delay: 0.1s;
    }

    .section__contact .section__preheading {
        animation-delay: 0.1s;
    }

    .section__contact .section__title {
        animation-delay: 0.3s;
    }

    .section__contact .section__subheading {
        animation-delay: 0.5s;
    }

    .section__contact .section__contact-info h4 {
        animation-delay: 0.8s;
    }

    .section__contact .section__contact-info a:nth-of-type(1) {
        animation-delay: 1.0s;
    }

    .section__contact .section__contact-info a:nth-of-type(2) {
        animation-delay: 1.2s;
    }

    .section__contact .section__contact-info a:nth-of-type(3) {
        animation-delay: 1.4s;
    }
}

/* ====================================================
   10. UTILIDADES Y ACCESIBILIDAD
   ==================================================== */

/* Reducción de movimiento */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .section__preheading,
    .section__title,
    .section__subheading,
    .section__why-us h2,
    .section__why-us__card,
    .section__about-img,
    .section__about-img-mobile,
    .section__faq .accordion-item,
    .section__faq .section__padding-img-container svg,
    .section__contact .section__contact-form-container,
    .section__contact .section__contact-info h4,
    .section__contact .section__contact-info a,
    .btn-wsp-flotante,
    .btn-wsp {
        opacity: 1;
        transform: none;
        animation: none;
        transition: none;
    }
}

/* Página genérica */
.page__title {
    font-family: var(--headings);
    font-size: clamp(36px, 5vw, 54px) !important;
    font-weight: 600;
    line-height: 110% !important;
    letter-spacing: -0.055rem;
}

/* ====================================================
FIX: COMILLAS EN DESKTOP - SOBREESCRIBE CUALQUIER CONFLICTO
==================================================== */

@media (min-width: 992px) {
    .section__about-quote blockquote p {
        quotes: "“" "”" "‘" "’" !important;
    }

    .section__about-quote blockquote p::before {
        content: open-quote !important;
        margin-right: 4px !important;
        color: var(--primary) !important;
        font-size: 4rem !important;
        vertical-align: middle !important;
        display: inline-block !important;
    }

    .section__about-quote blockquote p::after {
        content: close-quote !important;
        margin-left: 4px !important;
        color: var(--primary) !important;
        font-size: 4rem !important;
        vertical-align: middle !important;
        display: inline-block !important;
    }
}

/* Ocultar línea indicadora del menú en móvil */
@media (max-width: 991.98px) {
    .header__content::after {
        display: none !important;
        opacity: 0;
        visibility: hidden;
    }

    .header__content.has-active::after {
        display: none;
    }
}

/* ====================================================
   FIX: TÍTULO WHY US - ANIMACIÓN CORRECTA
   ==================================================== */

.section__why-us h2 {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--white);
    font-size: clamp(48px, 5vw, 96px);
    line-height: clamp(48px, 5vw, 96px);
    margin-bottom: var(--p-m-2);
    will-change: opacity, transform;
}

.section__why-us h2.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile */
@media (max-width: 767px) {
    .section__why-us h2 {
        transform: translateX(-30px);
    }
}

/* Desktop */
@media (min-width: 992px) {
    .section__why-us h2 {
        transform: translateX(-50px);
    }
}

/* Reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
    .section__why-us h2 {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ====================================================
   PAGE ABOUT - ESTILOS COMPLETOS Y VISIBLES
   ==================================================== */

/* ---------------------------------------------
   HERO ABOUT
--------------------------------------------- */
.hero--about {
    position: relative;
    width: 100vw;
    height: 80svh;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero__image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #2a2a2a, #151515);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.7) 70%,
            #151515 100%);
    pointer-events: none;
}

.hero--about .hero__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 60px;
}

.hero__quote {
    max-width: 600px;
    margin-top: 32px;
    padding: 24px;
    background: rgba(21, 21, 21, 0.7);
    backdrop-filter: blur(8px);
    border-left: 4px solid var(--primary);
    border-radius: 0 16px 16px 0;
    color: white;
}

.hero__quote-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
    margin-bottom: 8px;
}

.hero__quote-text {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.3;
    color: white;
    font-family: var(--headings);
    margin: 0;
}

.hero__quote-author {
    display: block;
    margin-top: 16px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}


/* ====================================================
   SECTION AGENDA
   ==================================================== */
.section__agenda {
    color: var(--black);
    background-color: var(--bg-dark);
    position: relative;
}

.section__agenda-bg {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh;
    margin: 0 auto;
    padding: 24px;
    background-image: url(https://ardecatering.es/wp-content/uploads/19AND_0185PhotobyAndreiOprescu-1.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
}

@media (min-width: 992px) {
    .section__agenda-bg {
    background-attachment: fixed;
    }
}

.section__agenda-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
}

.section__agenda-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to left,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.3) 30%,
            rgba(21, 21, 21, 0.7) 85%);
    z-index: 1;
}

.section__agenda-bg>* {
    position: relative;
    z-index: 5;
}


.section__agenda-content p {
    max-width: 680px;
    text-align: center;
}


/* ====================================================
   PAGE ABOUT
   ==================================================== */

.page__about-text {
    line-height: 160% !important;
}

.page__about-firma {
    width: 300px;
    color: var(--primary);
}

.page__about-signature {
    font-family: var(--headings);
    font-size: clamp(18px, 1.2vw, 20px);
}

/* ====================================================
   HERO GALLERY
   ==================================================== */

.hero--gallery {
    position: relative;
    width: 100vw;
    height: 80svh;
    overflow: hidden;
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100%;
}

.hero__overlay--gallery {
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.5) 40%,
            rgba(21, 21, 21, 0.8) 80%,
            #151515 100%);
}

.hero__gallery-stats {
    display: flex;
    gap: 32px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.hero__stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    font-family: var(--headings);
}

.hero__stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
}

.hero__gallery-quote {
    max-width: 500px;
    margin-top: 32px;
    padding: 20px 24px;
    background: rgba(21, 21, 21, 0.6);
    backdrop-filter: blur(8px);
    border-left: 4px solid var(--primary);
    border-radius: 0 16px 16px 0;
}

.hero__gallery-quote-text {
    font-size: 1.1rem;
    line-height: 1.5;
    color: white;
    font-style: italic;
    margin: 8px 0 0 0;
}

/* Mobile */
@media (max-width: 767px) {
    .hero__gallery-stats {
        gap: 20px;
    }

    .hero__stat-number {
        font-size: 1.8rem;
    }

    .hero__stat-label {
        font-size: 0.75rem;
    }

    .hero__gallery-quote-text {
        font-size: 1rem;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .hero--gallery {
        position: relative;
        width: 100vw;
        height: 60svh;
        overflow: hidden;
    }
}

/* ====================================================
   404 PAGE - ESTILOS
   ==================================================== */

.hero--404 {
    position: relative;
    width: 100vw;
    min-height: 80svh;
    overflow: hidden;
}

.hero__overlay--404 {
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            #151515 100%);
}

.hero--404 .hero__content {
    padding-top: 120px;
    padding-bottom: 60px;
}

.hero--404 .hero__content-preheading {
    color: var(--primary);
}

.hero--404 .hero__content-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero--404 .hero__content-title em {
    color: var(--primary);
    font-style: normal;
}

.hero--404 .hero__content-subheading {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero__404-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero__404-actions .btn__primary,
.hero__404-actions .btn__secondary {
    width: auto;
    min-width: 200px;
}

.hero__404-quote {
    max-width: 500px;
    padding: 20px 24px;
    background: rgba(21, 21, 21, 0.6);
    backdrop-filter: blur(8px);
    border-left: 4px solid var(--primary);
    border-radius: 0 16px 16px 0;
}

.hero__404-quote-text {
    font-size: 1.1rem;
    line-height: 1.5;
    color: white;
    font-style: italic;
    margin: 8px 0 0 0;
}

/* Help Cards */
.section__404-help {
    background-color: var(--white);
}

.help-card {
    display: block;
    padding: 2rem;
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    text-align: center;
    text-decoration: none;
    color: var(--black);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--color-black-100);
}

.help-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(228, 110, 0, 0.12);
    border-color: var(--primary);
    color: var(--primary);
}

.help-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--color-black-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-card__icon i {
    font-size: 2.5rem;
    color: var(--primary);
}

.help-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.help-card__text {
    color: var(--color-black-600);
    margin: 0;
}

/* Sección de búsqueda */
.section__404-search {
    background-color: var(--color-black-50);
}

.section__404-search h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--black);
}

/* Responsive */
@media (max-width: 767px) {
    .hero--404 {
        min-height: 70svh;
    }

    .hero--404 .hero__content-title {
        font-size: 2.5rem;
    }

    .hero__404-actions {
        flex-direction: column;
    }

    .hero__404-actions .btn__primary,
    .hero__404-actions .btn__secondary {
        width: 100%;
    }

    .help-card {
        padding: 1.5rem;
    }
}

@media (min-width: 992px) {
    .hero--404 .hero__content-title {
        font-size: 5rem;
    }

    .hero--404 .hero__content-subheading {
        font-size: 1.4rem;
    }

    .hero__404-quote-text {
        font-size: 1.2rem;
    }
}

/* Animaciones */
.help-card.animate-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.help-card.animate-in.animate {
    opacity: 1;
    transform: translateY(0);
}

.help-card:nth-child(1).animate {
    transition-delay: 0.1s;
}

.help-card:nth-child(2).animate {
    transition-delay: 0.2s;
}

.help-card:nth-child(3).animate {
    transition-delay: 0.3s;
}

/* ---------------------------------------------
   MEDIA QUERIES
--------------------------------------------- */
@media (min-width: 768px) {
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-item {
        padding-left: 0;
        width: 50%;
    }

    .timeline-item:nth-child(odd) {
        padding-right: 40px;
        margin-left: 0;
        text-align: right;
    }

    .timeline-item:nth-child(even) {
        margin-left: 50%;
        padding-left: 40px;
        text-align: left;
    }

    .timeline-item__dot {
        left: auto;
        right: -7px;
    }

    .timeline-item:nth-child(even) .timeline-item__dot {
        left: -7px;
        right: auto;
    }
}

@media (min-width: 992px) {
    .hero--about {
        height: 80vh;
    }

    .hero__quote {
        padding: 32px;
        max-width: 700px;
    }

    .hero__quote-text {
        font-size: 1.75rem;
    }

    .section__history-image-grid {
        height: 500px;
    }

    .pilar-card__title {
        font-size: 1.75rem;
    }
}

/* ---------------------------------------------
   FIX: FORZAR VISIBILIDAD DE IMÁGENES
--------------------------------------------- */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

.pilar-card__image,
.team-card__image,
.section__history-image-main img,
.hero__image {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.hero--gallery .hero__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: clamp(60px, 6vw, 80px);
}