/* ============================================================
   DIGITALÍZATE OAXACA — Hoja de estilos principal
   ============================================================ */

:root {
    --bg: #07060f;
    --bg2: #0d0b1a;
    --bg3: #120f22;
    --cyan: #00f5d4;
    --purple: #b44fff;
    --yellow: #f9e94e;
    --pink: #ff3cac;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1000;
}

/* ── Animaciones ──────────────────────────────────────────── */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.3); opacity: 0.7; }
}
@keyframes glow {
    0%, 100% { filter: blur(60px) opacity(0.5); }
    50%       { filter: blur(80px) opacity(0.8); }
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}
@keyframes borderRotate {
    from { --angle: 0deg; }
    to   { --angle: 360deg; }
}
@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes cardReveal {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes cardSweep {
    to { --card-sweep: 360deg; }
}
@keyframes glitchIn {
    0%   { opacity:0; clip-path:inset(45% 0 45% 0); transform:translateX(-4px) scaleY(0.2); filter:brightness(3); }
    8%   { opacity:1; clip-path:inset(0 0 88% 0); transform:translateX(5px) scaleY(1); text-shadow:-5px 0 #ff3cac,5px 0 #00f5d4; filter:brightness(2); }
    16%  { clip-path:inset(0 0 65% 0); transform:translateX(-3px); text-shadow:3px 0 #ff3cac,-3px 0 #00f5d4; filter:brightness(1); }
    24%  { clip-path:inset(0 0 42% 0); transform:translateX(0); text-shadow:none; }
    32%  { clip-path:inset(0 0 18% 0); transform:translateX(4px); text-shadow:-3px 0 #ff3cac; }
    38%  { clip-path:inset(0 0 4% 0); transform:translateX(-5px); text-shadow:5px 0 #00f5d4,-5px 0 #ff3cac; filter:brightness(1.4); }
    44%  { clip-path:inset(0 0 0 0); transform:translateX(0); text-shadow:none; filter:brightness(1); }
    50%  { clip-path:inset(28% 0 28% 0); transform:translateX(4px); text-shadow:-4px 0 #ff3cac; }
    58%  { clip-path:inset(0 0 0 0); transform:translateX(-2px); text-shadow:2px 0 #00f5d4; }
    65%  { clip-path:inset(55% 0 8% 0); transform:translateX(0); text-shadow:none; }
    72%  { clip-path:inset(0 0 0 0); }
    100% { opacity:1; clip-path:inset(0 0 0 0); transform:translateX(0); text-shadow:none; filter:brightness(1); }
}
@keyframes glitchInSmall {
    0%   { opacity:0; transform:translateX(-8px); filter:blur(2px); }
    20%  { opacity:1; transform:translateX(5px); filter:blur(0); text-shadow:-3px 0 #ff3cac,3px 0 #00f5d4; }
    35%  { transform:translateX(-3px); text-shadow:none; }
    50%  { transform:translateX(2px); text-shadow:2px 0 #00f5d4; }
    65%  { transform:translateX(-1px); text-shadow:none; }
    80%  { transform:translateX(1px); }
    100% { opacity:1; transform:translateX(0); }
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@property --card-sweep {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* ── Fade in/out scroll ───────────────────────────────────── */
.fade-up, .auto-fade {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible, .auto-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Navegación ───────────────────────────────────────────── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0.5rem 2rem;
    backdrop-filter: blur(18px);
    background: rgba(7,6,15,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
}
.logo {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--cyan);
    text-decoration: none;
    display: flex;
    align-items: center;
}
.logo img {
    height: 72px;
    width: auto;
    vertical-align: middle;
    transition: height 0.3s;
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--cyan); }
.nav-cta {
    background: var(--cyan);
    color: var(--bg) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 500 !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
}
.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0,245,212,0.4);
}
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}
.menu-toggle span {
    width: 25px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
    display: block;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 7rem 2rem 6rem;
    overflow-x: hidden;
}
.hero-glow {
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: var(--cyan);
    filter: blur(150px);
    opacity: 0.15;
    top: 20%; left: 30%;
    animation: glow 4s ease-in-out infinite;
}
.hero-glow-2 {
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: var(--purple);
    filter: blur(120px);
    opacity: 0.1;
    bottom: 10%; right: 20%;
    animation: glow 5s ease-in-out infinite reverse;
}
.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 1;
    width: 100%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0,245,212,0.1);
    border: 1px solid rgba(0,245,212,0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}
.hero-badge .dot {
    width: 8px; height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}
.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.hero h1 span { color: var(--cyan); }
.hero-description {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    max-width: 680px;
    margin: 0 auto 1.5rem;
    line-height: 1.85;
}
.hero-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-style: italic;
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    max-width: 680px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    text-align: center;
}
.hero-quote .attribution {
    display: block;
    margin-top: 0.6rem;
    font-style: normal;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}
.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-primary { background: var(--cyan); color: var(--bg); border: none; }
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(0,245,212,0.4); }
.btn-secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.btn-secondary:hover { border-color: var(--cyan); color: var(--cyan); }

.hero-role {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255,255,255,0.45);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.hero-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-style: italic;
    font-weight: 400;
    color: rgba(255,255,255,0.5);
    letter-spacing: 2px;
    margin-bottom: 2rem;
}
.hero-tech-stack {
    display: flex;
    gap: 0.7rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    padding: 0 1rem 1.5rem;
}
.hero-tech-stack span {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 0.55rem 1.2rem;
    border-radius: 50px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.5px;
    white-space: nowrap;
}
#heroCanvas {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    opacity: 0.18;
    z-index: 0;
    pointer-events: none;
}

/* ── Secciones base ───────────────────────────────────────── */
section {
    padding: 6rem 2rem;
    position: relative;
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.6rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
}
.section-header p {
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}
.section-eyebrow {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--cyan);
    text-align: center;
    margin-bottom: 1.5rem;
}

/* ── Stats ────────────────────────────────────────────────── */
.stats-section {
    background: var(--bg2);
    padding: 4.5rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.stat-item {
    padding: 1.5rem 1rem;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.stat-item:last-child { border-right: none; }
.stat-number-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.05rem;
    margin-bottom: 0.6rem;
    line-height: 1;
}
.stat-plus {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--cyan);
    margin-top: 0.4rem;
}
.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}
.stat-sublabel {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.88rem;
    font-style: italic;
    color: rgba(255,255,255,0.28);
    line-height: 1.5;
    margin-top: 0.3rem;
}

/* ── Servicios ────────────────────────────────────────────── */
.services { background: var(--bg2); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}
.service-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    cursor: pointer;
    opacity: 0;
}
.service-card.visible {
    animation: cardReveal 0.55s cubic-bezier(0.22,1,0.36,1) forwards;
}
.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0,245,212,0.3);
    background: rgba(255,255,255,0.06);
}
.service-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--cyan);
}
.service-card p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    line-height: 1.7;
}
.service-expand-hint {
    margin-top: 1rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.3px;
    transition: color 0.3s;
}
.service-card:hover .service-expand-hint { color: var(--cyan); }
.service-work {
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.service-work-label {
    font-size: 0.68rem;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    margin-bottom: 0.55rem;
    font-family: 'Outfit', sans-serif;
}
.service-clients { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.service-client-tag {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    background: rgba(0,245,212,0.06);
    border: 1px solid rgba(0,245,212,0.14);
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    font-family: 'Outfit', sans-serif;
}

/* Neon border sweep */
.service-card::after, .project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: conic-gradient(from var(--card-sweep),
        transparent 0deg, #00f0ff 40deg, rgba(0,200,255,0.4) 70deg, transparent 100deg);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
    z-index: 3;
}
.service-card:hover::after, .project-card:hover::after {
    opacity: 1;
    animation: cardSweep 2s linear infinite;
}

/* ── Carrusel Ya Digitalizados ────────────────────────────── */
.clients-carousel-section {
    background: var(--bg2);
    padding: 5rem 0 4rem;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    position: relative;
}
.code-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.clients-carousel-label {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 600;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.6rem;
    position: relative;
    z-index: 1;
}
.clients-carousel-desc {
    text-align: center;
    color: rgba(255,255,255,0.38);
    font-size: 0.88rem;
    letter-spacing: 1.5px;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    padding: 0 1rem;
}
.carousel-track { overflow: hidden; width: 100%; position: relative; z-index: 1; }
.carousel-items {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: marqueeScroll 36s linear infinite;
}
.carousel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    min-width: 155px;
    padding: 1.3rem 1.4rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    transition: border-color 0.3s, background 0.3s;
}
.carousel-item-logo {
    width: 56px; height: 56px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.55;
}
.carousel-item-icon { font-size: 2.2rem; line-height: 1; }
.carousel-item-name {
    font-size: 0.76rem;
    color: rgba(255,255,255,0.45);
    text-align: center;
    line-height: 1.4;
    max-width: 125px;
}
.carousel-item-flags {
    display: flex;
    gap: 4px;
    justify-content: center;
    font-size: 1rem;
    margin-top: -0.2rem;
}

/* ── Proyectos ────────────────────────────────────────────── */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}
.project-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(180,79,255,0.3);
}
.project-content { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.project-thumb {
    height: 180px;
    background: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(7,6,15,0.8) 100%);
}
.project-thumb span { font-size: 3rem; z-index: 1; }
.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.project-tag {
    background: rgba(180,79,255,0.15);
    color: var(--purple);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}
.project-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}
.project-card p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.project-expand-hint {
    margin-top: auto;
    padding-top: 1rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.3px;
    transition: color 0.3s;
}
.project-card:hover .project-expand-hint { color: var(--cyan); }
.projects-category { margin-bottom: 4rem; }
.projects-cat-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--cyan);
    margin: 0 auto 2.5rem;
    max-width: 1400px;
    padding: 0 0 1rem;
    text-align: center;
}
.projects-cat-label::before,
.projects-cat-label::after {
    content: '';
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: rgba(0,245,212,0.2);
}
.projects-cat-desc {
    text-align: center;
    color: rgba(255,255,255,0.42);
    font-size: 0.95rem;
    max-width: 560px;
    margin: -1rem auto 2.2rem;
    line-height: 1.7;
}

/* Card destacado Iconic Puzzles */
.project-card-featured {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: stretch;
    min-height: 200px;
    background: linear-gradient(135deg, rgba(0,245,212,0.06) 0%, rgba(180,79,255,0.05) 100%) !important;
    border-color: rgba(0,245,212,0.2) !important;
    overflow: hidden;
}
.project-featured-visual {
    flex: 0 0 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    padding: 2rem 1.5rem;
    background: rgba(0,0,0,0.25);
    border-right: 1px solid rgba(0,245,212,0.1);
}
.project-featured-visual img {
    width: 120px;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
.project-featured-sites {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
}
.project-featured-site {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    font-family: 'Courier New', monospace;
    padding: 0.3rem 0.6rem;
    background: rgba(0,245,212,0.05);
    border-radius: 6px;
    border: 1px solid rgba(0,245,212,0.08);
    transition: color 0.2s, border-color 0.2s;
}
.project-featured-site:hover { color: var(--cyan); border-color: rgba(0,245,212,0.25); }
.project-featured-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 2.5rem;
    gap: 1rem;
}
.project-featured-body h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 600;
    color: #fff;
    margin: 0;
}
.project-featured-body p {
    color: rgba(255,255,255,0.6);
    font-size: 0.97rem;
    line-height: 1.75;
    margin: 0;
    max-width: 620px;
}
.project-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--cyan);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.project-featured-badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
    animation: pulse 2s ease-in-out infinite;
}

/* ── Paquetes ─────────────────────────────────────────────── */
.packages { background: var(--bg2); }
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.package-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.3s;
}
.package-card:hover { transform: translateY(-5px); }
.package-card.featured {
    transform: scale(1.05);
    border-color: rgba(180,79,255,0.3);
    background: rgba(255,255,255,0.06);
}
.package-card.featured:hover { transform: scale(1.05) translateY(-5px); }
.package-badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--purple), var(--cyan));
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}
.package-card.yellow { border-color: rgba(249,233,78,0.3); }
.package-card.cyan   { border-color: rgba(0,245,212,0.3); }
.package-card.gradient { border-color: rgba(180,79,255,0.3); }
.package-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.package-card.yellow .package-name   { color: var(--yellow); }
.package-card.cyan .package-name     { color: var(--cyan); }
.package-card.gradient .package-name {
    background: linear-gradient(90deg, var(--purple), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.package-subtitle {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.38);
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
}
.package-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.package-card.yellow .package-price   { color: var(--yellow); }
.package-card.cyan .package-price     { color: var(--cyan); }
.package-card.gradient .package-price {
    background: linear-gradient(90deg, var(--purple), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.package-price span {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255,255,255,0.5);
}
.package-features { list-style: none; margin-bottom: 1.5rem; }
.package-features li {
    padding: 0.6rem 0;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.package-features li::before { content: '✦'; color: var(--cyan); }
.package-note {
    background: rgba(249,233,78,0.1);
    border: 1px solid rgba(249,233,78,0.2);
    padding: 0.8rem;
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--yellow);
    margin-bottom: 1.5rem;
}
.package-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}
.package-card.yellow .package-btn {
    background: rgba(249,233,78,0.15);
    color: var(--yellow);
    border: 1px solid rgba(249,233,78,0.3);
    box-shadow: 0 0 20px rgba(249,233,78,0.1);
}
.package-card.cyan .package-btn {
    background: rgba(0,245,212,0.15);
    color: var(--cyan);
    border: 1px solid rgba(0,245,212,0.3);
    box-shadow: 0 0 20px rgba(0,245,212,0.1);
}
.package-card.gradient .package-btn {
    background: linear-gradient(90deg, var(--purple), var(--cyan));
    color: var(--bg);
}
.package-btn:hover { transform: scale(1.02); }
.packages-disclaimer {
    text-align: center;
    margin: 3rem auto 0;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    max-width: 800px;
}
.packages-philosophy-after {
    max-width: 680px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-style: italic;
    text-align: center;
    color: rgba(255,255,255,0.55);
    line-height: 1.85;
}
.packages-philosophy {
    max-width: 680px;
    margin: -1rem auto 3rem;
    padding: 1.4rem 1.8rem;
    background: rgba(255,255,255,0.03);
    border-left: 3px solid var(--cyan);
    border-radius: 0 10px 10px 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    font-style: italic;
    color: rgba(255,255,255,0.55);
    line-height: 1.85;
}

/* ── ¿Por qué innovar? (parallax) ────────────────────────── */
.pq-section { height: 280vh; position: relative; }
.pq-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg);
}
.pq-bg { position: absolute; inset: 0; z-index: 0; }
.pq-glow-a {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: var(--cyan);
    filter: blur(180px);
    opacity: 0;
    top: -10%; left: -10%;
    transition: opacity 0.6s;
}
.pq-glow-b {
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: var(--purple);
    filter: blur(160px);
    opacity: 0;
    bottom: -10%; right: -10%;
    transition: opacity 0.6s;
}
.pq-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 2rem;
    text-align: center;
    width: 100%;
}
.pq-eyebrow {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 1.4rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.pq-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 9vw, 6.5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease 0.15s, transform 0.7s ease 0.15s;
}
.pq-title em { font-style: italic; color: var(--cyan); text-shadow: 0 0 60px rgba(0,245,212,0.3); }
.pq-reasons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
    margin-bottom: 2.5rem;
}
.pq-reason {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    text-align: left;
}
.pq-reason span {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: rgba(0,245,212,0.2);
    margin-bottom: 0.5rem;
    line-height: 1;
}
.pq-reason p { color: rgba(255,255,255,0.6); font-size: 0.96rem; line-height: 1.7; }
.pq-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255,255,255,0.38);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}
.pq-brand strong { color: rgba(255,255,255,0.75); }
.pq-section.pq-visible .pq-title  { animation: glitchIn 1.5s ease-out forwards 0.15s; }
.pq-section.pq-visible .pq-eyebrow{ animation: glitchInSmall 0.85s ease-out forwards; }
.pq-section.pq-visible .pq-brand  { animation: glitchInSmall 0.7s ease-out forwards 0.9s; }
.pq-section.pq-visible .pq-reason { animation: glitchInSmall 0.7s ease-out forwards; }
.pq-section.pq-visible .pq-reason:nth-child(1) { animation-delay: 0.38s; }
.pq-section.pq-visible .pq-reason:nth-child(2) { animation-delay: 0.52s; }
.pq-section.pq-visible .pq-reason:nth-child(3) { animation-delay: 0.66s; }
.pq-section.pq-visible .pq-reason:nth-child(4) { animation-delay: 0.80s; }

/* ── Sobre nosotros ───────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}
.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}
.orbit-container { position: relative; width: 280px; height: 280px; }
.orbit-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 100px; height: 100px;
    background: var(--bg3);
    border: 2px solid rgba(0,245,212,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    z-index: 2;
}
.orbit-center img { width: 72px; height: 72px; object-fit: contain; border-radius: 50%; }
.orbit-ring {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
}
.orbit-ring-1 { width:180px; height:180px; top:50%; left:50%; transform:translate(-50%,-50%); animation:rotate 10s linear infinite; }
.orbit-ring-2 { width:240px; height:240px; top:50%; left:50%; transform:translate(-50%,-50%); animation:rotate 15s linear infinite reverse; }
.orbit-ring-3 { width:280px; height:280px; top:50%; left:50%; transform:translate(-50%,-50%); animation:rotate 20s linear infinite; }
.orbit-dot { position:absolute; width:12px; height:12px; border-radius:50%; }
.orbit-ring-1 .orbit-dot   { background:var(--cyan);   top:-6px;    left:50%; transform:translateX(-50%); box-shadow:0 0 15px var(--cyan);   }
.orbit-ring-2 .orbit-dot   { background:var(--purple); bottom:-6px; left:50%; transform:translateX(-50%); box-shadow:0 0 15px var(--purple); }
.orbit-ring-3 .orbit-dot   { background:var(--yellow); top:50%;     right:-6px; transform:translateY(-50%); box-shadow:0 0 15px var(--yellow); }
.orbit-ring-1 .orbit-dot-b { background:var(--pink);   bottom:-6px; left:50%; transform:translateX(-50%); box-shadow:0 0 15px var(--pink);   }
.orbit-ring-1 .orbit-dot-c { background:var(--purple); top:50%;     right:-6px; transform:translateY(-50%); box-shadow:0 0 15px var(--purple); }
.orbit-ring-2 .orbit-dot-b { background:var(--cyan);   top:-6px;    left:50%; transform:translateX(-50%); box-shadow:0 0 15px var(--cyan);   }
.orbit-ring-3 .orbit-dot-b { background:var(--pink);   top:50%;     left:-6px;  transform:translateY(-50%); box-shadow:0 0 15px var(--pink);   }
.about-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
}
.about-content p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.about-founder {
    border-left: 2px solid var(--cyan);
    padding: 0.8rem 1.2rem;
    margin: 0.5rem 0 1.5rem;
    background: rgba(0,245,212,0.04);
    border-radius: 0 8px 8px 0;
}
.about-founder p { color: rgba(255,255,255,0.85) !important; margin-bottom: 0 !important; }
.languages { display:flex; gap:0.8rem; flex-wrap:wrap; margin-top:2rem; }
.language-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.6rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
}
.language-pill span:first-child { font-size: 1.2rem; }

/* ── ¿Por qué una estrategia digital? ────────────────────── */
.what-we-do { background: var(--bg3); padding: 6rem 2rem; }
.what-we-do-inner { max-width: 840px; margin: 0 auto; }
.what-we-do h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 2rem;
    text-align: center;
}
.what-we-do h2 em { font-style: italic; color: rgba(255,255,255,0.55); }
.what-we-do-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}
.what-we-do-body p { color: rgba(255,255,255,0.58); font-size: 1rem; line-height: 1.9; }

/* ── Contacto ─────────────────────────────────────────────── */
.contact { background: var(--bg2); }
.contact-card-wrapper { max-width: 600px; margin: 0 auto; position: relative; }
.contact-card-border {
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    background: conic-gradient(from var(--angle), var(--purple), var(--cyan), var(--purple));
    animation: borderRotate 4s linear infinite;
    z-index: 0;
}
.contact-card {
    position: relative;
    background: var(--bg);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    z-index: 1;
}
.contact-card h2 { font-family:'Cormorant Garamond',serif; font-size:2rem; margin-bottom:1rem; }
.contact-card > p { color: rgba(255,255,255,0.6); margin-bottom: 2rem; }
.contact-links { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 1.2rem;
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
}
.contact-link:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--cyan);
    transform: translateY(-3px);
}
.contact-link .icon { font-size: 1.5rem; }
.contact-link span:last-child { font-size: 0.9rem; }
.contact-social { margin-top:2rem; padding-top:1.8rem; border-top:1px solid rgba(255,255,255,0.07); }
.contact-social-label { font-size:0.7rem; letter-spacing:2.5px; text-transform:uppercase; color:rgba(255,255,255,0.28); margin-bottom:1rem; display:block; }
.social-follow-links { display:flex; gap:0.8rem; justify-content:center; flex-wrap:wrap; }
.social-follow-link {
    display:flex; align-items:center; gap:0.5rem;
    background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08);
    padding:0.7rem 1.3rem; border-radius:50px;
    text-decoration:none; color:rgba(255,255,255,0.6);
    font-size:0.88rem; transition:all 0.3s;
}
.social-follow-link:hover { background:rgba(255,255,255,0.08); border-color:var(--cyan); color:#fff; transform:translateY(-2px); }
.social-follow-link .sfl-icon { font-size:1.1rem; }

/* ── Footer ───────────────────────────────────────────────── */
footer { padding: 3rem 2rem; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); }
footer p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.footer-logo { height:48px; width:auto; margin-bottom:1rem; opacity:0.85; transition:opacity 0.3s; display:block; margin-left:auto; margin-right:auto; }
.footer-logo:hover { opacity: 1; }
footer a { color: var(--cyan); text-decoration: none; transition: opacity 0.2s; }
footer a:hover { opacity: 0.75; }

/* ── Splash Screen ────────────────────────────────────────── */
#splash {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--bg);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 2.5rem; overflow: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}
#splash.hide { opacity: 0; visibility: hidden; pointer-events: none; }
#splashMatrix { position:absolute; inset:0; width:100%; height:100%; z-index:0; }
.splash-center {
    position: relative; z-index: 1;
    display: flex; flex-direction: column;
    align-items: center; gap: 1.2rem;
    text-align: center; padding: 0 2rem;
}
.splash-logo-img {
    width: clamp(90px, 18vw, 140px);
    opacity: 0;
    transform: scale(0.85) translateY(8px);
    transition: all 1s cubic-bezier(.22,1,.36,1);
    filter: drop-shadow(0 0 20px rgba(0,245,212,0.35));
}
.splash-logo-img.show { opacity: 1; transform: scale(1) translateY(0); }
.splash-greeting {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 12vw, 6.5rem);
    font-weight: 700; font-style: italic;
    color: rgba(255,255,255,0.92);
    letter-spacing: 1px; line-height: 1;
    transition: opacity 0.45s ease, transform 0.45s ease;
}
.splash-greeting .sp-em {
    font-style: normal; font-weight: 700;
    color: var(--cyan);
    text-shadow: 0 0 30px rgba(0,245,212,0.7);
}
.splash-motiv {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.85rem, 2.8vw, 1.05rem);
    color: rgba(255,255,255,0.52);
    letter-spacing: 0.3px; line-height: 1.75;
    max-width: 360px;
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.splash-lang-dots { display:flex; gap:9px; margin-top:0.4rem; }
.lang-dot { width:6px; height:6px; border-radius:50%; background:rgba(255,255,255,0.18); transition:background 0.4s,transform 0.4s,box-shadow 0.4s; }
.lang-dot.active { background:var(--cyan); transform:scale(1.5); box-shadow:0 0 10px var(--cyan); }
.splash-bar { position:relative; z-index:1; width:min(220px,55vw); height:2px; background:rgba(255,255,255,0.08); border-radius:2px; overflow:hidden; }
.splash-progress { height:100%; background:linear-gradient(90deg,var(--cyan),var(--purple)); width:0%; border-radius:2px; }

/* ── Modal ────────────────────────────────────────────────── */
.project-modal {
    position:fixed; inset:0; z-index:5000;
    display:flex; align-items:center; justify-content:center;
    padding:1rem; opacity:0; visibility:hidden;
    transition:opacity 0.3s,visibility 0.3s;
}
.project-modal.open { opacity:1; visibility:visible; }
.modal-overlay { position:absolute; inset:0; background:rgba(4,3,12,0.92); backdrop-filter:blur(10px); cursor:pointer; }
.modal-content {
    position:relative; background:var(--bg2);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:20px; max-width:860px; width:100%;
    max-height:90vh; overflow-y:auto; z-index:1;
    transform:scale(0.96) translateY(18px);
    transition:transform 0.4s cubic-bezier(.22,1,.36,1);
    scrollbar-width:thin; scrollbar-color:rgba(255,255,255,0.08) transparent;
}
.project-modal.open .modal-content { transform:scale(1) translateY(0); }
.modal-close {
    position:absolute; top:1rem; right:1rem; z-index:10;
    width:36px; height:36px; background:rgba(0,0,0,0.55);
    border:1px solid rgba(255,255,255,0.12); border-radius:50%;
    color:rgba(255,255,255,0.8); font-size:0.85rem; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    transition:background 0.2s; backdrop-filter:blur(4px);
}
.modal-close:hover { background:rgba(255,255,255,0.12); color:#fff; }
.modal-slider { position:relative; height:300px; background:var(--bg3); border-radius:20px 20px 0 0; overflow:hidden; }
.slider-track { display:flex; height:100%; transition:transform 0.45s cubic-bezier(.22,1,.36,1); will-change:transform; }
.slider-slide { min-width:100%; height:100%; overflow:hidden; }
.slider-slide img { width:100%; height:100%; object-fit:cover; display:block; }
.slider-placeholder { width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:0.7rem; background:linear-gradient(135deg,var(--bg3) 0%,#18142e 100%); }
.ph-emoji { font-size:3rem; }
.ph-label { font-family:'Cormorant Garamond',serif; font-size:0.95rem; color:rgba(255,255,255,0.22); letter-spacing:1px; text-align:center; padding:0 1rem; }
.ph-hint { font-size:0.68rem; color:rgba(255,255,255,0.13); letter-spacing:2px; text-transform:uppercase; }
.slider-btn {
    position:absolute; top:50%; transform:translateY(-50%);
    width:40px; height:40px; background:rgba(0,0,0,0.45);
    border:1px solid rgba(255,255,255,0.1); border-radius:50%;
    color:#fff; font-size:1.3rem; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    z-index:3; transition:background 0.2s; backdrop-filter:blur(4px); line-height:1;
}
.slider-btn:hover { background:rgba(0,245,212,0.22); }
.slider-prev { left:0.8rem; } .slider-next { right:0.8rem; }
.slider-dots { position:absolute; bottom:0.9rem; left:50%; transform:translateX(-50%); display:flex; gap:7px; z-index:3; }
.slider-dot { width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,0.3); cursor:pointer; border:none; transition:background 0.2s,transform 0.2s; }
.slider-dot.active { background:var(--cyan); transform:scale(1.35); }
.modal-tags { display:flex; gap:0.5rem; flex-wrap:wrap; margin-bottom:1rem; }
.modal-body { padding:2rem; }
.modal-body h3 { font-family:'Cormorant Garamond',serif; font-size:clamp(1.5rem,4vw,2rem); font-weight:600; margin-bottom:0.9rem; line-height:1.2; }
.modal-body > p { color:rgba(255,255,255,0.62); line-height:1.85; font-size:1rem; }
.modal-extra-list { list-style:none; margin:1.2rem 0 0.5rem; display:flex; flex-direction:column; gap:0.45rem; }
.modal-extra-list li { font-size:0.9rem; color:rgba(255,255,255,0.55); line-height:1.6; padding:0.5rem 0.9rem; background:rgba(255,255,255,0.03); border-left:2px solid rgba(0,245,212,0.22); border-radius:0 6px 6px 0; }
.modal-cta { display:flex; gap:0.8rem; flex-wrap:wrap; margin-top:1.8rem; padding-top:1.5rem; border-top:1px solid rgba(255,255,255,0.06); }
.svc-modal-icon { font-size:3rem; margin-bottom:1rem; line-height:1; }
.svc-modal-clients { margin-top:1.2rem; }
.svc-modal-clients-label { font-size:0.68rem; letter-spacing:2px; text-transform:uppercase; color:rgba(255,255,255,0.28); margin-bottom:0.6rem; display:block; }
.svc-modal-client-tags { display:flex; flex-wrap:wrap; gap:0.4rem; }

/* ─────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────── */

/* Tablet grande */
@media (max-width: 1024px) {
    .packages-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .pq-reasons    { grid-template-columns: 1fr; gap: 1.2rem; }
    .pq-section    { height: 200vh; }
    .stats-grid    { grid-template-columns: repeat(2, 1fr); }
    .stat-item     { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .stat-item:nth-last-child(-n+2) { border-bottom: none; }
    .what-we-do-body { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links  { display: none; }
    .menu-toggle{ display: flex; }
    .logo img   { height: 52px !important; }
    nav { padding: 0 1rem; }
    .nav-container { padding: 0.5rem 1rem; }

    section { padding: 3.5rem 1.2rem; }

    .hero { padding: 5rem 1.2rem 3.5rem; }
    .hero h1 { font-size: clamp(1.9rem, 8vw, 2.8rem); }
    .hero-description { font-size: 0.95rem; }
    .hero-quote { font-size: 0.9rem; }
    .hero-tech-stack { gap: 0.5rem; padding-bottom: 0.5rem; }

    .about-grid   { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-visual { order: -1; min-height: 240px; }
    .orbit-container { width: 200px; height: 200px; }
    .orbit-center    { width: 76px; height: 76px; }
    .orbit-ring-1    { width: 130px; height: 130px; }
    .orbit-ring-2    { width: 165px; height: 165px; }
    .orbit-ring-3    { width: 200px; height: 200px; }

    .services-grid  { grid-template-columns: 1fr; }
    .projects-grid  { grid-template-columns: 1fr; }
    .packages-grid  { grid-template-columns: 1fr; }
    .package-card.featured       { transform: none; }
    .package-card.featured:hover { transform: translateY(-5px); }

    .contact-links { grid-template-columns: 1fr; }
    .contact-card  { padding: 2rem 1.5rem; }

    .pq-reasons { grid-template-columns: 1fr; gap: 1.2rem; }
    .pq-section { height: 180vh; }
    .pq-title   { font-size: clamp(2.4rem, 10vw, 3.5rem); }

    .clients-carousel-label { font-size: 1.8rem; letter-spacing: 3px; }

    .section-header h2   { font-size: clamp(1.9rem, 7vw, 2.8rem); }
    .projects-cat-label  { font-size: 1.3rem; }
    .projects-cat-desc   { font-size: 0.88rem; margin-bottom: 1.5rem; }
    .about-content h2    { font-size: 1.8rem; }
    .about-founder       { padding: 0.7rem 1rem; }

    .splash-greeting { font-size: clamp(2.4rem, 9vw, 4rem); }
    .splash-motiv    { font-size: 0.85rem; }

    .modal-slider { height: 210px; }
    .modal-body   { padding: 1.4rem; }

    .project-card-featured { flex-direction: column; }
    .project-featured-visual {
        flex: none;
        border-right: none;
        border-bottom: 1px solid rgba(0,245,212,0.1);
        padding: 1.5rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .project-featured-body { padding: 1.5rem; }
    .what-we-do-body { grid-template-columns: 1fr; gap: 1.2rem; }
}

/* Mobile pequeño */
@media (max-width: 480px) {
    .logo img { height: 44px !important; }
    .hero h1  { font-size: clamp(1.6rem, 9vw, 2.2rem); }
    .hero-cta { flex-direction: column; align-items: center; }
    .projects-grid  { grid-template-columns: 1fr; }
    .packages-grid  { grid-template-columns: 1fr; }
    .services-grid  { grid-template-columns: 1fr; }
    .stats-grid     { grid-template-columns: repeat(2, 1fr); }
    .stat-item      { border-bottom: 1px solid rgba(255,255,255,0.06); border-right: none; }
    .stat-item:nth-last-child(-n+2) { border-bottom: none; }
    .pq-section { height: 150vh; }
    .contact-card { padding: 1.5rem 1.2rem; }
    .splash-greeting { font-size: clamp(2rem, 9vw, 3rem); }
}
