/* ============================================================
   ZYDRA STUDIO — style.css (GLOBAL UNIFICADO)
   ============================================================
   ÍNDICE:
     1.  [GLOBAL] VARIABLES GLOBALES
     2.  [GLOBAL] RESET / BASE
     3.  [GLOBAL] NAV BAR / HEADER
     4.  [GLOBAL] MOBILE MENU
     5.  [GLOBAL] MODALES (form + preview + app-soon)
     6.  [GLOBAL] UTILIDADES (logo, imágenes)
     7.  [GLOBAL] FOOTER
     8.  [GLOBAL] REVEAL ON SCROLL
     9.  [GLOBAL] PAGE HERO (compartido)
    10.  [PÁGINA: INDEX] Hero slider + intro + services + editorial + webby + info strip + hero canvas + mockups
    11.  [PÁGINA: CHI-SIAMO] stats strip + values + whyus + dashboard + fondo 2D + laptop
    12.  [PÁGINA: PROGETTI] port-stats + featured + filter + grid + rubik + cta + construcción + demos + construction-loader + cta reveal
    13.  [PÁGINA: CONTACT] form + pricing + steps + include + faq + cta-banner
    14.  [PÁGINA: DOWNLOAD-APP] app-hero + canvas + features + download split + dl-stats + app-soon modal
    15.  [PÁGINA: SERVICES] hero cubes + features strip + content + platforms + process-dark + process-line + inclusi + cta + variantes
    16.  [PÁGINA: ARTICLES] page-wrap + sidebar + article-body + faq
    17.  [PÁGINA: LEGAL] privacy / cookies
    18.  [PÁGINA: LAVORA-CON-NOI]
    19.  [PÁGINA: ZYDRA-STUDIO]
    20.  [ANIMACIONES ESPECÍFICAS] page-hero entrada + service-hero entrada + app-hero entrada + contact animaciones + vbox reveal + cta blocks
    21.  [RESPONSIVE GENERAL] (todas las media queries generales)
   ============================================================ */
/* ============================================================
   FONTS AUTOALOJADAS (evita Google Fonts CDN)
   ============================================================ */

/* Bebas Neue — 400 */
@font-face {
  font-display: swap;
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/bebas-neue.woff2') format('woff2');
}

/* DM Sans — 400 */
@font-face {
  font-display: swap;
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/dm-sans-regular.woff2') format('woff2');
}

/* DM Sans — 700 */
@font-face {
  font-display: swap;
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/dm-sans-bold.woff2') format('woff2');
}

/* Orbitron — 400 (por si acaso) */
@font-face {
  font-display: swap;
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/orbitron-regular.woff2') format('woff2');
}

/* Orbitron — 700 (Logo) */
@font-face {
  font-display: swap;
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/orbitron-bold.woff2') format('woff2');
}

/* Inter — 400 (Artículos) */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/inter-regular.woff2') format('woff2');
}

/* Inter — 700 (Artículos) */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/inter-bold.woff2') format('woff2');
}

/* Merriweather — 400 (Cuerpo de artículos) */
@font-face {
  font-display: swap;
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/merriweather-regular.woff2') format('woff2');
}

/* Merriweather — 700 (Títulos de artículos) */
@font-face {
  font-display: swap;
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/merriweather-bold.woff2') format('woff2');
}

/* ============================================================
   1. [GLOBAL] VARIABLES GLOBALES
   ============================================================ */
:root {
    --black:      #000000;
    --near-black: #0a0a0a;
    --dark:       #111111;
    --dark-2:     #1a1a1a;
    --dark-3:     #222222;
    --mid:        #333333;
    --grey:       #666666;
    --grey-lt:    #999999;
    --grey-bd:    #ddd;
    --white:      #ffffff;
    --off-white:  #f9f9f9; /* CORREGIDO: antes era transparente */
    --accent:     #ffffff;
    --accent-2:   #cccccc;

    --font-display: 'Bebas Neue', sans-serif;
    --font-logo:    'Orbitron', sans-serif;
    --font-body:    'DM Sans', sans-serif;

    --header-h:   70px;
    --radius:     4px;
    --transition: 0.3s ease;
    --shadow:     0 8px 40px rgba(0,0,0,0.25);
}


/* ============================================================
   2. [GLOBAL] RESET / BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; }


/* ============================================================
   3. [GLOBAL] NAV BAR / HEADER
   ============================================================ */
#site-header { position: fixed; top: 0; left: 0; width: 100%; height: var(--header-h); background: var(--black); z-index: 900; transition: box-shadow var(--transition), transform 0.35s ease; }
#site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 0 30px; height: 100%; display: flex; align-items: center; gap: 20px; }
.site-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 36px; height: 36px; background: var(--white); color: var(--black); font-family: var(--font-logo); font-size: 1.2rem; font-weight: 900; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); flex-shrink: 0; }
.logo-text { font-family: var(--font-logo); font-size: 1rem; font-weight: 700; color: var(--white); letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; }
.logo-text em { color: var(--grey-lt); font-style: normal; }
.main-nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: 0; height: var(--header-h); }
.nav-list > li { position: relative; height: 100%; display: flex; align-items: center; }
.nav-item { color: var(--grey-lt); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; padding: 0 14px; height: 100%; display: flex; align-items: center; transition: color var(--transition); white-space: nowrap; }
.nav-item:hover, .nav-item.active { color: var(--white); }
.nav-item i { margin-left: 4px; opacity: 0.6; }
.has-dropdown { position: relative; }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--dark-2); border-top: 2px solid var(--white); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.2s ease; z-index: 100; }
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: 9px 20px; color: var(--grey-lt); font-size: 0.8rem; font-weight: 400; transition: background var(--transition), color var(--transition); }
.dropdown li a:hover { background: var(--dark-3); color: var(--white); padding-left: 26px; }
.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.btn-preventivo-nav { background: var(--white); color: var(--black); border: none; padding: 9px 22px; font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; border-radius: var(--radius); transition: background var(--transition), transform var(--transition); }
.btn-preventivo-nav:hover { background: var(--grey-bd); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   4. [GLOBAL] MOBILE MENU
   ============================================================ */
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 950; }
.mobile-overlay.open { display: block; }
.mobile-menu { position: fixed; top: 0; left: -100%; width: min(320px, 85vw); height: 100%; background: var(--near-black); z-index: 960; padding: 80px 30px 40px; display: flex; flex-direction: column; transition: left 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94); overflow-y: auto; }
.mobile-menu.open { left: 0; }
.mobile-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: var(--white); font-size: 2rem; line-height: 1; opacity: 0.7; transition: opacity var(--transition); }
.mobile-close:hover { opacity: 1; }
.mobile-nav-list { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-list li a { display: block; color: var(--grey-lt); font-size: 1rem; font-weight: 400; padding: 12px 0; border-bottom: 1px solid var(--dark-3); transition: color var(--transition), padding-left var(--transition); }
.mobile-nav-list li a:hover { color: var(--white); padding-left: 8px; }
.mobile-preventivo-link { display: inline-block; background: var(--white); color: var(--black) !important; padding: 12px 28px !important; border-radius: var(--radius); font-weight: 700 !important; font-size: 0.85rem !important; letter-spacing: 1px; text-align: center; margin-top: 16px; border-bottom: none !important; }


/* ============================================================
   5. [GLOBAL] MODALES (form + preview + app-soon)
   ============================================================ */
.form-modal, .preview-modal { display: none; position: fixed; inset: 0; z-index: 1100; align-items: center; justify-content: center; padding: 20px; }
.form-modal.open, .preview-modal.open { display: flex; }
.form-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.85); }
.form-box { position: relative; background: var(--white); border-radius: 8px; max-width: 680px; width: 100%; max-height: 92vh; overflow-y: auto; padding: 40px 36px; -webkit-overflow-scrolling: touch; }
.form-box h3 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; letter-spacing: 1px; text-transform: uppercase; color: var(--dark); margin-bottom: 6px; }
.form-sub { font-size: 0.85rem; color: var(--grey); margin-bottom: 28px; }
.form-close { position: absolute; top: 16px; right: 20px; background: none; border: none; font-size: 2rem; color: var(--grey); line-height: 1; cursor: pointer; transition: color var(--transition); }
.form-close:hover { color: var(--dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.fg { display: flex; flex-direction: column; gap: 5px; }
.fg--full { margin-bottom: 20px; }
.fg label { font-size: 0.78rem; font-weight: 600; color: var(--dark-3); letter-spacing: 0.3px; }
.fg input, .fg select, .fg textarea { padding: 10px 14px; border: 1.5px solid var(--grey-bd); border-radius: var(--radius); font-size: 0.88rem; font-family: var(--font-body); background: var(--off-white); color: var(--dark); transition: border-color var(--transition), background var(--transition); -webkit-appearance: none; appearance: none; }
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: var(--dark); background: var(--white); }
.fg textarea { resize: vertical; min-height: 90px; }
.form-submit { width: 100%; background: var(--dark); color: var(--white); border: none; padding: 14px; font-size: 0.85rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; border-radius: 50px; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; transition: background var(--transition), transform var(--transition); }
.form-submit:hover { background: var(--mid); transform: translateY(-1px); }
.form-success { text-align: center; padding: 30px 20px; }
.form-success i { font-size: 3rem; color: var(--dark); margin-bottom: 16px; display: block; }
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--grey); font-size: 0.9rem; margin-bottom: 6px; }

.preview-header { background: var(--dark-2); color: var(--white); padding: 12px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--dark-3); flex-shrink: 0; }
.preview-header h3 { margin: 0; font-size: 0.95rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.preview-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.preview-actions a { color: var(--white); padding: 5px 14px; border-radius: 4px; background: var(--mid); font-size: 0.78rem; white-space: nowrap; transition: background var(--transition); }
.preview-actions a:hover { background: var(--grey); }
.preview-close { background: none; border: none; color: var(--white); font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 0 4px; transition: color var(--transition); }
.preview-close:hover { color: var(--grey-lt); }
.preview-body { flex: 1; position: relative; background: var(--white); overflow: hidden; }
.preview-body iframe { width: 100%; height: 100%; border: none; }

/* App Soon Modal */
.app-soon-modal { display: none; position: fixed; inset: 0; z-index: 1200; align-items: center; justify-content: center; padding: 20px; }
.app-soon-modal.open { display: flex; }
.app-soon-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.app-soon-box { position: relative; background: var(--white); border-radius: 8px; max-width: 520px; width: 100%; max-height: 92vh; overflow-y: auto; padding: 48px 40px 36px; text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); animation: appSoonPop 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2); -webkit-overflow-scrolling: touch; }
@keyframes appSoonPop { from { opacity: 0; transform: translateY(20px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.app-soon-close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 2rem; line-height: 1; color: var(--grey); cursor: pointer; transition: color var(--transition), transform var(--transition); }
.app-soon-close:hover { color: var(--dark); transform: rotate(90deg); }
.app-soon-icon { width: 80px; height: 80px; margin: 0 auto 20px; background: var(--off-white); border: 1px solid var(--grey-bd); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--dark); animation: appSoonPulse 2s ease-in-out infinite; }
@keyframes appSoonPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0.08); } 50% { box-shadow: 0 0 0 12px rgba(0,0,0,0); } }
.app-soon-badge { display: inline-block; background: var(--dark); color: var(--white); font-family: var(--font-body); font-size: 0.62rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 5px 14px; border-radius: 50px; margin-bottom: 18px; }
.app-soon-box h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 400; text-transform: uppercase; letter-spacing: 2px; color: var(--dark); line-height: 1; margin-bottom: 16px; }
.app-soon-desc { font-family: var(--font-body); font-size: 0.88rem; color: var(--grey); line-height: 1.7; margin-bottom: 28px; }
.app-soon-desc strong { color: var(--dark); font-weight: 700; }
.app-soon-platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.app-soon-platform { background: var(--off-white); border: 1px solid var(--grey-bd); border-radius: var(--radius); padding: 18px 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: background var(--transition), border-color var(--transition); }
.app-soon-platform:hover { background: var(--white); border-color: var(--dark); }
.app-soon-platform i { font-size: 1.6rem; color: var(--dark); margin-bottom: 4px; }
.app-soon-platform span { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; color: var(--dark); letter-spacing: 0.5px; }
.app-soon-platform small { font-family: var(--font-body); font-size: 0.62rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grey); }
.app-soon-note { display: flex; align-items: flex-start; gap: 10px; background: var(--off-white); border: 1px solid var(--grey-bd); border-radius: var(--radius); padding: 14px 18px; font-family: var(--font-body); font-size: 0.78rem; color: var(--grey); line-height: 1.6; text-align: left; margin-bottom: 28px; }
.app-soon-note i { color: var(--dark); font-size: 0.9rem; margin-top: 2px; flex-shrink: 0; }
.app-soon-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.app-soon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; border-radius: var(--radius); cursor: pointer; transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition); text-decoration: none; border: 2px solid transparent; }
.app-soon-btn--primary { background: var(--dark); color: var(--white); border-color: var(--dark); }
.app-soon-btn--primary:hover { background: var(--mid); border-color: var(--mid); transform: translateY(-1px); }
.app-soon-btn--outline { background: transparent; color: var(--dark); border-color: var(--grey-bd); }
.app-soon-btn--outline:hover { border-color: var(--dark); background: var(--off-white); transform: translateY(-1px); }


/* ============================================================
   6. [GLOBAL] UTILIDADES (logo, imágenes)
   ============================================================ */
.logo-img, .footer-logo-img { width: 40px; height: 40px; max-width: 40px; object-fit: contain; }

/* Regla limpia en lugar de la regla global agresiva */
.editorial-img img, .webby-img img, .hero-slide img, .intro-strip img, .services-section img, .info-strip img, footer img { 
    transition: none !important; 
    transform: none !important; 
    border: none !important; 
    outline: none !important; 
    box-shadow: none !important; 
    border-radius: 0 !important; 
}
.editorial-img img:hover, .webby-img img:hover, [class*="img"]:hover img, [class*="image"]:hover img { transform: none !important; scale: 1 !important; }
img[src*=".png"] { background: transparent !important; mix-blend-mode: normal !important; }
.editorial-img, .webby-img { border-radius: 0 !important; overflow: visible !important; box-shadow: none !important; }
.info-box, .feature-card, .preventivo-img { box-shadow: none !important; }
[class*="-img"] { border-radius: 0 !important; box-shadow: none !important; }


/* ============================================================
   7. [GLOBAL] FOOTER
   ============================================================ */
   
.site-footer { background: var(--near-black); color: var(--grey-lt); }
.footer-top { height: 4px; background: linear-gradient(90deg, var(--white), var(--grey), var(--white)); }
.footer-middle { padding: 60px 0 40px; }
.footer-cols { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.footer-col h3 { font-size: 0.85rem; font-weight: 700; color: var(--white); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--dark-3); }
.footer-articles { display: flex; flex-direction: column; gap: 0; }
.footer-articles li { padding: 12px 0; border-bottom: 1px solid var(--dark-3); }
.footer-articles li:last-child { border-bottom: none; }
.footer-articles a { color: var(--grey-lt); font-size: 0.82rem; font-weight: 500; display: block; margin-bottom: 4px; transition: color var(--transition); }
.footer-articles a:hover { color: var(--white); }
.footer-articles p { font-size: 0.75rem; color: var(--grey); line-height: 1.5; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.footer-contact li a, .footer-contact li span { color: var(--grey-lt); font-size: 0.82rem; display: flex; align-items: center; gap: 10px; transition: color var(--transition); }
.footer-contact li a:hover { color: var(--white); }
.footer-contact i { width: 16px; color: var(--grey); }
.footer-work-title { font-size: 0.85rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.footer-social { display: flex; gap: 10px; }
.fsoc { width: 38px; height: 38px; border-radius: 50%; background: var(--dark-3); display: flex; align-items: center; justify-content: center; color: var(--grey-lt); font-size: 0.9rem; transition: background var(--transition), color var(--transition), transform var(--transition); }
.fsoc:hover { transform: translateY(-3px); color: var(--white); }
.fsoc.facebook:hover  { background: #1877f2; }
.fsoc.instagram:hover { background: #e4405f; }
.fsoc.whatsapp:hover  { background: #25d366; }
.fsoc.linkedin:hover  { background: #0a66c2; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-mark { width: 32px; height: 32px; background: var(--white); color: var(--black); font-family: var(--font-logo); font-size: 1rem; font-weight: 900; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); }
.footer-logo-text { font-family: var(--font-logo); font-size: 0.85rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 1px; }
.footer-logo-text em { color: var(--grey-lt); font-style: normal; }
.footer-col > p { font-size: 0.8rem; color: var(--grey); line-height: 1.7; text-align: justify; margin-bottom: 14px; }
.footer-more-link { color: var(--grey-lt); font-size: 0.78rem; font-weight: 500; border-bottom: 1px solid var(--dark-3); padding-bottom: 2px; transition: color var(--transition), border-color var(--transition); cursor: pointer; }
.footer-more-link:hover { color: var(--white); border-color: var(--white); }
.footer-copyright { background: var(--black); padding: 20px 0; border-top: 1px solid var(--dark-3); }
.copyright-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: flex; flex-direction: column; gap: 5px; }
.copyright-inner p { font-size: 0.72rem; color: var(--grey); line-height: 1.6; }
.copyright-inner a { color: var(--grey-lt); transition: color var(--transition); }
.copyright-inner a:hover { color: var(--white); }


/* ============================================================
   8. [GLOBAL] REVEAL ON SCROLL
   ============================================================ */
.port-cta.reveal h2,
.port-cta.reveal p,
.port-cta.reveal .port-cta-btns,
.cta-banner.reveal h2,
.cta-banner.reveal .btn-hero-primary {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.port-cta.reveal h2 { transition-delay: 0.1s; }
.port-cta.reveal p { transition-delay: 0.25s; }
.port-cta.reveal .port-cta-btns { transition-delay: 0.4s; }
.cta-banner.reveal h2 { transition-delay: 0.1s; }
.cta-banner.reveal .btn-hero-primary { transition-delay: 0.25s; }

.port-cta.reveal.in-view h2,
.port-cta.reveal.in-view p,
.port-cta.reveal.in-view .port-cta-btns,
.cta-banner.reveal.in-view h2,
.cta-banner.reveal.in-view .btn-hero-primary {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .port-cta.reveal h2,
    .port-cta.reveal p,
    .port-cta.reveal .port-cta-btns,
    .cta-banner.reveal h2,
    .cta-banner.reveal .btn-hero-primary {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* ============================================================
   9. [GLOBAL] PAGE HERO (compartido)
   ============================================================ */
.page-hero { margin-top: var(--header-h); background: #050505; position: relative; overflow: hidden; padding: 80px 0 70px; border-bottom: 1px solid var(--dark-3); background-color: #0a0a0c !important; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.65) 60%, rgba(0,0,0,0.45) 100%); pointer-events: none; z-index: 1; }
.page-hero-inner { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.page-eyebrow { font-size: 0.72rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--grey-lt); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.page-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--grey-lt); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(4rem, 9vw, 8rem); font-weight: 400; line-height: 0.92; letter-spacing: 2px; text-transform: uppercase; color: var(--white); margin-bottom: 24px; }
.page-hero-desc { font-size: 1rem; line-height: 1.75; color: rgba(255,255,255,0.55); max-width: 580px; font-weight: 300; }
.hero-cta { margin-top: 30px; }
.breadcrumb-bar { max-width: 1280px; margin: 32px auto 0; padding: 18px 40px 0; display: flex; align-items: center; gap: 8px; font-size: 0.72rem; color: var(--grey); letter-spacing: 0.5px; position: relative; z-index: 2; }
.breadcrumb-bar a { color: var(--grey-lt); transition: color var(--transition); }
.breadcrumb-bar a:hover { color: var(--white); }
.breadcrumb-bar i { font-size: 0.6rem; opacity: 0.5; }
.breadcrumb-hidden { opacity: 0; pointer-events: none; }


/* ============================================================
   10. [PÁGINA: INDEX]
   Hero slider + intro + services + editorial + webby + info strip
   + hero canvas + mockups
   ============================================================ */

/* Hero slider */
.hero-section { position: relative; height: 100svh; min-height: 600px; overflow: hidden; margin-top: var(--header-h); background-color: #0a0a0c !important; }
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; opacity: 0; transition: opacity 0.8s ease; display: flex; align-items: center; background-color: #050505 !important; background-image: radial-gradient(#222 1px, transparent 1px) !important; background-size: 20px 20px !important; }
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.35) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 0 60px; width: 100%; color: var(--white); }
.hero-eyebrow { font-size: 0.75rem; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--grey-lt); margin-bottom: 16px; opacity: 0; transform: translateY(20px); animation: fadeUp 0.7s ease 0.2s forwards; }
.hero-slide.active .hero-eyebrow { animation-play-state: running; }
.hero-slide h1 { font-family: var(--font-display); font-size: clamp(3.5rem, 8vw, 7rem); font-weight: 400; line-height: 0.95; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 24px; opacity: 0; transform: translateY(30px); animation: fadeUp 0.7s ease 0.35s forwards; }
.hero-desc { font-size: clamp(0.9rem, 1.5vw, 1.05rem); line-height: 1.7; max-width: 600px; color: rgba(255,255,255,0.8); margin-bottom: 36px; opacity: 0; transform: translateY(20px); animation: fadeUp 0.7s ease 0.5s forwards; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; transform: translateY(20px); animation: fadeUp 0.7s ease 0.65s forwards; }
.btn-hero-primary { background: var(--white); color: var(--black); border: 2px solid var(--white); padding: 13px 32px; font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; border-radius: var(--radius); transition: background var(--transition), color var(--transition), transform var(--transition); }
.btn-hero-primary:hover { background: transparent; color: var(--white); transform: translateY(-2px); }
.btn-hero-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); padding: 13px 32px; font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; border-radius: var(--radius); display: inline-flex; align-items: center; transition: border-color var(--transition), background var(--transition), transform var(--transition); }
.btn-hero-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); transform: translateY(-2px); }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.hero-nav { position: absolute; bottom: 36px; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 16px; z-index: 10; }
.hero-arrow { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); color: var(--white); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; cursor: pointer; transition: background var(--transition), transform var(--transition); }
.hero-arrow:hover { background: rgba(255,255,255,0.25); transform: scale(1.08); }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35); border: none; cursor: pointer; transition: background var(--transition), width var(--transition), border-radius var(--transition); }
.hero-dot.active { width: 28px; border-radius: 4px; background: var(--white); }
.hero-scroll { position: absolute; bottom: 36px; right: 60px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.5); font-size: 0.65rem; letter-spacing: 2px; z-index: 10; animation: bounce 2s ease-in-out infinite; }
.hero-scroll span { display: block; width: 1px; height: 40px; background: rgba(255,255,255,0.3); }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

#hero-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-slide { background-image: none !important; background-color: transparent !important; z-index: 1; }
.hero-overlay { background: linear-gradient(135deg, rgba(10, 10, 12, 0.6) 0%, rgba(10, 10, 12, 0.1) 100%) !important; z-index: 1; }
.hero-content { position: relative; z-index: 2; }

/* Intro strip */
.intro-strip { background: var(--off-white); padding: 50px 0; border-bottom: 1px solid var(--grey-bd); }
.intro-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 80px 1fr 60px; gap: 30px; align-items: center; }
.intro-icon { font-size: 2.8rem; color: var(--dark); text-align: center; }
.intro-text h2 { font-family: var(--font-body); font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.3; }
.intro-text p { font-size: 0.9rem; color: var(--grey); line-height: 1.7; }
.intro-arrow { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--dark); display: flex; align-items: center; justify-content: center; color: var(--dark); font-size: 1rem; transition: background var(--transition), color var(--transition); }
.intro-arrow:hover { background: var(--dark); color: var(--white); }

/* Services section */
.services-section { background: var(--off-white); padding: 80px 0; border-top: 1px solid var(--grey-bd); border-bottom: 1px solid var(--grey-bd); }
.services-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 400; text-transform: uppercase; letter-spacing: 2px; color: var(--dark); margin-bottom: 10px; }
.section-header p { font-size: 1rem; color: var(--grey); }
.section-header--light h2 { color: var(--white); }
.section-header--light p  { color: rgba(255,255,255,0.6); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--grey-bd); }
.sbox { display: flex; flex-direction: column; padding: 28px 24px; border-right: 1px solid var(--grey-bd); border-bottom: 1px solid var(--grey-bd); background: var(--white); transition: background var(--transition), transform var(--transition), box-shadow var(--transition); cursor: pointer; text-decoration: none; color: inherit; }
.sbox:nth-child(4n) { border-right: none; }
.sbox:hover { background: var(--dark); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); z-index: 1; }
.sbox:hover h3, .sbox:hover h4, .sbox:hover p { color: var(--white); }
.sbox:hover i { color: var(--white); }
.sbox i { font-size: 1.8rem; color: var(--dark-3); margin-bottom: 14px; transition: color var(--transition); }
.sbox h3 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; transition: color var(--transition); }
.sbox h4 { font-size: 0.75rem; font-weight: 500; color: var(--grey); margin-bottom: 10px; transition: color var(--transition); }
.sbox p { font-size: 0.78rem; color: var(--grey); line-height: 1.55; flex: 1; transition: color var(--transition); }

/* Editorial section */
.editorial-section { background: var(--white); padding: 0; }
.editorial-block { max-width: 1280px; margin: 0 auto; padding: 70px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; border-bottom: 1px solid var(--grey-bd); }
.editorial-block--reverse { direction: rtl; }
.editorial-block--reverse > * { direction: ltr; }
.editorial-text h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; color: var(--dark); letter-spacing: -2px; line-height: 1.05; margin-bottom: 14px; }
.editorial-text h3 { font-size: 0.95rem; font-weight: 500; color: var(--grey); line-height: 1.6; margin-bottom: 20px; }
.editorial-text p { font-size: 0.88rem; color: var(--grey); line-height: 1.75; margin-bottom: 16px; text-align: justify; }
.editorial-text p:last-of-type { margin-bottom: 28px; }
.text-link { color: var(--dark); font-weight: 600; border-bottom: 1px solid var(--dark); }
.text-link:hover { opacity: 0.6; }
.btn-editorial { display: inline-block; background: var(--dark); color: var(--white); padding: 11px 28px; font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; border-radius: 50px; border: 2px solid var(--dark); transition: background var(--transition), color var(--transition), transform var(--transition); }
.btn-editorial:hover { background: transparent; color: var(--dark); transform: translateY(-2px); }
.editorial-img { border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); background: transparent !important; box-shadow: none !important; border: none !important; display: flex; justify-content: center; align-items: center; }
.editorial-img img { width: 100%; height: 380px; object-fit: cover; display: block; transition: transform 0.5s ease; }
.editorial-img:hover img { transform: scale(1.03); }

/* Webby section */
.webby-section { background: var(--off-white); padding: 80px 0; border-top: 1px solid var(--grey-bd); border-bottom: 1px solid var(--grey-bd); }
.webby-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.webby-text h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; color: var(--dark); letter-spacing: -1px; margin-bottom: 30px; }
.webby-list { display: flex; flex-direction: column; gap: 0; }
.webby-list li { padding: 20px 0; border-bottom: 1px solid var(--grey-bd); }
.webby-list li:last-child { border-bottom: none; }
.webby-list h4 { font-size: 0.9rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.webby-list h4 i { color: var(--grey); font-size: 0.85rem; }
.webby-list p { font-size: 0.83rem; color: var(--grey); line-height: 1.7; padding-left: 24px; }
.webby-img { border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); position: sticky; top: 90px; background: transparent !important; box-shadow: none !important; border: none !important; display: flex; justify-content: center; align-items: center; padding: 20px; }
.webby-img img { width: 100%; height: 500px; object-fit: cover; }
.webby-img .visual-mockup { box-shadow: 0 30px 70px rgba(0, 0, 0, 0.08); border: 1px solid var(--grey-bd); }

/* Info strip (compartido index/download) */
.info-strip { background: var(--dark-2); padding: 50px 0; }
.info-strip-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.info-box { padding: 30px; border: 1px solid var(--dark-3); border-radius: var(--radius); background: var(--dark-3); transition: background var(--transition), border-color var(--transition); }
.info-box:hover { background: var(--mid); border-color: var(--mid); }
.info-box h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.info-box p { font-size: 0.83rem; color: var(--grey-lt); line-height: 1.65; margin-bottom: 16px; }
.info-link { display: inline-block; color: var(--white); font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 2px; transition: border-color var(--transition); cursor: pointer; }
.info-link:hover { border-color: var(--white); }

/* Código del editor */
.code-line { transform-origin: left; opacity: 0; transform: translateX(-10px); }


/* ============================================================
   11. [PÁGINA: CHI-SIAMO]
   stats strip + values + whyus + dashboard + fondo 2D + laptop
   ============================================================ */
.stats-strip { background: var(--white); border-bottom: 1px solid var(--grey-bd); }
.stats-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 44px 40px; border-right: 1px solid var(--grey-bd); display: flex; flex-direction: column; gap: 4px; }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--font-display); font-size: 3.2rem; color: var(--dark); line-height: 1; letter-spacing: 1px; }
.stat-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grey); margin-bottom: 4px; }
.stat-desc { font-size: 0.78rem; color: var(--grey-lt); line-height: 1.5; }
.values-section { background: var(--near-black); padding: 80px 0; border-top: 1px solid var(--dark-3); border-bottom: 1px solid var(--dark-3); }
.values-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.values-section .section-header h2 { color: var(--white); }
.values-section .section-header p { color: rgba(255,255,255,0.45); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--dark-3); }
.vbox { padding: 36px 30px; border-right: 1px solid var(--dark-3); border-bottom: 1px solid var(--dark-3); background: var(--dark); position: relative; overflow: hidden; }
.vbox::after { content: attr(data-num); font-family: var(--font-display); font-size: 6rem; color: rgba(255,255,255,0.03); position: absolute; bottom: -10px; right: 10px; line-height: 1; pointer-events: none; }
.vbox:nth-child(3n) { border-right: none; }
.vbox i { font-size: 1.5rem; color: var(--white); margin-bottom: 18px; opacity: 0.7; }
.vbox h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--white); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; font-weight: 400; }
.vbox p { font-size: 0.8rem; color: rgba(255,255,255,0.45); line-height: 1.7; }
.whyus-section { background: var(--white); padding: 80px 0; border-top: 1px solid var(--grey-bd); border-bottom: 1px solid var(--grey-bd); }
.whyus-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.whyus-text h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; color: var(--dark); letter-spacing: -2px; line-height: 1.05; margin-bottom: 10px; }
.whyus-text .sub { font-size: 0.88rem; color: var(--grey); line-height: 1.7; margin-bottom: 36px; }
.whyus-list { display: flex; flex-direction: column; }
.whyus-item { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--grey-bd); }
.whyus-item:first-child { border-top: 1px solid var(--grey-bd); }
.whyus-icon { width: 42px; height: 42px; background: var(--dark); flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); }
.whyus-icon i { color: var(--white); font-size: 1rem; }
.whyus-content h4 { font-size: 0.88rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.whyus-content p { font-size: 0.78rem; color: var(--grey); line-height: 1.6; }
.whyus-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ws-card { background: var(--off-white); border: 1px solid var(--grey-bd); padding: 30px 24px; display: flex; flex-direction: column; gap: 4px; }
.ws-card:nth-child(2) { background: var(--dark); border-color: var(--dark); }
.ws-card:nth-child(2) .ws-num { color: var(--white); }
.ws-card:nth-child(2) .ws-label { color: rgba(255,255,255,0.5); }
.ws-num { font-family: var(--font-display); font-size: 3rem; color: var(--dark); line-height: 1; letter-spacing: 1px; }
.ws-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grey); }

/* Mockup del portátil */
.mockup-visual-container { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 400px; }
.laptop-mockup { position: relative; width: 100%; max-width: 500px; perspective: 1000px; }
.laptop-screen { background: #050505; border: 8px solid #222; border-radius: 12px 12px 0 0; height: 320px; position: relative; overflow: hidden; box-shadow: 0 0 0 1px #333, inset 0 0 20px rgba(0,0,0,0.8); }
.terminal-body { padding: 32px 40px; font-family: 'Courier New', Courier, monospace; font-size: 0.8rem; line-height: 1.9; color: #ffffff; height: 100%; overflow: hidden; word-wrap: break-word; white-space: pre-wrap; text-shadow: 0 0 2px rgba(255,255,255,0.3); }
.terminal-line { margin-bottom: 8px; white-space: nowrap; overflow: hidden; opacity: 0; border-right: 2px solid #fff; animation: typing 1.5s steps(30, end) forwards, blink-caret 0.75s step-end infinite; }
.laptop-base { background: #111; height: 20px; border-radius: 0 0 12px 12px; position: relative; transform: rotateX(60deg); transform-origin: top; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.laptop-base::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 6px; background: #222; border-radius: 0 0 6px 6px; }
@keyframes typing { from { width: 0; opacity: 1; } to { width: 100%; opacity: 1; } }
@keyframes blink-caret { from, to { border-color: transparent; } 50% { border-color: #fff; } }
#donut-fill { transition: background 0.1s linear; }

/* Fondo animado 2D */
.bg-2d-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: hidden; display: grid; grid-template-columns: repeat(10, 1fr); grid-template-rows: repeat(8, 1fr); gap: 10px; padding: 20px; box-sizing: border-box; }
.bg-2d-block { background: rgba(40, 40, 45, 0.4); border: 1px solid rgba(100, 100, 110, 0.2); border-radius: 6px; animation: pulseBlock 5s ease-in-out infinite alternate; will-change: transform, opacity; }
@keyframes pulseBlock {
    0% { transform: scale(0.9); opacity: 0.3; background: rgba(30, 30, 35, 0.4); }
    100% { transform: scale(1.05); opacity: 0.8; background: rgba(50, 50, 55, 0.6); border-color: rgba(150, 150, 160, 0.4); }
}
.page-hero-inner, .breadcrumb-bar { position: relative; z-index: 2; }

/* Vbox reveal */
.vbox.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.vbox.reveal.in-view { opacity: 1; transform: translateY(0); }
.vbox.reveal::after { opacity: 0; transition: opacity 1.2s ease 0.3s; }
.vbox.reveal.in-view::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    .vbox.reveal, .vbox.reveal::after { opacity: 1; transform: none; transition: none; }
}


/* ============================================================
   12. [PÁGINA: PROGETTI]
   port-stats + featured + filter + grid + rubik + cta
   + construcción + demos + construction-loader
   ============================================================ */
.port-stats { background: var(--white); border-bottom: 1px solid var(--grey-bd); }
.port-stats-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.port-stat { padding: 40px 36px; border-right: 1px solid var(--grey-bd); display: flex; flex-direction: column; gap: 4px; }
.port-stat:last-child { border-right: none; }
.port-stat-num { font-family: var(--font-display); font-size: 3rem; color: var(--dark); line-height: 1; letter-spacing: 1px; }
.port-stat-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grey); }

/* Featured project */
.featured-section { background: var(--near-black); padding: 0; border-bottom: 1px solid var(--dark-3); }
.featured-inner { max-width: 1280px; margin: 0 auto; }
.featured-block { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.featured-visual { background: var(--dark-2); position: relative; overflow: hidden; }
.featured-visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.featured-placeholder { width: 100%; height: 100%; min-height: 520px; display: flex; align-items: center; justify-content: center; font-size: 5rem; color: rgba(255,255,255,0.08); }
.featured-badge { position: absolute; top: 24px; left: 24px; background: var(--white); color: var(--black); font-family: var(--font-body); font-size: 0.6rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; padding: 6px 16px; border-radius: 2px; }
.featured-info { padding: 60px 56px; display: flex; flex-direction: column; justify-content: center; gap: 0; }
.featured-cat { font-size: 0.68rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--grey-lt); margin-bottom: 12px; }
.featured-title { font-family: var(--font-display); font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 400; color: var(--white); letter-spacing: 2px; text-transform: uppercase; line-height: 1; margin-bottom: 20px; }
.featured-desc { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.8; margin-bottom: 28px; font-weight: 300; }
.featured-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.featured-tag { background: var(--dark-3); border: 1px solid var(--mid); color: var(--grey-lt); font-size: 0.62rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 14px; border-radius: 2px; }
.btn-featured { display: inline-flex; align-items: center; gap: 10px; background: var(--white); color: var(--black); font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 12px 28px; border: none; cursor: pointer; text-decoration: none; width: fit-content; transition: background var(--transition); border-radius: var(--radius); }
.btn-featured:hover { background: var(--grey-bd); }

/* Filter bar */
.filter-bar { background: var(--white); border-bottom: 1px solid var(--grey-bd); position: sticky; top: 0; z-index: 50; transition: top 0.35s ease; }
.filter-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; }
.filter-inner::-webkit-scrollbar { display: none; }
.filter-btn { background: none; border: none; border-bottom: 2px solid transparent; padding: 16px 20px; font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--grey); cursor: pointer; white-space: nowrap; flex-shrink: 0; }
.filter-btn:hover { color: var(--dark); }
.filter-btn.active { color: var(--dark); border-bottom-color: var(--dark); }

/* Portfolio grid */
.portfolio-section { background: var(--off-white); padding: 60px 0 80px; border-bottom: 1px solid var(--grey-bd); }
.portfolio-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.portfolio-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--grey-bd); }
.portfolio-count { font-size: 0.78rem; color: var(--grey); font-weight: 500; }
.portfolio-count strong { color: var(--dark); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--grey-bd); }
.project-card { background: var(--white); border-right: 1px solid var(--grey-bd); border-bottom: 1px solid var(--grey-bd); display: flex; flex-direction: column; overflow: hidden; cursor: pointer; transition: box-shadow var(--transition), transform 0.3s ease; text-decoration: none; color: inherit; }
.project-card:nth-child(3n) { border-right: none; }
.project-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); z-index: 2; transform: translateY(-4px); }
.project-card.hidden { display: none; }
.project-thumb { position: relative; aspect-ratio: 16/9; background: var(--off-white); overflow: hidden; }
.project-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: rgba(255,255,255,0.5); }
.project-cat { position: absolute; top: 16px; left: 16px; background: var(--black); color: var(--white); font-family: var(--font-body); font-size: 0.6rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 12px; border-radius: 2px; }
.project-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; border-top: 3px solid transparent; transition: border-color var(--transition); }
.project-card:hover .project-body { border-color: var(--dark); }
.project-client { font-size: 0.62rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--grey); margin-bottom: 6px; }
.project-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dark); line-height: 1.1; margin-bottom: 10px; }
.project-desc { font-size: 0.78rem; color: var(--grey); line-height: 1.65; flex: 1; margin-bottom: 18px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.project-tag { background: var(--off-white); border: 1px solid var(--grey-bd); color: var(--grey); font-size: 0.6rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; }
.project-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--grey-bd); }
.project-year { font-size: 0.7rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--grey); }
.project-link { display: flex; align-items: center; gap: 6px; font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--dark); text-decoration: none; }
.project-card.featured { grid-column: span 2; }
.project-card.featured .project-thumb { aspect-ratio: 21/9; }
.project-card.featured .project-title { font-size: 2rem; }
.portfolio-empty { display: none; text-align: center; padding: 80px 20px; grid-column: 1 / -1; border: 1px dashed var(--grey-bd); }

/* Process section con Rubik */
.process-section-rubik { background: var(--off-white); padding: 80px 0; border-top: 1px solid var(--grey-bd); border-bottom: 1px solid var(--grey-bd); overflow: visible; }
.process-inner-rubik { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.process-text-rubik h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; color: var(--dark); letter-spacing: -1px; margin-bottom: 10px; }
.process-text-rubik .sub { font-size: 0.88rem; color: var(--grey); line-height: 1.7; margin-bottom: 32px; }
.process-steps-rubik { display: flex; flex-direction: column; }
.process-step-rubik { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--grey-bd); }
.process-step-rubik:first-child { border-top: 1px solid var(--grey-bd); }
.process-num-rubik { font-family: var(--font-display); font-size: 2rem; color: var(--grey-bd); line-height: 1; flex-shrink: 0; width: 48px; }
.process-step-content-rubik h4 { font-size: 0.9rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.process-step-content-rubik p { font-size: 0.78rem; color: var(--grey); line-height: 1.6; }
.process-visual-rubik { position: sticky; top: 90px; align-self: flex-start; min-height: 600px; display: flex; align-items: center; justify-content: center; }
.rubik-scene { width: 100%; height: 100%; min-height: 550px; display: flex; align-items: center; justify-content: center; perspective: 1400px; }
.rubik-cube { --cubie-size: 64px; position: relative; width: 1px; height: 1px; transform-style: preserve-3d; }
.rubik-layer, .rubik-layer-rotor { position: absolute; top: 0; left: 0; transform-style: preserve-3d; }
.cubie { position: absolute; top: 0; left: 0; width: var(--cubie-size); height: var(--cubie-size); margin: calc(var(--cubie-size) / -2) 0 0 calc(var(--cubie-size) / -2); transform-style: preserve-3d; will-change: transform; }
.cubie .face { position: absolute; width: var(--cubie-size); height: var(--cubie-size); border: 2px solid rgba(0,0,0,0.55); border-radius: 4px; box-sizing: border-box; backface-visibility: hidden; }
.face-front  { transform: translateZ(calc(var(--cubie-size) / 2)); }
.face-back   { transform: rotateY(180deg) translateZ(calc(var(--cubie-size) / 2)); }
.face-right  { transform: rotateY(90deg) translateZ(calc(var(--cubie-size) / 2)); }
.face-left   { transform: rotateY(-90deg) translateZ(calc(var(--cubie-size) / 2)); }
.face-top    { transform: rotateX(90deg) translateZ(calc(var(--cubie-size) / 2)); }
.face-bottom { transform: rotateX(-90deg) translateZ(calc(var(--cubie-size) / 2)); }
.face-hidden { background: #161616; }

/* CTA final */
.port-cta { background: var(--dark); padding: 80px 40px; text-align: center; position: relative; overflow: hidden; }
.port-cta-inner { max-width: 720px; margin: 0 auto; }
.port-cta h2 { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 6rem); font-weight: 400; text-transform: uppercase; letter-spacing: 2px; color: var(--white); line-height: 0.95; margin-bottom: 20px; }
.port-cta p { font-size: 1rem; color: rgba(255,255,255,0.5); line-height: 1.75; margin-bottom: 36px; font-weight: 300; }
.port-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-pcta-primary { background: var(--white); color: var(--black); border: 2px solid var(--white); padding: 12px 32px; font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; border-radius: var(--radius); cursor: pointer; font-family: var(--font-body); text-decoration: none; display: inline-block; }
.btn-pcta-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.25); padding: 12px 32px; font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; border-radius: var(--radius); font-family: var(--font-body); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }

/* Portfolio en construcción */
.portfolio-construction { background: var(--white); padding: 90px 0 70px; border-bottom: 1px solid var(--grey-bd); }
.portfolio-construction-inner { max-width: 720px; margin: 0 auto; padding: 0 40px; text-align: center; }
.construction-icon { width: 72px; height: 72px; margin: 0 auto 24px; background: var(--off-white); border: 1px solid var(--grey-bd); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--dark); }
.construction-badge { display: inline-block; background: var(--dark); color: var(--white); font-family: var(--font-body); font-size: 0.65rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 6px 16px; border-radius: 50px; margin-bottom: 24px; }
.portfolio-construction h2 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 400; text-transform: uppercase; letter-spacing: 2px; color: var(--dark); line-height: 1.05; margin-bottom: 22px; }
.portfolio-construction p { font-size: 0.95rem; color: var(--grey); line-height: 1.8; margin-bottom: 28px; }
.portfolio-construction p strong { color: var(--dark); font-weight: 700; }
.construction-note { display: inline-flex; align-items: flex-start; gap: 10px; background: var(--off-white); border: 1px solid var(--grey-bd); border-radius: var(--radius); padding: 14px 20px; text-align: left; font-size: 0.8rem; color: var(--grey); line-height: 1.6; max-width: 520px; }
.construction-note i { color: var(--dark); font-size: 0.9rem; margin-top: 2px; flex-shrink: 0; }
.construction-loader { width: 100%; max-width: 320px; height: 2px; background: rgba(0, 0, 0, 0.1); border-radius: 2px; margin: 24px auto 28px; overflow: hidden; position: relative; }
.construction-loader-fill { width: 0%; height: 100%; background: var(--dark); border-radius: 2px; animation: loadLine 3s ease-in-out infinite; }
@keyframes loadLine {
    0% { width: 0%; opacity: 1; }
    50% { width: 100%; opacity: 1; }
    75% { width: 100%; opacity: 0; }
    100% { width: 0%; opacity: 0; }
}

/* Demo projects */
.demo-projects-section { background: var(--off-white); padding: 80px 0 90px; border-bottom: 1px solid var(--grey-bd); }
.demo-projects-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.demo-projects-header { max-width: 640px; margin-bottom: 50px; }
.demo-eyebrow { display: inline-block; font-family: var(--font-body); font-size: 0.68rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--grey); margin-bottom: 14px; position: relative; padding-left: 40px; }
.demo-eyebrow::before { content: ''; position: absolute; left: 0; top: 50%; width: 28px; height: 1px; background: var(--grey); }
.demo-projects-header h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; text-transform: uppercase; letter-spacing: 2px; color: var(--dark); line-height: 1.05; margin-bottom: 16px; }
.demo-projects-header p { font-size: 0.88rem; color: var(--grey); line-height: 1.75; }
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.demo-card { background: var(--white); border: 1px solid var(--grey-bd); border-radius: var(--radius); padding: 26px 24px 22px; display: flex; flex-direction: column; transition: box-shadow var(--transition), transform 0.3s ease, border-color var(--transition); position: relative; }
.demo-card:hover { box-shadow: 0 10px 36px rgba(0,0,0,0.1); transform: translateY(-4px); border-color: var(--dark); }
.demo-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.demo-tag { font-family: var(--font-body); font-size: 0.6rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; }
.demo-tag--interno { background: var(--dark); color: var(--white); }
.demo-tag--demo { background: var(--off-white); color: var(--dark); border: 1px solid var(--grey-bd); }
.demo-year { font-family: var(--font-body); font-size: 0.7rem; font-weight: 600; letter-spacing: 1px; color: var(--grey); }
.demo-card-icon { width: 44px; height: 44px; background: var(--off-white); border: 1px solid var(--grey-bd); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--dark); margin-bottom: 16px; transition: background var(--transition), color var(--transition); }
.demo-card:hover .demo-card-icon { background: var(--dark); color: var(--white); }
.demo-card h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; letter-spacing: 1px; text-transform: uppercase; color: var(--dark); line-height: 1.1; margin-bottom: 10px; }
.demo-card p { font-size: 0.8rem; color: var(--grey); line-height: 1.65; flex: 1; margin-bottom: 18px; }
.demo-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.demo-tech { background: var(--off-white); border: 1px solid var(--grey-bd); color: var(--grey); font-family: var(--font-body); font-size: 0.6rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; }
.demo-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dark); padding-top: 16px; border-top: 1px solid var(--grey-bd); transition: gap var(--transition), color var(--transition); }
.demo-link:hover { gap: 14px; color: var(--mid); }


/* ============================================================
   13. [PÁGINA: CONTACT]
   form + pricing + steps + include + faq + cta-banner
   ============================================================ */
.form-section { background: var(--off-white); padding: 70px 0; border-bottom: 1px solid var(--grey-bd); }
.form-section-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: flex-start; }
.form-side h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 400; text-transform: uppercase; letter-spacing: 1px; color: var(--dark); margin-bottom: 14px; }
.form-side p { font-size: 0.88rem; line-height: 1.75; color: var(--grey); margin-bottom: 18px; }
.trust-list { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.trust-item { display: flex; align-items: flex-start; gap: 12px; }
.trust-item i { color: var(--dark); font-size: 1rem; margin-top: 3px; }
.trust-item span { font-size: 0.85rem; color: var(--grey); line-height: 1.5; }
.form-card { background: var(--white); border: 1px solid var(--grey-bd); border-radius: 6px; padding: 36px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.form-card .form-sub { color: var(--grey); font-size: 0.85rem; margin-bottom: 24px; }
.pricing-section { background: var(--white); padding: 80px 0; }
.pricing-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.pricing-card { border: 1px solid var(--grey-bd); border-radius: 6px; padding: 30px 26px; display: flex; flex-direction: column; }
.pricing-tag { display: inline-block; font-size: 0.65rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grey); background: var(--off-white); padding: 4px 10px; border-radius: 50px; width: fit-content; margin-bottom: 16px; }
.pricing-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.pricing-from { font-size: 0.72rem; color: var(--grey); text-transform: uppercase; letter-spacing: 1px; }
.pricing-amount { font-family: var(--font-display); font-size: 2.2rem; color: var(--dark); margin: 2px 0 14px; }
.pricing-card > p { font-size: 0.82rem; color: var(--grey); line-height: 1.6; margin-bottom: 18px; }
.pricing-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; flex: 1; }
.pricing-card ul li { font-size: 0.8rem; color: var(--grey); padding-left: 20px; position: relative; }
.pricing-card ul li::before { content: '\2713'; position: absolute; left: 0; color: var(--dark); font-weight: 700; font-size: 0.75rem; }
.steps-section { background: var(--off-white); padding: 80px 0; border-top: 1px solid var(--grey-bd); border-bottom: 1px solid var(--grey-bd); }
.steps-inner { max-width: 900px; margin: 0 auto; padding: 0 40px; }
.step-row { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--grey-bd); }
.step-row:last-child { border-bottom: none; }
.step-num { font-family: var(--font-display); font-size: 2.2rem; color: var(--grey-bd); line-height: 1; }
.step-row h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.step-row p { font-size: 0.85rem; color: var(--grey); line-height: 1.75; }
.include-section { background: var(--white); padding: 80px 0; }
.include-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.include-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.include-card i { font-size: 1.4rem; color: var(--dark); margin-bottom: 14px; display: block; }
.include-card h3 { font-size: 0.98rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.include-card p { font-size: 0.83rem; color: var(--grey); line-height: 1.7; }
.faq-section { background: var(--off-white); padding: 80px 0; border-top: 1px solid var(--grey-bd); }
.faq-inner { max-width: 860px; margin: 0 auto; padding: 0 40px; }
.faq-item { border-bottom: 1px solid var(--grey-bd); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 0; font-size: 0.92rem; font-weight: 600; color: var(--dark); display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--grey); flex-shrink: 0; }
.faq-item p { font-size: 0.85rem; color: var(--grey); line-height: 1.75; padding-bottom: 22px; padding-right: 30px; }
.cta-banner { background: var(--dark); padding: 60px 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 400; text-transform: uppercase; letter-spacing: 1px; color: var(--white); margin-bottom: 22px; }
.cta-banner > h2, .cta-banner > .btn-hero-primary { position: relative; z-index: 2; }


/* ============================================================
   14. [PÁGINA: DOWNLOAD-APP]
   app-hero + canvas + features + download split + dl-stats
   ============================================================ */
.app-hero { min-height: 100vh; background: #000; display: flex; align-items: center; padding: 2rem 1.5rem 4rem; position: relative; overflow: hidden; margin-top: var(--header-h); }
#app-hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
.app-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0) 30%),
        linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 60%),
        radial-gradient(ellipse at 50% 55%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.85) 100%);
}
.app-hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 2; }
.app-hero-text .eyebrow { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #888; margin-bottom: 1rem; display: block; }
.app-hero-text h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(3.5rem, 7vw, 6rem); line-height: 0.95; color: #fff; margin-bottom: 1rem; letter-spacing: 0.02em; font-weight: 400; }
.app-hero-text p { font-family: 'DM Sans', sans-serif; font-size: 1rem; color: #999; line-height: 1.7; max-width: 440px; margin-bottom: 1.8rem; }
.hero-badges { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badge-link { display: block; }
.hero-badge-img { height: 52px; width: auto; }
.app-hero-visual { display: flex; justify-content: center; align-items: flex-end; }
.app-hero-visual img { max-width: 100%; max-height: 620px; width: auto; object-fit: contain; filter: drop-shadow(0 40px 80px rgba(0,0,0,0.6)); }
.app-features { background: #0a0a0a; border-top: 1px solid #1a1a1a; border-bottom: 1px solid #1a1a1a; padding: 4rem 1.5rem; }
.app-features-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feat-item { text-align: center; }
.feat-icon { width: 56px; height: 56px; border-radius: 14px; border: 1px solid #222; background: #111; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.feat-icon i { font-size: 1.4rem; color: #fff; }
.feat-item h4 { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; letter-spacing: 0.08em; color: #fff; margin-bottom: 0.5rem; font-weight: 400; }
.feat-item p { font-family: 'DM Sans', sans-serif; font-size: 0.82rem; color: #666; line-height: 1.6; }
.download-section { background: #fff; padding: 5rem 1.5rem; }
.download-block { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.dl-text h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.5rem, 5vw, 4rem); color: #000; margin-bottom: 1rem; line-height: 1.1; letter-spacing: 0.02em; font-weight: 400; }
.dl-text h3 { font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 500; color: #444; margin-bottom: 1rem; line-height: 1.5; }
.dl-text p { font-family: 'DM Sans', sans-serif; font-size: 0.88rem; color: #555; line-height: 1.7; margin-bottom: 1rem; }
.dl-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #e0e0e0; border-radius: 20px; overflow: hidden; }
.dl-stat { background: #f9f9f9; padding: 2rem 1.5rem; text-align: center; }
.dl-stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; font-weight: 400; color: #000; margin-bottom: 0.4rem; letter-spacing: 0.02em; }
.dl-stat-label { font-family: 'DM Sans', sans-serif; font-size: 0.72rem; color: #666; text-transform: uppercase; letter-spacing: 0.1em; }


/* ============================================================
   15. [PÁGINA: SERVICES]
   hero + features strip + content + platforms + process-dark
   + process-line + inclusi + cta + variantes
   ============================================================ */
.service-hero { background: #050507; min-height: 60vh; display: flex; align-items: center; margin-top: var(--header-h); position: relative; overflow: hidden; }
#hero-cubes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
.service-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.10) 100%); pointer-events: none; z-index: 1; }
.service-hero-inner { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 80px 60px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.service-hero-text .breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--grey); margin-bottom: 24px; }
.breadcrumb a { color: var(--grey-lt); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: 0.55rem; }
.service-hero-text h1 { font-family: var(--font-display); font-size: clamp(3.5rem, 7vw, 6.5rem); font-weight: 400; line-height: 0.92; letter-spacing: 2px; text-transform: uppercase; color: var(--white); margin-bottom: 28px; }
.service-hero-text h1 span { color: var(--grey-lt); }
.service-hero-text p { font-size: 1rem; color: rgba(255,255,255,0.7); line-height: 1.75; max-width: 500px; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary-dark { background: var(--white); color: var(--black); border: 2px solid var(--white); padding: 13px 32px; font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; border-radius: var(--radius); cursor: pointer; transition: background 0.3s, color 0.3s, transform 0.3s; font-family: var(--font-body); }
.btn-primary-dark:hover { background: transparent; color: var(--white); transform: translateY(-2px); }
.btn-outline-dark { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); padding: 13px 32px; font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; border-radius: var(--radius); cursor: pointer; transition: border-color 0.3s, background 0.3s, transform 0.3s; font-family: var(--font-body); text-decoration: none; display: inline-flex; align-items: center; }
.btn-outline-dark:hover { border-color: var(--white); background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-dark-solid { background: var(--black); color: var(--white); border: 2px solid var(--black); padding: 13px 32px; font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; border-radius: var(--radius); cursor: pointer; transition: background 0.3s, color 0.3s, transform 0.3s; font-family: var(--font-body); display: inline-block; }
.btn-dark-solid:hover { background: transparent; color: var(--black); transform: translateY(-2px); }
.service-hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-box { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 28px 24px; border-radius: 4px; transition: background 0.3s, border-color 0.3s; }
.stat-box:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.25); }
.stat-box .num { font-family: var(--font-display); font-size: 3rem; color: var(--white); line-height: 1; margin-bottom: 8px; }
.stat-box p { font-size: 0.78rem; color: rgba(255,255,255,0.55); line-height: 1.5; margin: 0; }

/* Features strip */
.features-strip { background: var(--off-white); padding: 60px 0; border-bottom: 1px solid var(--grey-bd); }
.features-strip-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--grey-bd); }
.fstrip-item { padding: 30px 28px; border-right: 1px solid var(--grey-bd); display: flex; flex-direction: column; gap: 10px; }
.fstrip-item:last-child { border-right: none; }
.fstrip-item i { font-size: 1.6rem; color: var(--dark); }
.fstrip-item h4 { font-size: 0.9rem; font-weight: 700; color: var(--dark); }
.fstrip-item p { font-size: 0.78rem; color: var(--grey); line-height: 1.6; margin: 0; }

/* Content sections */
.content-section { background: var(--white); padding: 90px 0; border-bottom: 1px solid var(--grey-bd); }
.content-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.content-inner.reverse { direction: rtl; }
.content-inner.reverse > * { direction: ltr; }
.content-text .tag { display: inline-block; background: var(--dark); color: var(--white); font-size: 0.65rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 5px 14px; border-radius: 50px; margin-bottom: 20px; }
.content-text h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; color: var(--dark); letter-spacing: -2px; line-height: 1.05; margin-bottom: 16px; }
.content-text h3 { font-size: 0.95rem; font-weight: 500; color: var(--grey); line-height: 1.65; margin-bottom: 20px; }
.content-text p { font-size: 0.88rem; color: var(--grey); line-height: 1.8; margin-bottom: 16px; }
.check-list { list-style: none; padding: 0; margin: 20px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.85rem; color: var(--dark); }
.check-list li i { color: var(--dark); margin-top: 2px; flex-shrink: 0; font-size: 0.8rem; }
.content-visual { background: var(--dark); border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.visual-mockup { width: 85%; background: var(--white); border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); overflow: hidden; }
.mockup-bar { background: var(--off-white); padding: 10px 14px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--grey-bd); }
.mockup-dot { width: 8px; height: 8px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }
.mockup-url { flex: 1; background: var(--white); border-radius: 4px; padding: 4px 10px; font-size: 0.65rem; color: var(--grey); margin-left: 8px; }
.mockup-body { padding: 16px; }

/* Platforms */
.platforms-section { background: var(--white); padding: 80px 0; border-bottom: 1px solid var(--grey-bd); }
.platforms-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.platforms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.platform-card { border: 1px solid var(--grey-bd); border-radius: 4px; padding: 36px 28px; text-align: center; transition: box-shadow 0.3s, transform 0.3s, background 0.3s; cursor: pointer; }
.platform-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1); transform: translateY(-4px); background: var(--dark); }
.platform-card:hover h4, .platform-card:hover p, .platform-card:hover i { color: var(--white); }
.platform-card:hover .plat-badge { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.6); }
.platform-card i { font-size: 2.8rem; color: var(--dark); margin-bottom: 16px; display: block; transition: color 0.3s; }
.platform-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; transition: color 0.3s; }
.platform-card p { font-size: 0.8rem; color: var(--grey); line-height: 1.65; margin: 0; transition: color 0.3s; }
.plat-badge { display: inline-block; background: var(--off-white); border: 1px solid var(--grey-bd); font-size: 0.65rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 12px; border-radius: 50px; color: var(--grey); margin-bottom: 16px; transition: background 0.3s, border-color 0.3s, color 0.3s; }

/* Process dark */
.process-dark-section { background: var(--dark); padding: 90px 0; }
.process-dark-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.process-dark-inner .section-header { text-align: center; margin-bottom: 60px; }
.process-dark-inner .section-header h2 { color: var(--white); }
.process-dark-inner .section-header p { color: rgba(255,255,255,0.5); }
.process-dark-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.process-dark-steps::before { content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 1px; background: rgba(255,255,255,0.1); z-index: 0; display: none !important; }
.process-dark-step { text-align: center; padding: 0 20px; position: relative; z-index: 1; }
.process-dark-num { width: 56px; height: 56px; background: var(--dark-2); border: 1px solid rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.5rem; color: var(--white); margin: 0 auto 20px; }
.process-dark-step h4 { font-size: 0.85rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.process-dark-step p { font-size: 0.75rem; color: rgba(255,255,255,0.45); line-height: 1.6; }

/* Línea animada del proceso */
.process-line-track { position: absolute; top: 28px; left: 10%; right: 10%; height: 1px; background: rgba(255, 255, 255, 0.1); z-index: 0; }
.process-line-fill { width: 0%; height: 100%; background: var(--white); transition: width 2s ease-in-out; box-shadow: 0 0 8px rgba(255, 255, 255, 0.4); }
.process-dark-steps.in-view .process-line-fill { width: 100%; }

/* Process loader (para siti-aziendali) */
.process-loader { width: 100%; max-width: 600px; height: 2px; background: rgba(255, 255, 255, 0.1); border-radius: 2px; margin: 30px auto 40px; overflow: hidden; position: relative; }
.process-loader-fill { width: 0%; height: 100%; background: var(--white); border-radius: 2px; animation: processLoadLine 4s ease-in-out infinite; }
@keyframes processLoadLine {
    0% { width: 0%; opacity: 1; }
    50% { width: 100%; opacity: 1; }
    75% { width: 100%; opacity: 0; }
    100% { width: 0%; opacity: 0; }
}

/* Inclusi */
.inclusi-section { background: var(--off-white); padding: 80px 0; border-top: 1px solid var(--grey-bd); border-bottom: 1px solid var(--grey-bd); }
.inclusi-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.inclusi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.incluso-item { background: var(--white); border: 1px solid var(--grey-bd); padding: 30px 28px; border-radius: 4px; transition: box-shadow 0.3s, transform 0.3s; }
.incluso-item:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); transform: translateY(-3px); }
.incluso-item i { font-size: 1.8rem; color: var(--dark); margin-bottom: 14px; display: block; }
.incluso-item h4 { font-size: 0.92rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.incluso-item p { font-size: 0.8rem; color: var(--grey); line-height: 1.65; margin: 0; }

/* CTA */
.cta-section { background: var(--black); padding: 100px 0; text-align: center; position: relative; overflow: hidden; }
.cta-inner { max-width: 700px; margin: 0 auto; padding: 0 40px; }
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 5rem); color: var(--white); text-transform: uppercase; letter-spacing: 2px; line-height: 0.95; margin-bottom: 20px; }
.cta-inner p { font-size: 1rem; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 40px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-section .cta-inner { position: relative; z-index: 2; }

/* Tipologie (Landing Page) */
.tipologie-section { background: var(--off-white); padding: 80px 0; border-bottom: 1px solid var(--grey-bd); }
.tipologie-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.tipologie-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--grey-bd); margin-top: 50px; border-radius: 4px; overflow: hidden; }
.tipo-card { padding: 36px 28px; border-right: 1px solid var(--grey-bd); background: var(--white); display: flex; flex-direction: column; transition: background 0.3s, transform 0.3s, box-shadow 0.3s; cursor: pointer; }
.tipo-card:last-child { border-right: none; }
.tipo-card:hover { background: var(--dark); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); z-index: 1; }
.tipo-card:hover h4, .tipo-card:hover p, .tipo-card:hover i, .tipo-card:hover .tipo-list li { color: var(--white) !important; }
.tipo-card:hover .tipo-badge { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.6); }
.tipo-badge { display: inline-block; border: 1px solid var(--grey-bd); background: var(--off-white); font-size: 0.65rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 12px; border-radius: 50px; color: var(--grey); margin-bottom: 18px; transition: background 0.3s, border-color 0.3s, color 0.3s; width: fit-content; }
.tipo-card i { font-size: 2rem; color: var(--dark); margin-bottom: 16px; transition: color 0.3s; }
.tipo-card h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; transition: color 0.3s; }
.tipo-card p { font-size: 0.8rem; color: var(--grey); line-height: 1.65; margin-bottom: 16px; flex: 1; transition: color 0.3s; }
.tipo-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tipo-list li { font-size: 0.75rem; color: var(--grey); display: flex; align-items: center; gap: 8px; transition: color 0.3s; }
.tipo-list li::before { content: '→'; font-size: 0.7rem; flex-shrink: 0; }

/* Responsive (device mockups + browser cards) */
.devices-mockup { width: 90%; position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 10px; }
.device-desktop { flex: 1; background: #1a1a1a; border-radius: 6px 6px 0 0; border: 2px solid #333; overflow: hidden; }
.device-desktop .d-screen { background: var(--white); overflow: hidden; }
.device-desktop .d-stand { height: 6px; background: #2a2a2a; display: flex; align-items: center; justify-content: center; }
.device-tablet { width: 28%; background: #1a1a1a; border-radius: 6px; border: 2px solid #333; overflow: hidden; padding: 4px; }
.device-tablet .d-screen { background: var(--white); border-radius: 3px; overflow: hidden; }
.device-phone { width: 16%; background: #1a1a1a; border-radius: 8px; border: 2px solid #333; overflow: hidden; padding: 4px; }
.device-phone .d-screen { background: var(--white); border-radius: 4px; overflow: hidden; }
.screen-nav { height: 6px; background: #111; width: 100%; }
.screen-hero { height: 14px; background: #222; margin: 3px; border-radius: 2px; }
.screen-cards { display: grid; gap: 2px; padding: 2px 3px; }
.screen-cards.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.screen-cards.cols-2 { grid-template-columns: 1fr 1fr; }
.screen-cards.cols-1 { grid-template-columns: 1fr; }
.screen-card { height: 10px; background: #f0f0f0; border-radius: 2px; }
.screen-line { height: 4px; background: #e8e8e8; margin: 2px 3px; border-radius: 2px; }
.screen-line.short { width: 60%; }

.browser-section { background: var(--off-white); padding: 80px 0; border-bottom: 1px solid var(--grey-bd); }
.browser-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.browser-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--grey-bd); margin-top: 50px; border-radius: 4px; overflow: hidden; }
.browser-card { padding: 30px 24px; border-right: 1px solid var(--grey-bd); background: var(--white); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; transition: background 0.3s, transform 0.3s; cursor: pointer; }
.browser-card:last-child { border-right: none; }
.browser-card:hover { background: var(--dark); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); z-index: 1; }
.browser-card:hover h4, .browser-card:hover p, .browser-card:hover i { color: var(--white); }
.browser-card i { font-size: 2.2rem; color: var(--dark); transition: color 0.3s; }
.browser-card h4 { font-size: 0.92rem; font-weight: 700; color: var(--dark); transition: color 0.3s; }
.browser-card p { font-size: 0.75rem; color: var(--grey); line-height: 1.55; margin: 0; transition: color 0.3s; }
.browser-badge { display: inline-block; background: var(--off-white); border: 1px solid var(--grey-bd); font-size: 0.6rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 10px; border-radius: 50px; color: var(--grey); transition: background 0.3s, color 0.3s, border-color 0.3s; }
.browser-card:hover .browser-badge { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: var(--white); }

/* Siti Aziendali mockup */
.mockup-hero-bar { height: 60px; background: var(--dark); border-radius: 4px; margin-bottom: 12px; }
.mockup-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.mockup-card { height: 50px; background: var(--off-white); border-radius: 4px; }
.mockup-text-line { height: 8px; background: var(--grey-bd); border-radius: 4px; margin-bottom: 6px; }
.mockup-text-line.short { width: 60%; }

/* WordPress usecases */
.usecases-section { background: var(--off-white); padding: 80px 0; border-bottom: 1px solid var(--grey-bd); }
.usecases-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.usecases-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--grey-bd); margin-top: 50px; border-radius: 4px; overflow: hidden; }
.usecase-card { padding: 30px 24px; border-right: 1px solid var(--grey-bd); background: var(--white); display: flex; flex-direction: column; gap: 10px; transition: background 0.3s, transform 0.3s; cursor: pointer; overflow: hidden; }
.usecase-card:last-child { border-right: none; }
.usecase-card:hover { background: var(--dark); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); z-index: 1; }
.usecase-card:hover h4, .usecase-card:hover p, .usecase-card:hover i { color: var(--white); }
.usecase-card i { font-size: 1.8rem; color: var(--dark); transition: color 0.3s; }
.usecase-card h4 { font-size: 0.92rem; font-weight: 700; color: var(--dark); transition: color 0.3s; }
.usecase-card p { font-size: 0.78rem; color: var(--grey); line-height: 1.6; margin: 0; flex: 1; transition: color 0.3s; }


/* ============================================================
   16. [PÁGINA: ARTICLES]
   page-wrap + sidebar + article-body + faq
   ============================================================ */
.page-wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; width: 100%; }
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: 56px; padding: 48px 0 80px; align-items: start; }
.sidebar-column { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; overflow-x: hidden; -ms-overflow-style: none; scrollbar-width: none; display: flex; flex-direction: column; align-items: stretch; }
.sidebar-column::-webkit-scrollbar { display: none; width: 0; height: 0; }
.article-header { margin-bottom: 32px; }
.article-cat { display: inline-block; background: #f3f4f6; color: #4b5563; font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 12px; border-radius: 50px; margin-bottom: 18px; font-family: 'Inter', sans-serif; }
.article-header h1 { font-family: 'Merriweather', serif; font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 700; line-height: 1.3; color: #0a0a0a; margin-bottom: 18px; }
.article-meta { display: flex; align-items: center; gap: 16px; font-size: 0.8rem; color: #6b7280; flex-wrap: wrap; font-family: 'Inter', sans-serif; }
.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-cover { width: 100%; height: 380px; border-radius: 4px; margin-bottom: 40px; background: transparent; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.article-cover img { width: 100%; height: 100%; object-fit: contain; }
.article-body { font-family: 'Merriweather', serif; font-size: 1rem; line-height: 1.85; color: #374151; }
.article-body p { margin-bottom: 1.4rem; }
.article-body h2 { font-family: 'Inter', sans-serif; font-size: 1.3rem; font-weight: 700; color: #0a0a0a; margin: 2.4rem 0 1rem; padding-top: 0.4rem; border-top: 2px solid #e5e7eb; }
.article-body h2:first-of-type { border-top: none; margin-top: 0; }
.article-body h3 { font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 600; color: #1f2937; margin: 1.6rem 0 0.6rem; }
.article-body ul { list-style: none; padding: 0; margin-bottom: 1.4rem; display: flex; flex-direction: column; gap: 10px; }
.article-body ul li { padding-left: 20px; position: relative; font-size: 0.95rem; }
.article-body ul li::before { content: '–'; position: absolute; left: 0; color: #6b7280; font-weight: 700; }
.article-body strong { font-weight: 700; color: #0a0a0a; font-family: 'Inter', sans-serif; }
.callout-box { background: #f9fafb; border-left: 3px solid #6b7280; border-radius: 0 4px 4px 0; padding: 20px 24px; margin: 1.6rem 0; font-family: 'Inter', sans-serif; font-size: 0.88rem; }
.callout-box p { margin-bottom: 0.5rem; font-family: 'Inter', sans-serif; font-size: 0.88rem; line-height: 1.6; }
.callout-box p:last-child { margin-bottom: 0; }
.sidebar { display: flex; flex-direction: column; gap: 24px; padding-right: 8px; }
.sidebar-widget { background: transparent; border: none; border-radius: 0; padding: 20px 0; }
.sidebar-widget h3 { font-family: 'Inter', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #6b7280; margin-bottom: 14px; padding-bottom: 0; border-bottom: none; }
.recent-list { display: flex; flex-direction: column; gap: 0; }
.recent-item { display: block; padding: 9px 0; border-bottom: 1px solid #e5e7eb; text-decoration: none; color: inherit; transition: color 0.2s; }
.recent-item:last-child { border-bottom: none; padding-bottom: 0; }
.recent-item:first-child { padding-top: 0; }
.recent-item p { font-family: 'Inter', sans-serif; font-size: 0.79rem; font-weight: 600; color: #1f2937; line-height: 1.4; margin: 0 0 3px 0; transition: color 0.2s; }
.recent-item:hover p { color: #4b5563; }
.recent-item span { font-family: 'Inter', sans-serif; font-size: 0.7rem; color: #6b7280; display: block; }
.tags-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-pill { display: inline-block; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 50px; padding: 4px 12px; font-family: 'Inter', sans-serif; font-size: 0.73rem; font-weight: 500; color: #6b7280; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid #e5e7eb; }
.faq-item:last-child { border-bottom: none; }
.faq-question { font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 600; color: #0a0a0a; line-height: 1.4; padding: 11px 0; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; transition: color 0.2s; user-select: none; }
.faq-question:hover { color: #4b5563; }
.faq-question-text { display: flex; align-items: flex-start; gap: 8px; flex: 1; }
.faq-question-text i { color: #6b7280; font-size: 0.7rem; margin-top: 3px; flex-shrink: 0; }
.faq-arrow { color: #6b7280; font-size: 0.6rem; transition: transform 0.3s ease; flex-shrink: 0; margin-top: 4px; }
.faq-item.active .faq-arrow { transform: rotate(180deg); }
.faq-answer { font-family: 'Inter', sans-serif; font-size: 0.74rem; color: #6b7280; line-height: 1.55; padding-left: 20px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding-bottom 0.4s ease; }
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 13px; }

@media (max-width: 900px) {
    .content-grid { grid-template-columns: 1fr; gap: 40px; }
    .sidebar-column { position: static; max-height: none; overflow-y: visible; }
    .sidebar { padding-right: 0; }
}
@media (max-width: 600px) {
    .article-cover { height: 220px; }
    .page-wrap { padding: 0 16px; }
}


/* ============================================================
   17. [PÁGINA: LEGAL]
   privacy / cookies
   ============================================================ */
.legal-section { padding: 80px 0 100px; }
.legal-inner { max-width: 860px; margin: 0 auto; padding: 0 40px; }
.legal-header { margin-bottom: 50px; }
.legal-header .legal-icon { font-size: 2.2rem; color: #4b5563; margin-bottom: 20px; display: block; }
.legal-header h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 400; text-transform: uppercase; letter-spacing: 2px; color: var(--dark); margin-bottom: 12px; line-height: 1.1; }
.legal-updated { font-size: 0.82rem; color: var(--muted); font-weight: 400; }
.legal-body { font-family: 'Inter', sans-serif; }
.legal-body p { font-size: 0.92rem; line-height: 1.85; color: #4b5563; margin-bottom: 18px; }
.legal-body h2 { font-family: 'Inter', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--dark); margin: 40px 0 16px; letter-spacing: -0.3px; }
.legal-body h3 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; color: var(--dark); margin: 28px 0 10px; }
.legal-body ul { list-style: none; padding: 0; margin: 0 0 20px 0; display: flex; flex-direction: column; gap: 8px; }
.legal-body ul li { font-size: 0.9rem; line-height: 1.75; color: #4b5563; padding-left: 22px; position: relative; }
.legal-body ul li::before { content: '—'; position: absolute; left: 0; color: #9ca3af; font-weight: 400; }
.legal-body a { color: var(--dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; transition: opacity 0.2s; }
.legal-body a:hover { opacity: 0.6; }
.legal-body strong { font-weight: 600; color: var(--dark); }
.clause-card { border: 1px solid #e5e7eb; border-radius: 4px; padding: 22px 26px; margin-bottom: 16px; background: #ffffff; }
.clause-card h3 { margin: 0 0 14px 0; }
.clause-meta { font-size: 0.85rem; color: #4b5563; margin-bottom: 4px; }
.clause-meta strong { color: var(--dark); }
.legal-contact { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 4px; padding: 28px 30px; margin-top: 16px; }
.legal-contact p { margin-bottom: 6px; font-size: 0.9rem; }
.legal-divider { border: none; border-top: 1px solid #e5e7eb; margin: 40px 0; }
.principles-box { background: #f9fafb; border-left: 3px solid #6b7280; border-radius: 0 4px 4px 0; padding: 24px 28px; margin: 28px 0; }
.principles-box ul { margin-bottom: 0; }
.cookie-table { width: 100%; border-collapse: collapse; margin: 6px 0 24px; font-size: 0.85rem; }
.cookie-table th, .cookie-table td { border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; color: #4b5563; }
.cookie-table th { background: #f9fafb; color: var(--dark); font-weight: 700; }

@media (max-width: 768px) {
    .legal-section { padding: 50px 0 70px; }
    .legal-inner { padding: 0 24px; }
    .legal-header h1 { font-size: 2rem; }
}
@media (max-width: 480px) {
    .legal-inner { padding: 0 18px; }
    .legal-section { padding: 40px 0 60px; }
    .legal-contact, .clause-card { padding: 18px; }
    .cookie-table { font-size: 0.75rem; }
}


/* ============================================================
   18. [PÁGINA: LAVORA-CON-NOI]
   ============================================================ */
.benefits-section { background: var(--white); padding: 80px 0; border-bottom: 1px solid var(--grey-bd); }
.benefits-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.benefit-card { background: var(--off-white); border: 1px solid var(--grey-bd); padding: 36px 28px; border-radius: 4px; transition: box-shadow 0.3s, transform 0.3s; }
.benefit-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); transform: translateY(-3px); }
.benefit-card i { font-size: 1.8rem; color: var(--dark); margin-bottom: 16px; display: block; }
.benefit-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.benefit-card p { font-size: 0.82rem; color: var(--grey); line-height: 1.7; margin: 0; }
.positions-section { background: var(--off-white); padding: 80px 0; border-bottom: 1px solid var(--grey-bd); }
.positions-inner { max-width: 900px; margin: 0 auto; padding: 0 40px; }
.positions-list { display: flex; flex-direction: column; gap: 20px; margin-top: 50px; }
.position-card { background: var(--white); border: 1px solid var(--grey-bd); border-radius: 4px; padding: 32px 28px; transition: box-shadow 0.3s; }
.position-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.position-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; gap: 20px; }
.position-header i { font-size: 1.8rem; color: var(--dark); flex-shrink: 0; opacity: 0.3; }
.position-tag { display: inline-block; background: var(--dark); color: var(--white); font-size: 0.62rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 12px; border-radius: 50px; margin-bottom: 8px; }
.position-header h3 { font-size: 1.3rem; font-weight: 700; color: var(--dark); margin: 0; }
.position-desc { font-size: 0.88rem; color: var(--grey); line-height: 1.75; margin-bottom: 16px; }
.position-requirements { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 8px; }
.position-requirements li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.83rem; color: var(--dark); }
.position-requirements li i { color: var(--dark); font-size: 0.75rem; margin-top: 3px; flex-shrink: 0; }
.apply-section { background: var(--white); padding: 90px 0; border-bottom: 1px solid var(--grey-bd); }
.apply-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.apply-text h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; color: var(--dark); letter-spacing: -1px; margin-bottom: 20px; }
.apply-text p { font-size: 0.9rem; color: var(--grey); line-height: 1.8; margin-bottom: 16px; }
.apply-text p:last-of-type { margin-bottom: 28px; }
.apply-visual { background: var(--dark); border-radius: 8px; padding: 40px; overflow: hidden; }
.apply-mockup { background: var(--white); border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); overflow: hidden; }
.mockup-mail-row { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--grey-bd); }
.mockup-mail-row:last-of-type { border-bottom: none; }
.mockup-mail-label { font-size: 0.72rem; color: var(--grey); width: 60px; flex-shrink: 0; font-weight: 600; }
.mockup-mail-value { font-size: 0.78rem; color: var(--dark); font-weight: 500; }
.mockup-mail-value i { margin-right: 4px; }

@media (max-width: 1100px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .apply-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 900px) {
    .benefits-grid { grid-template-columns: 1fr; }
    .positions-inner { padding: 0 20px; }
}
@media (max-width: 640px) {
    .benefits-inner { padding: 0 20px; }
    .positions-inner { padding: 0 16px; }
    .apply-inner { padding: 0 20px; }
    .apply-visual { padding: 24px; }
    .position-header { flex-direction: column-reverse; align-items: flex-start; }
    .position-header i { font-size: 1.4rem; }
    .position-header h3 { font-size: 1.15rem; }
}


/* ============================================================
   19. [PÁGINA: ZYDRA-STUDIO]
   ============================================================ */
.what-we-do-section { background: var(--white); padding: 80px 0; border-bottom: 1px solid var(--grey-bd); }
.what-we-do-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.what-we-do-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.wwd-card { background: var(--off-white); border: 1px solid var(--grey-bd); padding: 36px 28px; border-radius: 4px; transition: box-shadow 0.3s, transform 0.3s; }
.wwd-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); transform: translateY(-3px); }
.wwd-card i { font-size: 1.8rem; color: var(--dark); margin-bottom: 16px; display: block; }
.wwd-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.wwd-card p { font-size: 0.82rem; color: var(--grey); line-height: 1.7; margin: 0; }
.why-zydra-section { background: var(--off-white); padding: 90px 0; border-bottom: 1px solid var(--grey-bd); }
.why-zydra-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-zydra-text h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; color: var(--dark); letter-spacing: -2px; line-height: 1.05; margin-bottom: 20px; }
.why-zydra-text p { font-size: 0.9rem; color: var(--grey); line-height: 1.8; margin-bottom: 16px; }
.why-zydra-text .check-list { list-style: none; padding: 0; margin: 24px 0 32px; display: flex; flex-direction: column; gap: 10px; }
.why-zydra-text .check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.85rem; color: var(--dark); }
.why-zydra-text .check-list li i { color: var(--dark); margin-top: 3px; flex-shrink: 0; font-size: 0.8rem; }
.why-zydra-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.yzs-item { background: var(--white); border: 1px solid var(--grey-bd); padding: 32px 24px; border-radius: 4px; transition: box-shadow 0.3s, transform 0.3s; }
.yzs-item:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); transform: translateY(-3px); }
.yzs-num { font-family: var(--font-display); font-size: 3rem; color: var(--dark); line-height: 1; margin-bottom: 6px; }
.yzs-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grey); }
.how-we-work-section { background: var(--dark); padding: 90px 0; }
.how-we-work-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.how-we-work-inner .section-header h2 { color: var(--white); }
.how-we-work-inner .section-header p { color: rgba(255,255,255,0.5); }

@media (max-width: 1100px) {
    .what-we-do-grid { grid-template-columns: repeat(2, 1fr); }
    .why-zydra-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 900px) {
    .what-we-do-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .what-we-do-inner { padding: 0 20px; }
    .why-zydra-inner { padding: 0 20px; }
    .why-zydra-stats { grid-template-columns: 1fr; }
}


/* ============================================================
   20. [ANIMACIONES ESPECÍFICAS]
   ============================================================ */
/* Page hero entrada */
.page-hero .page-eyebrow { opacity: 0; transform: translateY(20px); animation: fadeUp 0.7s ease 0.2s forwards; }
.page-hero h1 { opacity: 0; transform: translateY(30px); animation: fadeUp 0.7s ease 0.35s forwards; }
.page-hero .page-hero-desc { opacity: 0; transform: translateY(20px); animation: fadeUp 0.7s ease 0.5s forwards; }
.page-hero .breadcrumb-bar { opacity: 0; transform: translateY(10px); animation: fadeUp 0.7s ease 0.65s forwards; }
@media (prefers-reduced-motion: reduce) {
    .page-hero .page-eyebrow, .page-hero h1, .page-hero .page-hero-desc, .page-hero .breadcrumb-bar { opacity: 1; transform: none; animation: none; }
}

/* Service hero entrada */
.service-hero .breadcrumb { opacity: 0; transform: translateY(20px); animation: fadeUp 0.7s ease 0.2s forwards; }
.service-hero-text h1 { opacity: 0; transform: translateY(30px); animation: fadeUp 0.7s ease 0.35s forwards; }
.service-hero-text > p { opacity: 0; transform: translateY(20px); animation: fadeUp 0.7s ease 0.5s forwards; }
.service-hero-text .hero-btns { opacity: 0; transform: translateY(20px); animation: fadeUp 0.7s ease 0.65s forwards; }
.service-hero-stats { opacity: 0; transform: translateY(20px); animation: fadeUp 0.7s ease 0.8s forwards; }
@media (prefers-reduced-motion: reduce) {
    .service-hero .breadcrumb, .service-hero-text h1, .service-hero-text > p, .service-hero-text .hero-btns, .service-hero-stats { opacity: 1; transform: none; animation: none; }
}

/* App hero entrada */
.app-hero-text .eyebrow { opacity: 0; transform: translateY(20px); animation: fadeUp 0.7s ease 0.2s forwards; }
.app-hero-text h1 { opacity: 0; transform: translateY(30px); animation: fadeUp 0.7s ease 0.35s forwards; }
.app-hero-text > p { opacity: 0; transform: translateY(20px); animation: fadeUp 0.7s ease 0.5s forwards; }
.app-hero-text .hero-badges { opacity: 0; transform: translateY(20px); animation: fadeUp 0.7s ease 0.65s forwards; }
.app-hero-visual { opacity: 0; transform: translateY(20px); animation: fadeUp 0.9s ease 0.4s forwards; }
@media (prefers-reduced-motion: reduce) {
    .app-hero-text .eyebrow, .app-hero-text h1, .app-hero-text > p, .app-hero-text .hero-badges, .app-hero-visual { opacity: 1; transform: none; animation: none; }
}

/* Contact hero-cta */
.page-hero .hero-cta { opacity: 0; transform: translateY(20px); animation: fadeUp 0.7s ease 0.65s forwards; }
.page-hero .breadcrumb-bar { opacity: 0; transform: translateY(10px); animation: fadeUp 0.7s ease 0.8s forwards !important; }
@media (prefers-reduced-motion: reduce) {
    .page-hero .hero-cta, .cta-banner h2, .cta-banner .btn-hero-primary, .page-hero .breadcrumb-bar, .cta-banner.reveal h2, .cta-banner.reveal .btn-hero-primary { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
}

/* CTA cuadritos */
.port-cta, .cta-banner, .cta-section { position: relative; overflow: hidden; }
.cta-bg-blocks { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(6, 1fr); gap: 12px; padding: 24px; box-sizing: border-box; opacity: 0.3; }
.cta-bg-blocks .bg-2d-block { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.04); border-radius: 4px; animation: pulseBlockCTA 8s ease-in-out infinite alternate; will-change: opacity, background; }
@keyframes pulseBlockCTA {
    0% { opacity: 0.2; background: rgba(255, 255, 255, 0.01); }
    100% { opacity: 0.8; background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); }
}
.cta-banner > h2, .cta-banner > .btn-hero-primary { position: relative; z-index: 2; }


/* ============================================================
   21. [RESPONSIVE GENERAL]
   ============================================================ */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .sbox:nth-child(4n) { border-right: 1px solid var(--grey-bd); }
    .sbox:nth-child(3n) { border-right: none; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); }
    .footer-col:last-child { grid-column: 1 / -1; }
    .editorial-block { gap: 50px; }
    .webby-inner { gap: 50px; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-inner, .port-stats-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2), .port-stat:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3), .port-stat:nth-child(3) { border-top: 1px solid var(--grey-bd); }
    .stat-item:nth-child(4), .port-stat:nth-child(4) { border-top: 1px solid var(--grey-bd); border-right: none; }
    .whyus-inner { grid-template-columns: 1fr; gap: 50px; }
    .featured-block { grid-template-columns: 1fr; }
    .featured-visual { min-height: 280px; }
    .featured-info { padding: 36px 28px; }
    .process-inner-rubik { grid-template-columns: 1fr; gap: 40px; }
    .process-visual-rubik { position: static; }
    .app-hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 2; }
    .app-hero-text p, .app-hero-text h1 { max-width: 100%; }
    .hero-badges { justify-content: center; }
    .app-hero-visual img { max-height: 400px; }
    .app-features-inner { grid-template-columns: repeat(2, 1fr); }
    .download-block { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .form-section-inner { grid-template-columns: 1fr; gap: 40px; }
    .form-card { padding: 26px; }
    .include-grid { grid-template-columns: 1fr 1fr; }
    .demo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .main-nav { display: none; }
    .hamburger { display: flex; }
    .header-inner { padding: 0 20px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .sbox:nth-child(3n) { border-right: 1px solid var(--grey-bd); }
    .sbox:nth-child(2n) { border-right: none; }
    .editorial-block, .editorial-block--reverse { grid-template-columns: 1fr; gap: 30px; direction: ltr; }
    .editorial-img img { height: 260px; }
    .webby-inner { grid-template-columns: 1fr; }
    .webby-img { position: static; }
    .webby-img img { height: 300px; }
    .info-strip-inner { grid-template-columns: 1fr; gap: 16px; }
    .preventivo-inner { grid-template-columns: 1fr; gap: 36px; }
    .preventivo-img img { height: 260px; }
    .intro-inner { grid-template-columns: 60px 1fr 50px; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .vbox:nth-child(3n) { border-right: 1px solid var(--dark-3); }
    .vbox:nth-child(2n) { border-right: none; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .project-card.featured { grid-column: span 2; }
    .project-card:nth-child(3n) { border-right: 1px solid var(--grey-bd); }
    .project-card:nth-child(2n) { border-right: none; }
    .app-features-inner { grid-template-columns: 1fr; }
    .portfolio-construction { padding: 70px 0 50px; }
    .portfolio-construction-inner { padding: 0 24px; }
    .demo-projects-section { padding: 60px 0 70px; }
    .demo-projects-inner { padding: 0 24px; }
    .logo-img, .footer-logo-img { width: 36px; height: 36px; }
    .content-grid { grid-template-columns: 1fr; gap: 40px; }
    .sidebar-column { position: static; max-height: none; overflow-y: visible; }
    .sidebar { padding-right: 0; }
    .service-hero-inner { grid-template-columns: 1fr; gap: 50px; padding: 60px 30px; }
    .features-strip-inner { grid-template-columns: repeat(2,1fr); padding: 0 20px; }
    .fstrip-item:nth-child(2) { border-right: none; }
    .content-inner, .content-inner.reverse { grid-template-columns: 1fr; direction: ltr; gap: 40px; padding: 0 30px; }
    .process-dark-steps { grid-template-columns: repeat(2,1fr); gap: 30px; }
    .process-dark-steps::before { display: none; }
    .inclusi-grid, .platforms-grid { grid-template-columns: repeat(2,1fr); }
    .tipologie-grid { grid-template-columns: 1fr; }
    .tipo-card { border-right: none; border-bottom: 1px solid var(--grey-bd); }
    .tipo-card:last-child { border-bottom: none; }
    .browser-grid { grid-template-columns: repeat(2,1fr); }
    .browser-card:nth-child(2) { border-right: none; }
    .browser-card:nth-child(3) { border-right: 1px solid var(--grey-bd); }
    .browser-card { border-bottom: 1px solid var(--grey-bd); }
    .usecases-grid { grid-template-columns: repeat(2,1fr); }
    .usecase-card:nth-child(2) { border-right: none; }
    .usecase-card:nth-child(3) { border-right: 1px solid var(--grey-bd); }
    .usecase-card { border-bottom: 1px solid var(--grey-bd); }
    .benefits-grid { grid-template-columns: 1fr; }
    .positions-inner { padding: 0 20px; }
    .apply-inner { grid-template-columns: 1fr; gap: 40px; }
    .what-we-do-grid { grid-template-columns: 1fr; }
    .why-zydra-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
    :root { --header-h: 60px; }
    .logo-text { font-size: 0.8rem; }
    .logo-mark { width: 30px; height: 30px; font-size: 1rem; }
    .btn-preventivo-nav { padding: 7px 14px; font-size: 0.65rem; }
    .hero-section { height: 100svh; min-height: 500px; }
    .hero-content { padding: 0 24px; }
    .hero-slide h1 { font-size: clamp(2.8rem, 12vw, 4.5rem); }
    .hero-ctas { flex-direction: column; gap: 10px; }
    .btn-hero-primary, .btn-hero-outline { padding: 11px 24px; font-size: 0.7rem; text-align: center; }
    .hero-scroll { display: none; }
    .intro-inner { grid-template-columns: 1fr; gap: 16px; text-align: center; }
    .intro-icon { font-size: 2rem; }
    .intro-arrow { margin: 0 auto; }
    .services-section { padding: 50px 0; }
    .services-inner { padding: 0 16px; }
    .services-grid { grid-template-columns: 1fr; }
    .sbox { border-right: none !important; }
    .section-header { margin-bottom: 30px; }
    .editorial-block { padding: 40px 16px; }
    .editorial-text h2 { letter-spacing: -1px; }
    .webby-section { padding: 50px 0; }
    .webby-inner { padding: 0 16px; }
    .webby-text h2 { font-size: 1.6rem; }
    .info-strip { padding: 36px 0; }
    .info-strip-inner { padding: 0 16px; }
    .portfolio-section { padding: 50px 0; }
    .portfolio-inner { padding: 0 16px; }
    .projects-grid { grid-template-columns: 1fr; }
    .project-card.featured { grid-column: span 1; }
    .project-card:nth-child(n) { border-right: none; }
    .preventivo-section { padding: 50px 0; }
    .preventivo-inner { padding: 0 16px; }
    .footer-middle { padding: 40px 0 20px; }
    .footer-cols { grid-template-columns: 1fr; padding: 0 20px; gap: 36px; }
    .footer-col:last-child { grid-column: 1; }
    .copyright-inner { padding: 0 20px; }
    .form-box { padding: 28px 18px; }
    .form-row { grid-template-columns: 1fr; }
    .form-box h3 { font-size: 1.8rem; }
    .preview-header { flex-direction: column; align-items: flex-start; padding: 10px 16px; }
    .page-hero { padding: 50px 0 48px; }
    .page-hero-inner { padding: 0 20px; }
    .breadcrumb-bar { padding: 14px 20px 0; }
    .pricing-grid { grid-template-columns: 1fr; }
    .include-grid { grid-template-columns: 1fr; }
    .stats-inner, .port-stats-inner { grid-template-columns: 1fr 1fr; }
    .values-inner { padding: 0 16px; }
    .values-grid { grid-template-columns: 1fr; }
    .vbox { border-right: none !important; }
    .whyus-stats { grid-template-columns: 1fr 1fr; }
    .app-hero { padding: 1.5rem 1rem 3rem; }
    .app-hero-visual img { max-height: 350px; }
    .dl-stats { grid-template-columns: 1fr; }
    .dl-stat:nth-child(n) { border-radius: 0; }
    .port-cta { padding: 60px 20px; }
    .demo-grid { grid-template-columns: 1fr; }
    .portfolio-construction { padding: 50px 0 40px; }
    .portfolio-construction-inner { padding: 0 20px; }
    .construction-icon { width: 60px; height: 60px; font-size: 1.5rem; }
    .construction-note { padding: 12px 16px; font-size: 0.75rem; }
    .demo-projects-section { padding: 50px 0 60px; }
    .demo-projects-inner { padding: 0 20px; }
    .demo-card { padding: 22px 20px 18px; }
    .demo-card h3 { font-size: 1.25rem; }
    .app-soon-box { padding: 36px 22px 28px; max-height: 94vh; }
    .app-soon-icon { width: 64px; height: 64px; font-size: 1.5rem; margin-bottom: 16px; }
    .app-soon-platforms { grid-template-columns: 1fr 1fr; gap: 10px; }
    .app-soon-platform { padding: 14px 10px; }
    .app-soon-platform i { font-size: 1.3rem; }
    .app-soon-platform span { font-size: 0.72rem; }
    .app-soon-platform small { font-size: 0.58rem; }
    .app-soon-desc { font-size: 0.82rem; }
    .app-soon-actions { flex-direction: column; }
    .app-soon-btn { width: 100%; }
    .app-soon-note { font-size: 0.72rem; padding: 12px 14px; }
    .logo-img, .footer-logo-img { width: 32px; height: 32px; }
    .article-cover { height: 220px; }
    .page-wrap { padding: 0 16px; }
    .legal-section { padding: 50px 0 70px; }
    .legal-inner { padding: 0 24px; }
    .legal-header h1 { font-size: 2rem; }
    .service-hero-inner { padding: 50px 20px; }
    .service-hero-stats { grid-template-columns: 1fr 1fr; }
    .features-strip-inner { grid-template-columns: 1fr; padding: 0 16px; }
    .fstrip-item { border-right: none !important; border-bottom: 1px solid var(--grey-bd); }
    .content-inner { padding: 0 20px; gap: 30px; }
    .content-section { padding: 60px 0; }
    .process-dark-steps { grid-template-columns: 1fr; }
    .inclusi-grid, .platforms-grid { grid-template-columns: 1fr; }
    .inclusi-inner, .process-dark-inner, .platforms-inner { padding: 0 20px; }
    .tipologie-inner { padding: 0 20px; }
    .browser-inner { padding: 0 20px; }
    .browser-grid { grid-template-columns: 1fr; }
    .browser-card { border-right: none !important; }
    .usecases-inner { padding: 0 20px; }
    .usecases-grid { grid-template-columns: 1fr; }
    .usecase-card { border-right: none !important; }
    .benefits-inner { padding: 0 20px; }
    .positions-inner { padding: 0 16px; }
    .apply-inner { padding: 0 20px; }
    .apply-visual { padding: 24px; }
    .position-header { flex-direction: column-reverse; align-items: flex-start; }
    .position-header i { font-size: 1.4rem; }
    .position-header h3 { font-size: 1.15rem; }
    .what-we-do-inner { padding: 0 20px; }
    .why-zydra-inner { padding: 0 20px; }
    .why-zydra-stats { grid-template-columns: 1fr; }
    .legal-inner { padding: 0 18px; }
    .legal-section { padding: 40px 0 60px; }
    .legal-contact, .clause-card { padding: 18px; }
    .cookie-table { font-size: 0.75rem; }
    .benefits-grid { grid-template-columns: 1fr; }
    .what-we-do-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .logo-img, .footer-logo-img { width: 28px !important; height: 28px !important; }
    .logo-text { display: none; }
}

@media (max-width: 420px) {
    .logo-text { display: none; }
    .hero-slide h1 { font-size: clamp(2.5rem, 14vw, 3.5rem); }
}

@media (min-width: 1920px) {
    .logo-img, .footer-logo-img { width: 48px; height: 48px; }
}
/* ============================================================
   [PÁGINA: LAVORA-CON-NOI] Proceso de selección — 4 pasos
   ============================================================ */
.process-dark-section .process-dark-steps {
    grid-template-columns: repeat(4, 1fr);
    position: relative;
}

.process-dark-section .process-line-track {
    position: absolute;
    top: 28px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
    pointer-events: none;
}

.process-dark-section .process-line-fill {
    width: 0%;
    height: 100%;
    background: var(--white);
    transition: width 2s ease-in-out;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}
.process-dark-section .process-dark-steps.in-view .process-line-fill {
    width: 100%;
}

.process-dark-section .process-dark-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

@media (max-width: 900px) {
    .process-dark-section .process-dark-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .process-dark-section .process-line-track {
        display: none;
    }
}
@media (max-width: 640px) {
    .process-dark-section .process-dark-steps {
        grid-template-columns: 1fr;
    }
}
/* ============================================================
   [PÁGINA: ZYDRA-STUDIO] Proceso de 5 pasos + línea animada
   ============================================================ */
.how-we-work-section .process-dark-steps {
    grid-template-columns: repeat(5, 1fr);
    position: relative;
}

.how-we-work-section .process-line-track {
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
    pointer-events: none;
}

.how-we-work-section .process-line-fill {
    width: 0%;
    height: 100%;
    background: var(--white);
    transition: width 2s ease-in-out;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}
.how-we-work-section .process-dark-steps.in-view .process-line-fill {
    width: 100%;
}

.how-we-work-section .process-dark-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Los stats de Why Zydra Studio deben tener display grid 2x2 */
.why-zydra-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 1100px) {
    .how-we-work-section .process-dark-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    .how-we-work-section .process-line-track {
        display: none;
    }
}
@media (max-width: 900px) {
    .how-we-work-section .process-dark-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .how-we-work-section .process-dark-steps {
        grid-template-columns: 1fr;
    }
    .why-zydra-stats {
        grid-template-columns: 1fr;
    }
}
/* ============================================================
   [LEGAL] Espacio entre navbar fixed y título
   ============================================================ */
.legal-section {
    padding-top: calc(var(--header-h) + 60px);
    padding-bottom: 100px;
}

@media (max-width: 900px) {
    .legal-section {
        padding-top: calc(var(--header-h) + 40px);
        padding-bottom: 80px;
    }
}

@media (max-width: 640px) {
    :root { --header-h: 60px; } /* ya lo tienes, refuerzo */
    .legal-section {
        padding-top: calc(var(--header-h) + 30px);
        padding-bottom: 60px;
    }
}
/* ============================================================
   [SERVICES] Proceso de 5 pasos — línea alineada
   ============================================================ */
.service-hero + .features-strip + .content-section + .content-section + .process-dark-section .process-dark-steps,
.process-dark-section .process-dark-steps {
    grid-template-columns: repeat(5, 1fr);
    position: relative;
    align-items: start;
}

/* Línea: centrada en el primer y último círculo (56px de ancho) */
.process-dark-section .process-line-track {
    position: absolute;
    top: 28px;              /* centro vertical del círculo de 56px */
    left: 10%;
    right: 10%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
    pointer-events: none;
}

.process-dark-section .process-line-fill {
    width: 0%;
    height: 100%;
    background: var(--white);
    transition: width 2s ease-in-out;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.process-dark-section .process-dark-steps.in-view .process-line-fill {
    width: 100%;
}

/* Los pasos deben estar POR ENCIMA de la línea */
.process-dark-section .process-dark-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* El círculo debe ser opaco para que la línea no se vea por dentro */
.process-dark-section .process-dark-num {
    background: var(--dark-2);
    position: relative;
    z-index: 2;
}

/* Responsive: en móvil, 2 columnas y línea oculta */
@media (max-width: 900px) {
    .process-dark-section .process-dark-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .process-dark-section .process-line-track {
        display: none;
    }
}

@media (max-width: 640px) {
    .process-dark-section .process-dark-steps {
        grid-template-columns: 1fr;
    }
}
/* ============================================================
   [ARTICLES] Espacio entre navbar fixed y título del artículo
   Solo afecta a .article-column (presente en articles/*.html)
   ============================================================ */
.article-column {
    padding-top: calc(var(--header-h) + 50px);
}

@media (max-width: 900px) {
    .article-column {
        padding-top: calc(var(--header-h) + 40px);
    }
}

@media (max-width: 640px) {
    .article-column {
        padding-top: calc(var(--header-h) + 30px);
    }
}
/* ============================================================
   [CTA GLOBAL] Fondo transparente con cuadritos animados
   ============================================================ */
.cta-section {
    background-color: transparent !important; /* Quita el fondo negro sólido */
}

/* Aseguramos que los cuadritos se vean por encima del fondo */
.cta-section .cta-bg-blocks {
    opacity: 0.4; /* Ajusta la opacidad si quieres que se vean más o menos */
    z-index: 0;
}

/* Aseguramos que el texto y los botones estén por encima de los cuadritos */
.cta-section .cta-inner {
    position: relative;
    z-index: 2;
}

/* Opcional: Si quieres que el fondo sea un gris muy oscuro en lugar de transparente */
.cta-section {
    background: #050505 !important; /* Un negro casi puro */
}
/* ============================================================
   [GLOBAL] LANGUAGE DROPDOWN
   ============================================================ */
.lang-dropdown {
    position: relative;
    margin-right: 10px;
}

.lang-trigger {
    display: flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 6px 10px;
    color: var(--grey-lt);
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.lang-trigger:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.lang-trigger i {
    font-size: 0.75rem;
    opacity: 0.75;
}

.lang-trigger .fa-chevron-down {
    font-size: 0.5rem;
    transition: transform 0.25s ease;
    opacity: 0.6;
}

.lang-dropdown.open .lang-trigger .fa-chevron-down {
    transform: rotate(180deg);
}

.lang-trigger:hover i {
    opacity: 1;
}

.lang-current {
    font-size: 0.65rem;
    color: var(--white);
    opacity: 0.9;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: var(--dark-2);
    border: 1px solid var(--dark-3);
    border-radius: 6px;
    padding: 6px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.lang-dropdown.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu li {
    margin: 0;
}

.lang-menu .lang-link {
    display: block;
    padding: 9px 18px;
    color: var(--grey-lt);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: background var(--transition), color var(--transition), padding-left var(--transition);
}

.lang-menu .lang-link:hover {
    background: var(--dark-3);
    color: var(--white);
    padding-left: 24px;
}

.lang-menu .lang-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 700;
}

.lang-menu .lang-link.active::before {
    content: '✓';
    margin-right: 8px;
    font-size: 0.7rem;
}

/* En móvil, ocultamos el selector de idioma del header */
@media (max-width: 900px) {
    .lang-dropdown {
        display: none;
    }
}

/* ============================================================
   [GLOBAL] LANGUAGE EN MÓVIL (dentro del menú hamburguesa)
   ============================================================ */
.mobile-lang-section {
    margin: 24px 0 8px;
    padding-top: 24px;
    border-top: 1px solid var(--dark-3);
}

.mobile-lang-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--grey-lt);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-lang-title i {
    font-size: 0.9rem;
}

.mobile-lang-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.lang-link-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 8px 12px;
    background: var(--dark-3);
    border: 1px solid var(--dark-3);
    border-radius: 4px;
    color: var(--grey-lt);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.lang-link-mobile:hover {
    background: var(--mid);
    border-color: var(--mid);
    color: var(--white);
}

.lang-link-mobile.active {
    background: var(--white);
    border-color: var(--white);
    color: var(--black);
}
/* ============================================================
   FIX RESPONSIVE MÓVIL (Añadido para corregir el celular)
   ============================================================ */

/* 1. Asegurar que el menú de escritorio se oculte y el botón hamburguesa aparezca */
@media (max-width: 900px) {
    .main-nav {
        display: none !important;
    }
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }
    .hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #fff;
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    /* 2. Asegurar que el menú móvil se desplace y se vea bien */
    .mobile-menu {
        display: flex !important; /* El JS lo maneja con .open */
    }
}

/* 3. Asegurar que las secciones no se salgan de la pantalla */
@media (max-width: 768px) {
    /* Evitar scroll horizontal */
    body, html {
        overflow-x: hidden;
        width: 100%;
    }

    /* Hero */
    .hero-content {
        padding: 0 20px !important;
        text-align: center;
    }
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }
    .btn-hero-primary, .btn-hero-outline {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    /* Servicios (1 columna) */
    .services-grid {
        grid-template-columns: 1fr !important;
    }
    .sbox {
        border-right: none !important;
        border-bottom: 1px solid var(--grey-bd);
    }

    /* Editorial (1 columna) */
    .editorial-block {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 40px 20px !important;
    }
    .editorial-block--reverse {
        direction: ltr !important;
    }

    /* Footer (1 columna) */
    .footer-cols {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        padding: 0 20px !important;
    }

    /* Formularios */
    .form-row {
        grid-template-columns: 1fr !important;
    }
    .form-box {
        padding: 20px !important;
    }
}

/* 4. Ajustes finos para pantallas muy pequeñas (menos de 400px) */
@media (max-width: 400px) {
    .hero-slide h1 {
        font-size: 2.5rem !important;
    }
    .section-header h2 {
        font-size: 1.8rem !important;
    }
    .logo-text {
        display: none; /* Ocultar texto del logo si no cabe */
    }
}
/* ============================================================
   FIX BOTONES HERO EN MÓVIL (Alineación a la izquierda)
   ============================================================ */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 20px !important;
        text-align: left !important; /* Alinear el texto a la izquierda */
    }

    .hero-ctas {
        flex-direction: column !important;
        align-items: flex-start !important; /* Alinear los botones a la izquierda */
        gap: 12px !important;
    }

    .btn-hero-primary, .btn-hero-outline {
        width: auto !important; /* Que no ocupen todo el ancho */
        min-width: 220px; /* Un ancho mínimo para que se vean bien */
        text-align: center !important;
        display: inline-flex;
        justify-content: center;
    }
}
/* ============================================================
   FIX ABOUT.HTML (Mockups más cerca del texto)
   ============================================================ */

/* 1. En pantallas grandes (más de 1200px), reducimos un poco el espacio */
@media (max-width: 1200px) {
    .editorial-block {
        gap: 40px !important; /* Antes eran 80px, ahora 40px */
    }
}

/* 2. En pantallas de tablet (menos de 900px), como las columnas ya se apilan,
      controlamos el espacio entre el texto y el mockup */
@media (max-width: 900px) {
    .editorial-block {
        gap: 20px !important; /* Mucho más cerca */
        padding: 40px 20px !important;
    }
}

/* 3. En móviles (menos de 640px), lo ajustamos aún más */
@media (max-width: 640px) {
    .editorial-block {
        gap: 15px !important;
        padding: 30px 16px !important;
    }
    .editorial-text h2 {
        margin-bottom: 10px; /* Reducimos el margen inferior del título */
    }
}
/* ============================================================
   FIX PROCESO 5 PASOS (Diagrama de flujo en móvil)
   ============================================================ */
@media (max-width: 900px) {
    /* Forzamos que la cuadrícula sea de 1 columna */
    .process-dark-section .process-dark-steps {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        position: relative;
        padding-left: 20px; /* Espacio para la línea vertical */
    }

    /* Ocultamos la línea horizontal original */
    .process-dark-section .process-line-track {
        display: none !important;
    }

    /* Creamos una línea vertical a la izquierda */
    .process-dark-section .process-dark-steps::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 48px; /* Ajusta esto según el tamaño del círculo */
        width: 2px;
        background: rgba(255, 255, 255, 0.1);
        z-index: 0;
    }

    /* Alineamos cada paso como una fila */
    .process-dark-section .process-dark-step {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        text-align: left !important;
        padding: 20px 0 !important;
        position: relative;
        z-index: 1;
    }

    /* El círculo del número se queda a la izquierda */
    .process-dark-section .process-dark-num {
        margin: 0 20px 0 0 !important; /* Quita el margen automático y da espacio a la derecha */
        flex-shrink: 0;
        background: var(--dark-2); /* Asegura que tape la línea vertical */
        border: 2px solid rgba(255, 255, 255, 0.2);
    }

    /* El contenido (título y texto) va a la derecha del número */
    .process-dark-step-content-wrapper {
        display: flex;
        flex-direction: column;
        padding-top: 10px; /* Alinea el texto con el centro del círculo */
    }
    .process-dark-step h4 {
        margin-bottom: 4px !important;
    }
    .process-dark-step p {
        margin-bottom: 0 !important;
    }
}
/* ============================================================
   FIX CUBO RUBIK (Más cerca y gira en móvil)
   ============================================================ */
@media (max-width: 1100px) {
    /* 1. Reducimos el espacio entre el texto y el cubo */
    .process-inner-rubik {
        gap: 30px !important; /* Antes era 40px o más */
    }

    /* 2. Hacemos que el cubo se quede pegado mientras haces scroll */
    .process-visual-rubik {
        position: sticky !important;
        top: 80px !important; /* Se queda pegado justo debajo del header */
        min-height: 400px !important; /* Reducimos la altura para que no ocupe toda la pantalla */
        align-self: flex-start;
        z-index: 10;
    }

    /* 3. Ajustamos el contenedor del cubo para que sea más pequeño */
    .rubik-scene {
        min-height: 350px !important;
        height: 350px !important;
    }

    /* 4. Hacemos que el cubo sea un poco más pequeño en móvil */
    .rubik-cube {
        transform: scale(0.8); /* Lo achicamos un 20% */
    }
}

/* Ajuste extra para móviles muy pequeños */
@media (max-width: 640px) {
    .rubik-cube {
        transform: scale(0.6); /* Lo achicamos un 40% en pantallas pequeñas */
    }
    .process-visual-rubik {
        top: 60px !important;
    }
}
/* ============================================================
   ANIQUILAR PADDING Y CENTRAR CUBO EN MÓVIL
   ============================================================ */

/* 1. Eliminar cualquier espacio vertical de la sección */
.process-section-rubik {
    padding-top: 10px !important;    /* Casi cero por arriba */
    padding-bottom: 10px !important; /* Casi cero por abajo */
    margin: 0 !important;
    overflow: hidden !important;     /* Evita que elementos floten fuera */
}

/* 2. Forzar el centrado total en móvil */
@media (max-width: 1100px) {
    .process-inner-rubik {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 15px !important;
        margin: 0 !important;
        gap: 10px !important; /* Reducir espacio entre texto y cubo */
    }

    /* Asegurar que el texto ocupe el ancho pero se centre su bloque */
    .process-text-rubik {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* El contenedor del cubo, totalmente pegado y centrado */
    .process-visual-rubik {
        position: relative !important; 
        top: 0 !important;
        height: 300px !important; /* Altura fija */
        min-height: 300px !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* El escenario 3D */
    .rubik-scene {
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        perspective: 1400px !important;
    }

    /* El cubo, centrado y escalado */
    .rubik-cube {
        transform: scale(0.75) rotateX(-15deg) rotateY(24deg) !important;
        margin: 0 auto !important;
    }
}

/* 3. Ajuste extremo para celulares pequeños */
@media (max-width: 640px) {
    .process-section-rubik {
        padding-top: 0px !important; 
        padding-bottom: 0px !important;
    }
    .process-visual-rubik {
        height: 250px !important;
        min-height: 250px !important;
    }
    .rubik-cube {
        transform: scale(0.6) rotateX(-15deg) rotateY(24deg) !important;
    }
}
/* ============================================================
   FIX DEFINITIVO: PARTIR TÍTULO CTA EN 2 LÍNEAS EN MÓVIL
   ============================================================ */

@media (max-width: 768px) {
    /* 1. El contenedor del CTA tiene MUCHO padding lateral */
    .cta-section {
        padding: 60px 40px !important;
    }

    /* 2. El título tiene un ancho forzado para que el texto se parta */
    .cta-inner h2 {
        max-width: 240px !important; /* Más estrecho aún para forzar el salto */
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: 1.7rem !important;
        line-height: 1.2 !important;
        text-align: center !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }
}

/* 3. Para pantallas aún más pequeñas (iPhone SE) */
@media (max-width: 420px) {
    .cta-section {
        padding: 50px 30px !important;
    }
    .cta-inner h2 {
        max-width: 200px !important;
        font-size: 1.5rem !important;
    }
}
/* ============================================================
   FIX DOWNLOAD-APP: Ocultar imagen y centrar botones solo en móvil
   ============================================================ */

@media (max-width: 900px) {
    /* 1. Ocultar la imagen del celular */
    .app-hero-visual {
        display: none !important;
    }

    /* 2. Forzar que el contenedor principal sea de 1 columna */
    .app-hero-inner {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }

    /* 3. Centrar el texto y el título */
    .app-hero-text .eyebrow,
    .app-hero-text h1,
    .app-hero-text p {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* 4. Centrar los botones de descarga perfectamente */
    .hero-badges {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 15px !important;
        flex-wrap: wrap !important; /* Por si no caben en una línea */
    }
}

/* Ajuste extra para celulares más pequeños */
@media (max-width: 480px) {
    .hero-badges {
        flex-direction: column !important; /* Botones uno debajo del otro */
        gap: 12px !important;
    }
    
    .hero-badge-img {
        height: 45px !important; /* Un poco más pequeños */
    }
}   

/* ============================================================
   FIX ZYDRA-STUDIO / PROJECTS: Móvil centrado, sin línea
   ============================================================ */

@media (max-width: 900px) {
    /* 1. Ocultar la línea vertical y horizontal por completo */
    .process-dark-steps::before,
    .process-line-track,
    .how-we-work-section .process-line-track {
        display: none !important;
    }

    /* 2. Convertir la cuadrícula en una columna simple */
    .how-we-work-section .process-dark-steps,
    .process-5-steps-section .process-dark-steps,
    .process-dark-steps {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important; /* Espacio entre cada paso */
        padding: 0 20px !important; 
        position: relative !important;
        align-items: center !important; /* Centra las tarjetas en la pantalla */
    }

    /* 3. Cada paso: número arriba, título y texto centrados */
    .how-we-work-section .process-dark-step,
    .process-5-steps-section .process-dark-step,
    .process-dark-step {
        display: flex !important;
        flex-direction: column !important; 
        align-items: center !important; /* Centra el círculo, el título y el texto */
        text-align: center !important; /* Centra el texto dentro de sus bloques */
        padding: 0 !important;
        margin: 0 !important;
        position: relative !important;
        width: 100% !important;
    }

    /* 4. El círculo del número: tamaño y estilo */
    .how-we-work-section .process-dark-num,
    .process-5-steps-section .process-dark-num,
    .process-dark-num {
        margin: 0 auto 15px auto !important; /* Centrado y con espacio debajo */
        width: 50px !important; 
        height: 50px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: var(--dark-2) !important;
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 50% !important;
        font-size: 1.2rem !important;
        position: static !important;
    }

    /* 5. El título y el texto */
    .how-we-work-section .process-dark-step h4,
    .process-5-steps-section .process-dark-step h4,
    .process-dark-step h4 {
        margin: 0 0 8px 0 !important;
        font-size: 1rem !important;
        text-align: center !important;
    }

    .how-we-work-section .process-dark-step p,
    .process-5-steps-section .process-dark-step p,
    .process-dark-step p {
        margin: 0 !important;
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
        text-align: center !important;
        max-width: 280px !important; /* Opcional: evita que el texto se estire de lado a lado */
    }
}
/* ============================================================
   FIX: Ocultar línea de proceso animada en móvil
   ============================================================ */

@media (max-width: 900px) {
    /* Ocultamos el contenedor de la línea (el track y el fill) */
    .process-line-track,
    .process-dark-steps .process-line-track,
    .how-we-work-section .process-line-track {
        display: none !important;
    }
}
/* ============================================================
   FIX NAV BAR MÓVIL: Ocultar botón y limpiar diseño
   ============================================================ */

@media (max-width: 900px) {
    /* 1. Ocultar el botón "Richiedi Consulenza" del header en celular */
    .btn-preventivo-nav {
        display: none !important;
    }
    
    /* 2. Ajustar el espaciado para que el logo y el menú hamburguesa se vean centrados */
    .header-actions {
        gap: 10px !important;
    }
    
    .hamburger {
        margin-left: auto !important; /* Empuja la hamburguesa a la derecha */
    }

    /* 3. Asegurar que el menú móvil se vea bien */
    .mobile-menu {
        display: flex !important;
    }

    /* 4. Asegurar que el overlay cubra toda la pantalla y sea clickeable */
    .mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        z-index: 950;
        cursor: pointer; /* Para que se note que se puede pulsar */
    }
    
    .mobile-overlay.open {
        display: block;
    }
}
/* ============================================================
   FIX HEADER EN MÓVIL: Logo más grande y botones profesionales
   ============================================================ */

@media (max-width: 900px) {
    /* 1. El contenedor del header con un poco más de padding */
    .header-inner {
        padding: 0 15px !important;
        gap: 10px !important;
    }

    /* 2. EL LOGO: Hacerlo más grande y asegurar que el texto se vea */
    .site-logo {
        gap: 8px !important;
    }
    
    .logo-img {
        width: 40px !important;   /* Tamaño más grande (antes era 32px) */
        height: 40px !important;
        max-width: 40px !important;
        object-fit: contain !important;
    }

    .logo-text {
        font-size: 1rem !important; /* Texto más legible */
        display: block !important;  /* Asegurar que no se oculte */
    }

    /* 3. EL BOTÓN "SOLICITAR COTIZACIÓN" */
    .btn-preventivo-nav {
        padding: 8px 12px !important; /* Un poco más compacto para que quepa */
        font-size: 0.65rem !important; /* Letra un poco más pequeña */
        letter-spacing: 1px !important;
        white-space: nowrap !important; /* Evita que el texto se rompa en 2 líneas */
        margin-right: 10px !important; /* Separación del menú hamburguesa */
    }

    /* 4. EL BOTÓN HAMBURGUESA */
    .hamburger {
        padding: 5px !important;
    }
    
    .hamburger span {
        width: 26px !important; /* Un poco más grande para que sea fácil de tocar */
        height: 2px !important;
    }
}

/* Ajuste extra para pantallas muy pequeñas (iPhone SE, etc.) */
@media (max-width: 400px) {
    .logo-img {
        width: 34px !important;
        height: 34px !important;
    }
    .logo-text {
        font-size: 0.85rem !important;
    }
    .btn-preventivo-nav {
        font-size: 0.6rem !important;
        padding: 7px 10px !important;
    }
}
/* ============================================================
   FIX HAMBURGUESA: Elegante, blanca y en la esquina
   ============================================================ */

@media (max-width: 900px) {
    /* 1. El contenedor del header se asegura de que el botón esté a la derecha */
    .header-inner {
        padding: 0 20px !important;
        display: flex !important;
        justify-content: space-between !important; /* Empuja la hamburguesa a la derecha */
        align-items: center !important;
    }

    /* 2. Aseguramos que el logo no ocupe todo el espacio */
    .site-logo {
        flex-shrink: 1 !important;
    }

    /* 3. EL BOTÓN HAMBURGUESA */
    .hamburger {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-end !important; /* Alinea las líneas a la derecha */
        gap: 6px !important; /* Espacio entre las líneas */
        width: 35px !important;
        height: 35px !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0 !important;
        margin-left: auto !important; /* Lo empuja a la esquina derecha */
        z-index: 1001 !important;
    }

    /* 4. LAS LÍNEAS DE LA HAMBURGUESA */
    .hamburger span {
        display: block !important;
        background-color: #ffffff !important; /* Blanco puro */
        border-radius: 2px !important; /* Bordes ligeramente redondeados */
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    }

    /* Línea superior (más larga) */
    .hamburger span:nth-child(1) {
        width: 100% !important; /* 35px */
        height: 3px !important; /* Grosor (negrita) */
    }

    /* Línea del medio (un poco más corta para darle elegancia) */
    .hamburger span:nth-child(2) {
        width: 80% !important; /* 28px */
        height: 3px !important;
    }

    /* Línea inferior (igual de larga que la superior) */
    .hamburger span:nth-child(3) {
        width: 100% !important; /* 35px */
        height: 3px !important;
    }

    /* 5. ANIMACIÓN A "X" CUANDO SE ABRE EL MENÚ */
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg) !important;
        width: 100% !important;
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0 !important;
        transform: translateX(20px) !important; /* Se desvanece hacia la derecha */
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg) !important;
        width: 100% !important;
    }
}
/* ============================================================
   FIX HAMBURGUESA: Proporcional a las letras de la nav bar
   ============================================================ */

@media (max-width: 900px) {
    /* 1. Asegurar que el header mantenga la alineación */
    .header-inner {
        padding: 0 20px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    /* 2. El botón de hamburguesa con el tamaño de letra del navbar */
    .hamburger {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        align-items: flex-end !important; 
        width: 22px !important;  /* Ancho proporcional al texto */
        height: 16px !important; /* Altura proporcional al texto */
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0 !important;
        margin-left: auto !important; 
        z-index: 1001 !important;
    }

    /* 3. Las líneas de la hamburguesa */
    .hamburger span {
        display: block !important;
        background-color: #ffffff !important; 
        border-radius: 1px !important; 
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
        height: 2px !important; /* Grosor de 2px (proporcional al texto de 12.5px) */
        width: 100% !important;
    }

    /* 4. Animación a "X" al abrir el menú */
    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg) !important;
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0 !important;
        transform: translateX(10px) !important; 
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg) !important;
    }
}
/* ============================================================
   FIX MENÚ MÓVIL: Ocultar la X independiente (usar la hamburguesa)
   ============================================================ */

@media (max-width: 900px) {
    /* Ocultamos el botón de cerrar (&times;) porque la hamburguesa ya hace de X */
    .mobile-close {
        display: none !important;
    }

    /* Aseguramos que el overlay (fondo oscuro) reciba clics */
    .mobile-overlay {
        cursor: pointer !important;
    }
}
/* Asegurar que el botón dentro del menú móvil se vea como un enlace estilizado */
.mobile-preventivo-link {
    width: 100% !important;
    display: block !important;
    border: none !important;
    font-family: var(--font-body) !important;
    cursor: pointer !important;
    /* El resto de estilos ya los tienes en tu CSS (background, padding, etc.) */
}
/* ============================================================
   FIX: Ocultar botón de consulta en el NAVBAR solo en celular
   ============================================================ */

@media (max-width: 900px) {
    /* Ocultamos el botón "Richiedi Consulenza" de la barra superior */
    .btn-preventivo-nav {
        display: none !important;
    }
    
    /* Opcional: ajustamos el espacio para que el logo y la hamburguesa queden bien */
    .header-actions {
        gap: 10px !important;
    }
    
    .hamburger {
        margin-left: auto !important; /* Empuja la hamburguesa a la derecha */
    }
}
/* ============================================================
   LOGO ESTÁTICO EN EL MENÚ MÓVIL (Solo con CSS)
   ============================================================ */

@media (max-width: 900px) {
    /* 1. Añadimos un espacio en la parte superior del menú para el logo */
    .mobile-menu {
        padding-top: 100px !important; /* Espacio para que el logo no tape los enlaces */
    }

    /* 2. Creamos el logo usando el pseudo-elemento ::before */
    .mobile-menu::before {
        content: ""; /* Aquí podríamos poner texto, pero usaremos background */
        position: absolute;
        top: 20px;
        left: 30px;
        width: 150px; /* Ancho del logo */
        height: 50px; /* Alto del logo */
        
        /* Cargamos la imagen del logo */
        background-image: url('/img/ico.png');
        background-size: contain; /* Ajusta la imagen para que quepa */
        background-repeat: no-repeat;
        background-position: left center;
        
        /* Efecto de no clickeable */
        pointer-events: none;
    }

    /* 3. Añadimos el texto "Zydra Studio" al lado del logo */
    .mobile-menu::after {
        content: "Zydra Studio"; /* Texto estático */
        position: absolute;
        top: 35px;
        left: 90px; /* Ajustado para que quede al lado de la imagen */
        
        font-family: var(--font-logo); /* Usa la fuente Orbitron */
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--white);
        letter-spacing: 1px;
        text-transform: uppercase;
        
        /* Efecto de no clickeable */
        pointer-events: none;
    }

    /* 4. Añadimos una línea separadora debajo del logo */
    .mobile-menu {
        border-top: 4px solid transparent; /* Para mantener el borde original si lo hay */
    }
    
    .mobile-menu::before,
    .mobile-menu::after {
        z-index: 10; /* Asegura que el logo esté por encima */
    }
}
.lang-dropdown .lang-menu {
    transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
}
/* Forzar el logo desde la raíz */
.logo-img[data-logo] {
    content: url('/img/ico.png');
}
/* Forzar el tamaño del logo del footer */
.footer-logo-img {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    object-fit: contain !important;
    display: inline-block !important;
}
/* FIX definitivo logo navbar/footer */
.logo-img,
.footer-logo-img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    object-fit: contain !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: block;
}

@media (max-width: 768px) {
    .logo-img,
    .footer-logo-img {
        width: 32px !important;
        height: 32px !important;
        max-width: 32px !important;
        max-height: 32px !important;
    }
}