/* ══════════════════════════════════════════════════════
   OASIS MEDIA — pages.css
   Shared styles for all subpages
   ══════════════════════════════════════════════════════ */

/* ─── CRITICAL: Navbar & Footer logo constraints ─── */
/* Override generic img { height: auto } reset from styles.css */
img.navbar__logo-img {
    height: 40px !important;
    width: auto !important;
}

.navbar__container {
    max-width: var(--container-max, 1280px);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar__links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-grey, #888);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white, #fff);
}

.navbar__cta {
    font-family: var(--font-heading, 'Space Grotesk', sans-serif);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 100px;
    background: var(--gradient-primary, linear-gradient(135deg, #7f00ff, #e100ff));
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.navbar__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(127, 0, 255, 0.4);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-white, #fff);
    border-radius: 2px;
    transition: all 0.3s;
}

img.footer__logo-main {
    height: 48px !important;
    width: auto !important;
}


/* ─── Page Hero (all subpages) ─── */
.page-hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(127, 0, 255, .15) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero .section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--accent-mid);
    border: 1px solid rgba(127, 0, 255, .3);
    padding: 6px 16px;
    border-radius: 99px;
    margin-bottom: 24px;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
}

.page-hero .hero-desc {
    color: var(--text-grey);
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── Container for subpages ─── */
.page-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

/* ─── Page Section (generic) ─── */
.page-section {
    padding: var(--section-pad) 0;
}

.page-section .section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* ─── Back to Top Button ─── */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease;
    z-index: 900;
    border: none;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

/* ─── Subpage Navbar overrides ─── */
.navbar--subpage {
    background: rgba(5, 5, 5, .95);
    backdrop-filter: blur(20px);
}

.navbar--subpage .nav-link.active {
    color: var(--accent-mid);
}

.navbar--subpage .navbar__logo-img {
    height: 40px;
    width: auto;
}

/* ══════════════════════════════════════════════════════
   SUBPAGE FOOTER
   ══════════════════════════════════════════════════════ */

.footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 60px;
    padding-bottom: 48px;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__logo-main {
    height: 48px;
    width: auto;
}

.footer__tagline {
    color: var(--text-dim);
    font-size: .9rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer__nav {
    display: flex;
    gap: clamp(32px, 5vw, 64px);
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer__nav {
        flex-wrap: wrap;
        gap: 32px;
        justify-content: flex-start;
    }
}

/* ══════════════════════════════════════════════════════
   SERVICIOS PAGE
   ══════════════════════════════════════════════════════ */

.service-pack {
    background: linear-gradient(135deg, rgba(127, 0, 255, .06), rgba(225, 0, 255, .03));
    border: 1px solid rgba(127, 0, 255, .15);
    border-radius: 24px;
    padding: 48px 40px;
    transition: all .4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.service-pack::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity .3s;
}

.service-pack:hover::before {
    opacity: 1;
}

.service-pack:hover {
    border-color: rgba(127, 0, 255, .35);
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(127, 0, 255, .15);
}

.service-pack--featured {
    border-color: rgba(127, 0, 255, .4);
    background: linear-gradient(135deg, rgba(127, 0, 255, .1), rgba(225, 0, 255, .06));
}

.service-pack--featured::before {
    opacity: 1;
}

.service-pack__badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: var(--gradient-primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 99px;
    margin-bottom: 20px;
}

.service-pack__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(127, 0, 255, .15), rgba(225, 0, 255, .1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-pack__title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-pack__desc {
    color: var(--text-grey);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-pack__features {
    list-style: none;
    margin-bottom: 32px;
}

.service-pack__features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-grey);
    font-size: .95rem;
}

.service-pack__features li::before {
    content: '✓';
    color: var(--cta-green);
    font-weight: 700;
    flex-shrink: 0;
}

.service-pack__price {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.service-pack__price span {
    font-size: 1rem;
    color: var(--text-grey);
    font-weight: 400;
}

.services-packs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    font-size: .9rem;
}

.comparison-table th {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent-mid);
    font-size: .85rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.comparison-table td:first-child {
    text-align: left;
    color: var(--text-grey);
}

.comparison-table .check {
    color: var(--cta-green);
    font-size: 1.2rem;
}

.comparison-table .cross {
    color: var(--text-dim);
}

/* ══════════════════════════════════════════════════════
   CASOS DE ÉXITO PAGE
   ══════════════════════════════════════════════════════ */

.case-card {
    background: linear-gradient(135deg, rgba(127, 0, 255, .06), rgba(225, 0, 255, .03));
    border: 1px solid rgba(127, 0, 255, .12);
    border-radius: 20px;
    padding: 32px;
    transition: all .4s var(--ease-out-expo);
}

.case-card:hover {
    border-color: rgba(127, 0, 255, .3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(127, 0, 255, .12);
}

.case-card__industry {
    font-family: var(--font-mono);
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent-mid);
    margin-bottom: 12px;
}

.case-card__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.case-card__text {
    color: var(--text-grey);
    font-size: .9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.case-card__metrics {
    display: flex;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.case-metric {
    text-align: center;
}

.case-metric__value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.case-metric__label {
    font-size: .75rem;
    color: var(--text-dim);
    display: block;
    margin-top: 4px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Featured Case */
.featured-case {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: linear-gradient(135deg, rgba(127, 0, 255, .08), rgba(225, 0, 255, .04));
    border: 1px solid rgba(127, 0, 255, .2);
    border-radius: 24px;
    padding: 48px;
    margin-bottom: 64px;
}

.featured-case__video {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--bg-carbon);
}

.featured-case__video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Video Testimonials */
.video-testimonial {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--bg-carbon);
    border: 1px solid rgba(127, 0, 255, .1);
    transition: border-color .3s;
}

.video-testimonial:hover {
    border-color: rgba(127, 0, 255, .3);
}

.video-testimonial iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Client Logos Marquee */
.logos-marquee {
    overflow: hidden;
    padding: 40px 0;
    position: relative;
}

.logos-marquee__track {
    display: flex;
    gap: 60px;
    animation: logoScroll 30s linear infinite;
}

.logos-marquee__item {
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dim);
    white-space: nowrap;
    opacity: .4;
    transition: opacity .3s;
}

.logos-marquee__item:hover {
    opacity: 1;
}

@keyframes logoScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Results Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-start), var(--accent-end));
}

.timeline-item {
    position: relative;
    padding-bottom: 48px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow: 0 0 12px rgba(127, 0, 255, .5);
}

.timeline-item__year {
    font-family: var(--font-mono);
    font-size: .8rem;
    color: var(--accent-mid);
    margin-bottom: 8px;
}

.timeline-item__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-item__desc {
    color: var(--text-grey);
    font-size: .9rem;
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════════
   BLOG PAGE
   ══════════════════════════════════════════════════════ */

.blog-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 48px;
}

.filter-pill {
    font-family: var(--font-mono);
    font-size: .75rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 99px;
    border: 1px solid rgba(127, 0, 255, .2);
    background: transparent;
    color: var(--text-grey);
    cursor: pointer;
    transition: all .3s;
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: linear-gradient(135deg, rgba(127, 0, 255, .06), rgba(225, 0, 255, .03));
    border: 1px solid rgba(127, 0, 255, .12);
    border-radius: 20px;
    overflow: hidden;
    transition: all .4s var(--ease-out-expo);
}

.blog-card:hover {
    border-color: rgba(127, 0, 255, .3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(127, 0, 255, .12);
}

.blog-card__img {
    height: 200px;
    overflow: hidden;
}

.blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease-out-expo);
}

.blog-card:hover .blog-card__img img {
    transform: scale(1.05);
}

.blog-card__body {
    padding: 24px;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-card__category {
    font-family: var(--font-mono);
    font-size: .65rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(127, 0, 255, .15);
    color: var(--accent-mid);
    padding: 3px 10px;
    border-radius: 99px;
}

.blog-card__date {
    font-size: .8rem;
    color: var(--text-dim);
}

.blog-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.blog-card__excerpt {
    color: var(--text-grey);
    font-size: .85rem;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__read {
    font-family: var(--font-mono);
    font-size: .75rem;
    color: var(--accent-mid);
    letter-spacing: .05em;
}

/* Featured Post */
.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: linear-gradient(135deg, rgba(127, 0, 255, .08), rgba(225, 0, 255, .04));
    border: 1px solid rgba(127, 0, 255, .2);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 64px;
}

.featured-post__img {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.featured-post__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-post__body {
    padding: 48px 40px 48px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Newsletter CTA Banner (inline in blog) */
.newsletter-banner {
    background: linear-gradient(135deg, rgba(127, 0, 255, .12), rgba(225, 0, 255, .06));
    border: 1px solid rgba(127, 0, 255, .2);
    border-radius: 20px;
    padding: 48px;
    text-align: center;
    margin: 48px 0;
}

.newsletter-banner h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.newsletter-banner p {
    color: var(--text-grey);
    margin-bottom: 24px;
}

.newsletter-banner form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-banner input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid rgba(127, 0, 255, .2);
    background: rgba(255, 255, 255, .04);
    color: #fff;
    font-family: var(--font-body);
    font-size: .9rem;
    outline: none;
    transition: border-color .3s;
}

.newsletter-banner input:focus {
    border-color: var(--accent-mid);
}

/* ══════════════════════════════════════════════════════
   GALERÍA PAGE
   ══════════════════════════════════════════════════════ */

.platform-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 48px;
}

.platform-tab {
    font-family: var(--font-heading);
    font-size: .9rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 12px;
    border: 1px solid rgba(127, 0, 255, .2);
    background: transparent;
    color: var(--text-grey);
    cursor: pointer;
    transition: all .3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.platform-tab:hover,
.platform-tab.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
}

.gallery-grid {
    display: grid;
    gap: 24px;
}

.gallery-grid--youtube {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-grid--reels {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-grid--tiktok {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(127, 0, 255, .1);
    background: var(--bg-carbon);
    transition: all .3s;
}

.gallery-item:hover {
    border-color: rgba(127, 0, 255, .3);
    box-shadow: 0 12px 30px rgba(127, 0, 255, .12);
}

.gallery-item iframe {
    width: 100%;
    border: none;
    display: block;
}

.gallery-item--youtube iframe {
    aspect-ratio: 16/9;
    height: auto;
}

.gallery-item--reel iframe {
    aspect-ratio: 9/16;
    height: auto;
    min-height: 400px;
}

.gallery-item--tiktok iframe {
    aspect-ratio: 9/16;
    height: auto;
    min-height: 400px;
}

.gallery-item__caption {
    padding: 12px 16px;
    font-size: .85rem;
    color: var(--text-grey);
}

.gallery-section {
    display: none;
}

.gallery-section.active {
    display: block;
}

/* ══════════════════════════════════════════════════════
   NEWSLETTER PAGE
   ══════════════════════════════════════════════════════ */

.newsletter-hero-form {
    max-width: 520px;
    margin: 32px auto 0;
    display: flex;
    gap: 12px;
}

.newsletter-hero-form input {
    flex: 1;
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid rgba(127, 0, 255, .25);
    background: rgba(255, 255, 255, .04);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color .3s;
}

.newsletter-hero-form input:focus {
    border-color: var(--accent-mid);
    box-shadow: 0 0 20px rgba(127, 0, 255, .2);
}

.lead-magnets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.lead-magnet-card {
    background: linear-gradient(135deg, rgba(127, 0, 255, .06), rgba(225, 0, 255, .03));
    border: 1px solid rgba(127, 0, 255, .12);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all .4s var(--ease-out-expo);
}

.lead-magnet-card:hover {
    border-color: rgba(127, 0, 255, .3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(127, 0, 255, .12);
}

.lead-magnet-card__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.lead-magnet-card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.lead-magnet-card__desc {
    color: var(--text-grey);
    font-size: .9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.benefit-item {
    text-align: center;
    padding: 24px;
}

.benefit-item__icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.benefit-item__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.benefit-item__desc {
    color: var(--text-grey);
    font-size: .85rem;
    line-height: 1.6;
}

/* Past Issues */
.past-issues-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.past-issue-card {
    background: rgba(127, 0, 255, .04);
    border: 1px solid rgba(127, 0, 255, .1);
    border-radius: 16px;
    padding: 24px;
    transition: all .3s;
}

.past-issue-card:hover {
    border-color: rgba(127, 0, 255, .25);
}

.past-issue-card__number {
    font-family: var(--font-mono);
    font-size: .7rem;
    color: var(--accent-mid);
    margin-bottom: 8px;
}

.past-issue-card__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.past-issue-card__desc {
    color: var(--text-grey);
    font-size: .85rem;
    line-height: 1.5;
}

/* ══════════════════════════════════════════════════════
   SOBRE NOSOTROS PAGE
   ══════════════════════════════════════════════════════ */

.ceo-expanded {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.ceo-expanded__img {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(127, 0, 255, .15);
}

.ceo-expanded__img img {
    width: 100%;
    display: block;
}

.ceo-expanded__quote {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--accent-mid);
    border-left: 3px solid var(--accent-mid);
    padding-left: 20px;
    margin-bottom: 24px;
}

.ceo-expanded__text {
    color: var(--text-grey);
    line-height: 1.8;
    margin-bottom: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-pillar {
    background: linear-gradient(135deg, rgba(127, 0, 255, .06), rgba(225, 0, 255, .03));
    border: 1px solid rgba(127, 0, 255, .12);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all .3s;
}

.value-pillar:hover {
    border-color: rgba(127, 0, 255, .3);
    transform: translateY(-4px);
}

.value-pillar__icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.value-pillar__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.value-pillar__desc {
    color: var(--text-grey);
    font-size: .85rem;
    line-height: 1.6;
}

/* Tools / Tech Stack */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.tool-item {
    background: rgba(127, 0, 255, .04);
    border: 1px solid rgba(127, 0, 255, .1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all .3s;
}

.tool-item:hover {
    border-color: rgba(127, 0, 255, .25);
    transform: translateY(-2px);
}

.tool-item__icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.tool-item__name {
    font-family: var(--font-heading);
    font-size: .85rem;
    font-weight: 600;
}

/* Team Cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.team-card {
    background: linear-gradient(135deg, rgba(127, 0, 255, .06), rgba(225, 0, 255, .03));
    border: 1px solid rgba(127, 0, 255, .12);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    transition: all .4s var(--ease-out-expo);
}

.team-card:hover {
    border-color: rgba(127, 0, 255, .3);
    transform: translateY(-4px);
}

.team-card__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.team-card__name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-card__role {
    color: var(--accent-mid);
    font-size: .85rem;
    font-family: var(--font-mono);
    margin-bottom: 12px;
}

.team-card__desc {
    color: var(--text-grey);
    font-size: .85rem;
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════════
   CONTACTO PAGE
   ══════════════════════════════════════════════════════ */

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(127, 0, 255, .15);
    background: rgba(255, 255, 255, .03);
    color: #fff;
    font-family: var(--font-body);
    font-size: .95rem;
    outline: none;
    transition: all .3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent-mid);
    box-shadow: 0 0 20px rgba(127, 0, 255, .15);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group select option {
    background: var(--bg-carbon);
    color: #fff;
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 16px;
    color: var(--text-dim);
    font-size: .9rem;
    pointer-events: none;
    transition: all .3s;
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -8px;
    left: 16px;
    font-size: .7rem;
    color: var(--accent-mid);
    background: var(--bg-void);
    padding: 0 6px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: linear-gradient(135deg, rgba(127, 0, 255, .06), rgba(225, 0, 255, .03));
    border: 1px solid rgba(127, 0, 255, .12);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: border-color .3s;
}

.contact-info-card:hover {
    border-color: rgba(127, 0, 255, .3);
}

.contact-info-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(127, 0, 255, .15), rgba(225, 0, 255, .1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info-card__label {
    font-size: .75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: .05em;
    font-family: var(--font-mono);
}

.contact-info-card__value {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-top: 4px;
}

/* Hours Grid */
.hours-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    font-size: .9rem;
}

.hours-item span:first-child {
    color: var(--text-grey);
}

.hours-item span:last-child {
    font-weight: 600;
}

/* ══════════════════════════════════════════════════════
   LEGAL PAGES
   ══════════════════════════════════════════════════════ */

.legal-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 48px 0 16px;
}

.legal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 32px 0 12px;
}

.legal-content p {
    color: var(--text-grey);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-content ul li {
    color: var(--text-grey);
    line-height: 1.7;
    margin-bottom: 8px;
}

.legal-content .last-updated {
    font-family: var(--font-mono);
    font-size: .8rem;
    color: var(--text-dim);
    margin-bottom: 40px;
}

.legal-block {
    margin-bottom: 40px;
}

.cookies-table-wrapper {
    overflow-x: auto;
    margin: 16px 0;
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
}

.cookies-table th,
.cookies-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    font-size: .9rem;
}

.cookies-table th {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent-mid);
    font-size: .8rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.cookies-table td {
    color: var(--text-grey);
}

/* ══════════════════════════════════════════════════════
   SHARED BUTTONS (subpages)
   ══════════════════════════════════════════════════════ */

.btn-primary-page {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    background: var(--gradient-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .95rem;
    border: none;
    cursor: pointer;
    transition: all .3s;
    text-decoration: none;
}

.btn-primary-page:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(127, 0, 255, .4);
    filter: brightness(1.1);
}

.btn-ghost-page {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    border: 1px solid rgba(127, 0, 255, .3);
    background: transparent;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: all .3s;
    text-decoration: none;
}

.btn-ghost-page:hover {
    border-color: var(--accent-mid);
    background: rgba(127, 0, 255, .08);
    transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════
   CTA Section (shared across pages)
   ══════════════════════════════════════════════════════ */

.cta-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(127, 0, 255, .12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    color: var(--text-grey);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .services-packs-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

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

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

    .featured-case {
        grid-template-columns: 1fr;
    }

    .featured-post {
        grid-template-columns: 1fr;
    }

    .featured-post__body {
        padding: 32px;
    }

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

    .gallery-grid--reels {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid--tiktok {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .ceo-expanded {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

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

    .tools-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

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

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 60px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid--youtube {
        grid-template-columns: 1fr;
    }

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

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

    .lead-magnets-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

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

    .team-grid {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .past-issues-grid {
        grid-template-columns: 1fr;
    }

    .hours-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-hero-form {
        flex-direction: column;
    }

    .newsletter-banner form {
        flex-direction: column;
    }

    .platform-tabs {
        flex-wrap: wrap;
    }

    .blog-filters {
        gap: 8px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .comparison-table {
        font-size: .8rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
    }
}