/* =============================================
   FONTS
   ============================================= */
@font-face {
    font-family: "Playfair Display";
    src: url("fonts/PlayfairDisplay-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Playfair Display";
    src: url("fonts/PlayfairDisplay-Italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Playfair Display";
    src: url("fonts/PlayfairDisplay-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("fonts/Poppins-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("fonts/Poppins-Italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("fonts/Poppins-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("fonts/Poppins-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("fonts/Poppins-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* =============================================
   VARIABLES & BASE
   ============================================= */
:root {
    --reina-ivory: #fffeec;
    --reina-dark: #1a1a2e;
    --reina-violet: #9f78ff;
    --reina-violet-dark: #6d4dbc;
    --reina-pear: #cbd83b;
    --reina-pear-pastel: #eaf48e;
    --reina-eggplant: #4c2e7a;
    --reina-carbon: #2b2b2b;
}

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

html {
    background-color: var(--reina-ivory);
    scroll-behavior: smooth;
    color-scheme: light;
    transition: background-color 280ms ease;
}

@media (min-width: 768px) {
    main > section[id] {
        scroll-margin-top: 6rem;
    }
}

html[data-theme="dark"] {
    background-color: #0e0a1f;
    color-scheme: dark;
}

body {
    background-color: var(--reina-ivory);
    color: var(--reina-dark);
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 280ms ease, color 280ms ease;
}

::selection {
    background: var(--reina-violet);
    color: var(--reina-ivory);
}

img {
    display: block;
    max-width: 100%;
}

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

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =============================================
   TYPOGRAPHY HELPERS
   ============================================= */
.font-display {
    font-family: "Playfair Display", Georgia, serif;
    letter-spacing: -0.02em;
}

.font-display em,
.faq-heading em {
    font-style: italic;
    font-weight: 400;
}

.font-body {
    font-family: "Poppins", sans-serif;
}

.text-violet {
    color: var(--reina-violet);
}

.text-pear {
    color: var(--reina-pear);
}

/* =============================================
   LAYOUT CONTAINERS
   ============================================= */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-mid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {

    .container,
    .container-narrow,
    .container-mid {
        padding: 0 3rem;
    }
}

/* =============================================
   SCROLL REVEAL ANIMATION
   ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal.reveal-complete {
    transition-delay: 0ms;
    transform: none;
    will-change: auto;
}

.reveal[data-delay="1"] {
    transition-delay: 120ms;
}

.reveal[data-delay="2"] {
    transition-delay: 240ms;
}

.reveal[data-delay="3"] {
    transition-delay: 360ms;
}

.reveal[data-delay="4"] {
    transition-delay: 480ms;
}

/* =============================================
   REUSABLE COMPONENTS
   ============================================= */

/* Section marker / eyebrow label */
.section-marker {
    font-family: "Poppins", sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(26, 26, 46, 0.6);
}

.marker-line {
    display: inline-block;
    width: 2rem;
    height: 1px;
    background: var(--reina-violet);
    flex-shrink: 0;
}

.marker-line-light {
    display: inline-block;
    width: 2rem;
    height: 1px;
    background: var(--reina-violet);
    flex-shrink: 0;
}

/* Accent underline on headings */
.accent-underline {
    background-image: linear-gradient(180deg,
            transparent 62%,
            var(--reina-pear) 62%,
            var(--reina-pear) 88%,
            transparent 88%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: left center;
}

/* Dispara cuando el padre hace reveal */
.reveal.is-visible .accent-underline {
    animation: highlight-draw 500ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 500ms;
}

@keyframes highlight-draw {
    to {
        background-size: 100% 100%;
    }
}

/* Primary button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
    background: var(--reina-violet);
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 9999px;
    box-shadow: 0 1px 0 rgba(26, 26, 46, 0.06);
    transition:
        background 280ms ease,
        transform 280ms ease,
        box-shadow 280ms ease;
}

.btn-primary:hover {
    background: var(--reina-violet-dark);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -16px rgba(143, 111, 224, 0.75);
}

/* Ghost dark button */
.btn-ghost-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
    border: 1px solid rgba(26, 26, 46, 0.2);
    border-radius: 9999px;
    font-family: "Poppins", sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    transition:
        border-color 280ms ease,
        color 280ms ease,
        background 280ms ease;
}

.btn-ghost-dark:hover {
    border-color: var(--reina-dark);
    background: var(--reina-dark);
    color: var(--reina-ivory);
}

/* Animated text link */
.text-link {
    position: relative;
    display: inline-block;
}

.text-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 1px;
    width: 100%;
    background: currentColor;
    transform-origin: right;
    transform: scaleX(1);
    transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.text-link:hover::after {
    animation: underline-loop 800ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes underline-loop {
    0% {
        transform-origin: right;
        transform: scaleX(1);
    }

    50% {
        transform-origin: right;
        transform: scaleX(0);
    }

    51% {
        transform-origin: left;
        transform: scaleX(0);
    }

    100% {
        transform-origin: left;
        transform: scaleX(1);
    }
}

/* Arch-shaped image frame */
.arch-frame {
    border-top-left-radius: 50% 30%;
    border-top-right-radius: 50% 30%;
    overflow: hidden;
}

/* Service card hover */
.service-card {
    transition:
        transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 280ms ease,
        box-shadow 280ms ease;
}

/* Fill que sube desde abajo */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--reina-violet);
    transform: translateY(100%);
    transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
}

.service-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(159, 120, 255, 0.9);
    z-index: 1;
}

.service-card:focus-visible::before {
    transform: translateY(0);
}

.service-card:focus-visible {
    transform: translateY(-6px);
    border-color: var(--reina-violet) !important;
    box-shadow: 0 20px 48px -24px rgba(168, 138, 237, 0.45);
    transition-delay: 0ms;
}

.service-card:focus-visible .service-number,
.service-card:focus-visible .service-title,
.service-card:focus-visible .service-desc,
.service-card:focus-visible .service-tags li {
    color: var(--reina-ivory);
    border-color: rgba(255, 254, 236, 0.35);
}

.service-card:focus-visible .service-arrow {
    color: var(--reina-ivory);
    transform: translate(2px, -2px);
}

@media (min-width: 1024px) {
    .service-card:hover::before {
        transform: translateY(0);
    }

    .service-card:hover {
        transform: translateY(-6px);
        border-color: var(--reina-violet) !important;
        box-shadow: 0 20px 48px -24px rgba(168, 138, 237, 0.45);
        transition-delay: 0ms;
    }

    .service-card:hover .service-number,
    .service-card:hover .service-title,
    .service-card:hover .service-desc,
    .service-card:hover .service-tags li {
        color: var(--reina-ivory);
        border-color: rgba(255, 254, 236, 0.35);
    }

    .service-card:hover .service-arrow {
        color: var(--reina-ivory);
        transform: translate(2px, -2px);
    }
}

/* Portfolio hover */
.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.portfolio-item .media-wrap {
    position: absolute;
    inset: 0;
    transform: scale(1);
    transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.portfolio-item .media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, 0.75);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem 2rem;
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity 450ms ease,
        transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 1024px) {
    .portfolio-item:hover .media-wrap {
        transform: scale(1.05);
    }

    .portfolio-item:hover .overlay {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   NAV
   ============================================= */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background 500ms ease, border-color 500ms ease, backdrop-filter 500ms ease;
}

#nav.scrolled {
    background: rgba(255, 254, 236, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 26, 46, 0.1);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.nav-logo {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    text-decoration: none;
}

.nav-logo-img {
    height: 2rem;
    width: auto;
    display: block;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    position: relative;
    font-size: 0.875rem;
    color: rgba(26, 26, 46, 0.8);
    transition: color 300ms ease;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 1px;
    width: 0;
    background: var(--reina-violet);
    transition: width 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover {
    color: var(--reina-dark);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.theme-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 9999px;
    border: 1px solid rgba(26, 26, 46, 0.18);
    background: rgba(255, 254, 236, 0.72);
    color: var(--reina-dark);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition:
        border-color 280ms ease,
        background 280ms ease,
        color 280ms ease,
        transform 280ms ease;
}

.theme-toggle:hover {
    border-color: rgba(159, 120, 255, 0.4);
    transform: translateY(-1px);
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--reina-violet);
    outline-offset: 3px;
}

.theme-toggle-icon {
    position: absolute;
    width: 1rem;
    height: 1rem;
    transition: opacity 220ms ease, transform 220ms ease;
}

.theme-toggle-icon--moon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.theme-toggle-icon--sun {
    opacity: 0;
    transform: scale(0.6) rotate(-35deg);
}

html[data-theme="dark"] .theme-toggle-icon--moon {
    opacity: 0;
    transform: scale(0.6) rotate(35deg);
}

html[data-theme="dark"] .theme-toggle-icon--sun {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.nav-cta {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(26, 26, 46, 0.2);
    background: none;
    cursor: pointer;
}

.hamburger-line {
    display: block;
    width: 1rem;
    height: 1.5px;
    background: var(--reina-dark);
    transition: transform 300ms ease;
}

.hamburger.open .hamburger-line:first-child {
    transform: translateY(3px) rotate(45deg);
}

.hamburger.open .hamburger-line:last-child {
    transform: translateY(-3px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
    display: grid;
    grid-template-rows: 0fr;
    background: var(--reina-ivory);
    border-top: 1px solid rgba(26, 26, 46, 0.1);
    padding: 0 1.5rem;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-0.75rem);
    transition:
        grid-template-rows 420ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 260ms ease,
        transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
        padding 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu.open {
    grid-template-rows: 1fr;
    padding: 1.35rem 1.5rem 1.6rem;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 1.05rem;
    min-height: 0;
    overflow: hidden;
}

.mobile-nav-link {
    display: inline-flex;
    width: fit-content;
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.4;
    color: rgba(26, 26, 46, 0.8);
    text-decoration: none;
    transition: color 260ms ease, transform 260ms ease;
}

.mobile-nav-link:active {
    color: var(--reina-violet);
    transform: translateX(0.15rem);
}

.mobile-scroll-top {
    position: fixed;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    display: none;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(26, 26, 46, 0.14);
    border-radius: 9999px;
    background: rgba(109, 77, 188, 0.96);
    color: var(--reina-ivory);
    box-shadow: 0 16px 32px rgba(109, 77, 188, 0.26);
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.75rem);
    transition:
        opacity 220ms ease,
        transform 220ms ease,
        background 280ms ease,
        border-color 280ms ease,
        color 280ms ease;
    z-index: 45;
}

.mobile-scroll-top svg {
    width: 1.125rem;
    height: 1.125rem;
}

.mobile-scroll-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-scroll-top:hover {
    transform: translateY(-2px);
}

.mobile-scroll-top:focus-visible {
    outline: 2px solid var(--reina-violet);
    outline-offset: 3px;
}

@media (max-width: 480px) {
    .nav-actions {
        gap: 0.5rem;
    }

    .nav-cta {
        padding: 0.625rem 1rem;
    }
}

@media (min-width: 640px) {
    .logo-sub {
        display: inline;
    }
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }

    .hamburger {
        display: none;
    }

    .nav-cta {
        padding: 0.625rem 1.5rem;
    }
}

/* =============================================
   HERO
   ============================================= */
.hero-section {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 5rem;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-eyebrow {
    margin-bottom: 1.5rem;
    color: rgba(26, 26, 46, 0.6);
}

.hero-headline {
    font-size: clamp(2.75rem, 6vw, 5rem);
    line-height: 0.95;
    font-weight: 600;
    color: var(--reina-dark);
}

.hero-subhead {
    margin-top: 2rem;
    font-size: 1rem;
    line-height: 1.625;
    color: rgba(26, 26, 46, 0.75);
    max-width: 36rem;
}

.hero-ctas {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

.hero-secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--reina-dark);
    text-decoration: none;
}

.hero-secondary-cta:hover .arrow-down {
    transform: translateY(4px);
}

.arrow-down {
    transition: transform 500ms ease;
}

/* Hero image */
.hero-image-wrapper {
    order: -1;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    aspect-ratio: 3/4;
}

.hero-deco-circle {
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    width: 6rem;
    height: 6rem;
    border-radius: 9999px;
    background: rgba(203, 216, 59, 0.8);
    filter: blur(1px);
    z-index: 1;
}

.hero-deco-line {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 8rem;
    height: 1px;
    background: rgba(26, 26, 46, 0.3);
    z-index: 1;
}

.hero-portrait-frame {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.05);
    border: 1px solid rgba(26, 26, 46, 0.1);
}

.hero-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-portrait-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, transparent, rgba(26, 26, 46, 0.1));
    pointer-events: none;
}

.hero-name-card {
    position: absolute;
    bottom: -1rem;
    left: 1rem;
    background: var(--reina-ivory);
    padding: 0.75rem 1rem;
    border: 1px solid rgba(26, 26, 46, 0.1);
    z-index: 2;
}

.name-card-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(26, 26, 46, 0.6);
}

.name-card-name {
    font-size: 1.125rem;
    color: var(--reina-dark);
    line-height: 1.25;
}

/* Hero scroll hint */
.hero-scroll-hint {
    display: none;
    position: absolute;
    left: 1.5rem;
    bottom: 1.5rem;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: rgba(26, 26, 46, 0.4);
}

.scroll-line {
    display: block;
    width: 2.5rem;
    height: 1px;
    background: rgba(26, 26, 46, 0.3);
}

@media (min-width: 768px) {
    .hero-section {
        padding-top: 10rem;
        padding-bottom: 7rem;
    }

    .hero-grid {
        grid-template-columns: 7fr 5fr;
        gap: 3rem;
    }

    .hero-image-wrapper {
        order: 0;
    }

    .hero-image-container {
        aspect-ratio: 4/5;
        max-width: none;
        transform: translateY(2.5rem);
        margin-left: 1.5rem;
    }

    .hero-ctas {
        flex-direction: row;
        align-items: center;
    }

    .hero-scroll-hint {
        display: flex;
    }

    .hero-deco-line {
        width: 10rem;
    }
}

@media (min-width: 1024px) {
    .hero-image-container {
        margin-left: 4rem;
    }

    .hero-headline {
        font-size: 5rem;
    }
}

/* =============================================
   PROBLEM
   ============================================= */
.problem-section {
    position: relative;
    background: var(--reina-dark);
    color: var(--reina-ivory);
    padding: 6rem 0;
    overflow: hidden;
}

.problem-eyebrow {
    color: rgba(255, 254, 236, 0.5);
    justify-content: center;
    margin-bottom: 2.5rem;
}

.problem-quotes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 5rem;
}

.problem-quote {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.5rem;
    border-left: 3px solid var(--reina-violet);
}

.problem-quote p {
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.375;
    color: rgba(255, 254, 236, 0.9);
}

.problem-closing {
    font-size: clamp(1.75rem, 4vw, 3.75rem);
    line-height: 1.05;
    text-align: center;
    max-width: 56rem;
    margin: 0 auto;
}

.problem-footer {
    margin-top: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: rgba(255, 254, 236, 0.4);
}

.problem-line {
    display: inline-block;
    width: 2.5rem;
    height: 1px;
    background: rgba(255, 254, 236, 0.3);
}

@media (min-width: 768px) {
    .problem-section {
        padding: 9rem 0;
    }

    .problem-quotes {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .problem-quote p {
        font-size: 1.375rem;
    }
}

/* =============================================
   SERVICES
   ============================================= */
.services-section {
    background: var(--reina-ivory);
    padding: 6rem 0;
}

.services-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: end;
}

.services-eyebrow {
    margin-bottom: 1.5rem;
}

.services-heading {
    font-size: clamp(2.25rem, 4vw, 3.75rem);
    line-height: 1.02;
    color: var(--reina-dark);
}

.services-subtext {
    font-size: 0.9375rem;
    color: rgba(26, 26, 46, 0.7);
    max-width: 24rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.services-grid [data-testid="service-card-01"] {
    order: 1;
}

.services-grid [data-testid="service-card-03"] {
    order: 2;
}

.services-grid [data-testid="service-card-06"] {
    order: 3;
}

.services-grid [data-testid="service-card-04"] {
    order: 4;
}

.services-grid [data-testid="service-card-02"] {
    order: 5;
}

.services-grid [data-testid="service-card-05"] {
    order: 6;
}

.service-card {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    background:
        linear-gradient(180deg, rgba(159, 120, 255, 0.03), rgba(159, 120, 255, 0)),
        var(--reina-ivory);
    border: 1px solid rgba(26, 26, 46, 0.12);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    outline: none;
    transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 280ms ease,
        border-color 280ms ease;
}

.service-card>* {
    position: relative;
    z-index: 1;
}

.service-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.service-number {
    font-size: 0.875rem;
    color: rgba(26, 26, 46, 0.58);
    transition: color 200ms ease;
}

.service-arrow {
    color: rgba(26, 26, 46, 0.5);
    transition:
        color 200ms ease,
        transform 300ms ease;
}

.service-title {
    font-size: clamp(1.75rem, 2.5vw, 2rem);
    line-height: 1.14;
    color: var(--reina-dark);
    margin-bottom: 1rem;
    text-wrap: balance;
    transition: color 200ms ease;
}

.service-desc {
    font-size: 0.9375rem;
    line-height: 1.68;
    color: rgba(26, 26, 46, 0.8);
    margin-bottom: 2rem;
    max-width: 32ch;
    transition: color 200ms ease;
}

.service-tags {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.service-tags li {
    font-size: 0.71875rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(26, 26, 46, 0.72);
    border: 1px solid rgba(26, 26, 46, 0.18);
    border-radius: 9999px;
    background: rgba(26, 26, 46, 0.025);
    padding: 0.3rem 0.8rem;
    transition: color 200ms ease, border-color 200ms ease;
}

.services-cta-wrapper {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}

.services-disclaimer {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(26, 26, 46, 0.5);
}

@media (min-width: 768px) {
    .services-section {
        padding: 9rem 0;
    }

    .services-header {
        grid-template-columns: 8fr 4fr;
        margin-bottom: 6rem;
    }

    .services-header-right {
        margin-left: auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card {
        padding: 2.5rem;
    }

    .services-cta-wrapper {
        flex-direction: row;
        justify-content: center;
    }
}

/* =============================================
   PRICING SECTIONS
   ============================================= */
.pricing-section {
    background: var(--reina-ivory);
    padding: 6rem 0;
    border-top: 1px solid rgba(26, 26, 46, 0.1);
}

.pricing-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: end;
}

.pricing-eyebrow {
    margin-bottom: 1.5rem;
}

.pricing-heading {
    font-size: clamp(2.25rem, 4vw, 3.75rem);
    line-height: 1.02;
    color: var(--reina-dark);
}

.pricing-subtext {
    font-size: 0.9375rem;
    color: rgba(26, 26, 46, 0.7);
    max-width: 24rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
}

.pricing-card {
    position: relative;
    background: var(--reina-ivory);
    border: 1px solid rgba(26, 26, 46, 0.12);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition:
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 320ms ease,
        border-color 320ms ease;
}

.pricing-card--featured {
    transition:
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 320ms ease;
}

@media (min-width: 1024px) {
    .pricing-card:not(.pricing-card--featured):hover {
        transform: translateY(-4px);
        border-color: rgba(159, 120, 255, 0.35);
        box-shadow: 0 12px 32px -16px rgba(159, 120, 255, 0.18);
    }

    .pricing-card--featured:hover {
        transform: translateY(-7px);
        box-shadow:
            0 24px 48px -20px rgba(109, 77, 188, 0.6),
            0 0 0 1px rgba(159, 120, 255, 0.4);
    }
}

.pricing-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.pricing-plan-name {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    color: var(--reina-dark);
    line-height: 1.1;
}

.pricing-plan-num {
    font-family: "Poppins", sans-serif;
    font-size: 0.75rem;
    color: rgba(26, 26, 46, 0.35);
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.pricing-plan-desc {
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(26, 26, 46, 0.65);
    margin-bottom: 1.25rem;
}

.pricing-divider {
    height: 1px;
    background: rgba(26, 26, 46, 0.1);
    margin-bottom: 1.5rem;
}

.pricing-price-block {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1.75rem;
}

.pricing-price {
    font-size: clamp(2.5rem, 4vw, 3.25rem);
    line-height: 1;
    color: var(--reina-dark);
    letter-spacing: -0.03em;
}

#planes-contenido .pricing-price,
#tienda-online .pricing-price {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
}

.pricing-period {
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--reina-violet);
    font-weight: 600;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.pricing-features li {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(26, 26, 46, 0.75);
    padding-left: 1.5rem;
    position: relative;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--reina-violet);
    font-size: 0.75rem;
    font-weight: 600;
    top: 0.05em;
}

/* Featured (middle) card */
#planes-contenido .pricing-card--featured,
#tienda-online .pricing-card--featured {
    background: var(--reina-violet-dark);
    border-color: var(--reina-violet-dark);
    padding-top: 3rem;
}

.pricing-card--featured .pricing-plan-name {
    color: var(--reina-ivory);
}

.pricing-card--featured .pricing-plan-num {
    color: rgba(255, 254, 236, 0.25);
}

.pricing-card--featured .pricing-plan-desc {
    color: rgba(255, 254, 236, 0.65);
}

.pricing-card--featured .pricing-divider {
    background: rgba(255, 254, 236, 0.12);
}

.pricing-card--featured .pricing-price {
    color: var(--reina-ivory);
}

.pricing-card--featured .pricing-period {
    color: var(--reina-pear);
}

.pricing-card--featured .pricing-features li {
    color: rgba(255, 254, 236, 0.85);
}

.pricing-card--featured .pricing-features li::before {
    color: var(--reina-pear);
}

/* Badge */
.pricing-badge {
    position: absolute;
    top: -0.875rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--reina-pear);
    color: var(--reina-dark);
    font-family: "Poppins", sans-serif;
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0.35rem 0.875rem;
    border-radius: 9999px;
    white-space: nowrap;
}

/* Footnote */
.pricing-footnote {
    margin-top: 2rem;
    font-size: 0.8125rem;
    font-style: italic;
    color: rgba(26, 26, 46, 0.5);
}

/* CTA row */
.pricing-cta-row {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(26, 26, 46, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.pricing-cta-text {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    line-height: 1.45;
    color: var(--reina-dark);
    max-width: 40rem;
}

.pricing-wa-btn {
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .pricing-section {
        padding: 3rem 0;
    }

    .pricing-header {
        grid-template-columns: 1fr 1fr;
        margin-bottom: 5rem;
    }

    .pricing-cta-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
    }

    .pricing-card {
        padding: 2.5rem;
    }

    .pricing-card--featured {
        padding-top: 3.5rem;
    }
}

/* =============================================
   SHOP ONLINE
   ============================================= */
.shop-online-section {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 3.75rem;
}

.shop-online-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.shop-eyebrow {
    margin-bottom: 1.5rem;
}

.shop-heading {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 0.96;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--reina-dark);
}

.shop-intro {
    max-width: 28rem;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(26, 26, 46, 0.72);
}

.shop-online-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.shop-browser {
    position: relative;
    align-self: start;
    min-height: 25rem;
    padding: 1rem;
    border: 1px solid rgba(26, 26, 46, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(203, 216, 59, 0.18), transparent 44%),
        rgba(255, 254, 236, 0.78);
    box-shadow: 0 18px 48px -34px rgba(26, 26, 46, 0.34);
}

.shop-browser::before {
    content: "TIENDA LISTA";
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    color: rgba(26, 26, 46, 0.28);
}

.shop-browser-top {
    display: grid;
    grid-template-columns: repeat(3, 0.48rem) minmax(0, 1fr);
    gap: 0.38rem;
    align-items: center;
    min-height: 2.3rem;
    padding: 0 0.6rem;
    border-bottom: 1px solid rgba(26, 26, 46, 0.09);
}

.shop-browser-top span {
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 9999px;
    background: rgba(159, 120, 255, 0.42);
}

.shop-browser-top span:nth-child(2) {
    background: rgba(203, 216, 59, 0.74);
}

.shop-browser-top span:nth-child(3) {
    background: rgba(26, 26, 46, 0.18);
}

.shop-browser-top strong {
    justify-self: end;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(26, 26, 46, 0.42);
}

.shop-browser-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    min-height: 7.5rem;
    margin-top: 1rem;
    padding: 1.1rem;
    border-radius: 8px;
    background: var(--reina-dark);
    color: var(--reina-ivory);
}

.shop-browser-kicker {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--reina-pear);
}

.shop-browser-title {
    display: block;
    max-width: 12rem;
    font-size: 1.6rem;
    line-height: 1.02;
    letter-spacing: 0;
}

.shop-browser-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 5.8rem;
    min-height: 2.35rem;
    padding: 0.6rem 0.95rem;
    border-radius: 9999px;
    background: var(--reina-pear);
    color: var(--reina-dark);
    font-size: 0.7rem;
    font-weight: 700;
}

.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.85rem;
}

.shop-product-grid span {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
    padding: 0.55rem;
    border: 1px solid rgba(26, 26, 46, 0.08);
    border-radius: 8px;
    background: rgba(255, 254, 236, 0.86);
}

.shop-product-grid i,
.shop-product-grid b,
.shop-product-grid em {
    display: block;
    border-radius: 9999px;
}

.shop-product-grid i {
    width: 100%;
    aspect-ratio: 1 / 0.86;
    border-radius: 7px;
    background: rgba(159, 120, 255, 0.22);
}

.shop-product-grid span:nth-child(2) i {
    background: rgba(203, 216, 59, 0.36);
}

.shop-product-grid span:nth-child(3) i {
    background: rgba(26, 26, 46, 0.12);
}

.shop-product-grid b {
    width: 72%;
    height: 0.42rem;
    background: rgba(26, 26, 46, 0.24);
}

.shop-product-grid em {
    width: 46%;
    height: 0.42rem;
    background: rgba(159, 120, 255, 0.34);
}

.shop-checkout-card {
    position: absolute;
    right: 1.25rem;
    bottom: 3.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    width: min(15.75rem, calc(100% - 2.5rem));
    padding: 1rem;
    border: 1px solid rgba(159, 120, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 254, 236, 0.95);
    box-shadow: 0 18px 36px -24px rgba(26, 26, 46, 0.42);
}

.shop-checkout-label,
.shop-checkout-total {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.shop-checkout-label {
    color: var(--reina-violet);
}

.shop-checkout-line {
    display: block;
    width: 100%;
    height: 0.5rem;
    border-radius: 9999px;
    background: rgba(26, 26, 46, 0.11);
}

.shop-checkout-line--short {
    width: 66%;
}

.shop-checkout-total {
    color: rgba(26, 26, 46, 0.58);
}

.shop-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid rgba(26, 26, 46, 0.12);
}

.shop-benefits-column {
    display: flex;
    flex-direction: column;
}

.shop-feature {
    position: relative;
    display: grid;
    grid-template-columns: 1.65rem minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    min-height: 4.65rem;
    padding: 1.05rem 0;
    border-bottom: 1px solid rgba(26, 26, 46, 0.12);
    font-size: 0.98rem;
    line-height: 1.5;
    color: rgba(26, 26, 46, 0.84);
}

.shop-feature::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: 8px;
    background: rgba(159, 120, 255, 0.08);
    opacity: 0;
    transform: scaleX(0.98);
    transform-origin: left center;
    transition:
        opacity 260ms ease,
        transform 260ms ease;
}

.shop-feature > * {
    position: relative;
    z-index: 1;
}

.shop-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.28rem;
    height: 1.28rem;
    border: 1px solid rgba(159, 120, 255, 0.44);
    border-radius: 9999px;
    color: var(--reina-violet);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    transition:
        background 260ms ease,
        color 260ms ease,
        transform 260ms ease;
}

.shop-ready-note {
    max-width: 40rem;
    margin-top: 1.75rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(203, 216, 59, 0.58);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(26, 26, 46, 0.72);
}

.shop-note {
    margin-top: 3.75rem;
    padding: 1.35rem 0 1.35rem 1.65rem;
    border-left: 4px solid var(--reina-pear);
}

.shop-note p {
    max-width: 52rem;
    font-size: 1.45rem;
    line-height: 1.28;
    letter-spacing: 0;
    color: var(--reina-dark);
}

.shop-note p em {
    font-style: normal;
    font-weight: 400;
}

.shop-note span {
    display: block;
    margin-top: 0.9rem;
    font-size: 0.9rem;
    font-style: italic;
    color: rgba(26, 26, 46, 0.58);
}

.shop-cta-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(26, 26, 46, 0.1);
}

.shop-cta-text {
    font-family: "Poppins", sans-serif;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0;
    color: var(--reina-dark);
}

.shop-cta-text em {
    font-style: normal;
    font-weight: 500;
}

.shop-wa-btn {
    min-height: 3.15rem;
    justify-content: center;
    white-space: nowrap;
}

.shop-wa-btn svg {
    flex-shrink: 0;
    transition: transform 260ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .shop-feature:hover::before {
        opacity: 1;
        transform: scaleX(1);
    }

    .shop-feature:hover .shop-feature-icon {
        background: var(--reina-violet);
        color: var(--reina-ivory);
        transform: translateY(-0.08rem);
    }

    .shop-wa-btn:hover svg {
        transform: translate(2px, -2px);
    }
}

@media (min-width: 768px) {
    .shop-online-section {
        padding: 7rem 0 4.5rem;
    }

    .shop-online-header {
        grid-template-columns: minmax(0, 7fr) minmax(20rem, 4fr);
        gap: 4rem;
        align-items: end;
    }

    .shop-intro {
        justify-self: end;
        padding-bottom: 0.45rem;
    }

    .shop-online-body {
        grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
        gap: 4rem;
        align-items: start;
        margin-top: 4.5rem;
    }

    .shop-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 3.4rem;
    }

    .shop-note {
        margin-top: 4rem;
        padding-left: 2rem;
    }

    .shop-note p {
        font-size: 1.72rem;
    }

    .shop-cta-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 1180px) {
    .shop-browser {
        min-height: 27rem;
    }
}

@media (max-width: 620px) {
    .shop-browser {
        min-height: 24rem;
        padding: 0.85rem;
    }

    .shop-browser-hero {
        min-height: 8.75rem;
        align-items: flex-start;
        flex-direction: column;
    }

    .shop-browser-title {
        max-width: 15rem;
        font-size: 1.45rem;
    }

    .shop-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-product-grid span:nth-child(3) {
        display: none;
    }

    .shop-checkout-card {
        right: 1rem;
        bottom: 2.8rem;
    }

    .shop-feature {
        min-height: auto;
        padding: 1.1rem 0;
        align-items: start;
    }

    .shop-feature-icon {
        margin-top: 0.15rem;
    }

    .shop-note {
        padding-left: 1rem;
    }

    .shop-note p,
    .shop-cta-text {
        font-size: 1.22rem;
    }

    .shop-wa-btn {
        width: 100%;
        white-space: normal;
        text-align: center;
    }
}

html[data-theme="dark"] .shop-heading,
html[data-theme="dark"] .shop-note p,
html[data-theme="dark"] .shop-cta-text {
    color: var(--theme-text);
}

html[data-theme="dark"] .shop-eyebrow,
html[data-theme="dark"] .shop-intro,
html[data-theme="dark"] .shop-feature,
html[data-theme="dark"] .shop-ready-note {
    color: var(--theme-text-soft);
}

html[data-theme="dark"] .shop-browser,
html[data-theme="dark"] .shop-product-grid span,
html[data-theme="dark"] .shop-checkout-card {
    background: var(--theme-surface);
    border-color: var(--theme-border);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .shop-browser {
    background:
        linear-gradient(135deg, rgba(203, 216, 59, 0.1), transparent 44%),
        var(--theme-surface);
}

html[data-theme="dark"] .shop-browser::before,
html[data-theme="dark"] .shop-browser-top strong,
html[data-theme="dark"] .shop-note span,
html[data-theme="dark"] .shop-checkout-total {
    color: var(--theme-text-faint);
}

html[data-theme="dark"] .shop-browser-top,
html[data-theme="dark"] .shop-features-grid,
html[data-theme="dark"] .shop-feature,
html[data-theme="dark"] .shop-cta-row {
    border-color: var(--theme-border);
}

html[data-theme="dark"] .shop-browser-hero {
    background: #09061a;
}

html[data-theme="dark"] .shop-feature::before {
    background: rgba(159, 120, 255, 0.13);
}

html[data-theme="dark"] .shop-feature-icon {
    border-color: var(--theme-border-strong);
    color: var(--reina-violet);
}

html[data-theme="dark"] .shop-checkout-line,
html[data-theme="dark"] .shop-product-grid b {
    background: rgba(255, 254, 236, 0.16);
}

/* =============================================
   SOCIAL MANAGEMENT
   ============================================= */
.social-management-section {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 3.75rem;
}

.social-management-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

.social-eyebrow {
    margin-bottom: 1.5rem;
}

.social-heading {
    max-width: 62rem;
    font-size: 2.55rem;
    line-height: 0.98;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--reina-dark);
}

.social-subtext {
    max-width: 42rem;
    margin-top: 1.75rem;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(26, 26, 46, 0.72);
}

.social-dashboard {
    position: relative;
    min-height: 27rem;
    padding: 1rem;
    border: 1px solid rgba(26, 26, 46, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(159, 120, 255, 0.12), transparent 48%),
        rgba(255, 254, 236, 0.76);
    box-shadow: 0 18px 48px -34px rgba(26, 26, 46, 0.34);
}

.social-dashboard::before {
    content: "GESTIÓN ACTIVA";
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    color: rgba(26, 26, 46, 0.28);
}

.social-phone-frame {
    position: relative;
    width: min(14rem, 68%);
    min-height: 23rem;
    padding: 0.85rem;
    border: 1px solid rgba(26, 26, 46, 0.1);
    border-radius: 1.65rem;
    background: rgba(255, 254, 236, 0.9);
    box-shadow: 0 20px 38px -28px rgba(26, 26, 46, 0.42);
}

.social-phone-top {
    display: grid;
    grid-template-columns: 1rem minmax(0, 1fr) 1rem;
    gap: 0.55rem;
    align-items: center;
    min-height: 1.75rem;
}

.social-phone-top span,
.social-phone-top i {
    display: block;
    width: 0.78rem;
    height: 0.78rem;
    border-radius: 9999px;
    background: rgba(159, 120, 255, 0.34);
}

.social-phone-top i {
    background: rgba(203, 216, 59, 0.72);
}

.social-phone-top strong {
    min-width: 0;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(26, 26, 46, 0.56);
}

.social-story-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.52rem;
    margin: 0.8rem 0 0.9rem;
}

.social-story-row span {
    aspect-ratio: 1;
    border: 1px solid rgba(159, 120, 255, 0.34);
    border-radius: 9999px;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 254, 236, 0.95) 0 46%, transparent 48%),
        linear-gradient(135deg, rgba(159, 120, 255, 0.72), rgba(203, 216, 59, 0.68));
}

.social-post-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 10.75rem;
    padding: 1rem;
    border-radius: 1rem;
    background:
        linear-gradient(150deg, rgba(26, 26, 46, 0.18), transparent 50%),
        var(--reina-dark);
    color: var(--reina-ivory);
}

.social-post-tag {
    margin-bottom: 0.45rem;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--reina-pear);
}

.social-post-title {
    max-width: 9rem;
    font-size: 1.45rem;
    line-height: 1.02;
    letter-spacing: 0;
}

.social-caption-lines {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.85rem;
}

.social-caption-lines span {
    display: block;
    width: 100%;
    height: 0.44rem;
    border-radius: 9999px;
    background: rgba(26, 26, 46, 0.12);
}

.social-caption-lines span:nth-child(2) {
    width: 78%;
}

.social-caption-lines span:nth-child(3) {
    width: 48%;
    background: rgba(159, 120, 255, 0.28);
}

.social-calendar-card,
.social-stats-card {
    position: absolute;
    right: 1rem;
    border: 1px solid rgba(159, 120, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 254, 236, 0.96);
    box-shadow: 0 18px 36px -24px rgba(26, 26, 46, 0.42);
}

.social-calendar-card {
    top: 4.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: min(13.5rem, 58%);
    padding: 1rem;
}

.social-mini-label {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--reina-violet);
}

.social-calendar-row {
    display: grid;
    grid-template-columns: 2.2rem minmax(0, 1fr);
    gap: 0.55rem;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(26, 26, 46, 0.08);
}

.social-calendar-row strong {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(26, 26, 46, 0.52);
}

.social-calendar-row span {
    display: inline-flex;
    min-width: 0;
    width: fit-content;
    max-width: 100%;
    padding: 0.28rem 0.6rem;
    border-radius: 9999px;
    background: rgba(203, 216, 59, 0.26);
    color: rgba(26, 26, 46, 0.72);
    font-size: 0.68rem;
    font-weight: 600;
}

.social-stats-card {
    right: 2rem;
    bottom: 3.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: min(12.25rem, 54%);
    padding: 1rem;
}

.social-stats-card strong {
    font-family: "Poppins", sans-serif;
    font-size: 2rem;
    line-height: 1;
    color: var(--reina-dark);
}

.social-stats-card span:last-child {
    font-size: 0.75rem;
    line-height: 1.45;
    color: rgba(26, 26, 46, 0.58);
}

.social-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(26, 26, 46, 0.12);
}

.social-feature {
    position: relative;
    display: grid;
    grid-template-columns: 1.75rem minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    min-height: 5.35rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(26, 26, 46, 0.12);
    overflow: hidden;
}

.social-feature::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: 8px;
    background: rgba(203, 216, 59, 0.16);
    opacity: 0;
    transform: scaleX(0.98);
    transform-origin: left center;
    transition:
        opacity 260ms ease,
        transform 260ms ease;
}

.social-feature > * {
    position: relative;
    z-index: 1;
}

.social-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    margin-top: 0.12rem;
    border: 1px solid rgba(159, 120, 255, 0.44);
    border-radius: 9999px;
    color: var(--reina-violet);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    transition:
        background 260ms ease,
        color 260ms ease,
        transform 260ms ease;
}

.social-feature-copy {
    min-width: 0;
}

.social-feature-title {
    display: block;
    font-size: 0.98rem;
    line-height: 1.5;
    color: rgba(26, 26, 46, 0.84);
}

.social-feature-note {
    display: block;
    margin-top: 0.28rem;
    font-size: 0.78rem;
    line-height: 1.55;
    color: rgba(26, 26, 46, 0.52);
}

.social-scope {
    margin-top: 3.75rem;
    padding: 1.45rem 0 1.45rem 1.65rem;
    border-top: 1px solid rgba(26, 26, 46, 0.1);
    border-bottom: 1px solid rgba(26, 26, 46, 0.1);
    border-left: 4px solid var(--reina-pear);
}

.social-scope p {
    max-width: 58rem;
    font-size: 1.5rem;
    line-height: 1.32;
    letter-spacing: 0;
    color: var(--reina-dark);
}

.social-scope p em {
    font-style: normal;
    font-weight: 400;
}

.social-cta-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    margin-top: 2rem;
}

.social-cta-text {
    font-family: "Poppins", sans-serif;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0;
    color: var(--reina-dark);
}

.social-cta-text em {
    font-style: normal;
    font-weight: 500;
}

.social-wa-btn {
    min-height: 3.15rem;
    justify-content: center;
    white-space: nowrap;
}

.social-wa-btn svg {
    flex-shrink: 0;
    transition: transform 260ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .social-feature:hover::before {
        opacity: 1;
        transform: scaleX(1);
    }

    .social-feature:hover .social-feature-icon {
        background: var(--reina-violet);
        color: var(--reina-ivory);
        transform: translateY(-0.08rem);
    }

    .social-wa-btn:hover svg {
        transform: translate(2px, -2px);
    }
}

@media (min-width: 768px) {
    .social-management-section {
        padding: 7rem 0 4.5rem;
    }

    .social-heading {
        font-size: 4.15rem;
    }

    .social-management-layout {
        grid-template-columns: minmax(0, 8fr) minmax(18rem, 4fr);
        gap: 3.5rem;
    }

    .social-dashboard {
        margin-bottom: 0.35rem;
        transform: translateY(-1.4rem);
    }

    .social-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 4rem;
        margin-top: 4.75rem;
    }

    .social-scope {
        margin-top: 4.25rem;
        padding-left: 2rem;
    }

    .social-scope p {
        font-size: 1.72rem;
    }

    .social-cta-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 1200px) {
    .social-heading {
        font-size: 4.75rem;
    }
}

@media (max-width: 520px) {
    .social-heading {
        font-size: 2.25rem;
    }

    .social-dashboard {
        min-height: 25rem;
        padding: 0.85rem;
    }

    .social-phone-frame {
        width: 72%;
        min-height: 22rem;
    }

    .social-calendar-card {
        top: 4rem;
        right: 0.85rem;
        width: 54%;
        padding: 0.85rem;
    }

    .social-stats-card {
        right: 1rem;
        bottom: 2.8rem;
        width: 52%;
        padding: 0.85rem;
    }

    .social-post-title {
        font-size: 1.28rem;
    }

    .social-feature {
        min-height: auto;
        padding: 1.1rem 0;
    }

    .social-scope {
        padding-left: 1rem;
    }

    .social-scope p,
    .social-cta-text {
        font-size: 1.22rem;
    }

    .social-wa-btn {
        width: 100%;
        white-space: normal;
        text-align: center;
    }
}

html[data-theme="dark"] .social-heading,
html[data-theme="dark"] .social-scope p,
html[data-theme="dark"] .social-cta-text {
    color: var(--theme-text);
}

html[data-theme="dark"] .social-eyebrow,
html[data-theme="dark"] .social-subtext,
html[data-theme="dark"] .social-feature-title,
html[data-theme="dark"] .social-stats-card span:last-child {
    color: var(--theme-text-soft);
}

html[data-theme="dark"] .social-dashboard,
html[data-theme="dark"] .social-phone-frame,
html[data-theme="dark"] .social-calendar-card,
html[data-theme="dark"] .social-stats-card {
    background: var(--theme-surface);
    border-color: var(--theme-border);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .social-dashboard {
    background:
        linear-gradient(135deg, rgba(159, 120, 255, 0.1), transparent 48%),
        var(--theme-surface);
}

html[data-theme="dark"] .social-dashboard::before,
html[data-theme="dark"] .social-phone-top strong,
html[data-theme="dark"] .social-calendar-row strong,
html[data-theme="dark"] .social-feature-note {
    color: var(--theme-text-faint);
}

html[data-theme="dark"] .social-caption-lines span,
html[data-theme="dark"] .social-calendar-row {
    border-color: var(--theme-border);
}

html[data-theme="dark"] .social-caption-lines span {
    background: rgba(255, 254, 236, 0.16);
}

html[data-theme="dark"] .social-stats-card strong {
    color: var(--theme-text);
}

html[data-theme="dark"] .social-features-grid,
html[data-theme="dark"] .social-feature,
html[data-theme="dark"] .social-scope {
    border-color: var(--theme-border);
}

html[data-theme="dark"] .social-feature::before {
    background: rgba(159, 120, 255, 0.13);
}

html[data-theme="dark"] .social-feature-icon {
    border-color: var(--theme-border-strong);
    color: var(--reina-violet);
}

/* =============================================
   CASE STUDY
   ============================================= */
.casestudy-section {
    background: var(--reina-ivory);
    padding: 6rem 0;
    border-top: 1px solid rgba(26, 26, 46, 0.1);
}

/* --- Header --- */
.casestudy-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 4rem;
}

.casestudy-eyebrow {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cs-counter {
    font-size: 0.75rem;
    color: rgba(26, 26, 46, 0.35);
    letter-spacing: 0.1em;
}

.casestudy-heading {
    font-size: clamp(2.5rem, 4vw, 3.75rem);
    line-height: 1.02;
    color: var(--reina-dark);
    margin-bottom: 1rem;
}

.casestudy-subtitle {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: rgba(26, 26, 46, 0.7);
    max-width: 36rem;
}

.casestudy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-content: flex-start;
    padding-top: 0.25rem;
}

.cs-tag {
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0.35rem 0.875rem;
    border: 1px solid rgba(26, 26, 46, 0.15);
    border-radius: 9999px;
    color: rgba(26, 26, 46, 0.55);
}

.cs-tag--year {
    background: var(--reina-violet);
    border-color: var(--reina-violet);
    color: var(--reina-ivory);
}

/* --- Before / After comparison --- */
.casestudy-comparison {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.cv-side {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    flex: 1;
}

.cv-side-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cv-badge {
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    padding: 0.28rem 0.7rem;
    border-radius: 9999px;
    font-weight: 600;
}

.cv-badge--before {
    background: var(--reina-dark);
    color: var(--reina-ivory);
}

.cv-badge--after {
    background: var(--reina-violet);
    color: var(--reina-ivory);
}

.cv-side-desc {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(26, 26, 46, 0.5);
}

.cv-videos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

/* Individual video card */
.cv-card {
    position: relative;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    cursor: pointer;
    border-radius: 6px;
    isolation: isolate;
    will-change: transform;
    transition: transform 180ms ease-out,
        box-shadow 180ms ease-out;
}

.cv-card:focus-within {
    transform: scale(1.02);
    box-shadow: 0 12px 28px -14px rgba(26, 26, 46, 0.24);
}

.cv-card--before {
    background: #0d0d18;
}

.cv-card--after {
    background: linear-gradient(165deg, #c9ab86 0%, #8b6843 55%, #6b4e2e 100%);
}

.cv-cover {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    transition: transform 180ms ease-out, opacity 180ms ease-out;
    z-index: 0;
}

.cv-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 8, 14, 0.14) 0%, rgba(8, 8, 14, 0.04) 38%, rgba(8, 8, 14, 0.58) 100%);
    pointer-events: none;
    z-index: 1;
}

.cv-card:focus-within .cv-cover {
    transform: scale(1.02);
}

/* Top metadata */
.cv-card-top-meta {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    transition: opacity 160ms ease-out;
}

.cv-rec {
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
}

/* Play button */
.cv-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 254, 236, 0.88);
    color: var(--reina-dark);
    transition: transform 160ms ease-out, background 160ms ease-out;
    z-index: 2;
}

.cv-card--after .cv-play {
    color: var(--reina-violet);
}

.cv-card:focus-within .cv-play {
    transform: translate(-50%, -50%) scale(1.12);
    background: rgba(255, 254, 236, 0.96);
}

@media (min-width: 1024px) {
    .cv-card:hover {
        transform: scale(1.02);
        box-shadow: 0 12px 28px -14px rgba(26, 26, 46, 0.24);
    }

    .cv-card:hover .cv-cover {
        transform: scale(1.02);
    }

    .cv-card:hover .cv-play {
        transform: translate(-50%, -50%) scale(1.12);
        background: rgba(255, 254, 236, 0.96);
    }
}

/* Footer metadata */
.cv-card-footer {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    z-index: 2;
    transition: opacity 160ms ease-out;
}

.cv-filename {
    font-size: 0.4375rem;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cv-filemeta {
    font-size: 0.4rem;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* After card specifics */
.cv-card-brand-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    font-size: 0.4375rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: rgba(255, 254, 236, 0.9);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: opacity 160ms ease-out, transform 160ms ease-out;
    z-index: 2;
}

.cv-brand-dot {
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 9999px;
    background: var(--reina-pear);
    display: inline-block;
    flex-shrink: 0;
}

.cv-reel-title {
    display: block;
    font-size: 0.4375rem;
    color: var(--reina-ivory);
    font-weight: 500;
    line-height: 1.4;
}

.cv-reel-dur {
    display: block;
    font-size: 0.375rem;
    color: rgba(255, 254, 236, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.cvmodal-overlay {
    align-items: center;
    padding: 0.75rem;
}

.cvmodal {
    position: relative;
    width: min(92vw, 30rem);
    max-height: 92vh;
    padding: 0.85rem;
    border-radius: 1.35rem;
    background: rgba(14, 14, 22, 0.96);
    border: 1px solid rgba(255, 254, 236, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
    overflow: hidden;
    transform: translateY(24px) scale(0.98);
    transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cvmodal-overlay.is-open .cvmodal {
    transform: translateY(0) scale(1);
}

.cvmodal-close {
    top: 0.75rem;
    right: 0.75rem;
}

.cvmodal-close:hover {
    background: rgba(26, 26, 46, 0.3);
    color: var(--reina-ivory);
    border-color: rgba(255, 254, 236, 0.24);
}

.cvmodal-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: calc(92vh - 5.5rem);
    border-radius: 1rem;
    overflow: hidden;
    background: #000;
}

.cvmodal-video {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
}

.cvmodal-video > iframe,
.cvmodal-video > video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: contain;
    background: #000;
}

.cvmodal-info {
    padding: 0.9rem 0.2rem 0.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.cvmodal-kicker {
    margin: 0;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: rgba(255, 254, 236, 0.56);
}

.cvmodal-title {
    margin: 0;
    font-size: clamp(1.35rem, 4vw, 1.9rem);
    line-height: 1.05;
    color: var(--reina-ivory);
}

@media (min-width: 768px) {
    .cvmodal-overlay {
        padding: 1.25rem;
    }

    .cvmodal {
        width: min(86vw, 31rem);
        padding: 1rem;
    }

    .cvmodal-frame {
        max-height: calc(90vh - 6rem);
    }
}

/* Arrow divider */
.cv-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(26, 26, 46, 0.25);
    transform: rotate(90deg);
}

/* Caption below cards */
.cv-caption {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: rgba(26, 26, 46, 0.55);
}

/* --- Context section --- */
.casestudy-context {
    border-top: 1px solid rgba(26, 26, 46, 0.1);
    padding-top: 4rem;
}

.cs-context-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cs-stats-note {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(26, 26, 46, 0.3);
    margin-bottom: 4rem;
}

.cs-ctx-stat {
    background: var(--reina-violet);
    color: var(--reina-ivory);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 11rem;
    border-top: 3px solid var(--reina-pear);
}

.cs-ctx-counter {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.6875rem;
    color: rgba(255, 254, 236, 0.2);
    letter-spacing: 0.1em;
}

.cs-ctx-num {
    font-size: clamp(2.75rem, 5vw, 4rem);
    line-height: 1;
    color: var(--reina-ivory);
    margin-bottom: 0.75rem;
}

.cs-ctx-desc {
    font-size: 0.875rem;
    color: rgba(255, 254, 236, 0.6);
    line-height: 1.45;
    flex: 1;
    margin-bottom: 1rem;
}

.cs-ctx-sub {
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--reina-pear);
}

/* Context text columns */
.cs-context-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.cs-context-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--reina-violet);
    margin-bottom: 1.25rem;
}

.cs-context-heading {
    font-size: clamp(1.5rem, 2.5vw, 2.125rem);
    line-height: 1.2;
    color: var(--reina-dark);
    margin-bottom: 1.25rem;
}

.cs-context-body {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(26, 26, 46, 0.7);
}

.cs-transform-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cs-transform-list li {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgba(26, 26, 46, 0.7);
    padding-left: 1.75rem;
    position: relative;
}

.cs-transform-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 1.125rem;
    height: 1px;
    background: var(--reina-violet);
    opacity: 0.6;
}

/* Quote block */
.cs-quote-block {
    border-top: 1px solid rgba(26, 26, 46, 0.1);
    padding-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cs-quote-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    padding-top: 2rem;
}

.cs-quote-content::before {
    content: '\201C';
    position: absolute;
    top: -0.75rem;
    left: -0.25rem;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(6rem, 10vw, 8rem);
    line-height: 1;
    color: var(--reina-violet);
    opacity: 0.12;
    pointer-events: none;
    user-select: none;
    font-style: italic;
}

.cs-quote-text {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.45;
    color: var(--reina-dark);
    font-style: italic;
    max-width: 38rem;
}

.cs-quote-cite {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-style: normal;
}

.cs-quote-author {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--reina-dark);
    letter-spacing: 0.01em;
}

.cs-quote-context {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(26, 26, 46, 0.4);
}

.cs-quote-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--reina-violet);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    align-self: flex-start;
    flex-shrink: 0;
    cursor: pointer;
    transition: background 280ms ease, transform 280ms ease, box-shadow 280ms ease;
}

.cs-quote-cta:hover {
    background: var(--reina-violet-dark);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -16px rgba(143, 111, 224, 0.75);
}

@media (min-width: 768px) {
    .casestudy-section {
        padding: 9rem 0;
    }

    .casestudy-header {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        margin-bottom: 5rem;
    }

    .casestudy-comparison {
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
    }

    .cv-divider {
        transform: none;
        align-self: center;
        padding-top: 2.25rem;
        flex-shrink: 0;
    }

    .cs-context-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .cs-context-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cs-quote-block {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .casestudy-header {
        margin-bottom: 5rem;
    }
}

/* Screenshot reference layout for current case study */
.casestudy-section {
    padding: 5.5rem 0 6.5rem;
}

.casestudy-header {
    align-items: end;
    gap: 2.5rem;
    margin-bottom: clamp(3.25rem, 6vw, 4.4rem);
}

.casestudy-eyebrow {
    margin-bottom: 2rem;
}

.casestudy-heading {
    font-size: clamp(3.2rem, 6.6vw, 5.4rem);
    line-height: 0.94;
    letter-spacing: -0.045em;
    margin-bottom: 1.65rem;
}

.casestudy-subtitle {
    max-width: 45rem;
    font-size: clamp(0.98rem, 1.45vw, 1.12rem);
    line-height: 1.75;
}

.casestudy-subtitle em {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-style: italic;
    color: var(--reina-dark);
}

.casestudy-tags {
    align-content: flex-end;
    justify-content: flex-start;
    padding-top: 0;
}

.cs-tag {
    font-size: 0.625rem;
    line-height: 1;
    letter-spacing: 0.26em;
    padding: 0.65rem 1rem;
    background: rgba(255, 254, 236, 0.42);
}

.cs-tag--year {
    background: var(--reina-eggplant);
    border-color: var(--reina-eggplant);
    color: var(--reina-ivory);
}

.casestudy-comparison {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 44rem;
    margin: 0 auto clamp(3.75rem, 6vw, 4.75rem);
}

.cv-side {
    min-width: 0;
    gap: 0;
}

.cv-side-header {
    gap: 0.9rem;
    min-height: 2.25rem;
    margin-bottom: 1.05rem;
}

.cv-badge {
    font-size: 0.625rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.28em;
    padding: 0.68rem 1rem;
}

.cv-badge--before {
    background: rgba(26, 26, 46, 0.06);
    color: rgba(26, 26, 46, 0.45);
}

.cv-badge--after {
    background: var(--reina-violet);
    color: var(--reina-ivory);
}

.cv-side-desc {
    font-size: 0.9rem;
    color: rgba(26, 26, 46, 0.58);
    white-space: nowrap;
}

.cv-videos {
    display: block;
}

.cv-card {
    border-radius: 13px;
    box-shadow: 0 1.25rem 3rem -2.5rem rgba(26, 26, 46, 0.45);
}

.cv-card:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 1.5rem 3rem -2rem rgba(26, 26, 46, 0.42);
}

.cv-card--after .cv-cover {
    background-position: center top;
}

.cv-card::after {
    background: linear-gradient(180deg, rgba(8, 8, 14, 0.08) 0%, rgba(8, 8, 14, 0.02) 42%, rgba(8, 8, 14, 0.66) 100%);
}

.cv-card-top-meta {
    top: 0.95rem;
    left: 1rem;
    right: 1rem;
}

.cv-rec {
    font-size: 0.55rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.cv-play {
    width: 4rem;
    height: 4rem;
    border: 1px solid rgba(255, 254, 236, 0.55);
    color: rgba(26, 26, 46, 0.72);
}

.cv-card--after .cv-play {
    background: rgba(255, 254, 236, 0.96);
    border-color: rgba(255, 254, 236, 0.9);
    color: var(--reina-violet);
}

.cv-card-footer {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    gap: 0.25rem;
}

.cv-filename {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.74);
}

.cv-filemeta {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.46);
    text-transform: none;
    letter-spacing: 0;
}

.cv-card-brand-badge {
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.6rem;
    border-radius: 2px;
    background: var(--reina-violet);
    color: var(--reina-ivory);
    font-size: 0.6rem;
    text-transform: none;
    letter-spacing: 0.02em;
}

.cv-card-platform-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.55rem;
    border-radius: 2px;
    background: rgba(26, 26, 46, 0.58);
    color: rgba(255, 254, 236, 0.88);
    font-size: 0.55rem;
    font-weight: 700;
    line-height: 1;
    text-transform: none;
    letter-spacing: 0.02em;
}

.cv-brand-dot {
    width: 0.34rem;
    height: 0.34rem;
}

.cv-reel-title {
    font-size: 0.78rem;
    font-weight: 700;
}

.cv-reel-dur {
    font-size: 0.58rem;
    text-transform: none;
    letter-spacing: 0;
}

.cs-post-summary {
    margin-top: 1.45rem;
}

.cs-post-title {
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    line-height: 1.2;
    color: var(--reina-dark);
    margin-bottom: 0.6rem;
}

.cs-post-type {
    display: inline-block;
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.84rem;
    font-weight: 400;
    line-height: 1.55;
    text-transform: none;
    letter-spacing: 0;
    color: rgba(26, 26, 46, 0.58);
    margin-bottom: 1.1rem;
}

.cs-post-summary--after .cs-post-type {
    color: rgba(109, 77, 188, 0.82);
}

.cs-post-stats {
    border-top: 1px solid rgba(26, 26, 46, 0.12);
    padding-top: 1.15rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1rem;
}

.cs-post-summary--after .cs-post-stats {
    gap: 0.85rem 1rem;
}

.cs-post-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(26, 26, 46, 0.62);
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    white-space: nowrap;
    min-width: 0;
}

.cs-post-summary--after .cs-post-stat {
    color: rgba(109, 77, 188, 0.88);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.cs-post-stat strong {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 0;
    color: var(--reina-dark);
    font-weight: 600;
    text-transform: none;
}

.cs-post-summary--after .cs-post-stat strong {
    color: var(--reina-violet-dark);
    font-size: 1.12rem;
}

.cv-divider {
    width: 3rem;
    height: 3rem;
    border-radius: 0;
    background: transparent;
    color: var(--reina-violet);
    box-shadow: none;
    justify-self: center;
}

.cv-divider svg {
    width: 1.75rem;
    height: 1.75rem;
}

.cs-result-band {
    min-height: clamp(22rem, 28vw, 26rem);
    padding: clamp(3.5rem, 6vw, 5.5rem) clamp(2rem, 5vw, 4.5rem) clamp(3.4rem, 5vw, 4.6rem);
    background: linear-gradient(135deg, #a88bff 0%, #9f78ff 62%, #8767dd 100%);
    color: var(--reina-ivory);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: clamp(5.5rem, 9vw, 7rem);
}

.cs-result-kpi {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 4vw, 2.25rem);
    flex-wrap: wrap;
}

.cs-result-number {
    min-width: clamp(18rem, 30vw, 26rem);
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(6.4rem, 13vw, 12.8rem);
    font-weight: 700;
    line-height: 0.86;
    color: var(--reina-ivory);
    letter-spacing: 0;
}

.cs-result-divider {
    width: 1px;
    height: 3.7rem;
    background: rgba(255, 254, 236, 0.36);
}

.cs-result-label {
    display: block;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1;
    font-style: italic;
    color: var(--reina-ivory);
}

.cs-result-sub {
    flex-basis: 100%;
    margin-left: clamp(27rem, 35vw, 34rem);
    margin-top: -2.65rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: rgba(255, 254, 236, 0.78);
}

.cs-result-copy {
    max-width: 63rem;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    line-height: 1.22;
    color: var(--reina-ivory);
    letter-spacing: -0.03em;
}

.cs-result-copy em {
    font-style: italic;
}

.casestudy-context {
    border-top: 0;
    padding-top: 0;
}

.cs-context-grid {
    gap: clamp(3rem, 7vw, 6rem);
    margin-bottom: clamp(4rem, 7vw, 5.5rem);
}

.cs-context-label {
    letter-spacing: 0.36em;
    margin-bottom: 1.3rem;
}

.cs-context-heading {
    font-size: clamp(1.8rem, 3.2vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 1.55rem;
}

.cs-context-body,
.cs-transform-list li {
    line-height: 1.78;
}

.cs-transform-list li {
    padding-left: 1.95rem;
}

.cs-quote-block {
    padding-top: clamp(2.75rem, 5vw, 4rem);
    gap: 2.25rem;
}

.cs-quote-content {
    gap: 1.25rem;
    padding-top: 0;
}

.cs-quote-content::before {
    content: none;
}

.cs-quote-text {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    max-width: 55rem;
    font-size: clamp(1.55rem, 3.2vw, 2.35rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.04em;
    font-style: normal;
}

.cs-quote-accent {
    color: var(--reina-violet-dark);
    font-weight: 600;
}

.cs-quote-cta {
    min-height: 3rem;
    padding: 0.85rem 1.55rem;
}

@media (min-width: 768px) {
    .casestudy-section {
        padding: 7rem 0 7.5rem;
    }

    .casestudy-header {
        grid-template-columns: minmax(0, 1fr) minmax(22rem, 31rem);
        gap: 3rem;
    }

    .casestudy-tags {
        justify-content: flex-end;
        padding-bottom: 0.6rem;
    }

    .casestudy-comparison {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(3rem, 5vw, 4.5rem);
        max-width: 49rem;
    }

    .cv-divider {
        position: absolute;
        left: 50%;
        top: 21rem;
        z-index: 4;
        transform: none;
        translate: -50% -50%;
        flex-shrink: 0;
    }

    .cs-context-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cs-quote-block {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 3rem;
    }

    .cs-quote-cta {
        align-self: center;
    }
}

@media (min-width: 1024px) {
    .cv-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 1.5rem 3rem -2rem rgba(26, 26, 46, 0.42);
    }

    .casestudy-header {
        margin-bottom: 4.25rem;
    }
}

@media (max-width: 767px) {
    .casestudy-section {
        padding-top: 5rem;
    }

    .casestudy-tags {
        max-width: 22rem;
    }

    .cs-tag {
        font-size: 0.55rem;
        padding: 0.62rem 0.85rem;
    }

    .cv-side-header {
        gap: 0.7rem;
    }

    .cv-side-desc {
        white-space: normal;
    }

    .cv-play {
        width: 3.25rem;
        height: 3.25rem;
    }

    .cs-result-band {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }

    .cs-result-kpi {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .cs-result-number {
        min-width: 0;
    }

    .cs-result-divider {
        width: 4rem;
        height: 1px;
    }

    .cs-result-sub {
        margin: 0;
        line-height: 1.7;
    }

    .cs-post-stats,
    .cs-post-summary--after .cs-post-stats {
        gap: 0.78rem 0.55rem;
    }

    .cs-post-stat,
    .cs-post-summary--after .cs-post-stat {
        gap: 0.32rem;
        font-size: 0.58rem;
    }

    .cs-quote-cta {
        width: 100%;
    }
}

/* =============================================
   PORTFOLIO
   ============================================= */
.portfolio-section {
    background: var(--reina-dark);
    color: var(--reina-ivory);
    padding: 6rem 0;
}

.portfolio-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.portfolio-eyebrow {
    color: rgba(255, 254, 236, 0.5);
    margin-bottom: 1.5rem;
}

.portfolio-heading {
    font-size: clamp(2.25rem, 4vw, 3.75rem);
    line-height: 1.02;
}

.portfolio-subtext {
    font-size: 0.9375rem;
    color: rgba(255, 254, 236, 0.6);
    max-width: 24rem;
}

/* Portfolio grid — mobile: single column, desktop: 12-col CSS grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.portfolio-item {
    grid-column: span 1;
}

.overlay-type {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--reina-pear);
    margin-bottom: 0.5rem;
}

.overlay-name {
    font-size: 1.5rem;
    color: var(--reina-ivory);
    line-height: 1.2;
}

.portfolio-number {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255, 254, 236, 0.6);
    background: rgba(26, 26, 46, 0.4);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.5rem;
}

.portfolio-hint {
    margin-top: 3.5rem;
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: rgba(255, 254, 236, 0.4);
}

@media (min-width: 768px) {
    .portfolio-section {
        padding: 9rem 0;
    }

    .portfolio-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        margin-bottom: 5rem;
    }

    /* 12-column grid on desktop */
    .portfolio-grid {
        grid-template-columns: repeat(12, 1fr);
        grid-auto-rows: auto;
    }

    /* Use the custom property directly instead of parsing the inline style string */
    .portfolio-item {
        grid-column: span var(--col-span, 1);
        min-width: 0;
    }

    .portfolio-item .overlay {
        padding: 2rem;
    }

    .overlay-name {
        font-size: 1.875rem;
    }
}

/* =============================================
   ABOUT
   ============================================= */
.about-section {
    background: var(--reina-ivory);
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content {
    order: 2;
}

.about-image-wrapper {
    order: 1;
}

.about-eyebrow {
    margin-bottom: 1.5rem;
}

.about-heading {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 0.95;
    color: var(--reina-dark);
    margin-bottom: 2.5rem;
}

.about-bio {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.625;
    color: rgba(26, 26, 46, 0.8);
    max-width: 42rem;
}

.about-tagline {
    margin-top: 3rem;
    font-style: italic;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.375;
    color: var(--reina-dark);
    max-width: 42rem;
}

.about-meta {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.about-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.meta-line {
    display: block;
    width: 2.5rem;
    height: 1px;
    background: rgba(26, 26, 46, 0.3);
}

.meta-dot {
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: var(--reina-pear);
}

.meta-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(26, 26, 46, 0.6);
}

/* About portrait */
.about-image-frame {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 4/5;
    margin: 0 auto;
}

.about-deco-border {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 6rem;
    height: 6rem;
    border: 1px solid var(--reina-violet);
    z-index: 1;
    pointer-events: none;
}

.about-portrait-container {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, 0.05);
    border: 1px solid rgba(26, 26, 46, 0.1);
    overflow: hidden;
}

.about-portrait-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-year-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--reina-ivory);
    padding: 1rem 1.25rem;
    border: 1px solid rgba(26, 26, 46, 0.1);
    max-width: 240px;
    z-index: 2;
}

.year-card-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(26, 26, 46, 0.6);
    margin-bottom: 0.25rem;
}

.year-card-text {
    font-size: 1.25rem;
    color: var(--reina-dark);
    line-height: 1.25;
}

@media (min-width: 1024px) {
    .about-section {
        padding: 9rem 0;
    }

    .about-grid {
        grid-template-columns: 7fr 5fr;
        gap: 5rem;
    }

    .about-content {
        order: 1;
    }

    .about-image-wrapper {
        order: 2;
    }
}

/* =============================================
   FAQ
   ============================================= */
.faq-section {
    background: var(--reina-ivory);
    color: var(--reina-dark);
    padding: 6rem 0 7rem;
}

.faq-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.faq-eyebrow {
    margin-bottom: 1.5rem;
}

.faq-heading {
    font-family: "Playfair Display", Georgia, serif;
    letter-spacing: 0;
    font-size: 2.75rem;
    line-height: 1.02;
    font-weight: 400;
}

.faq-heading em {
    font-style: italic;
}

.faq-intro {
    max-width: 24rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(26, 26, 46, 0.72);
}

.faq-list {
    border-top: 1px solid rgba(26, 26, 46, 0.12);
}

.faq-item {
    border-bottom: 1px solid rgba(26, 26, 46, 0.12);
}

.faq-question {
    width: 100%;
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr) 2.75rem;
    align-items: center;
    gap: 1rem;
    padding: 1.65rem 0;
    color: inherit;
    text-align: left;
}

.faq-number {
    align-self: start;
    padding-top: 0.55rem;
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    color: var(--reina-violet);
}

.faq-title {
    font-family: "Playfair Display", Georgia, serif;
    letter-spacing: 0;
    font-size: 1.55rem;
    line-height: 1.18;
    font-weight: 400;
}

.faq-toggle-icon {
    position: relative;
    justify-self: end;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(26, 26, 46, 0.14);
    border-radius: 9999px;
    color: var(--reina-dark);
    transition:
        background 250ms ease,
        border-color 250ms ease,
        color 250ms ease,
        transform 250ms ease;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.7rem;
    height: 1px;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.faq-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition:
        grid-template-rows 300ms ease,
        opacity 250ms ease;
}

.faq-answer-inner {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr) 2.75rem;
    gap: 1rem;
    min-height: 0;
    overflow: hidden;
}

.faq-answer p {
    grid-column: 2;
    max-width: 46rem;
    padding: 0 0 1.85rem;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: rgba(26, 26, 46, 0.72);
}

.faq-item.is-open .faq-toggle-icon {
    background: var(--reina-violet);
    border-color: var(--reina-violet);
    color: var(--reina-ivory);
    transform: rotate(45deg);
}

.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
    opacity: 1;
}

.faq-question:focus-visible .faq-toggle-icon {
    outline: 2px solid var(--reina-violet);
    outline-offset: 4px;
}

@media (min-width: 768px) {
    .faq-section {
        padding: 8rem 0 9rem;
    }

    .faq-header {
        grid-template-columns: minmax(0, 7fr) minmax(18rem, 4fr);
        align-items: end;
        gap: 4rem;
        margin-bottom: 4.5rem;
    }

    .faq-heading {
        font-size: 4.5rem;
    }

    .faq-intro {
        margin-bottom: 0.55rem;
    }

    .faq-question,
    .faq-answer-inner {
        grid-template-columns: 3.5rem minmax(0, 1fr) 3rem;
        gap: 1.5rem;
    }

    .faq-question {
        padding: 2rem 0;
    }

    .faq-title {
        font-size: 2rem;
    }

    .faq-toggle-icon {
        width: 3rem;
        height: 3rem;
    }

    .faq-answer p {
        padding-bottom: 2.25rem;
        font-size: 1rem;
    }
}

/* =============================================
   FINAL CTA
   ============================================= */
.finalcta-section {
    position: relative;
    background: var(--reina-violet);
    color: var(--reina-ivory);
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: clamp(7rem, 12vh, 10rem) 0;
    overflow: hidden;
    text-align: center;
}

.finalcta-section .container-mid {
    width: 100%;
}

.finalcta-deco-top {
    position: absolute;
    top: -6rem;
    left: -5rem;
    width: 18rem;
    height: 18rem;
    border-radius: 9999px;
    background: rgba(255, 254, 236, 0.1);
    filter: blur(2rem);
    pointer-events: none;
}

.finalcta-deco-bottom {
    position: absolute;
    bottom: -8rem;
    right: -5rem;
    width: 26rem;
    height: 26rem;
    border-radius: 9999px;
    background: rgba(26, 26, 46, 0.2);
    filter: blur(3rem);
    pointer-events: none;
}

.finalcta-eyebrow {
    color: rgba(255, 254, 236, 0.7);
    justify-content: center;
    margin-bottom: 2.5rem;
}

.finalcta-heading {
    font-size: clamp(2.75rem, 7vw, 6rem);
    line-height: 0.98;
    max-width: 62rem;
    margin: 0 auto;
}

.finalcta-subtext {
    margin-top: 2rem;
    font-size: 1rem;
    line-height: 1.625;
    color: rgba(255, 254, 236, 0.85);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.finalcta-buttons {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.finalcta-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--reina-ivory);
    color: var(--reina-dark);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: background 300ms ease, transform 300ms ease, box-shadow 300ms ease;
    text-decoration: none;
}

.finalcta-primary-btn:hover {
    background: var(--reina-pear-pastel);
    color: var(--reina-dark);
    box-shadow: 0 12px 28px -16px var(--reina-eggplant);
    transform: translateY(-4px);
}

.finalcta-primary-btn:hover svg {
    transform: translate(2px, -2px);
}

.finalcta-primary-btn svg {
    transition: transform 500ms ease;
}

.finalcta-email {
    font-size: 0.9375rem;
    color: rgba(255, 254, 236, 0.9);
}

.finalcta-email:hover {
    color: var(--reina-pear-pastel);
}

.finalcta-resp {
    margin-top: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: rgba(255, 254, 236, 0.6);
}

.resp-line {
    display: inline-block;
    width: 2.5rem;
    height: 1px;
    background: rgba(255, 254, 236, 0.4);
}

.cta-line {
    display: inline-block;
    width: 2.5rem;
    height: 1px;
    background: rgba(255, 254, 236, 0.6);
}

@media (min-width: 768px) {
    .finalcta-section {
        padding: clamp(9rem, 14vh, 12rem) 0;
    }

    .finalcta-subtext {
        font-size: 1.125rem;
    }

    .finalcta-buttons {
        flex-direction: row;
    }
}

/* =============================================
   PORTFOLIO MODAL
   ============================================= */
.pmodal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 320ms ease;
}

.pmodal-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.pmodal {
    position: relative;
    background: var(--reina-ivory);
    width: 100%;
    max-width: 960px;
    max-height: 92vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    transform: translateY(40px);
    transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pmodal-overlay.is-open .pmodal {
    transform: translateY(0);
}

#caseVideoModal.cvmodal-overlay {
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
}

/* En desktop se muestra centrado, no pegado al bottom */
@media (min-width: 768px) {
    .pmodal-overlay {
        align-items: center;
        padding: 2rem;
    }

    .pmodal {
        flex-direction: row;
        max-height: 85vh;
    }
}

/* Botón cerrar */
.pmodal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 9999px;
    background: rgba(26, 26, 46, 0.18);
    color: var(--reina-ivory);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 254, 236, 0.18);
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(15, 11, 31, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.pmodal-close svg {
    width: 1.05rem;
    height: 1.05rem;
}

.pmodal-close:hover {
    background: rgba(26, 26, 46, 0.3);
    color: var(--reina-ivory);
    border-color: rgba(255, 254, 236, 0.24);
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(15, 11, 31, 0.22);
}

/* Media (izquierda en desktop) */
.pmodal-media {
    flex-shrink: 0;
    width: 100%;
    min-height: 260px;
    background: rgba(26, 26, 46, 0.06);
    overflow: hidden;
    position: relative;
}

@media (min-width: 768px) {
    .pmodal-media {
        width: 58%;
        min-height: 480px;
    }
}

/* Imagen principal dentro del media */
.pmodal-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
}

/* Placeholder cuando no hay media */
.pmodal-media-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(26, 26, 46, 0.3);
}

/* Info (derecha en desktop) */
.pmodal-info {
    flex: 1;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .pmodal-info {
        padding: 2.5rem 2rem 2rem;
    }
}

.pmodal-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pmodal-number {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 0.875rem;
    color: rgba(26, 26, 46, 0.4);
}

.pmodal-type {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--reina-violet);
    font-weight: 500;
}

.pmodal-year {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(26, 26, 46, 0.4);
    margin-left: auto;
}

.pmodal-name {
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.05;
    color: var(--reina-dark);
}

.pmodal-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(26, 26, 46, 0.75);
    flex: 1;
}

.pmodal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(26, 26, 46, 0.1);
}

.pmodal-tags li {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(26, 26, 46, 0.15);
    border-radius: 9999px;
    padding: 0.3rem 0.9rem;
}

#portfolioModal .pmodal-info {
    padding: 3.75rem 1.9rem 2.15rem;
    gap: 1.15rem;
}

#portfolioModal .pmodal-close {
    top: 0.9rem;
    right: 0.9rem;
    width: 2.55rem;
    height: 2.55rem;
}

#portfolioModal .pmodal-close svg {
    width: 0.95rem;
    height: 0.95rem;
}

#portfolioModal .pmodal-meta {
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.85rem;
    padding-right: 3.85rem;
}

#portfolioModal .pmodal-year {
    margin-left: auto;
}

/* =============================================
   SERVICE MODAL
   ============================================= */
.smodal {
    max-width: 880px;
}

.smodal-aside {
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(203, 216, 59, 0.22), transparent 34%),
        linear-gradient(160deg, rgba(159, 120, 255, 0.18), rgba(159, 120, 255, 0) 62%),
        var(--reina-dark);
    color: var(--reina-ivory);
    padding: 2.25rem 1.75rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.smodal-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.smodal-number {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1rem;
    color: rgba(255, 254, 236, 0.68);
}

.smodal-type {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--reina-pear);
    font-weight: 600;
}

.smodal-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--reina-violet);
    font-weight: 600;
}

.smodal-label-light {
    color: rgba(255, 254, 236, 0.64);
}

.smodal-hook {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.08;
    max-width: 13ch;
    text-wrap: balance;
}

.smodal-preview {
    position: relative;
    min-height: 236px;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 254, 236, 0.14);
    background:
        radial-gradient(circle at top left, rgba(255, 254, 236, 0.08), transparent 46%),
        linear-gradient(145deg, rgba(255, 254, 236, 0.1), rgba(255, 254, 236, 0.03)),
        rgba(255, 254, 236, 0.04);
    box-shadow:
        inset 0 1px 0 rgba(255, 254, 236, 0.08),
        0 22px 34px -30px rgba(0, 0, 0, 0.55);
}

.smodal-preview-visual {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 280ms ease, transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.smodal-preview-visual.is-active {
    opacity: 1;
    transform: none;
}

.svisual-brand-sheet,
.svisual-brand-card,
.svisual-phone,
.svisual-stat-pill,
.svisual-board,
.svisual-note,
.svisual-reel,
.svisual-video-card,
.svisual-browser,
.svisual-paper,
.svisual-chip-row {
    position: absolute;
}

.svisual-brand-sheet {
    inset: 1.25rem 4.75rem 3.25rem 1.25rem;
    border-radius: 1.35rem;
    background: rgba(255, 254, 236, 0.92);
    border: 1px solid rgba(26, 26, 46, 0.08);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 38px -28px rgba(5, 5, 12, 0.55);
}

.svisual-brand-word {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.7rem;
    line-height: 1;
    color: var(--reina-dark);
    letter-spacing: -0.04em;
}

.svisual-brand-swatches {
    display: flex;
    gap: 0.45rem;
    margin-top: 1rem;
}

.svisual-brand-swatches span,
.svisual-chip-row span {
    display: block;
    border-radius: 9999px;
}

.svisual-brand-swatches span:nth-child(1) {
    width: 2.4rem;
    height: 0.55rem;
    background: var(--reina-violet);
}

.svisual-brand-swatches span:nth-child(2) {
    width: 1.8rem;
    height: 0.55rem;
    background: var(--reina-pear);
}

.svisual-brand-swatches span:nth-child(3) {
    width: 1.2rem;
    height: 0.55rem;
    background: rgba(26, 26, 46, 0.18);
}

.svisual-brand-lines {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: auto;
}

.svisual-brand-lines span {
    height: 0.38rem;
    border-radius: 9999px;
    background: rgba(26, 26, 46, 0.18);
}

.svisual-brand-lines span:nth-child(1) {
    width: 82%;
}

.svisual-brand-lines span:nth-child(2) {
    width: 64%;
}

.svisual-brand-lines span:nth-child(3) {
    width: 56%;
}

.svisual-brand-card {
    right: 1.15rem;
    bottom: 1.35rem;
    width: 7.75rem;
    padding: 0.95rem 0.9rem;
    border-radius: 1rem;
    background: rgba(90, 88, 108, 0.72);
    border: 1px solid rgba(255, 254, 236, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    box-shadow: 0 18px 28px -22px rgba(0, 0, 0, 0.6);
}

.svisual-brand-card span {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255, 254, 236, 0.92);
}

.svisual-phone {
    top: 1rem;
    left: 50%;
    width: 9rem;
    height: 12.8rem;
    transform: translateX(-50%);
    border-radius: 1.75rem;
    background: rgba(255, 254, 236, 0.92);
    border: 1px solid rgba(26, 26, 46, 0.08);
    padding: 0.8rem;
    box-shadow: 0 24px 38px -26px rgba(0, 0, 0, 0.55);
}

.svisual-phone-camera {
    width: 3rem;
    height: 0.38rem;
    margin: 0 auto 0.8rem;
    border-radius: 9999px;
    background: rgba(26, 26, 46, 0.2);
}

.svisual-feed-hero {
    height: 4.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--reina-violet), rgba(255, 254, 236, 0.95));
}

.svisual-feed-lines {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.75rem;
}

.svisual-feed-lines span {
    height: 0.34rem;
    border-radius: 9999px;
    background: rgba(26, 26, 46, 0.18);
}

.svisual-feed-lines span:nth-child(1) {
    width: 70%;
}

.svisual-feed-lines span:nth-child(2) {
    width: 52%;
}

.svisual-feed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
    margin-top: 0.75rem;
}

.svisual-feed-grid span {
    aspect-ratio: 1;
    border-radius: 0.65rem;
    background: rgba(26, 26, 46, 0.12);
    border: 1px solid rgba(26, 26, 46, 0.05);
}

.svisual-stat-pill {
    left: 1.2rem;
    bottom: 1.3rem;
    padding: 0.55rem 0.85rem;
    border-radius: 9999px;
    background: var(--reina-pear);
    color: var(--reina-dark);
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    box-shadow: 0 14px 24px -18px rgba(203, 216, 59, 0.8);
}

.svisual-board {
    inset: 1.2rem 1.2rem 2.5rem;
    border-radius: 1.35rem;
    background: rgba(255, 254, 236, 0.92);
    border: 1px solid rgba(26, 26, 46, 0.08);
    padding: 1rem;
    box-shadow: 0 24px 38px -26px rgba(0, 0, 0, 0.55);
}

.svisual-board-head {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(26, 26, 46, 0.76);
}

.svisual-board-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
    margin-top: 1rem;
}

.svisual-board-grid span {
    height: 4rem;
    border-radius: 1rem;
    background: rgba(26, 26, 46, 0.12);
}

.svisual-note {
    padding: 0.8rem 0.95rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    line-height: 1.3;
    letter-spacing: 0.04em;
    box-shadow: 0 18px 28px -24px rgba(0, 0, 0, 0.65);
}

.svisual-note-primary {
    right: 1rem;
    top: 1.4rem;
    background: var(--reina-pear);
    color: var(--reina-dark);
    transform: rotate(6deg);
}

.svisual-note-secondary {
    left: 1.45rem;
    bottom: 1rem;
    background: rgba(96, 93, 113, 0.82);
    border: 1px solid rgba(255, 254, 236, 0.12);
    color: rgba(255, 254, 236, 0.96);
    transform: rotate(-5deg);
}

.svisual-reel {
    top: 1rem;
    left: 50%;
    width: 9.75rem;
    height: 12.8rem;
    transform: translateX(-50%);
    border-radius: 1.5rem;
    overflow: hidden;
    background:
        linear-gradient(180deg, transparent, rgba(26, 26, 46, 0.68)),
        radial-gradient(circle at 70% 30%, rgba(255, 254, 236, 0.92), transparent 24%),
        linear-gradient(160deg, rgba(159, 120, 255, 0.95), rgba(26, 26, 46, 0.9));
    border: 1px solid rgba(255, 254, 236, 0.08);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.58);
}

.svisual-rec,
.svisual-caption {
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    z-index: 1;
}

.svisual-rec {
    top: 0.9rem;
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    color: rgba(255, 254, 236, 0.8);
}

.svisual-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2.5rem;
    height: 2.5rem;
    transform: translate(-50%, -50%);
    border-radius: 9999px;
    background: rgba(255, 254, 236, 0.92);
    box-shadow: 0 12px 22px -16px rgba(255, 254, 236, 0.65);
}

.svisual-play::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-35%, -50%);
    border-top: 0.42rem solid transparent;
    border-bottom: 0.42rem solid transparent;
    border-left: 0.65rem solid var(--reina-dark);
}

.svisual-caption {
    bottom: 1.3rem;
    font-size: 0.75rem;
    line-height: 1.42;
    color: rgba(255, 254, 236, 0.9);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.24);
}

.svisual-progress {
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.85rem;
    height: 0.2rem;
    border-radius: 9999px;
    background: linear-gradient(90deg, var(--reina-pear) 58%, rgba(255, 254, 236, 0.28) 58%);
}

.svisual-video-card {
    right: 1rem;
    bottom: 1.2rem;
    width: 7.6rem;
    padding: 0.9rem;
    border-radius: 1rem;
    background: rgba(94, 91, 110, 0.78);
    border: 1px solid rgba(255, 254, 236, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.svisual-video-card span {
    height: 0.4rem;
    border-radius: 9999px;
    background: rgba(255, 254, 236, 0.92);
}

.svisual-video-card span:nth-child(2) {
    width: 74%;
}

.svisual-browser {
    inset: 1.2rem;
    border-radius: 1.35rem;
    background: rgba(255, 254, 236, 0.92);
    border: 1px solid rgba(26, 26, 46, 0.08);
    padding: 1rem;
    box-shadow: 0 24px 38px -26px rgba(0, 0, 0, 0.55);
}

.svisual-browser-bar {
    display: flex;
    gap: 0.35rem;
}

.svisual-browser-bar span {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: rgba(26, 26, 46, 0.24);
}

.svisual-shop-hero {
    height: 4.2rem;
    margin-top: 0.9rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(159, 120, 255, 0.8), rgba(203, 216, 59, 0.35));
}

.svisual-shop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.svisual-shop-grid span {
    height: 2.55rem;
    border-radius: 0.9rem;
    background: rgba(26, 26, 46, 0.12);
    border: 1px solid rgba(26, 26, 46, 0.05);
}

.svisual-shop-cta {
    width: 48%;
    height: 0.75rem;
    margin-top: 0.9rem;
    margin-left: auto;
    border-radius: 9999px;
    background: var(--reina-dark);
    box-shadow: 0 10px 18px -16px rgba(26, 26, 46, 0.7);
}

.svisual-paper-stack {
    position: absolute;
    inset: 1.15rem;
}

.svisual-paper {
    inset: 0;
    border-radius: 1.15rem;
    border: 1px solid rgba(26, 26, 46, 0.1);
    background: rgba(255, 254, 236, 0.92);
    box-shadow: 0 24px 38px -28px rgba(0, 0, 0, 0.55);
}

.svisual-paper-back {
    transform: rotate(-8deg) translate(0.6rem, -0.25rem);
    background: rgba(255, 254, 236, 0.34);
}

.svisual-paper-mid {
    transform: rotate(5deg) translate(-0.25rem, 0.45rem);
    background: rgba(255, 254, 236, 0.68);
}

.svisual-paper-front {
    padding: 1rem;
    background: rgba(255, 254, 236, 0.96);
}

.svisual-paper-kicker {
    display: block;
    font-size: 0.625rem;
    letter-spacing: 0.16em;
    color: rgba(26, 26, 46, 0.56);
}

.svisual-paper-title {
    display: block;
    margin-top: 1.1rem;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.35rem;
    line-height: 1;
    color: var(--reina-dark);
}

.svisual-paper-line {
    display: block;
    width: 58%;
    height: 0.35rem;
    margin-top: 1rem;
    border-radius: 9999px;
    background: linear-gradient(90deg, var(--reina-violet), rgba(26, 26, 46, 0.2));
}

.svisual-chip-row {
    right: 1rem;
    bottom: 1rem;
    display: flex;
    gap: 0.4rem;
}

.svisual-chip-row span {
    width: 1.5rem;
    height: 0.42rem;
    background: rgba(255, 254, 236, 0.9);
}

.smodal-includes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 254, 236, 0.14);
}

.smodal-includes li {
    position: relative;
    padding-left: 1.15rem;
    font-size: 0.9375rem;
    line-height: 1.62;
    color: rgba(255, 254, 236, 0.86);
}

.smodal-includes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: var(--reina-pear);
    transform: translateY(-50%);
}

.smodal-info {
    gap: 1.25rem;
}

.smodal-name {
    font-size: clamp(2rem, 3.3vw, 3rem);
    line-height: 1.02;
    color: var(--reina-dark);
}

.smodal-desc,
.smodal-copy {
    font-size: 0.9375rem;
    line-height: 1.72;
    color: rgba(26, 26, 46, 0.82);
}

.smodal-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.smodal-tags {
    margin-top: 0;
}

.smodal-cta {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

@media (min-width: 768px) {
    .smodal {
        max-height: 80vh;
    }

    .smodal-aside {
        width: 42%;
        min-height: 100%;
        padding: 2.5rem 2rem 2rem;
    }

    .smodal-preview {
        min-height: 268px;
    }

    .smodal-info {
        width: 58%;
        padding: 2.75rem 2.25rem 2.25rem;
    }

    .smodal-cta {
        width: auto;
        align-self: flex-start;
    }

    #portfolioModal .pmodal-info {
        padding: 4rem 2.5rem 2.5rem;
        gap: 1.25rem;
    }

    #portfolioModal .pmodal {
        max-width: 1040px;
        max-height: 88vh;
    }

    #portfolioModal .pmodal-media {
        width: 57%;
        min-height: 520px;
    }

    #portfolioModal .pmodal-meta {
        flex-wrap: nowrap;
        padding-right: 3.85rem;
    }
}

/* Bloquear scroll del body cuando el modal está abierto */
body.modal-open {
    overflow: hidden;
}

/* =============================================
   FOOTER
   ============================================= */
.footer-section {
    background: var(--reina-dark);
    color: var(--reina-ivory);
    padding: 5rem 0 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 254, 236, 0.15);
}

.footer-logo {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 2.75rem;
    width: auto;
    display: block;
}

.footer-tagline {
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.375;
    max-width: 28rem;
    color: rgba(255, 254, 236, 0.9);
}

.footer-desc {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: rgba(255, 254, 236, 0.6);
    max-width: 28rem;
}

.footer-col-title {
    color: rgba(255, 254, 236, 0.5);
    margin-bottom: 1.25rem;
}

.footer-nav ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a,
.footer-contact a {
    font-size: 0.875rem;
    color: rgba(255, 254, 236, 0.75);
    transition: color 300ms ease;
    text-decoration: none;
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--reina-pear);
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255, 254, 236, 0.5);
}

.footer-made {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pear-dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: var(--reina-pear);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 6fr 3fr 3fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* =============================================
   DARK MODE
   ============================================= */
html[data-theme="dark"] {
    --theme-bg: #0e0a1f;
    --theme-surface: #160f2e;
    --theme-surface-alt: #1f1640;
    --theme-border: rgba(159, 120, 255, 0.14);
    --theme-border-strong: rgba(159, 120, 255, 0.45);
    --theme-text: #fffeec;
    --theme-text-soft: rgba(255, 254, 236, 0.90);
    --theme-text-muted: rgba(255, 254, 236, 0.74);
    --theme-text-faint: rgba(255, 254, 236, 0.58);
    --theme-nav-bg: rgba(14, 10, 31, 0.88);
}

html[data-theme="dark"] body,
html[data-theme="dark"] .hero-section,
html[data-theme="dark"] .services-section,
html[data-theme="dark"] .pricing-section,
html[data-theme="dark"] .casestudy-section,
html[data-theme="dark"] .about-section,
html[data-theme="dark"] .faq-section {
    background: var(--theme-bg);
    color: var(--theme-text);
}

html[data-theme="dark"] .problem-section,
html[data-theme="dark"] .portfolio-section,
html[data-theme="dark"] .footer-section {
    background: #09061a;
}

html[data-theme="dark"] .pricing-section,
html[data-theme="dark"] .casestudy-section {
    border-top-color: var(--theme-border);
}

html[data-theme="dark"] #nav.scrolled {
    background: var(--theme-nav-bg);
    border-bottom-color: var(--theme-border);
}

html[data-theme="dark"] .nav-link {
    color: var(--theme-text-soft);
}

html[data-theme="dark"] .nav-link:hover,
html[data-theme="dark"] .hero-secondary-cta,
html[data-theme="dark"] .mobile-nav-link {
    color: var(--theme-text);
}

html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .hamburger {
    border-color: var(--theme-border);
    background: rgba(255, 254, 236, 0.05);
    color: var(--theme-text);
}

html[data-theme="dark"] .theme-toggle:hover {
    border-color: var(--theme-border-strong);
    background: rgba(255, 254, 236, 0.1);
}

html[data-theme="dark"] .hamburger-line {
    background: var(--theme-text);
}

html[data-theme="dark"] .mobile-menu {
    background: var(--theme-surface);
    border-top-color: var(--theme-border);
}

html[data-theme="dark"] .mobile-scroll-top {
    background: rgba(109, 77, 188, 0.96);
    color: var(--reina-ivory);
    border-color: var(--theme-border);
    box-shadow: 0 16px 32px rgba(109, 77, 188, 0.3);
}

html[data-theme="dark"] .hero-portrait-frame,
html[data-theme="dark"] .about-portrait-container,
html[data-theme="dark"] .pmodal-media {
    background: var(--theme-surface-alt);
    border-color: var(--theme-border);
}

html[data-theme="dark"] .hero-name-card,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .pricing-card:not(.pricing-card--featured),
html[data-theme="dark"] .about-year-card,
html[data-theme="dark"] .pmodal {
    background: var(--theme-surface);
    border-color: var(--theme-border);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] #planes-contenido .pricing-card--featured,
html[data-theme="dark"] #tienda-online .pricing-card--featured {
    background: var(--reina-violet-dark);
    border-color: var(--reina-violet-dark);
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .pmodal-close {
    background: rgba(26, 26, 46, 0.24);
    color: var(--reina-ivory);
    border-color: rgba(255, 254, 236, 0.18);
}

html[data-theme="dark"] .pmodal-close:hover {
    background: rgba(26, 26, 46, 0.36);
    color: var(--reina-ivory);
    border-color: rgba(255, 254, 236, 0.24);
}

html[data-theme="dark"] .hero-headline,
html[data-theme="dark"] .name-card-name,
html[data-theme="dark"] .services-heading,
html[data-theme="dark"] .service-title,
html[data-theme="dark"] .pricing-heading,
html[data-theme="dark"] .pricing-plan-name,
html[data-theme="dark"] .pricing-price,
html[data-theme="dark"] .pricing-cta-text,
html[data-theme="dark"] .casestudy-heading,
html[data-theme="dark"] .casestudy-subtitle em,
html[data-theme="dark"] .cs-post-title,
html[data-theme="dark"] .cs-post-stat strong,
html[data-theme="dark"] .cs-context-heading,
html[data-theme="dark"] .cs-quote-text,
html[data-theme="dark"] .cs-quote-author,
html[data-theme="dark"] .about-heading,
html[data-theme="dark"] .about-tagline,
html[data-theme="dark"] .faq-heading,
html[data-theme="dark"] .faq-title,
html[data-theme="dark"] .year-card-text,
html[data-theme="dark"] .pmodal-name,
html[data-theme="dark"] .smodal-name {
    color: var(--theme-text);
}

html[data-theme="dark"] .hero-eyebrow,
html[data-theme="dark"] .hero-subhead,
html[data-theme="dark"] .name-card-label,
html[data-theme="dark"] .hero-scroll-hint,
html[data-theme="dark"] .services-eyebrow,
html[data-theme="dark"] .services-subtext,
html[data-theme="dark"] .service-desc,
html[data-theme="dark"] .service-tags li,
html[data-theme="dark"] .services-disclaimer,
html[data-theme="dark"] .pricing-eyebrow,
html[data-theme="dark"] .pricing-subtext,
html[data-theme="dark"] .pricing-plan-desc,
html[data-theme="dark"] .pricing-features li,
html[data-theme="dark"] .pricing-footnote,
html[data-theme="dark"] .casestudy-eyebrow,
html[data-theme="dark"] .casestudy-subtitle,
html[data-theme="dark"] .cs-tag:not(.cs-tag--year),
html[data-theme="dark"] .cv-side-desc,
html[data-theme="dark"] .cs-post-stat,
html[data-theme="dark"] .cv-caption,
html[data-theme="dark"] .cs-context-body,
html[data-theme="dark"] .cs-transform-list li,
html[data-theme="dark"] .about-eyebrow,
html[data-theme="dark"] .about-bio,
html[data-theme="dark"] .faq-eyebrow,
html[data-theme="dark"] .faq-intro,
html[data-theme="dark"] .faq-answer p,
html[data-theme="dark"] .meta-text,
html[data-theme="dark"] .pmodal-desc,
html[data-theme="dark"] .pmodal-tags li,
html[data-theme="dark"] .smodal-desc,
html[data-theme="dark"] .smodal-copy {
    color: var(--theme-text-soft);
}

html[data-theme="dark"] .service-number,
html[data-theme="dark"] .service-arrow,
html[data-theme="dark"] .pricing-plan-num,
html[data-theme="dark"] .cs-counter,
html[data-theme="dark"] .cv-divider,
html[data-theme="dark"] .cs-post-type,
html[data-theme="dark"] .cs-quote-context,
html[data-theme="dark"] .year-card-label,
html[data-theme="dark"] .pmodal-number,
html[data-theme="dark"] .pmodal-year,
html[data-theme="dark"] .pmodal-media-placeholder {
    color: var(--theme-text-faint);
}

html[data-theme="dark"] .service-number,
html[data-theme="dark"] .service-arrow {
    color: rgba(255, 254, 236, 0.66);
}

html[data-theme="dark"] .service-desc {
    color: rgba(255, 254, 236, 0.8);
}

html[data-theme="dark"] .service-tags li {
    color: rgba(255, 254, 236, 0.9);
    border-color: rgba(255, 254, 236, 0.16);
    background: rgba(255, 254, 236, 0.04);
}

html[data-theme="dark"] .pricing-card--featured .pricing-plan-name {
    color: var(--reina-ivory);
}

html[data-theme="dark"] .pricing-card--featured .pricing-plan-num {
    color: rgba(255, 254, 236, 0.25);
}

html[data-theme="dark"] .pricing-card--featured .pricing-plan-desc {
    color: rgba(255, 254, 236, 0.65);
}

html[data-theme="dark"] .pricing-card--featured .pricing-divider {
    background: rgba(255, 254, 236, 0.12);
}

html[data-theme="dark"] .pricing-card--featured .pricing-price {
    color: var(--reina-ivory);
}

html[data-theme="dark"] .pricing-card--featured .pricing-features li {
    color: rgba(255, 254, 236, 0.85);
}

html[data-theme="dark"] .service-tags li,
html[data-theme="dark"] .cs-tag:not(.cs-tag--year),
html[data-theme="dark"] .pmodal-tags li {
    border-color: var(--theme-border);
}

html[data-theme="dark"] .hero-deco-line,
html[data-theme="dark"] .scroll-line,
html[data-theme="dark"] .meta-line,
html[data-theme="dark"] .pricing-divider {
    background: var(--theme-border);
}

html[data-theme="dark"] .pricing-cta-row,
html[data-theme="dark"] .casestudy-context,
html[data-theme="dark"] .cs-post-stats,
html[data-theme="dark"] .cs-quote-block,
html[data-theme="dark"] .pmodal-tags {
    border-top-color: var(--theme-border);
}

html[data-theme="dark"] .faq-list,
html[data-theme="dark"] .faq-item {
    border-color: var(--theme-border);
}

html[data-theme="dark"] .faq-number {
    color: var(--reina-violet);
}

html[data-theme="dark"] .faq-toggle-icon {
    border-color: var(--theme-border);
    color: var(--theme-text);
}

html[data-theme="dark"] .faq-item.is-open .faq-toggle-icon {
    background: var(--reina-violet);
    border-color: var(--reina-violet);
    color: var(--reina-ivory);
}

html[data-theme="dark"] .cs-quote-author {
    color: var(--theme-text);
}

html[data-theme="dark"] .cs-stats-note {
    color: rgba(255, 254, 236, 0.22);
}

html[data-theme="dark"] .cv-badge--before {
    background: rgba(255, 254, 236, 0.12);
    color: rgba(255, 254, 236, 0.78);
}

html[data-theme="dark"] .cv-side-desc {
    color: rgba(255, 254, 236, 0.92);
    font-weight: 600;
}

html[data-theme="dark"] .cv-card--before {
    background: #080816;
    box-shadow: 0 1.5rem 3rem -2rem rgba(0, 0, 0, 0.78);
}

html[data-theme="dark"] .cv-card--after {
    box-shadow: 0 1.5rem 3rem -2rem rgba(0, 0, 0, 0.62);
}

html[data-theme="dark"] .cv-card::after {
    background: linear-gradient(180deg, rgba(4, 4, 12, 0.02) 0%, rgba(4, 4, 12, 0.08) 42%, rgba(4, 4, 12, 0.64) 100%);
}

html[data-theme="dark"] .cv-rec,
html[data-theme="dark"] .cv-filename,
html[data-theme="dark"] .cv-filemeta,
html[data-theme="dark"] .cv-reel-title,
html[data-theme="dark"] .cv-reel-dur {
    color: rgba(255, 254, 236, 0.9);
}

html[data-theme="dark"] .cs-post-type {
    color: rgba(255, 254, 236, 0.64);
}

html[data-theme="dark"] .cs-post-summary--after .cs-post-type,
html[data-theme="dark"] .cs-post-summary--after .cs-post-stat,
html[data-theme="dark"] .cs-post-summary--after .cs-post-stat strong {
    color: #d8c9ff;
}

html[data-theme="dark"] .cs-post-summary--after .cs-post-stat strong {
    color: #ffffff;
}

html[data-theme="dark"] .cs-post-stat {
    color: rgba(255, 254, 236, 0.86);
}

html[data-theme="dark"] .cs-post-stat strong {
    color: var(--theme-text);
}

html[data-theme="dark"] .cv-divider {
    color: var(--reina-violet);
}

html[data-theme="dark"] .cs-result-band {
    background: linear-gradient(135deg, #8f6bf2 0%, #7d59df 58%, #5f3ab5 100%);
}

html[data-theme="dark"] .cs-quote-accent {
    color: var(--reina-violet);
}

html[data-theme="dark"] .finalcta-section {
    background: var(--reina-violet-dark);
}

@media (max-width: 767px) {
    #nav {
        position: relative;
    }

    #nav.scrolled,
    html[data-theme="dark"] #nav.scrolled {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: 0;
    }

    .hero-section {
        padding-top: 4rem;
    }

    .mobile-scroll-top {
        display: inline-flex;
    }

    #caseVideoModal.cvmodal-overlay {
        align-items: center;
        justify-content: center;
        min-height: 100dvh;
        padding: calc(1rem + env(safe-area-inset-top, 0px)) 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
    }

    #caseVideoModal .cvmodal {
        width: min(92vw, 22.5rem);
        max-height: calc(100dvh - 2rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
        margin: auto;
    }

    #caseVideoModal .cvmodal-frame {
        max-height: calc(100dvh - 7.75rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    }

    .pmodal {
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
    }

    .pmodal-close {
        position: fixed;
        top: calc(0.9rem + env(safe-area-inset-top, 0px));
        right: 1rem;
        width: 3.15rem;
        height: 3.15rem;
        z-index: 220;
        border: 1px solid rgba(255, 254, 236, 0.18);
        background: rgba(26, 26, 46, 0.22);
        color: var(--reina-ivory);
        box-shadow: 0 16px 32px rgba(13, 10, 33, 0.18);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .pmodal-close svg {
        width: 1.15rem;
        height: 1.15rem;
    }

    .pmodal-media {
        min-height: clamp(14rem, 38vh, 20rem);
    }

    .service-card {
        min-height: auto;
        padding: 1.75rem 1.4rem 1.55rem;
    }

    .service-card-top {
        margin-bottom: 1.55rem;
    }

    .service-title {
        font-size: clamp(1.7rem, 8.2vw, 2rem);
    }

    .service-desc {
        font-size: 0.98rem;
        line-height: 1.7;
        margin-bottom: 1.55rem;
    }

    .service-tags li {
        font-size: 0.7rem;
        letter-spacing: 0.12em;
    }

    .pmodal-info {
        flex: 0 0 auto;
        overflow: visible;
        padding: 1.5rem 1.25rem calc(2rem + env(safe-area-inset-bottom, 0px));
        gap: 1rem;
    }

    .pmodal-meta,
    .smodal-meta {
        align-items: flex-start;
        gap: 0.75rem;
        padding-right: 4.5rem;
    }

    .pmodal-year {
        margin-left: 0;
    }

    .pmodal-name,
    .smodal-name {
        font-size: clamp(1.85rem, 9vw, 2.4rem);
        line-height: 1.08;
    }

    .pmodal-desc,
    .smodal-desc,
    .smodal-copy {
        font-size: 1rem;
        line-height: 1.72;
    }

    .pmodal-desc {
        flex: 0 0 auto;
    }

    .pmodal-tags,
    .smodal-tags {
        margin-top: 0.35rem;
    }

    .smodal-aside {
        padding: 4.5rem 1.25rem 1.5rem;
        gap: 1rem;
    }

    .smodal-hook {
        max-width: none;
        font-size: clamp(1.9rem, 10vw, 2.45rem);
        line-height: 1.08;
    }

    .smodal-preview {
        min-height: 13.75rem;
        border-radius: 1.25rem;
    }

    .smodal-includes {
        gap: 0.85rem;
        margin-top: 0;
        padding-top: 0.85rem;
    }

    .smodal-includes li {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .smodal-info {
        gap: 1rem;
    }

    .smodal-section {
        gap: 0.65rem;
    }

    .smodal-cta {
        margin-top: 0.5rem;
    }

    #portfolioModal .pmodal-info {
        padding: 4rem 1.35rem calc(2.25rem + env(safe-area-inset-bottom, 0px));
        gap: 1.05rem;
    }

    #portfolioModal .pmodal-close {
        top: calc(0.8rem + env(safe-area-inset-top, 0px));
        right: 0.85rem;
        width: 2.7rem;
        height: 2.7rem;
    }

    #portfolioModal .pmodal-close svg {
        width: 1rem;
        height: 1rem;
    }

    #portfolioModal .pmodal-meta {
        align-items: center;
        flex-wrap: wrap;
        row-gap: 0.55rem;
        padding-right: 4rem;
    }

    #portfolioModal .pmodal-year {
        margin-left: auto;
    }
}

@media (max-width: 1023px) {
    .btn-primary:hover {
        background: var(--reina-violet);
        transform: none;
        box-shadow: 0 1px 0 rgba(26, 26, 46, 0.06);
    }

    .btn-ghost-dark:hover {
        border-color: rgba(26, 26, 46, 0.2);
        background: transparent;
        color: inherit;
    }

    .theme-toggle:hover {
        border-color: rgba(26, 26, 46, 0.18);
        background: rgba(255, 254, 236, 0.72);
        transform: none;
    }

    .hero-secondary-cta:hover .arrow-down {
        transform: none;
    }

    .mobile-scroll-top:hover {
        transform: translateY(0);
    }

    .finalcta-primary-btn:hover {
        background: var(--reina-ivory);
        color: var(--reina-dark);
        box-shadow: none;
        transform: none;
    }

    .finalcta-primary-btn:hover svg {
        transform: none;
    }

    .pmodal-close:hover {
        background: rgba(26, 26, 46, 0.22);
        color: var(--reina-ivory);
        border-color: rgba(255, 254, 236, 0.18);
        transform: none;
    }

    .cvmodal-close:hover {
        background: rgba(26, 26, 46, 0.22);
        color: var(--reina-ivory);
        border-color: rgba(255, 254, 236, 0.18);
        transform: none;
    }

    .btn-primary:active {
        background: var(--reina-violet-dark);
        transform: scale(0.98);
        box-shadow: 0 12px 28px -18px rgba(109, 77, 188, 0.7);
    }

    .btn-ghost-dark:active {
        border-color: var(--reina-dark);
        background: var(--reina-dark);
        color: var(--reina-ivory);
    }

    .theme-toggle:active,
    .hamburger:active,
    .pmodal-close:active,
    .cvmodal-close:active {
        background: rgba(26, 26, 46, 0.38);
        border-color: rgba(255, 254, 236, 0.24);
        color: var(--reina-ivory);
        transform: scale(0.96);
    }

    .hamburger:active .hamburger-line {
        background: var(--reina-ivory);
    }

    .hero-secondary-cta:active {
        color: var(--reina-violet-dark);
    }

    .hero-secondary-cta:active .arrow-down {
        transform: translateY(4px);
    }

    .mobile-scroll-top:active {
        background: var(--reina-eggplant);
        transform: scale(0.96);
    }

    .finalcta-primary-btn:active {
        background: var(--reina-pear-pastel);
        color: var(--reina-dark);
        box-shadow: 0 12px 28px -16px var(--reina-eggplant);
        transform: scale(0.98);
    }

    .finalcta-primary-btn:active svg {
        transform: translate(2px, -2px);
    }

    html[data-theme="dark"] .theme-toggle:hover {
        border-color: var(--theme-border);
        background: rgba(255, 254, 236, 0.05);
        color: var(--theme-text);
    }

    html[data-theme="dark"] .pmodal-close:hover {
        background: rgba(26, 26, 46, 0.22);
        color: var(--reina-ivory);
        border-color: rgba(255, 254, 236, 0.18);
    }

    html[data-theme="dark"] .hero-secondary-cta:active {
        color: var(--reina-violet);
    }
}
