:root {
    --bg: #f3f2ef;
    --bg-deep: #0d0d0d;
    --surface: #ffffff;
    --text: #101010;
    --text-soft: #525252;
    --stroke: rgba(0, 0, 0, 0.12);
    --stroke-dark: rgba(255, 255, 255, 0.16);
    --radius-xl: 32px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
    --container: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Sora", "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
    background: radial-gradient(circle at 10% -10%, #ffffff 0%, #f5f3f0 40%, #f0efec 100%);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.ambient {
    position: fixed;
    z-index: -1;
    filter: blur(75px);
    pointer-events: none;
}

.ambient--one {
    top: -130px;
    right: -120px;
    width: 380px;
    height: 380px;
    background: rgba(0, 0, 0, 0.12);
}

.ambient--two {
    left: -150px;
    bottom: 5%;
    width: 430px;
    height: 430px;
    background: rgba(138, 128, 110, 0.18);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: min(var(--container), calc(100% - 40px));
    margin: 18px auto;
    padding: 12px 16px;
    border-radius: 100px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
}

.brand {
    display: flex;
    align-items: center;
    width: 180px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 40px;
    font-size: 14px;
    font-weight: 500;
}

.site-nav a {
    opacity: 0.78;
    transition: opacity 0.2s ease;
}

.site-nav a:hover {
    opacity: 1;
}

.section {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
    padding: 84px 0;
    scroll-margin-top: 110px;
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 44px;
    padding-top: 64px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 18px;
}

h1,
h2,
h3 {
    letter-spacing: -0.02em;
    line-height: 1.02;
}

h1 {
    font-size: clamp(2.3rem, 5vw, 4.8rem);
    max-width: 12.5ch;
}

h2 {
    font-size: clamp(1.85rem, 3.8vw, 3.4rem);
    max-width: 14ch;
}

h3 {
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

.lead {
    margin-top: 20px;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-soft);
    max-width: 57ch;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--solid {
    background: #111;
    color: #fff;
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18);
}

.btn--ghost {
    border-color: var(--stroke);
    background: #fff;
}

.btn--line {
    border-color: #111;
    background: transparent;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
    list-style: none;
}

.metrics li {
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--stroke);
}

.metrics strong {
    display: block;
    font-size: clamp(1.55rem, 2vw, 2rem);
    margin-bottom: 4px;
}

.metrics span {
    color: var(--text-soft);
    font-size: 13px;
}

.hero__media {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    min-height: 420px;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section__head {
    margin-bottom: 34px;
}

.section__head p {
    margin-bottom: 14px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card {
    padding: 26px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--stroke);
    background: linear-gradient(180deg, #fff 0%, #f8f7f5 100%);
    min-height: 230px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 0, 0, 0.25);
}

.card__index {
    font-size: 12px;
    color: var(--text-soft);
    margin-bottom: 16px;
    letter-spacing: 0.1em;
}

.card p {
    color: var(--text-soft);
    margin-top: 12px;
}

.section--dark {
    background: var(--bg-deep);
    border-radius: var(--radius-xl);
    color: #f0f0f0;
    padding-inline: 28px;
}

.section--dark .eyebrow,
.section--dark p {
    color: rgba(255, 255, 255, 0.7);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.solution-card {
    border: 1px solid var(--stroke-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.solution-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-bottom: 1px solid var(--stroke-dark);
}

.solution-card div {
    padding: 20px;
}

.solution-card p {
    margin-top: 10px;
}

.process-flow {
    --flow-step: 0.5s;
    --flow-curve: cubic-bezier(0.22, 0.86, 0.31, 0.99);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr) 56px minmax(0, 1fr) 56px minmax(0, 1fr) 56px minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    gap: 0 8px;
    position: relative;
    padding: 24px 0 6px;
}

.process-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7f6f3 100%);
    border: 1px solid rgba(11, 21, 33, 0.12);
    border-radius: var(--radius-lg);
    padding: 24px 20px 22px;
    z-index: 2;
    box-shadow: 0 14px 30px rgba(11, 19, 34, 0.08);
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    transition: opacity 0.52s var(--flow-curve), transform 0.52s var(--flow-curve), box-shadow 0.4s ease;
    transition-delay: calc((var(--idx) - 1) * var(--flow-step));
    min-height: 205px;
}

.process-card:hover {
    box-shadow: 0 18px 36px rgba(11, 19, 34, 0.12);
}

.process-flow.is-visible .process-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.process-card:nth-of-type(1) { grid-column: 1; grid-row: 1; }
.process-card:nth-of-type(2) { grid-column: 3; grid-row: 1; }
.process-card:nth-of-type(3) { grid-column: 5; grid-row: 1; }
.process-card:nth-of-type(4) { grid-column: 7; grid-row: 1; }
.process-card:nth-of-type(5) { grid-column: 9; grid-row: 1; }

.process-card__num {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: #111111;
    margin-bottom: 12px;
    letter-spacing: 0.12em;
}

.process-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.process-card p {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.55;
}

.process-arrow {
    grid-row: 1;
    z-index: 1;
    min-height: 40px;
    opacity: 0;
    transition: opacity 0.18s linear;
    transition-delay: calc((var(--idx) - 1) * var(--flow-step));
    filter: none;
    align-self: center;
}

.process-arrow:nth-of-type(1) { grid-column: 2; }
.process-arrow:nth-of-type(2) { grid-column: 4; }
.process-arrow:nth-of-type(3) { grid-column: 6; }
.process-arrow:nth-of-type(4) { grid-column: 8; }

.process-flow.is-visible .process-arrow {
    opacity: 1;
}

.process-arrow svg {
    width: 100%;
    height: 30px;
    overflow: visible;
}

.arrow-path {
    fill: none;
    stroke: #111111;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 0.58s var(--flow-curve);
    transition-delay: calc((var(--idx) - 1) * var(--flow-step) + 0.02s);
}

.arrow-path--glow {
    stroke: rgba(0, 0, 0, 0.18);
    stroke-width: 6;
}

.arrow-head {
    fill: none;
    stroke: #111111;
    stroke-width: 2.4;
    stroke-linejoin: round;
    stroke-linecap: round;
    opacity: 0;
    transform-origin: center;
    transform: scale(0.9);
    transition: opacity 0.18s ease, transform 0.18s ease;
    transition-delay: calc((var(--idx) - 1) * var(--flow-step) + 0.48s);
}

.process-flow.is-visible .arrow-path {
    stroke-dashoffset: 0;
}

.process-flow.is-visible .arrow-head {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 1024px) {
    .process-flow {
        grid-template-columns: 220px 44px 220px 44px 220px 44px 220px 44px 220px;
        overflow-x: auto;
        padding-bottom: 10px;
        scrollbar-width: thin;
    }

    .process-flow::-webkit-scrollbar {
        height: 6px;
    }

    .process-flow::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 99px;
    }

    .process-card {
        margin: 0;
        min-height: 190px;
    }

    .process-arrow {
        min-height: 34px;
    }

    .process-arrow svg {
        height: 26px;
    }
}

.case-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.case-card {
    position: relative;
    min-height: 610px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    isolation: isolate;
}

.case-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 17, 30, 0.18) 10%, rgba(8, 16, 27, 0.84) 65%, rgba(8, 16, 27, 0.94) 100%);
    z-index: 1;
}

.case-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-card__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
    padding: 34px 28px 30px;
    color: #f2f5f7;
}

.case-card__content h3 {
    font-size: clamp(1.45rem, 2.2vw, 2.15rem);
    line-height: 1.15;
    max-width: 17ch;
    text-wrap: balance;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-weight: 800 !important;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.35);
}

.case-gallery .case-card .case-card__content h3 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-weight: 800 !important;
}

.case-card__content p {
    margin: 0;
    font-size: clamp(1rem, 1.25vw, 1.1rem);
    color: rgba(241, 247, 250, 0.95);
    max-width: 34ch;
}

.case-card__content p strong {
    color: #ffffff;
    font-weight: 900;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid var(--stroke);
}

.gallery img:nth-child(1) { grid-column: span 3; aspect-ratio: 4 / 5; }
.gallery img:nth-child(2) { grid-column: span 3; aspect-ratio: 4 / 5; }
.gallery img:nth-child(3) { grid-column: span 6; aspect-ratio: 16 / 9; }
.gallery img:nth-child(4) { grid-column: span 4; aspect-ratio: 4 / 3; }
.gallery img:nth-child(5) { grid-column: span 4; aspect-ratio: 4 / 3; }
.gallery img:nth-child(6) { grid-column: span 4; aspect-ratio: 4 / 3; }

.cta {
    text-align: center;
    padding-bottom: 96px;
}

.cta h2 {
    max-width: 18ch;
    margin: 0 auto;
}

.cta .hero__actions {
    justify-content: center;
}

.site-footer {
    padding: 60px 0;
    background: #0a0a0a;
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-brand img {
    width: 170px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 22px;
    color: var(--accent);
    font-weight: 800;
}

.footer-contact p {
    margin-bottom: 12px;
    font-size: 15px;
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-legal h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 22px;
    color: var(--accent);
    font-weight: 800;
}

.footer-legal p {
    margin-bottom: 12px;
    font-size: 15px;
}

.footer-legal a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--accent);
}

@media (max-width: 720px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand img {
        margin-inline: auto;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .site-nav {
        display: none;
    }

    .site-nav.is-active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        background: #ffffff !important;
        padding: 40px 20px;
        border-radius: 30px;
        box-shadow: 0 20px 50px rgba(0,0,0,0.2);
        border: 1px solid rgba(0,0,0,0.1);
        gap: 25px;
        text-align: center;
        z-index: 1000;
    }

    .site-nav.is-active a {
        font-size: 20px;
        color: #111111 !important;
        opacity: 1 !important;
        font-weight: 600;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 50;
    }

    .menu-toggle span {
        display: block;
        width: 28px;
        height: 2px;
        background: #111;
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 2px;
    }

    .site-header--hero .menu-toggle span {
        background: #fff;
    }

    .menu-toggle.is-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .card-grid,
    .solution-grid,
    .process,
    .case-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .process li {
        min-height: 0;
    }
}

@media (max-width: 720px) {
    .site-header {
        width: calc(100% - 22px);
        margin: 10px auto;
        padding: 10px 12px;
    }

    .brand {
        width: 150px;
    }

    .site-header .btn {
        padding: 0 16px;
        height: 40px;
        font-size: 13px;
    }

    .section {
        width: calc(100% - 24px);
        padding: 60px 0;
    }

    .section--dark {
        padding-inline: 14px;
        border-radius: 22px;
    }

    .card-grid,
    .solution-grid,
    .process,
    .case-gallery {
        grid-template-columns: 1fr;
    }

    .metrics {
        grid-template-columns: 1fr;
    }



    .case-card {
        min-height: 520px;
    }

    .case-card__content {
        padding: 26px 22px 22px;
        gap: 14px;
    }

    .case-card__content p {
        max-width: none;
    }

    .hero__media {
        min-height: 300px;
    }
}






/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form-container {
    max-width: 800px;
    margin: 40px auto 0;
    background: #ffffff;
    padding: 40px;
    border-radius: 32px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-soft);
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    background: #f8f9fa;
    border: 1px solid transparent;
    border-radius: 14px;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(155, 226, 60, 0.1);
}

.btn--submit {
    width: 100%;
    margin-top: 12px;
}

.form-status {
    margin-top: 20px;
    padding: 16px;
    border-radius: 14px;
    font-size: 15px;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block !important;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-status.error {
    display: block !important;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@media (max-width: 720px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 24px;
        border-radius: 24px;
    }
}




/* ============================================================
   HERO COVER OPTION (preview)
   ============================================================ */
.hero--cover {
    position: relative;
    isolation: isolate;
    width: 100%;
    margin: -138px 0 0;
    padding: clamp(200px, 26vh, 280px) max(22px, calc((100vw - var(--container)) / 2)) 56px;
    min-height: min(900px, 100vh);
    display: block;
    border-radius: 0;
    overflow: hidden;
    background: #0b1320;
    box-shadow: 0 -28px 0 #0b1320;
}

.hero--cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg, url("imagenes/anestage04.png"));
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
    z-index: -2;
}

.hero--cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 12%, rgba(255, 255, 255, 0.14), transparent 48%),
        linear-gradient(104deg, rgba(7, 11, 18, 0.78) 0%, rgba(7, 11, 18, 0.56) 42%, rgba(7, 11, 18, 0.68) 100%);
    backdrop-filter: blur(2.2px);
    -webkit-backdrop-filter: blur(2.2px);
    z-index: -1;
}

.hero--cover .hero__copy {
    max-width: 780px;
}

.hero--cover h1 {
    color: #ffffff;
    max-width: 12ch;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.32);
}

.hero--cover .eyebrow,
.hero--cover .lead {
    color: rgba(245, 248, 252, 0.92);
}

.hero--cover .btn--solid {
    background: #ffffff;
    color: #111111;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.hero--cover .btn--line {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.04);
}

.hero--cover .metrics li {
    background: rgba(8, 14, 23, 0.38);
    border-color: rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(6px);
}

.hero--cover .metrics strong,
.hero--cover .metrics span {
    color: #ffffff;
}

.hero--cover .hero__media {
    display: none;
}

.site-header {
    transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.site-header.site-header--hero {
    margin-top: 0;
    background: rgba(8, 14, 24, 0.38);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.site-header.site-header--hero .site-nav a,
.site-header.site-header--hero .btn--ghost {
    color: #ffffff;
}

.site-header.site-header--hero .btn--ghost {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
}

.site-header.site-header--hero .brand img {
    filter: brightness(0) invert(1);
}

@media (max-width: 1024px) {
    .hero--cover {
        margin-top: -126px;
        padding-top: clamp(160px, 22vh, 220px);
    }
}

@media (max-width: 720px) {
    .hero--cover {
        margin-top: -112px;
        padding: 150px 20px 40px;
        min-height: 88vh;
    }

    .hero--cover .hero__actions {
        gap: 10px;
    }

    .hero--cover .metrics {
        margin-top: 20px;
    }
}




/**
 * Alberta Norweg - Estilos del Banner de Cookies
 * Diseño moderno, responsive y conforme a RGPD
 */

/* ============ BANNER PRINCIPAL ============ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    color: #ffffff;
    padding: 0;
    z-index: 99999;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* ============ TEXTO DEL BANNER ============ */
.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #ffffff;
}

.cookie-banner-text p {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.6;
    margin: 0 0 8px 0;
    color: rgba(255, 255, 255, 0.85);
}

.cookie-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cookie-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ============ BOTONES ============ */
.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.cookie-btn-accept {
    background: #ffffff;
    color: #111111;
}

.cookie-btn-accept:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(155, 226, 60, 0.4);
}

.cookie-btn-reject {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

.cookie-btn-settings {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 16px;
}

.cookie-btn-settings:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.cookie-btn-settings i {
    margin-right: 6px;
}

.cookie-btn-save {
    background: #ffffff;
    color: #111111;
    width: 100%;
}

.cookie-btn-save:hover {
    background: var(--accent);
}

/* ============ PANEL DE CONFIGURACIÓN ============ */
.cookie-settings-panel {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 90%;
    max-width: 500px;
    background: #ffffff;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #2d2d2d;
}

.cookie-settings-panel.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-settings-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d2d2d;
}

.cookie-settings-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.3s ease;
}

.cookie-settings-close:hover {
    color: var(--accent);
}

.cookie-settings-body {
    padding: 15px 25px;
    max-height: 300px;
    overflow-y: auto;
}

.cookie-settings-footer {
    padding: 15px 25px 20px;
    border-top: 1px solid #e0e0e0;
}

/* ============ CATEGORÍAS DE COOKIES ============ */
.cookie-category {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.cookie-category-info {
    flex: 1;
}

.cookie-category-info strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 4px;
}

.cookie-category-info p {
    font-size: 0.8rem;
    font-weight: 300;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* ============ TOGGLE SWITCH ============ */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 28px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked+.cookie-toggle-slider {
    background-color: var(--accent);
}

.cookie-toggle input:checked+.cookie-toggle-slider:before {
    transform: translateX(22px);
}

.cookie-toggle.disabled .cookie-toggle-slider {
    background-color: var(--accent);
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-toggle.disabled .cookie-toggle-slider:before {
    transform: translateX(22px);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .cookie-banner-text {
        text-align: center;
    }

    .cookie-banner-text h3 {
        font-size: 1rem;
    }

    .cookie-banner-text p {
        font-size: 0.85rem;
    }

    .cookie-banner-actions {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn-settings {
        order: 3;
    }

    .cookie-settings-panel {
        width: 100%;
        max-width: none;
        border-radius: 16px 16px 0 0;
    }

    .cookie-settings-body {
        max-height: 250px;
    }
}

@media (max-width: 480px) {
    .cookie-banner-content {
        padding: 15px;
    }

    .cookie-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .cookie-settings-header,
    .cookie-settings-body,
    .cookie-settings-footer {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* ============ BOTÓN FLOTANTE PARA REABRIR (opcional) ============ */
.cookie-preferences-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: #ffffff;
    color: #111111;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-preferences-btn:hover {
    transform: scale(1.1);
    background: var(--accent);
    box-shadow: 0 6px 20px rgba(155, 226, 60, 0.5);
}

/* ============ SUMMARY LIST IN BANNER ============ */
.cookie-summary-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-summary-list li {
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
    line-height: 1.4;
}

.cookie-summary-list li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
    top: 0;
}

.cookie-summary-list li strong {
    color: #ffffff;
    font-weight: 600;
}

.cookie-legal-text {
    font-size: 0.75rem !important;
    opacity: 0.7;
    margin-top: 15px !important;
    line-height: 1.5 !important;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
    padding-top: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid rgba(10, 10, 10, 0.08);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 14px 30px rgba(8, 14, 23, 0.04);
}

.faq-item h3 {
    font-size: 1rem;
    line-height: 1.35;
    margin: 0 0 10px 0;
    color: var(--text-main);
}

.faq-item p {
    font-size: 0.93rem;
    line-height: 1.65;
    color: var(--text-soft);
    margin: 0;
}
