@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

/* 
  Agencia Creativa Pictus - Design System
  Inspired by Clay Global
  Colors: #212227 (Dark), #c6ed24 (Action), #a6a7a9 (Gray)
*/

:root {
    --pictus-dark: #212227;
    --pictus-darker: #1a1b1f;
    --pictus-action: #c6ed24;
    --pictus-gray: #a6a7a9;
    --pictus-light: #f8f8f6;
    --pictus-white: #ffffff;

    --font-main: 'Mukta', sans-serif;
    --font-icons: 'Material Symbols Outlined';

    --transition-slow: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-medium: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;

    --container-max: 1400px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

button {
    font-family: inherit;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    color: inherit;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--pictus-dark);
    color: var(--pictus-light);
    line-height: 1.6;
    overflow-x: hidden;
}

body.invisible-load {
    opacity: 0;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    line-height: 1.1;
    color: var(--pictus-white);
}

.display-title {
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    letter-spacing: -0.04em;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

p {
    color: var(--pictus-gray);
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'liga';
}

/* Width & Height Utilities */
.w-4 {
    width: 1rem;
}

.w-6 {
    width: 1.5rem;
}

.w-8 {
    width: 2rem;
}

.w-12 {
    width: 3rem;
    flex-shrink: 0;
}

.w-16 {
    width: 4rem;
}

.w-64 {
    width: 16rem;
}

.h-4 {
    height: 1rem;
}

.h-6 {
    height: 1.5rem;
}

.h-8 {
    height: 2rem;
}

.h-12 {
    height: 3rem;
    flex-shrink: 0;
}

.h-16 {
    height: 4rem;
}

.h-1 {
    height: 4px;
}

.h-2 {
    height: 8px;
}

/* Percentage Widths */
.w-1\/2 {
    width: 50%;
}

.w-4\/5 {
    width: 80%;
}

.w-11\/12 {
    width: 91.666667%;
}

.w-full {
    width: 100%;
}

/* Arbitrary width helpers for specific sections */
.w-\[80\%\] {
    width: 80%;
}

.w-\[95\%\] {
    width: 95%;
}

/* Navigation */
.pictus-nav {
    background: transparent;
    border-bottom: 1px solid transparent;
}

.pictus-nav.scrolled {
    background: rgba(33, 34, 39, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.5rem 0;
}

.nav-item {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pictus-gray);
    text-decoration: none;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-item:hover {
    color: var(--pictus-action);
}

/* Dropdown Submenu */
.nav-item-dropdown {
    position: relative;
    padding: 10px 0;
}

.nav-item-dropdown .nav-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dropdown-icon {
    font-size: 18px !important;
    transition: var(--transition-fast);
}

.nav-item-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--pictus-darker);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-medium);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 100;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: 12px;
    transition: var(--transition-fast);
    text-decoration: none;
    border: 1px solid transparent;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

.dropdown-item-icon {
    color: var(--pictus-action);
    background: rgba(198, 237, 36, 0.05);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 24px !important;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.dropdown-item:hover .dropdown-item-icon {
    background: rgba(198, 237, 36, 0.15);
    transform: scale(1.05);
}

.dropdown-item-text h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--pictus-white);
    margin-bottom: 2px;
    text-transform: none;
    letter-spacing: normal;
}

.dropdown-item-text p {
    font-size: 0.75rem;
    color: var(--pictus-gray);
    margin: 0;
    text-transform: none;
    letter-spacing: normal;
}

.logo-box {
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.8rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 100px;
    transition: var(--transition-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--pictus-action);
    color: var(--pictus-dark);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(198, 237, 36, 0.2);
}

.btn-primary-sm {
    background-color: var(--pictus-action);
    color: var(--pictus-dark);
    padding: 0.8rem 1.8rem;
    font-size: 0.8rem;
}

.btn-outline {
    background-color: transparent;
    color: var(--pictus-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
    background-color: var(--pictus-white);
    color: var(--pictus-dark);
}

/* Badges & Accents */
.badge {
    background: rgba(198, 237, 36, 0.08);
    color: var(--pictus-action);
    padding: 0.6rem 1.5rem 0.8rem;
    /* Aumentamos el padding inferior como pediste */
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: 1px solid rgba(198, 237, 36, 0.2);
    display: inline-block;
    margin-bottom: 2.5rem;
    /* Espaciado extra hacia abajo */
    backdrop-filter: blur(10px);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--pictus-white);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.5rem 0 2.1rem;
    /* Aumentado 20px extra para separación */
    /* Padding inferior para coherencia con las badges */
    transition: var(--transition-medium);
    border-bottom: 2px solid transparent;
}

.link-arrow:hover {
    color: var(--pictus-action);
    gap: 0.8rem;
    border-bottom-color: var(--pictus-action);
}

.link-arrow:hover {
    gap: 1rem;
    color: var(--pictus-action);
}

/* Cards & Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card {
    padding: 3rem;
    background: var(--pictus-darker);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--pictus-action);
    background: #25262c;
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(198, 237, 36, 0.05);
    flex-shrink: 0;
    overflow: hidden;
}

.icon-wrapper .material-symbols-outlined {
    font-size: 32px;
}

/* Portfolio */
.project-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(33, 34, 39, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-medium);
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-item:hover .project-img {
    transform: scale(1.1);
}

/* FAQ Accordion */
.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    background: var(--pictus-dark);
}

.faq-trigger.active .plus-icon {
    transform: rotate(45deg);
}

/* Form */
.input-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.8rem;
    color: var(--pictus-gray);
}

.input-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem;
    border-radius: 12px;
    color: var(--pictus-white);
    font-family: var(--font-main);
    transition: var(--transition-fast);
}

.input-field:focus {
    outline: none;
    border-color: var(--pictus-action);
    background: rgba(255, 255, 255, 0.05);
}

.input-field option {
    background-color: var(--pictus-darker);
    color: var(--pictus-white);
    padding: 10px;
}

/* Marquee Animation */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-section {
    padding: 10px 0;
}

.marquee-content {
    animation: marquee 60s linear infinite;
    /* Ritmo pausado y elegante */
    display: flex;
    align-items: center;
    will-change: transform;
}

.marquee-content span {
    display: inline-block;
    flex-shrink: 0;
}

/* Hero Specific Enhancements */
#hero {
    background-image:
        radial-gradient(circle at 20% 50%, rgba(198, 237, 36, 0.05) 0%, transparent 40%),
        linear-gradient(rgba(33, 34, 39, 0.8), rgba(33, 34, 39, 0.95)),
        url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    padding-top: 160px;
    padding-bottom: 100px;
}

.hero-stats-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 250px;
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

/* Animation Classes */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-stagger>* {
    opacity: 0;
    transition: var(--transition-slow);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active,
.reveal-stagger.active>* {
    opacity: 1;
    transform: translate(0, 0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--pictus-dark);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
    border: 3px solid var(--pictus-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--pictus-action);
}

/* Responsive Base */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }

    .display-title {
        font-size: 3.5rem;
    }

    .btn {
        padding: 1rem 2rem;
        width: 100%;
    }
}

/* Shadow Glow */
.shadow-glow {
    box-shadow: 0 0 40px rgba(198, 237, 36, 0.15);
}

/* Grid & Layout Utilities */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .md\:grid-cols-1 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lg\:grid-cols-12 {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
}

.col-span-1 {
    grid-column: span 1 / span 1;
}

.col-span-2 {
    grid-column: span 2 / span 2;
}

@media (min-width: 1024px) {
    .lg\:col-span-8 {
        grid-column: span 8 / span 8;
    }
}

@media (min-width: 1024px) {
    .lg\:col-span-4 {
        grid-column: span 4 / span 4;
    }
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.whitespace-nowrap {
    white-space: nowrap;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.items-end {
    align-items: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-10 {
    gap: 2.5rem;
}

.gap-12 {
    gap: 3rem;
}

.gap-16 {
    gap: 4rem;
}

.gap-20 {
    gap: 5rem;
}

.space-y-4>*+* {
    margin-top: 1rem;
}

.space-y-6>*+* {
    margin-top: 1.5rem;
}

.space-y-8>*+* {
    margin-top: 2rem;
}

.space-y-10>*+* {
    margin-top: 2.5rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Padding & Margin Utilities */
.p-2 {
    padding: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.p-10 {
    padding: 2.5rem;
}

.p-12 {
    padding: 3rem;
}

.p-20 {
    padding: 5rem;
}

@media (min-width: 768px) {
    .md\:p-20 {
        padding: 5rem;
    }
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.pt-20 {
    padding-top: 5rem;
}

.pt-32 {
    padding-top: 8rem;
}

.pb-12 {
    padding-bottom: 3rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-20 {
    margin-bottom: 5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mt-20 {
    margin-top: 5rem;
}

/* Typography Scale */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-5xl {
    font-size: 3rem;
}

.text-6xl {
    font-size: 3.75rem;
}

.text-7xl {
    font-size: 4.5rem;
}

.text-8xl {
    font-size: 6rem;
}

.text-giant {
    font-size: 250px !important;
    line-height: 1;
}

.font-light {
    font-weight: 300;
}

.font-bold {
    font-weight: 700;
}

.font-black {
    font-weight: 900;
}

.uppercase {
    text-transform: uppercase;
}

.italic {
    font-style: italic;
}

.underline {
    text-decoration: underline;
}

.leading-relaxed {
    line-height: 1.625;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-tighter {
    letter-spacing: -0.05em;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

/* Misc Utilities */
.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.min-h-screen {
    min-height: 100vh;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.top-50 {
    top: 50%;
}

.left-50 {
    left: 50%;
}

.transform-center {
    transform: translate(-50%, -50%);
}

.z-10 {
    z-index: 10;
}

.z-100 {
    z-index: 100;
}

.-z-10 {
    z-index: -10;
}

.overflow-hidden {
    overflow: hidden;
}

.white-space-nowrap {
    white-space: nowrap;
}

.opacity-10 {
    opacity: 0.1;
}

.opacity-15 {
    opacity: 0.15;
}

.opacity-20 {
    opacity: 0.2;
}

.opacity-30 {
    opacity: 0.3;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-60 {
    opacity: 0.6;
}

.blur-3xl {
    filter: blur(64px);
}

.rounded-full {
    border-radius: 9999px;
}

.rounded-xl {
    border-radius: 1rem;
}

.rounded-2xl {
    border-radius: 1.5rem;
}

.rounded-3xl {
    border-radius: 2.5rem;
}

.bg-pictus-dark {
    background-color: var(--pictus-dark);
}

.bg-pictus-darker {
    background-color: var(--pictus-darker);
}

.bg-pictus-action {
    background-color: var(--pictus-action);
}

.text-pictus-action {
    color: var(--pictus-action);
}

.text-pictus-gray {
    color: var(--pictus-gray);
}

.text-pictus-gray\/40 {
    color: rgba(166, 167, 169, 0.4);
}

.text-pictus-light {
    color: var(--pictus-light);
}

.text-white {
    color: var(--pictus-white);
}

.text-pictus-dark {
    color: var(--pictus-dark);
}

/* Tailwind-style Opacity & Border Utilities */
.text-white\/50 {
    color: rgba(255, 255, 255, 0.5);
}

.text-pictus-dark\/70 {
    color: rgba(33, 34, 39, 0.7);
}

.border-white\/5 {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.border-t.border-white\/5 {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

#problema {
    background-color: var(--pictus-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8rem 0;
}

.border-y.border-white\/5 {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bg-white\/5 {
    background-color: rgba(255, 255, 255, 0.05);
}

.bg-pictus-action\/10 {
    background-color: rgba(198, 237, 36, 0.1);
}

.border-pictus-action\/30 {
    border-color: rgba(198, 237, 36, 0.3);
}

/* Gradient utility */
.bg-gradient-to-l {
    background-image: linear-gradient(to left, var(--tw-gradient-stops));
}

.from-pictus-action\/5 {
    --tw-gradient-from: rgba(198, 237, 36, 0.05);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(198, 237, 36, 0));
}

.to-transparent {
    --tw-gradient-to: transparent;
}

/* Visibility */
.hidden {
    display: none;
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .lg\:flex {
        display: flex;
    }
}

@media (min-width: 768px) {
    .md\:hidden {
        display: none;
    }

    .md\:grid-cols-12 {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .md\:col-span-2 {
        grid-column: span 2 / span 2;
    }

    .md\:col-span-4 {
        grid-column: span 4 / span 4;
    }
}

/* ROI Calculator Custom Styles */
.pictus-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
}

.pictus-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--pictus-action);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(198, 237, 36, 0.5);
    transition: var(--transition-fast);
}

.pictus-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(33, 34, 39, 0.4);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 15px rgba(33, 34, 39, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(33, 34, 39, 0);
    }
}

/* Automation Visual Styles */
.automation-visual {
    position: relative;
    width: 300px;
    height: 300px;
}

.central-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 0 50px rgba(198, 237, 36, 0.4);
}

.node-rings {
    position: absolute;
    inset: -20px;
    border: 1px solid rgba(198, 237, 36, 0.2);
    border-radius: 50%;
    animation: pulse-ring 3s linear infinite;
}

.tool-node {
    position: absolute;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-medium);
}

.tool-node:hover {
    transform: scale(1.1);
    border-color: var(--pictus-action);
    box-shadow: 0 0 20px rgba(198, 237, 36, 0.2);
}

.node-1 {
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
}

.node-2 {
    top: 50%;
    right: -40%;
    transform: translateY(-50%);
}

.node-3 {
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
}

.node-4 {
    top: 50%;
    left: -40%;
    transform: translateY(-50%);
}

.con-line {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 2px;
    background: linear-gradient(90deg, var(--pictus-action), transparent);
    background-size: 200% 100%;
    transform-origin: left center;
    z-index: 1;
    width: 120px;
    opacity: 0.3;
}

.line-1 {
    transform: rotate(-90deg);
    animation: data-flow 2s infinite linear;
}

.line-2 {
    transform: rotate(0deg);
    animation: data-flow 2.5s infinite linear;
}

.line-3 {
    transform: rotate(90deg);
    animation: data-flow 2.2s infinite linear;
}

.line-4 {
    transform: rotate(180deg);
    animation: data-flow 2.8s infinite linear;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes data-flow {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.animate-float-slow {
    animation: float-slow 6s ease-in-out infinite;
}

.hover\:text-pictus-action:hover {
    color: var(--pictus-action);
}

.transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.automation-step {
    padding: 1.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-medium);
}

.automation-step:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(198, 237, 36, 0.3);
}

.stat-item {
    transition: var(--transition-medium);
}

.stat-item:hover {
    transform: translateX(10px);
}

/* FAQ Accordion Styling */
.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    background: var(--pictus-darker);
    overflow: hidden;
    margin-bottom: 1rem;
}

.faq-trigger {
    background: transparent !important;
    color: var(--pictus-white) !important;
    border: none;
    cursor: pointer;
    transition: var(--transition-medium);
}

.faq-trigger:hover {
    background: rgba(255, 255, 255, 0.03) !important;
}

.faq-trigger.active {
    background: rgba(255, 255, 255, 0.05) !important;
}

.faq-trigger.active .plus-icon {
    transform: rotate(45deg);
    color: var(--pictus-action);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base utility for initial state */
.max-h-0 {
    max-height: 0;
}

/* Portfolio Carousel Styles */
.portfolio-carousel-wrapper {
    position: relative;
    width: 100%;
}

.portfolio-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 2rem;
    padding: 1rem 0 3rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.portfolio-carousel::-webkit-scrollbar {
    display: none;
}

.portfolio-carousel .project-item {
    flex: 0 0 calc(50% - 1rem);
    min-width: 300px;
    scroll-snap-align: start;
    transition: var(--transition-medium);
}

@media (max-width: 991px) {
    .portfolio-carousel .project-item {
        flex: 0 0 calc(70% - 1rem);
    }
}

@media (max-width: 768px) {
    .portfolio-carousel .project-item {
        flex: 0 0 100%;
    }
}

.carousel-nav {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.carousel-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pictus-white);
    background: rgba(255, 255, 255, 0.03);
    transition: var(--transition-medium);
    cursor: pointer;
}

.carousel-btn:hover {
    background: var(--pictus-action);
    color: var(--pictus-dark);
    border-color: var(--pictus-action);
    transform: translateY(-5px);
}

.carousel-btn span {
    font-size: 2rem;
}

/* Footer & Form Utilities Hook */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.right-2 {
    right: 0.5rem;
}

.top-2 {
    top: 0.5rem;
}

.bottom-2 {
    bottom: 0.5rem;
}

.w-2 {
    width: 0.5rem;
}

.h-2 {
    height: 0.5rem;
}

.pr-12 {
    padding-right: 3.5rem;
}

.text-xs {
    font-size: 0.75rem;
}

.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.border-white\/10 {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rounded-xl {
    border-radius: 0.75rem;
}

@keyframes pulse-sm {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.animate-pulse {
    animation: pulse-sm 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}


/* Portfolio Expanded Section */
.portfolio-expanded {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    opacity: 0;
}

.portfolio-expanded.active {
    max-height: 3000px;
    /* Suficiente para el contenido */
    opacity: 1;
    margin-top: 4rem;
}

.btn-outline {
    background: transparent;
    color: var(--pictus-action);
    border: 1px solid var(--pictus-action);
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    transition: var(--transition-medium);
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--pictus-action);
    color: var(--pictus-dark);
    transform: scale(1.05);
}

/* Google Business Testimonials Slider */
.testimonials-slider-wrapper {
    overflow: hidden;
    padding: 10px 0;
}

#testimonial-dots {
    margin-top: 3rem !important;
    /* Más espacio para que respire */
    display: flex;
    justify-content: flex-start;
}

.testimonials-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    width: 100%;
}

.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    padding: 0 15px;
    /* Symmetrical padding for better centering */
    box-sizing: border-box;
}

.google-review-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 2.5rem;
    border-radius: 24px;
    position: relative;
    box-shadow: none;
    transition: var(--transition-medium);
    width: 100%;
    /* Asegura que no se pase del slide */
}

@media (max-width: 768px) {
    .google-review-card {
        padding: 1.5rem;
        /* Menos padding en móvil para evitar que se coma el espacio */
    }
}

.google-review-card h5 {
    color: #1f2937 !important;
    /* Nombre en oscuro */
}

.google-review-card p {
    color: #6b7280 !important;
    /* Fecha en gris suave */
}

.google-review-card .text-lg {
    color: #374151 !important;
    /* Testimonio en gris oscuro legible */
}

.google-review-card .material-symbols-outlined {
    color: #fbbc04 !important;
    /* Amarillo Google Business exacto */
}

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.dot {
    width: 30px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-medium);
    margin-right: 12px;
    /* Espacio entre puntos */
}

.dot.active {
    background: var(--pictus-action);
    width: 50px;
    /* Dot más larga para el activo */
    opacity: 1;
}

/* Parallax Section Styles */
.parallax-section {
    position: relative;
    z-index: 1;
}

.parallax-bg {
    position: absolute;
    top: -15%;
    left: 0;
    width: 100%;
    height: 130%;
    background: linear-gradient(rgba(10, 11, 14, 0.5), rgba(10, 11, 14, 0.4)),
        url('https://images.unsplash.com/photo-1675495277087-10598bf7bcd1?q=80&w=988&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    z-index: 0;
    will-change: transform;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 20%, var(--pictus-dark) 80%);
    z-index: 1;
    pointer-events: none;
}

nav.pictus-nav.fixed.w-full.z-100.bg-pictus-dark\/80.backdrop-blur-lg {
    margin-top: 40px !important;
}

/* ═══════════════════════════════════════════════════════════ */
/* Modal: Caso de Estudio                                      */
/* ═══════════════════════════════════════════════════════════ */

/* Backdrop */
.caso-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 11, 14, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.caso-modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

/* Contenedor del modal */
.caso-modal-container {
    position: relative;
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    background: var(--pictus-darker);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 28px;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateY(40px) scale(0.96);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.4s ease;
    opacity: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(198, 237, 36, 0.3) transparent;
}

.caso-modal-backdrop.open .caso-modal-container {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Botón cerrar */
.caso-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 10;
    width: 44px;
    height: 44px;
    background: rgba(33, 34, 39, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--pictus-light);
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
}

.caso-modal-close:hover {
    background: var(--pictus-action);
    color: var(--pictus-dark);
    border-color: var(--pictus-action);
    transform: rotate(90deg);
}

/* Hero image */
.caso-modal-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16/7;
    overflow: hidden;
    border-radius: 28px 28px 0 0;
}

.caso-modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.caso-modal-container:hover .caso-modal-img {
    transform: scale(1.03);
}

.caso-modal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 27, 31, 0.95) 0%, rgba(26, 27, 31, 0.3) 60%, transparent 100%);
}

.caso-modal-hero-content {
    position: absolute;
    bottom: 2rem;
    left: 2.5rem;
    right: 5rem;
}

.caso-badge {
    display: inline-block;
    background: rgba(198, 237, 36, 0.12);
    color: var(--pictus-action);
    border: 1px solid rgba(198, 237, 36, 0.25);
    padding: 0.35rem 1rem 0.45rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
    backdrop-filter: blur(10px);
}

.caso-modal-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--pictus-white);
    margin-bottom: 0.25rem;
    line-height: 1.1;
}

.caso-modal-year {
    font-size: 0.8rem;
    color: rgba(166, 167, 169, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Cuerpo */
.caso-modal-body {
    padding: 2.5rem;
}

/* Dos columnas: desafío + solución */
.caso-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 600px) {
    .caso-two-cols {
        grid-template-columns: 1fr;
    }
}

.caso-block {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 1.75rem;
    transition: border-color 0.3s ease;
}

.caso-block:hover {
    border-color: rgba(198, 237, 36, 0.15);
}

.caso-block-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 100, 100, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #ff7875;
    flex-shrink: 0;
}

.caso-block-icon--action {
    background: rgba(198, 237, 36, 0.08);
    color: var(--pictus-action);
}

.caso-block-icon .material-symbols-outlined {
    font-size: 22px !important;
}

.caso-block-title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--pictus-gray);
    margin-bottom: 0.75rem;
}

.caso-block-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(248, 248, 246, 0.75);
}

/* Métricas */
.caso-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 480px) {
    .caso-metrics {
        grid-template-columns: 1fr 1fr;
    }
}

.caso-metric-card {
    background: linear-gradient(135deg, rgba(198, 237, 36, 0.06) 0%, rgba(198, 237, 36, 0.02) 100%);
    border: 1px solid rgba(198, 237, 36, 0.12);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.caso-metric-card:hover {
    background: linear-gradient(135deg, rgba(198, 237, 36, 0.1) 0%, rgba(198, 237, 36, 0.04) 100%);
    border-color: rgba(198, 237, 36, 0.25);
    transform: translateY(-3px);
}

.caso-metric-value {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--pictus-action);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.caso-metric-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pictus-gray);
}

/* Herramientas */
.caso-tools-section {
    margin-bottom: 2.5rem;
}

.caso-tools-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--pictus-gray);
    margin-bottom: 1rem;
}

.caso-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.caso-tool-tag {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 0.4rem 1rem 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--pictus-light);
    transition: all 0.2s ease;
}

.caso-tool-tag:hover {
    background: rgba(198, 237, 36, 0.08);
    border-color: rgba(198, 237, 36, 0.2);
    color: var(--pictus-action);
}

/* CTA */
.caso-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(198, 237, 36, 0.04);
    border: 1px solid rgba(198, 237, 36, 0.1);
    border-radius: 20px;
}

@media (max-width: 540px) {
    .caso-cta {
        flex-direction: column;
        text-align: center;
    }
}

.caso-cta-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pictus-white);
    margin: 0;
}

.caso-cta-btn {
    white-space: nowrap;
    flex-shrink: 0;
}
