:root {
    --black: #110C0F;
    --dark: #1E191D;
    --card-dark: #241F23;
    --gray: #666A70;
    --gray-light: #BDBEC4;
    --white: #F2F2F2;
    --border-dark: rgba(242, 242, 242, 0.15);
    --transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--white); font-family: Arial, Helvetica, sans-serif; overflow-x: hidden; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.bg-dark { background: var(--dark); }
.mb-60 { margin-bottom: 60px; }
.mb-80 { margin-bottom: 80px; }
.mt-40 { margin-top: 40px; }

/* BARRA DE ADMINISTRADOR TIPO CANVA */
.admin-studio-bar {
    position: fixed; top: 0; left: 0; width: 100%; min-height: 54px; padding: 8px 3vw;
    background: #171316; border-bottom: 1px solid rgba(96, 165, 250, 0.45);
    display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    z-index: 1200; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}
body.admin-editing-active .header { top: 54px; }
body.admin-editing-active .hero { padding-top: 165px; }

.admin-bar-left, .admin-bar-right, .canva-tools-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.admin-badge-title { font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; color: #93c5fd; }
.admin-sync-status { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 12px; background: rgba(74, 222, 128, 0.15); color: #86efac; border: 1px solid rgba(74, 222, 128, 0.35); }
.canva-hint { font-size: 12px; color: var(--gray-light); }
.fmt-btn {
    min-width: 30px; height: 30px; padding: 0 8px; border-radius: 6px; background: var(--card-dark);
    border: 1px solid var(--border-dark); color: var(--white); font-size: 12px; cursor: pointer; transition: 0.2s;
}
.fmt-btn:hover { background: var(--white); color: var(--black); }
.fmt-size-readout { font-size: 11px; font-weight: 700; min-width: 40px; text-align: center; color: #93c5fd; }
.fmt-sep { width: 1px; height: 18px; background: var(--border-dark); margin: 0 2px; }
.fmt-color-dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.5); cursor: pointer; }

/* Elementos editables en modo admin */
body.admin-editing-active [data-edit-key] {
    outline: 1px dashed rgba(96, 165, 250, 0.35); outline-offset: 4px; border-radius: 4px; cursor: text; transition: outline 0.2s;
}
body.admin-editing-active [data-edit-key]:hover,
body.admin-editing-active [data-edit-key].canva-selected {
    outline: 2px solid #60a5fa; background: rgba(96, 165, 250, 0.08);
}

/* Grids & Contenedores */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.grid-2-asym { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: start; }
.grid-2-contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.card-box { background: var(--card-dark); border: 1px solid var(--border-dark); border-radius: 16px; padding: 40px; }
.sticky-card { position: sticky; top: 115px; }

/* Botones */
.btn-outline, .btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 11px; letter-spacing: 0.15em; cursor: pointer; transition: var(--transition);
}
.btn-outline { padding: 15px 25px; border: 1px solid rgba(242, 242, 242, 0.45); font-weight: 700; background: transparent; color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-sm { padding: 8px 14px; font-size: 10px; border-radius: 8px; width: auto; }
.btn-primary { width: 100%; padding: 15px; background: var(--white); color: var(--black); border: none; border-radius: 8px; font-weight: 800; }
.btn-primary.btn-sm { width: auto; padding: 9px 15px; }
.btn-primary:hover { opacity: 0.85; }

/* Header */
.header {
    position: fixed; top: 0; left: 0; width: 100%; height: 90px; padding: 0 5vw;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(17, 12, 15, 0.96); border-bottom: 1px solid var(--border-dark); z-index: 1000; transition: top 0.25s ease;
}
.logo img { width: 58px; display: block; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; padding: 9px 13px; border-radius: 30px; border: 1px solid transparent; transition: var(--transition); }
.nav-link:hover, .nav-link.active { background: #272125; border-color: var(--border-dark); }
.header-right { display: flex; align-items: center; gap: 10px; }
.user-pill-btn, .icon-action-btn {
    display: inline-flex; align-items: center; justify-content: center; background: var(--card-dark);
    border: 1px solid var(--border-dark); color: var(--white); height: 40px; cursor: pointer; transition: var(--transition);
}
.user-pill-btn { gap: 7px; padding: 0 13px; border-radius: 20px; font-size: 11px; font-weight: 700; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-pill-btn:hover, .user-pill-btn.logged-in, .icon-action-btn:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.icon-action-btn { position: relative; width: 40px; border-radius: 8px; }
.admin-eye-btn { border-color: rgba(96, 165, 250, 0.55); color: #93c5fd; }
.admin-eye-btn.preview-mode { background: #2563eb; color: #fff; border-color: #60a5fa; }
.cart-badge { position: absolute; top: -6px; right: -6px; background: var(--white); color: var(--black); font-size: 10px; font-weight: 800; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.menu-toggle { display: none; border: none; background: transparent; color: var(--white); font-size: 25px; cursor: pointer; margin-left: 4px; }

/* Hero & Countdown */
.hero { min-height: 100vh; padding: 115px 0 80px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.countdown-banner-wrap { max-width: 1200px; width: 100%; margin: 0 auto 28px; padding: 0 7vw; }
.countdown-card {
    background: linear-gradient(135deg, rgba(36, 31, 35, 0.95), rgba(22, 17, 20, 0.98));
    border: 1px solid rgba(242, 242, 242, 0.22); border-radius: 16px; padding: 20px 28px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}
.countdown-header { display: flex; align-items: center; gap: 12px; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--white); flex-shrink: 0; animation: pulseRing 2s infinite; }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(242, 242, 242, 0.6); } 70% { box-shadow: 0 0 0 9px rgba(242, 242, 242, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 242, 242, 0); } }
.countdown-title { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; line-height: 1.4; }
.countdown-grid { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.time-box { background: var(--black); border: 1px solid var(--border-dark); border-radius: 10px; min-width: 66px; padding: 10px 8px; text-align: center; }
.time-val { display: block; font-size: clamp(20px, 2.5vw, 26px); font-weight: 800; font-variant-numeric: tabular-nums; }
.time-lbl { display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.15em; color: var(--gray-light); margin-top: 3px; }
.time-sep { font-size: 20px; font-weight: 700; color: var(--gray); }
.newyear-promo-box { background: var(--card-dark); border: 1px solid rgba(242, 242, 242, 0.35); border-radius: 16px; padding: 32px; text-align: center; }
.promo-tag { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 0.2em; color: var(--black); background: var(--white); padding: 5px 12px; border-radius: 20px; margin-bottom: 14px; }
.newyear-promo-box h3 { font-size: clamp(20px, 3vw, 28px); margin-bottom: 10px; }
.newyear-promo-box p { font-size: 14px; color: var(--gray-light); margin-bottom: 20px; }

/* Marquee */
.hero-marquee-wrapper { width: 100%; height: 175px; margin-bottom: 50px; background: var(--dark); border-block: 1px solid var(--border-dark); overflow: hidden; pointer-events: none; user-select: none; contain: layout paint; }
.hero-marquee-track { display: flex; width: max-content; height: 100%; will-change: transform; animation: marqueeSmooth 32s linear infinite; }
.marquee-group { display: flex; flex-shrink: 0; height: 100%; }
.marquee-item { width: 310px; height: 100%; flex-shrink: 0; border-right: 1px solid var(--border-dark); background: #171316; }
.marquee-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes marqueeSmooth { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

.hero-container { max-width: 1200px; margin: 0 auto; padding: 0 7vw; width: 100%; display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 40px; align-items: center; }
.hero-number, .section-number { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; color: var(--gray); margin-bottom: 15px; }
.hero-label, .section-label { margin-bottom: 20px; font-size: 11px; font-weight: 700; letter-spacing: 0.3em; color: var(--gray-light); }
.hero h1 { font-size: clamp(50px, 7vw, 95px); line-height: 0.92; font-weight: 800; letter-spacing: -0.05em; margin-bottom: 25px; }
.hero h1 span, .section h2 span { display: block; color: var(--gray-light); }
.hero-description { max-width: 550px; font-size: 16px; line-height: 1.7; color: var(--gray-light); margin-bottom: 35px; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-brand-card {
    background: var(--card-dark); border: 1px solid var(--border-dark); border-radius: 20px; padding: 60px 40px;
    text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 380px; box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.hero-brand-card img { max-width: 180px; height: auto; margin-bottom: 25px; }
.hero-brand-card span { font-size: 12px; letter-spacing: 0.2em; color: var(--gray-light); border-top: 1px solid var(--border-dark); padding-top: 15px; width: 100%; }

/* Secciones */
.section { padding: 105px 7vw; border-bottom: 1px solid var(--border-dark); content-visibility: auto; contain-intrinsic-size: 800px; }
.section-content { max-width: 1200px; margin: 0 auto; }
.section h2 { font-size: clamp(40px, 6vw, 75px); line-height: 0.95; letter-spacing: -0.05em; font-weight: 800; margin-bottom: 50px; }
.section-subtitle { max-width: 720px; font-size: 16px; color: var(--gray-light); line-height: 1.7; margin: -30px 0 50px; }

/* Nosotros & iPhone */
.about-text p { margin-bottom: 25px; font-size: 17px; line-height: 1.8; color: var(--gray-light); }
.card-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; color: var(--gray-light); display: block; margin-bottom: 20px; }
.card-logo-text { font-size: 28px; font-weight: 900; letter-spacing: 0.1em; margin-bottom: 5px; }
.card-subtitle { font-size: 12px; letter-spacing: 0.25em; color: var(--gray-light); margin-bottom: 25px; border-bottom: 1px solid var(--border-dark); padding-bottom: 15px; }
.card-p { font-size: 14px; line-height: 1.7; color: var(--gray-light); margin-bottom: 15px; }
.feature-card { background: var(--card-dark); border: 1px solid var(--border-dark); padding: 35px 30px; border-radius: 12px; transition: transform var(--transition); }
.feature-card:hover { transform: translateY(-5px); }
.feature-icon { margin-bottom: 20px; }
.feature-card h3 { font-size: 20px; margin-bottom: 12px; }
.feature-card p { font-size: 14px; line-height: 1.6; color: var(--gray-light); }

.ig-showcase-box { background: var(--card-dark); border: 1px solid var(--border-dark); border-radius: 24px; padding: 55px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; overflow: hidden; }
.ig-showcase-copy h3 { font-size: clamp(26px, 3.5vw, 38px); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 18px; }
.ig-showcase-copy p { font-size: 15px; line-height: 1.7; color: var(--gray-light); margin-bottom: 25px; }
.ig-handle-pill { display: inline-flex; align-items: center; gap: 10px; background: var(--black); border: 1px solid var(--border-dark); padding: 10px 18px; border-radius: 30px; font-size: 13px; font-weight: 700; margin-bottom: 28px; }
.iphone-stage { display: flex; align-items: center; justify-content: center; position: relative; pointer-events: none; user-select: none; }
.iphone-glow { position: absolute; width: 260px; height: 420px; background: radial-gradient(circle, rgba(242, 242, 242, 0.1) 0%, transparent 70%); filter: blur(25px); }
.iphone-frame { position: relative; width: 290px; height: 590px; border-radius: 48px; background: linear-gradient(145deg, #3a3438, #161215 45%, #2e282c); padding: 11px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.75), inset 0 0 0 2px rgba(255, 255, 255, 0.18); animation: iphoneCalmFloat 6.5s ease-in-out infinite; }
@keyframes iphoneCalmFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.iphone-btn-side { position: absolute; background: #2c262a; border-radius: 3px; }
.iphone-btn-side.mute { left: -3px; top: 105px; width: 3px; height: 24px; }
.iphone-btn-side.vol-up { left: -3px; top: 145px; width: 3px; height: 42px; }
.iphone-btn-side.vol-down { left: -3px; top: 198px; width: 3px; height: 42px; }
.iphone-btn-side.power { right: -3px; top: 165px; width: 3px; height: 64px; }
.iphone-bezel { width: 100%; height: 100%; background: #0a0809; border-radius: 38px; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.iphone-dynamic-island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 92px; height: 25px; background: #000; border-radius: 20px; z-index: 15; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; }
.island-camera { width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle, #2a4b7c 20%, #090d16 70%); }
.island-pulse { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: pulseRing 2s infinite; }
.iphone-status-bar { height: 44px; padding: 12px 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 700; background: #0f0c0e; z-index: 10; flex-shrink: 0; }
.status-icons { font-size: 10px; opacity: 0.85; }
.iphone-screen-viewport { position: relative; flex-grow: 1; overflow: hidden; background: #121212; }
.iphone-auto-reel { display: flex; flex-direction: column; width: 100%; will-change: transform; animation: igCalmPan 24s ease-in-out infinite alternate; }
.iphone-auto-reel img { width: 100%; display: block; }
@keyframes igCalmPan { 0%, 12% { transform: translate3d(0, 0%, 0); } 88%, 100% { transform: translate3d(0, -48%, 0); } }
.iphone-home-bar { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); width: 105px; height: 4px; background: rgba(255, 255, 255, 0.75); border-radius: 4px; z-index: 15; }

/* Proyectos */
.project { position: relative; display: block; min-height: 480px; overflow: hidden; background: var(--dark); border-radius: 12px; border: 1px solid var(--border-dark); }
.project-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.project:hover .project-image { transform: scale(1.04); }
.project-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(17, 12, 15, 0.95), rgba(17, 12, 15, 0.2) 60%); }
.project-info { position: absolute; left: 30px; right: 30px; bottom: 30px; z-index: 2; }
.project-info span { display: block; margin-bottom: 8px; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--gray-light); }
.project-info h3 { font-size: 24px; margin-bottom: 10px; }
.project-info p { font-size: 13px; line-height: 1.5; color: var(--gray-light); }

/* Paquetes */
.packages-header-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.packages-nav-controls { display: flex; gap: 12px; flex-shrink: 0; }
.pkg-arrow-btn { width: 48px; height: 48px; border-radius: 4px; background: var(--card-dark); border: 1px solid rgba(242, 242, 242, 0.3); color: var(--white); font-size: 26px; cursor: pointer; transition: var(--transition); }
.pkg-arrow-btn:hover { background: var(--white); color: var(--black); }
.pkg-arrow-btn:disabled { opacity: 0.3; pointer-events: none; }
.packages-carousel-viewport { overflow: hidden; width: 100%; }
.packages-carousel-track { display: flex; gap: 30px; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); will-change: transform; }
.package-card { flex: 0 0 calc(50% - 15px); background: var(--card-dark); border: 1px solid var(--border-dark); border-radius: 4px; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.package-card.popular { border-color: rgba(242, 242, 242, 0.45); }
.popular-badge { position: absolute; top: 16px; right: 16px; background: var(--white); color: var(--black); font-size: 9px; font-weight: 800; letter-spacing: 0.15em; padding: 6px 12px; border-radius: 2px; z-index: 5; }
.package-img-wrap { height: 225px; overflow: hidden; background: var(--black); border-bottom: 1px solid var(--border-dark); }
.package-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.package-card:hover .package-img-wrap img { transform: scale(1.04); }
.package-body { padding: 30px; display: flex; flex-direction: column; flex-grow: 1; }
.pkg-number-tag { font-size: 10.5px; font-weight: 800; letter-spacing: 0.2em; color: var(--gray-light); margin-bottom: 6px; display: block; }
.package-body h3 { font-size: 23px; margin-bottom: 8px; }
.pkg-card-price { font-size: 26px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.pkg-card-price small { font-size: 12px; font-weight: 600; color: var(--gray-light); }
.package-desc { font-size: 14px; color: var(--gray-light); line-height: 1.55; margin-bottom: 20px; }
.pkg-preview-highlights { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; padding-top: 16px; border-top: 1px solid var(--border-dark); flex-grow: 1; }
.pkg-preview-highlights li { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.4; }
.pkg-highlight-icon { width: 28px; height: 28px; border-radius: 4px; background: var(--black); border: 1px solid var(--border-dark); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.package-card .btn-primary, .package-modal-card .btn-primary { border-radius: 4px; }
.pkg-admin-edit-box { background: var(--black); border: 1px solid rgba(96, 165, 250, 0.45); border-radius: 8px; padding: 14px; margin-bottom: 16px; }

/* Servicios (ALTURA REDUCIDA Y PROPORCIONADA EN LOS 4 PUNTOS) */
.services-list { border-top: 1px solid var(--border-dark); }
.service { display: grid; grid-template-columns: 52px 1fr 1.35fr; gap: 20px; align-items: center; padding: 14px 0; min-height: 0; border-bottom: 1px solid var(--border-dark); transition: padding var(--transition); }
.service > span { font-size: 11px; font-weight: 700; color: var(--gray-light); }
.service h3 { font-size: 20px; line-height: 1.2; margin: 0; }
.service p { font-size: 14px; line-height: 1.45; color: var(--gray-light); margin: 0; }
.service:hover { padding-left: 12px; }

/* Carrito & Formularios */
.cart-layout-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 30px; align-items: start; }
.cart-items-container { display: flex; flex-direction: column; gap: 15px; }
.cart-item-card { background: var(--card-dark); border: 1px solid var(--border-dark); border-radius: 12px; padding: 20px; display: flex; align-items: center; gap: 20px; }
.cart-item-img { width: 70px; height: 70px; border-radius: 8px; object-fit: cover; }
.cart-item-details { flex-grow: 1; }
.cart-item-details h4 { font-size: 16px; margin-bottom: 4px; }
.cart-item-details span { font-size: 13px; color: var(--gray-light); }
.cart-qty-control { display: flex; align-items: center; gap: 10px; background: var(--black); border: 1px solid var(--border-dark); padding: 6px 12px; border-radius: 8px; }
.cart-qty-btn { background: transparent; border: none; color: var(--white); font-size: 16px; cursor: pointer; }
.cart-item-total { font-size: 16px; font-weight: 800; min-width: 90px; text-align: right; }
.cart-delete-btn { background: transparent; border: none; color: var(--gray-light); cursor: pointer; padding: 8px; }
.cart-delete-btn:hover { color: #ff4d4d; }
.summary-title { font-size: 20px; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 15px; }
.summary-subtext { font-size: 12px; color: var(--gray-light); line-height: 1.5; margin-bottom: 25px; border-bottom: 1px solid var(--border-dark); padding-bottom: 20px; }
.cart-empty-box { background: var(--card-dark); border: 1px dashed var(--border-dark); border-radius: 14px; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cart-empty-left { display: flex; align-items: center; gap: 14px; }

.session-autofill-badge { background: rgba(74, 222, 128, 0.12); border: 1px solid rgba(74, 222, 128, 0.35); color: #86efac; font-size: 12px; font-weight: 700; padding: 10px 14px; border-radius: 8px; margin-bottom: 20px; }
.contact-intro { font-size: 16px; line-height: 1.7; color: var(--gray-light); margin-bottom: 35px; }
.contact-links-box { display: flex; flex-direction: column; gap: 15px; }
.contact-links-box a { font-size: 18px; transition: color var(--transition); }
.contact-links-box a:hover { color: var(--gray-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--gray-light); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 13px 15px; background: var(--black); border: 1px solid var(--border-dark); border-radius: 8px; color: var(--white); font-size: 14px; font-family: inherit; outline: none; transition: border-color var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--white); }
.form-group input[readonly] { opacity: 0.85; border-color: rgba(74, 222, 128, 0.35); }

/* Blog & Bitácora */
.blog-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 70px; }
.post-card { background: var(--card-dark); border: 1px solid var(--border-dark); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform var(--transition), border-color var(--transition); }
.post-card:hover { transform: translateY(-5px); border-color: rgba(242, 242, 242, 0.35); }
.post-card.featured-post { grid-column: span 2; }
.post-thumb-wrap { height: 225px; overflow: hidden; background: linear-gradient(135deg, #161215, #2b2429); position: relative; display: flex; align-items: center; justify-content: center; }
.post-card.featured-post .post-thumb-wrap { height: 265px; }
.post-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.post-card:hover .post-thumb-wrap img { transform: scale(1.04); }
.post-img-placeholder { text-align: center; padding: 20px; color: var(--gray-light); font-size: 11px; }
.post-cat-badge { position: absolute; top: 14px; left: 14px; background: rgba(17, 12, 15, 0.88); border: 1px solid var(--border-dark); padding: 5px 11px; border-radius: 20px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em; }
.post-body { padding: 26px; display: flex; flex-direction: column; flex-grow: 1; }
.post-date { font-size: 11px; color: var(--gray-light); margin-bottom: 10px; }
.post-body h3 { font-size: 20px; line-height: 1.25; margin-bottom: 12px; }
.post-excerpt { font-size: 13.5px; line-height: 1.6; color: var(--gray-light); margin-bottom: 22px; flex-grow: 1; }
.post-footer-bar { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border-dark); gap: 8px; }
.read-post-btn { background: transparent; border: none; color: var(--white); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; cursor: pointer; padding: 6px 0; }
.read-post-btn:hover { text-decoration: underline; }
.post-social-actions { display: flex; align-items: center; gap: 7px; }
.post-action-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--black); border: 1px solid var(--border-dark); color: var(--gray-light); padding: 6px 11px; border-radius: 20px; font-size: 11px; font-weight: 700; cursor: pointer; transition: var(--transition); }
.post-action-pill:hover, .post-action-pill.edit-pill { border-color: var(--white); color: var(--white); }
.post-action-pill.liked { background: rgba(255, 77, 109, 0.15); border-color: #ff4d6d; color: #ff758f; }
.post-action-pill.liked svg { fill: #ff4d6d; stroke: #ff4d6d; }

.x-feed-section { background: var(--black); border: 1px solid var(--border-dark); border-radius: 22px; padding: 42px; }
.x-feed-header { margin-bottom: 28px; }
.x-feed-header h3 { font-size: 26px; margin-top: -10px; }
.x-feed-stream { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.x-post-card { background: var(--card-dark); border: 1px solid var(--border-dark); border-radius: 16px; padding: 22px 24px; display: flex; gap: 16px; transition: border-color var(--transition); }
.x-post-card:hover { border-color: rgba(242, 242, 242, 0.32); }
.x-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--black); border: 1px solid var(--border-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.x-avatar img { width: 30px; height: 30px; object-fit: contain; }
.x-post-main { flex-grow: 1; min-width: 0; }
.x-post-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.x-author-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.x-name { font-size: 15px; font-weight: 800; }
.x-verified { color: #38bdf8; display: inline-flex; }
.x-handle { font-size: 13px; color: var(--gray-light); }
.x-post-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.x-post-body { font-size: 14.5px; line-height: 1.6; color: var(--gray-light); margin-bottom: 12px; }
.x-tags-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.x-tag { font-size: 12.5px; font-weight: 700; color: #7dd3fc; }
.x-post-actions { display: flex; gap: 14px; padding-top: 10px; border-top: 1px solid rgba(242, 242, 242, 0.08); }

/* Reseñas */
.reviews-grid-layout { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 40px; align-items: start; }
.review-form-sub { font-size: 13px; color: var(--gray-light); margin-bottom: 25px; }
.star-rating-input { display: flex; gap: 6px; }
.star-btn { background: transparent; border: none; font-size: 26px; color: var(--gray); cursor: pointer; transition: transform 0.2s; line-height: 1; }
.star-btn.active { color: #F5C518; }
.star-btn:hover { transform: scale(1.15); }
.reviews-list-container { display: flex; flex-direction: column; gap: 18px; }
.review-card { background: var(--card-dark); border: 1px solid var(--border-dark); border-radius: 14px; padding: 26px 30px; }
.review-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 15px; }
.review-author-info { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--black); border: 1px solid var(--border-dark); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; flex-shrink: 0; }
.review-author-name { font-size: 16px; font-weight: 700; }
.review-date { font-size: 11px; color: var(--gray-light); display: block; margin-top: 2px; }
.review-stars-display { font-size: 16px; letter-spacing: 2px; color: #F5C518; flex-shrink: 0; }
.review-stars-display .star-muted { color: var(--gray); }
.review-text { font-size: 15px; line-height: 1.65; color: var(--gray-light); }

/* Modales Unificados */
.mini-modal, .article-modal, .project-modal {
    position: fixed; inset: 0; z-index: 2200; display: flex; align-items: center; justify-content: center;
    padding: 20px; visibility: hidden; opacity: 0; transition: 0.3s ease;
}
.mini-modal.active, .article-modal.active, .project-modal.active { visibility: visible; opacity: 1; }
.mini-modal-backdrop, .article-modal-backdrop, .project-modal-backdrop { position: absolute; inset: 0; background: rgba(17, 12, 15, 0.92); cursor: pointer; }

.mini-modal-card, .package-modal-card, .article-modal-dialog, .project-modal-content {
    position: relative; z-index: 2; background: var(--card-dark); border: 1px solid rgba(242, 242, 242, 0.25);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.8); transform: translateY(16px); transition: var(--transition);
}
.active .mini-modal-card, .active .package-modal-card, .active .article-modal-dialog, .active .project-modal-content { transform: translateY(0); }

.mini-modal-card { width: min(440px, 100%); border-radius: 20px; padding: 36px 32px; }
.editor-dialog-card { width: min(620px, 100%); max-height: 88vh; overflow-y: auto; }
.mini-modal-card h3 { font-size: 24px; margin: -8px 0 10px; }
.mini-modal-sub { font-size: 13.5px; line-height: 1.55; color: var(--gray-light); margin-bottom: 24px; }
.logged-info-text { font-size: 14px; color: var(--gray-light); line-height: 1.6; margin-bottom: 20px; background: var(--black); padding: 14px; border-radius: 10px; border: 1px solid var(--border-dark); }

.package-modal-card { width: min(920px, 100%); max-height: 90vh; overflow-y: auto; border-radius: 4px; }
.pkg-modal-grid { display: grid; grid-template-columns: 0.9fr 1.2fr; }
.pkg-modal-img-col { background: var(--black); min-height: 360px; }
.pkg-modal-img-col img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pkg-modal-info-col { padding: 42px 38px; display: flex; flex-direction: column; justify-content: center; }
.pkg-modal-info-col h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.1; margin: -10px 0 10px; }
.pkg-modal-price { font-size: 34px; font-weight: 800; margin-bottom: 16px; }
.pkg-modal-desc { font-size: 14px; line-height: 1.65; color: var(--gray-light); margin-bottom: 22px; }
.pkg-modal-list-title { font-size: 10.5px; font-weight: 800; letter-spacing: 0.16em; margin-bottom: 12px; }
.pkg-modal-features { list-style: none; margin-bottom: 22px; }
.pkg-modal-features li { font-size: 13.5px; line-height: 1.55; color: var(--gray-light); margin-bottom: 10px; }
.pkg-modal-meta { font-size: 12px; color: var(--gray-light); background: var(--black); border: 1px solid var(--border-dark); padding: 10px 14px; border-radius: 4px; margin-bottom: 24px; }

/* Modal de lectura de artículo + Bloque de Fuente visible */
.article-modal-dialog { width: min(820px, 100%); max-height: 88vh; overflow-y: auto; background: var(--dark); border-radius: 18px; }
.article-modal-hero { height: 260px; background: var(--black); }
.article-modal-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-modal-body { padding: 38px; }
.article-meta-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.article-cat-pill { font-size: 10px; font-weight: 800; letter-spacing: 0.15em; background: var(--card-dark); border: 1px solid var(--border-dark); padding: 5px 12px; border-radius: 20px; }
.article-date-txt { font-size: 12px; color: var(--gray-light); }
.article-modal-body h2 { font-size: clamp(24px, 3.5vw, 34px); line-height: 1.15; margin-bottom: 22px; }
.article-modal-text p { font-size: 15.5px; line-height: 1.85; color: var(--gray-light); margin-bottom: 18px; }
.article-source-box {
    margin-top: 26px; padding: 16px 20px; background: var(--black); border: 1px solid var(--border-dark);
    border-left: 3px solid var(--white); border-radius: 8px; font-size: 12.5px; line-height: 1.6; color: var(--gray-light);
}
.article-source-box strong { color: var(--white); display: block; font-size: 10.5px; letter-spacing: 0.16em; margin-bottom: 4px; }
.article-modal-actions { display: flex; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border-dark); }

.project-modal-content { width: min(1100px, 100%); max-height: 90vh; display: grid; grid-template-columns: 1.3fr 0.7fr; background: var(--dark); overflow: hidden; border-radius: 12px; }
.project-modal-image-wrapper { min-height: 480px; background: var(--black); }
.project-modal-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-modal-info { display: flex; flex-direction: column; justify-content: center; padding: 50px; }
.project-modal-category { margin-bottom: 20px; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--gray-light); }
.project-modal-info h2 { margin-bottom: 25px; font-size: clamp(30px, 4vw, 50px); line-height: 0.95; }
.project-modal-info p { font-size: 15px; line-height: 1.8; color: var(--gray-light); }

.mini-modal-close, .project-modal-close {
    position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(242, 242, 242, 0.35); background: rgba(17, 12, 15, 0.88); color: var(--white);
    font-size: 23px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; transition: var(--transition);
}
.mini-modal-close:hover, .project-modal-close:hover { background: var(--white); color: var(--black); }

/* Flotantes, Toast & Footer */
.floating-social-buttons { position: fixed; left: 25px; bottom: 25px; z-index: 1500; display: flex; flex-direction: column; gap: 12px; }
.social-bubble { width: 45px; height: 45px; background: var(--dark); border: 1px solid var(--border-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(0,0,0,0.5); transition: var(--transition); }
.social-bubble:hover { background: var(--white); color: var(--black); transform: scale(1.08); }
.toast-notification { position: fixed; right: 25px; bottom: 25px; z-index: 2600; background: var(--card-dark); border: 1px solid rgba(242, 242, 242, 0.35); padding: 14px 22px; border-radius: 10px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 10px; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6); opacity: 0; transform: translateY(20px); pointer-events: none; transition: 0.35s ease; }
.toast-notification.show { opacity: 1; transform: translateY(0); }
.toast-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }

.footer { border-top: 1px solid var(--border-dark); padding: 70px 7vw 30px; }
.footer-container { max-width: 1200px; margin: 0 auto 50px; display: flex; justify-content: space-between; align-items: center; }
.footer-logo { width: 50px; margin-bottom: 15px; }
.footer-tagline { font-size: 13px; color: var(--gray-light); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; font-weight: 700; color: var(--gray-light); transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--border-dark); padding-top: 25px; text-align: center; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--gray-light); }

/* Responsive */
@media (max-width: 1120px) {
    .countdown-card { flex-direction: column; text-align: center; }
    .blog-posts-grid { grid-template-columns: repeat(2, 1fr); }
    .post-card.featured-post { grid-column: span 2; }
}
@media (max-width: 1024px) {
    .hero-container, .grid-3, .grid-2-asym, .grid-2-contact, .cart-layout-grid, .reviews-grid-layout, .ig-showcase-box, .pkg-modal-grid { grid-template-columns: 1fr; }
    .sticky-card { position: static; }
    .ig-showcase-box { padding: 36px 26px; text-align: center; }
    .ig-handle-pill { margin-inline: auto; }
    .pkg-modal-img-col { min-height: 220px; max-height: 250px; }
}
@media (max-width: 768px) {
    .nav { position: absolute; top: 90px; left: 0; width: 100%; padding: 25px 6vw; flex-direction: column; align-items: flex-start; background: var(--black); border-bottom: 1px solid var(--border-dark); transform: translateY(-150%); transition: transform var(--transition); }
    .nav.active { transform: translateY(0); }
    .menu-toggle { display: block; }
    .section { padding: 80px 6vw; }
    .countdown-grid { gap: 6px; width: 100%; justify-content: center; }
    .time-box { min-width: 58px; padding: 8px 4px; flex: 1; }
    .hero-marquee-wrapper { height: 140px; }
    .marquee-item { width: 245px; }
    .packages-header-row, .cart-empty-box, .cart-empty-left, .footer-container { flex-direction: column; align-items: flex-start; }
    .package-card { flex: 0 0 100%; }
    .iphone-frame { width: 265px; height: 540px; }
    .blog-posts-grid, .form-row, .project-modal-content { grid-template-columns: 1fr; }
    .post-card.featured-post { grid-column: span 1; }
    .x-feed-section { padding: 26px 16px; }
    .service { display: block; padding: 12px 0; }
    .service > span, .service h3 { display: block; margin-bottom: 4px; }
    .article-modal-body { padding: 26px 20px; }
    .floating-social-buttons { left: 15px; bottom: 15px; }
    .toast-notification { right: 15px; left: 15px; bottom: 15px; justify-content: center; }
}