/* =========================================================
   TABLELY — LANDING (rediseño completo)
   Compatible con script.js: solo usa .reveal / .visible en
   los elementos que el script observa (.service-card,
   .process-step, .advisory, .demo-section, .contact-box).
   ========================================================= */

:root {
    --bg: #f6f4ef; --bg-soft: #eeece6; --white: #fff;
    --dark: #11120f; --dark-2: #191a16; --dark-3: #252620;
    --text: #171814; --text-soft: #4d4d46; --muted: #77776f;
    --gold: #b77a3c; --gold-light: #d5a066; --gold-soft: #ead8c2; --cream: #f1e8dc;
    --border: rgba(23,24,20,.10);
    --shadow-sm: 0 12px 35px rgba(22,21,17,.07);
    --shadow: 0 25px 80px rgba(22,21,17,.12);
    --shadow-lg: 0 40px 120px rgba(22,21,17,.2);
    --radius: 28px;
    --gold-grad: linear-gradient(100deg,#b77a3c,#f0d0a7 50%,#b77a3c);
    --ease: cubic-bezier(.2,.75,.25,1);
    --serif: "Playfair Display", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: "DM Sans", sans-serif; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--gold); color: #fff; }
.wrap { width: min(1280px, calc(100% - 64px)); margin: 0 auto; }

/* Reveal (lo activa script.js) */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* Aparición por scroll sin JS (si el navegador no lo soporta, se ve normal) */
@supports (animation-timeline: view()) {
    .fade { animation: fadeUp linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    @keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
}

/* Barra de progreso */
body::before { content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 2000; background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) { body::before { animation: prog linear; animation-timeline: scroll(root); } @keyframes prog { to { transform: scaleX(1); } } }

/* Etiquetas y títulos */
.label { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.label span { color: var(--gold); }
.label.light { color: rgba(255,255,255,.65); }
.label.light span { color: var(--gold-light); }
h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.04em; line-height: 1.02; font-size: clamp(40px, 5vw, 68px); }
h2 em { font-style: italic; color: var(--gold); }
.heading { max-width: 760px; margin-bottom: 56px; }
.heading h2 { margin-top: 18px; }
.heading p { margin-top: 20px; color: var(--muted); font-size: 17px; max-width: 620px; }
.heading.center { text-align: center; margin-inline: auto; }
.heading.center .label { justify-content: center; }

/* Botones */
.btn, .nav-button { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; transition: transform .25s var(--ease), background .25s, border-color .25s; }
.btn { min-height: 52px; padding: 0 26px; border-radius: 14px; font-size: 14px; }
.btn-lg { min-height: 60px; padding: 0 34px; font-size: 15px; }
.btn-white { background: #fff; color: var(--dark); }
.btn-white:hover { transform: translateY(-3px); background: #f4ece0; }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255,255,255,.16); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); background: #2a2b25; }
.btn span { transition: transform .3s var(--ease); }
.btn:hover span { transform: translate(3px,-3px); }

/* NAVBAR */
.navbar { position: fixed; z-index: 1000; top: 18px; left: 50%; transform: translateX(-50%); width: min(1240px, calc(100% - 40px)); display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 12px 20px; background: rgba(250,249,246,.85); border: 1px solid rgba(255,255,255,.8); border-radius: 18px; backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: 0 10px 40px rgba(30,27,20,.1); }
.logo { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; letter-spacing: .08em; }
.logo-mark { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: var(--dark); border-radius: 10px; font-family: var(--serif); font-size: 18px; }
.navbar nav { display: flex; gap: 32px; }
.navbar nav a { position: relative; color: #575750; font-size: 14px; font-weight: 600; transition: color .25s; }
.navbar nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--gold); transition: width .25s; }
.navbar nav a:hover { color: var(--dark); }
.navbar nav a:hover::after { width: 100%; }
.nav-actions { display: flex; gap: 8px; }
.nav-button { padding: 11px 18px; border-radius: 12px; background: var(--dark); color: #fff; font-size: 13px; }
.nav-button:hover { transform: translateY(-2px); background: #2a2b25; }
.nav-login { background: transparent; color: var(--dark); border: 1px solid var(--border); }
.nav-login:hover { background: #fff; }

/* HERO */
.hero { position: relative; overflow: hidden; background: var(--dark); min-height: 100svh; display: flex; align-items: center; padding: 130px 0 110px; }
.hero-bg { position: absolute; inset: 0; background: url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=2200&q=85") center/cover; animation: zoom 14s ease-out forwards; }
@keyframes zoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,10,8,.94) 0%, rgba(9,10,8,.82) 40%, rgba(9,10,8,.5) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 30% 50%, #000, transparent 70%); }
.hero-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(110px); opacity: .25; pointer-events: none; animation: drift 12s ease-in-out infinite alternate; }
.g1 { right: 8%; top: 8%; background: #c08a50; } .g2 { left: -10%; bottom: -20%; background: #8b633c; }
@keyframes drift { to { transform: translate(50px,-40px) scale(1.15); } }
.hero-grid { position: relative; z-index: 5; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 9px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.06); backdrop-filter: blur(12px); color: rgba(255,255,255,.78); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.dot, .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 6px rgba(213,160,102,.6); } 50% { box-shadow: 0 0 20px rgba(213,160,102,1); } }
.hero h1 { color: #fff; font-family: var(--serif); font-size: clamp(50px, 6.4vw, 92px); line-height: .96; font-weight: 600; letter-spacing: -.045em; }
.hero h1 span { display: block; color: rgba(255,255,255,.92); }
.hero h1 strong { display: block; font-weight: 600; color: transparent; background: var(--gold-grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; animation: shimmer 5s linear infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }
.hero-description { max-width: 540px; margin-top: 28px; color: rgba(255,255,255,.74); font-size: 18px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; color: rgba(255,255,255,.62); font-size: 14px; font-weight: 500; }
.hero-points li { white-space: nowrap; }
.eyebrow, .hero h1, .hero-description, .hero-buttons, .hero-points, .hero-visual { animation-fill-mode: both; }
.eyebrow { animation: rise 1s var(--ease) .1s both; } .hero h1 { animation: rise 1s var(--ease) .25s both, none; }
.hero-description { animation: rise 1s var(--ease) .45s both; } .hero-buttons { animation: rise 1s var(--ease) .6s both; }
.hero-points { animation: rise 1s var(--ease) .75s both; } .hero-visual { animation: rise 1.1s var(--ease) .5s both; }
@keyframes rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }

/* Dashboard hero */
.hero-visual { position: relative; }
.dash { border-radius: 20px; overflow: hidden; background: #f8f8f6; border: 1px solid rgba(255,255,255,.65); box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 50px 100px rgba(0,0,0,.5); transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); transition: transform .6s var(--ease); }
.hero-visual:hover .dash { transform: perspective(1600px) rotateY(0) rotateX(0); }
.dash-top { height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; background: #22231f; color: rgba(255,255,255,.55); font-size: 11px; }
.dots { display: flex; gap: 6px; } .dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.22); }
.live { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.75); } .live b { width: 6px; height: 6px; border-radius: 50%; background: #7eb88a; }
.dash-body { padding: 24px; }
.dash-head { display: flex; justify-content: space-between; align-items: center; }
.dash small, .kpi small, .chart-head small { display: block; color: #92928b; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.dash-head h3 { margin-top: 3px; color: #24251f; font-size: 20px; }
.pill { padding: 7px 12px; border-radius: 9px; background: #eeeee9; color: #6d6d65; font-size: 11px; font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 18px; }
.kpi { padding: 14px; border: 1px solid #e8e8e1; border-radius: 12px; background: #fff; }
.kpi strong { display: block; margin-top: 4px; color: #24251f; font-size: 24px; line-height: 1.1; }
.kpi em, .chart-head em { font-style: normal; font-size: 11px; font-weight: 700; }
.up { color: #5d986c; } .neutral { color: #9a8062; }
.chart-card { margin-top: 10px; padding: 18px; border: 1px solid #e8e8e1; border-radius: 12px; background: #fff; }
.chart-head { display: flex; justify-content: space-between; }
.chart-head strong { display: block; margin-top: 2px; color: #292a24; font-size: 14px; }
.bars { height: 110px; margin-top: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; background: repeating-linear-gradient(to bottom, transparent 0, transparent 26px, #eeeeea 27px); }
.bars i, .pd-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(to top, #9b7045, #d2a06a); transform-origin: bottom; animation: grow 1.4s var(--ease) both; }
.bars i:nth-child(2) { animation-delay: .1s; } .bars i:nth-child(3) { animation-delay: .2s; } .bars i:nth-child(4) { animation-delay: .3s; } .bars i:nth-child(5) { animation-delay: .4s; } .bars i:nth-child(6) { animation-delay: .5s; } .bars i:nth-child(7) { animation-delay: .6s; }
@keyframes grow { from { transform: scaleY(0); } }
.days { display: flex; justify-content: space-around; margin-top: 6px; color: #aaa9a1; font-size: 10px; font-weight: 700; }
.ai-strip { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 14px; border-radius: 12px; background: linear-gradient(135deg, #252620, #171814); color: #fff; }
.ai-strip small { color: rgba(255,255,255,.45); }
.ai-strip p { margin-top: 2px; color: rgba(255,255,255,.85); font-size: 12px; }
.ai-ava { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.08); color: #e3b47e; }
.ok { margin-left: auto; padding: 5px 9px; border-radius: 7px; background: rgba(114,170,126,.15); color: #8bc497; font-size: 10px; font-weight: 700; }
.chip { position: absolute; z-index: 8; padding: 12px 16px; display: flex; align-items: center; gap: 10px; border-radius: 14px; background: rgba(255,255,255,.94); color: var(--text); font-size: 13px; font-weight: 600; box-shadow: 0 20px 50px rgba(0,0,0,.35); animation: floatY 5s ease-in-out infinite; }
.chip-a { top: -22px; left: -34px; } .chip-b { bottom: 26px; right: -22px; background: var(--dark); color: #f0c48f; border: 1px solid rgba(213,160,102,.35); animation-delay: -2.5s; }
@keyframes floatY { 50% { transform: translateY(-9px); } }

/* MARQUEE */
.marquee { display: flex; overflow: hidden; padding: 24px 0; background: var(--dark); border-top: 1px solid rgba(255,255,255,.08); }
.marquee-track { flex-shrink: 0; display: flex; align-items: center; gap: 44px; padding-right: 44px; white-space: nowrap; color: rgba(255,255,255,.5); font-size: 13px; font-weight: 700; letter-spacing: .22em; animation: marq 28s linear infinite; }
.marquee-track i { color: var(--gold-light); font-style: normal; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-100%); } }

/* STATS */
.stats { display: grid; grid-template-columns: repeat(4,1fr); margin-top: -1px; background: #fff; border: 1px solid var(--border); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); }
.stats div { padding: 38px 32px; border-right: 1px solid var(--border); } .stats div:last-child { border: 0; }
.stats strong { display: block; font-family: var(--serif); font-size: clamp(38px, 4vw, 56px); line-height: 1; letter-spacing: -.03em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }

/* INTRO */
.intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; padding: 110px 0; }
.intro h2 { margin-top: 18px; }
.intro p { margin-top: 24px; max-width: 600px; color: var(--text-soft); font-size: 17px; line-height: 1.8; }
.intro-right { display: grid; gap: 14px; }
.mini-card { display: flex; gap: 18px; align-items: center; padding: 22px 24px; background: #fff; border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.mini-card:hover { transform: translateX(8px); box-shadow: var(--shadow); }
.mc-icon { flex-shrink: 0; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--dark); color: var(--gold-light); font-family: var(--serif); font-size: 16px; }
.mini-card h3 { font-family: var(--serif); font-size: 21px; } .mini-card p { margin: 3px 0 0; font-size: 14px; color: var(--muted); }

/* SERVICIOS (bento) */
.services { padding-bottom: 110px; }
.bento { display: grid; grid-template-columns: repeat(6,1fr); gap: 18px; }
.b-2 { grid-column: span 2; } .b-3 { grid-column: span 3; } .b-4 { grid-column: span 4; } .b-6 { grid-column: span 6; }
.service-card { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 28px; background: linear-gradient(160deg, #fff, rgba(255,255,255,.6)); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s, opacity .9s ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(183,122,60,.3); }
.service-card.reveal:not(.visible) { transform: translateY(40px); }
.s-top { display: flex; justify-content: space-between; align-items: center; color: #9a9991; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.s-icon { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--gold); font-size: 14px; transition: all .4s var(--ease); }
.service-card:hover .s-icon { background: var(--dark); color: var(--gold-light); transform: rotate(-8deg) scale(1.08); }
.s-visual { flex: 1; position: relative; margin-top: 22px; min-height: 250px; border-radius: 20px; overflow: hidden; }
.s-info { margin-top: 24px; } .s-info h3 { font-family: var(--serif); font-size: 30px; letter-spacing: -.02em; }
.s-info p { margin-top: 8px; max-width: 520px; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* Web */
.web-v { background: linear-gradient(120deg, #23251f, #47433b); min-height: 300px; }
.browser { position: absolute; left: 8%; right: 8%; bottom: -30px; top: 36px; border-radius: 14px 14px 0 0; overflow: hidden; background: #f8f3eb; box-shadow: 0 25px 50px rgba(0,0,0,.35); transition: transform .6s var(--ease); }
.service-card:hover .browser { transform: translateY(-12px); }
.browser-bar { height: 32px; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: #fff; border-bottom: 1px solid rgba(0,0,0,.08); }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #ddd; } .browser-bar span { margin-left: 12px; padding: 3px 14px; border-radius: 6px; background: #f1ede6; color: #8a8a82; font-size: 11px; }
.browser-hero { height: calc(100% - 32px); padding: 34px; background: linear-gradient(90deg, rgba(248,243,235,1) 45%, rgba(248,243,235,.2)), url("https://images.unsplash.com/photo-1515003197210-e0cd71810b5f?auto=format&fit=crop&w=900&q=70") center/cover; }
.browser-hero small { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.browser-hero strong { display: block; margin-top: 12px; font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); line-height: .98; color: #24231e; }
.browser-btns { display: flex; gap: 8px; margin-top: 20px; font-size: 12px; font-weight: 700; }
.browser-btns span { padding: 9px 16px; border-radius: 9px; background: var(--dark); color: #fff; } .browser-btns .o { background: transparent; color: var(--dark); border: 1px solid rgba(0,0,0,.2); }

/* QR */
.qr-v { background: linear-gradient(135deg, #e8dfd3, #f7f4ef); min-height: 300px; }
.qr { position: absolute; left: 10%; top: 34px; width: 112px; height: 112px; padding: 12px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.qr-pat { width: 100%; height: 100%; opacity: .88; background: linear-gradient(90deg,#111 10px,transparent 10px) 0 0/24px 24px, linear-gradient(#111 10px,transparent 10px) 0 0/24px 24px, linear-gradient(90deg,transparent 14px,#111 14px 21px,transparent 21px) 0 0/24px 24px; }
.phone { position: absolute; right: 9%; bottom: -40px; width: 150px; height: 265px; padding: 7px; border-radius: 26px; background: #171814; box-shadow: 0 25px 45px rgba(0,0,0,.25); transition: transform .6s var(--ease); }
.service-card:hover .phone { transform: translateY(-14px) rotate(3deg); }
.notch { position: absolute; z-index: 2; left: 50%; top: 8px; width: 46px; height: 12px; transform: translateX(-50%); border-radius: 20px; background: #111; }
.screen { height: 100%; padding: 40px 14px 14px; border-radius: 20px; background: linear-gradient(160deg, #f6eee4, #dac7b0); }
.screen small { color: #866443; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.screen strong { display: block; margin: 10px 0 14px; font-family: var(--serif); font-size: 22px; line-height: .95; }
.dish { display: flex; justify-content: space-between; margin-top: 7px; padding: 7px 9px; border-radius: 8px; background: rgba(255,255,255,.6); font-size: 10px; } .dish b { color: var(--gold); }

/* IA */
.ai-v { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 22px; background: radial-gradient(circle at 80% 20%, rgba(183,122,60,.25), transparent 45%), #20211d; }
.msg { max-width: 82%; padding: 12px 15px; border-radius: 14px; font-size: 13px; line-height: 1.5; }
.msg.me { align-self: flex-end; background: #f0ece5; color: #303129; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); border-bottom-left-radius: 4px; } .msg.bot b { color: #f0c48f; margin-right: 4px; }
.typing { display: flex; gap: 5px; align-self: flex-start; padding: 12px 15px; border-radius: 14px; background: rgba(255,255,255,.1); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #f0c48f; animation: blink 1.2s infinite; } .typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,80%,100% { opacity: .25; } 40% { opacity: 1; } }

/* Reservas */
.res-v { display: grid; place-items: center; background: linear-gradient(135deg, #e6e0d6, #f7f4ee); padding: 24px; }
.res-card { width: min(340px, 100%); padding: 24px; border: 1px solid #fff; border-radius: 20px; background: rgba(255,255,255,.85); box-shadow: var(--shadow); animation: floatY 6s ease-in-out infinite; }
.res-head { display: flex; justify-content: space-between; color: #9a9992; font-size: 12px; font-weight: 700; }
.res-card > strong { display: block; margin: 12px 0; font-family: var(--serif); font-size: 52px; line-height: 1; }
.slots { display: flex; gap: 6px; flex-wrap: wrap; } .slots span { padding: 7px 12px; border-radius: 9px; background: #f1ede6; color: #6d6d65; font-size: 12px; font-weight: 600; } .slots .on { background: var(--dark); color: #fff; }
.res-row { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; } .res-row b { color: #60946b; }

/* Panel */
.panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: center; }
.panel .s-info { margin-top: 70px; } .link { display: inline-block; margin-top: 20px; color: var(--gold); font-size: 14px; font-weight: 700; transition: letter-spacing .3s; } .link:hover { letter-spacing: .05em; }
.panel-dash { padding: 24px; border-radius: 20px; background: #1d1e1a; box-shadow: var(--shadow); }
.pd-head { display: flex; justify-content: space-between; color: rgba(255,255,255,.5); font-size: 12px; }
.pd-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 16px; }
.pd-kpis div { padding: 14px; border-radius: 12px; background: rgba(255,255,255,.06); } .pd-kpis b { display: block; color: #fff; font-size: 24px; } .pd-kpis span { color: rgba(255,255,255,.5); font-size: 12px; }
.pd-bars { height: 150px; display: flex; align-items: flex-end; gap: 10px; margin-top: 20px; }
.pd-bars i { background: linear-gradient(to top, #8d623a, #d7a16b); border-radius: 7px 7px 2px 2px; }

/* SHOWCASE */
.showcase { position: relative; overflow: hidden; min-height: 640px; display: flex; align-items: center; padding: 70px 8%; border-radius: 34px; color: #fff; box-shadow: var(--shadow-lg); }
.showcase-img { position: absolute; inset: 0; background: url("https://images.unsplash.com/photo-1515003197210-e0cd71810b5f?auto=format&fit=crop&w=2200&q=85") center/cover; transition: transform 2s var(--ease); }
.showcase:hover .showcase-img { transform: scale(1.05); }
.showcase-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,15,12,.92), rgba(14,15,12,.5), rgba(14,15,12,.25)); }
.showcase-content { position: relative; z-index: 2; max-width: 640px; }
.showcase h2 { margin-top: 18px; font-size: clamp(44px, 5.5vw, 76px); line-height: .98; } .showcase h2 em { color: var(--gold-light); }
.showcase p { margin: 24px 0 30px; max-width: 520px; color: rgba(255,255,255,.75); font-size: 17px; line-height: 1.75; }
.glass { position: absolute; z-index: 3; padding: 18px 22px; border: 1px solid rgba(255,255,255,.25); border-radius: 18px; background: rgba(255,255,255,.12); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); animation: floatY 6s ease-in-out infinite; }
.glass small { display: block; color: rgba(255,255,255,.7); font-size: 12px; } .glass strong { font-family: var(--serif); font-size: 30px; }
.g-1 { right: 9%; top: 18%; } .g-2 { right: 16%; bottom: 16%; animation-delay: -3s; }

/* PROCESO */
.process-wrap { padding: 120px 0; }
.process { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.process::before { content: ""; position: absolute; left: 12%; right: 12%; top: 76px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .5; }
.process-step { position: relative; padding: 28px 24px; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s, opacity .9s ease; }
.process-step:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.p-num { color: var(--gold); font-family: var(--serif); font-size: 15px; font-weight: 600; letter-spacing: .1em; }
.p-icon { width: 62px; height: 62px; display: grid; place-items: center; margin: 14px auto 20px; border: 1px solid var(--border); border-radius: 18px; background: var(--bg); color: var(--gold); font-size: 22px; transition: all .4s var(--ease); }
.process-step:hover .p-icon { background: var(--dark); color: var(--gold-light); transform: rotate(6deg); }
.process-step h3 { font-family: var(--serif); font-size: 23px; line-height: 1.15; } .process-step p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ASESORÍA */
.advisory { position: relative; overflow: hidden; padding: 80px 7%; border-radius: 34px; background: var(--dark-2); color: #fff; box-shadow: var(--shadow-lg); }
.adv-glow { position: absolute; inset: 0; opacity: .5; background: radial-gradient(circle at 85% 15%, rgba(183,122,60,.4), transparent 38%), radial-gradient(circle at 15% 95%, rgba(255,255,255,.08), transparent 32%); animation: drift 14s ease-in-out infinite alternate; }
.adv-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.advisory h2 { margin-top: 20px; font-size: clamp(42px, 4.6vw, 64px); } .advisory h2 em { color: var(--gold-light); }
.advisory p { margin: 22px 0 30px; max-width: 560px; color: rgba(255,255,255,.66); font-size: 16px; line-height: 1.8; }
.adv-cards { display: grid; gap: 12px; }
.adv-card { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(255,255,255,.055); backdrop-filter: blur(15px); transition: transform .35s var(--ease), border-color .35s, background .35s; }
.adv-card:hover { transform: translateX(-8px); border-color: rgba(213,160,102,.45); background: rgba(255,255,255,.09); }
.adv-card > span { color: var(--gold-light); font-family: var(--serif); font-size: 18px; }
.adv-card strong { display: block; font-family: var(--serif); font-size: 23px; } .adv-card p { margin: 6px 0 0; font-size: 14px; color: rgba(255,255,255,.58); line-height: 1.6; }

/* TESTIMONIOS */
.testimonials { padding: 120px 0 100px; }
.t-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.t-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 34px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.t-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.t-card::before { content: "“"; position: absolute; top: 4px; right: 24px; font-family: var(--serif); font-size: 110px; color: var(--gold-soft); line-height: 1; }
.t-card blockquote { position: relative; font-family: var(--serif); font-size: 21px; line-height: 1.5; }
.t-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.ava { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--dark); color: var(--gold-light); font-size: 15px; }
.t-card strong { display: block; font-size: 14px; } .t-card figcaption span { color: var(--muted); font-size: 13px; }

/* DEMO */
.demo-section { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 600px; background: #10110e; color: #fff; }
.demo-glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, rgba(183,122,60,.3), transparent 38%); }
.demo-content { position: relative; z-index: 2; max-width: 820px; padding: 80px 30px; text-align: center; }
.orb { position: relative; width: 78px; height: 78px; display: grid; place-items: center; margin: 0 auto 32px; border: 1px solid rgba(213,160,102,.4); border-radius: 50%; background: rgba(213,160,102,.08); color: var(--gold-light); font-size: 24px; box-shadow: 0 0 70px rgba(183,122,60,.25); }
.orb::before, .orb::after { content: ""; position: absolute; inset: -20px; border: 1px solid rgba(213,160,102,.25); border-radius: 50%; animation: ripple 4s ease-out infinite; } .orb::after { animation-delay: 2s; }
@keyframes ripple { from { transform: scale(.7); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.center-label { justify-content: center; }
.demo-content h2 { margin-top: 18px; font-size: clamp(44px, 5.8vw, 78px); line-height: .98; } .demo-content h2 em { display: block; color: var(--gold-light); }
.demo-content p { max-width: 560px; margin: 24px auto 34px; color: rgba(255,255,255,.62); font-size: 17px; line-height: 1.75; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; padding: 120px 0 60px; }
.faq .heading { margin: 0; }
details { padding: 24px 0; border-bottom: 1px solid var(--border); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 24px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex-shrink: 0; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--gold); font-family: "DM Sans", sans-serif; transition: transform .4s var(--ease), background .3s, color .3s; }
details[open] summary::after { transform: rotate(135deg); background: var(--dark); color: #fff; }
details p { max-width: 620px; margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.8; }

/* CONTACTO */
.contact { padding: 60px 0 110px; }
.contact-box { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 70px; border: 1px solid rgba(183,122,60,.15); border-radius: 32px; background: linear-gradient(135deg, #ebe2d6, #f6f3ed); box-shadow: var(--shadow); }
.contact-box::after { content: "T"; position: absolute; right: 30px; bottom: -110px; font-family: var(--serif); font-size: 380px; line-height: 1; color: rgba(183,122,60,.07); pointer-events: none; }
.contact-box > * { position: relative; z-index: 1; }
.contact-box h2 { max-width: 700px; margin-top: 16px; font-size: clamp(40px, 4.8vw, 66px); } .contact-box h2 em { display: block; }
.contact-box .btn { flex-shrink: 0; }

/* FOOTER */
footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 36px 0 44px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.footer-logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 14px; font-weight: 700; letter-spacing: .1em; }
.footer-logo .logo-mark { width: 30px; height: 30px; border-radius: 9px; font-size: 15px; }
.footer-links { display: flex; gap: 24px; } .footer-links a:hover { color: var(--dark); }

/* RESPONSIVE */
@media (max-width: 1100px) {
    .navbar nav { gap: 18px; }
    .hero-grid { grid-template-columns: 1fr; } .hero-visual { max-width: 620px; margin: 20px auto 0; width: 100%; }
    .chip-a { left: -10px; } .chip-b { right: -10px; }
    .intro, .faq, .adv-grid, .panel { grid-template-columns: 1fr; gap: 40px; }
    .b-2, .b-3, .b-4 { grid-column: span 6; }
    .process { grid-template-columns: repeat(2,1fr); } .process::before { display: none; }
    .t-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2,1fr); } .stats div:nth-child(2) { border-right: 0; } .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 760px) {
    .wrap { width: calc(100% - 36px); }
    .navbar { top: 10px; width: calc(100% - 20px); padding: 10px 11px 10px 14px; } .navbar nav, .nav-login { display: none; }
    .hero { padding: 120px 0 70px; } .hero-points { gap: 10px 18px; } .hero-description { font-size: 16px; }
    .hero-buttons .btn { width: 100%; } .chip { font-size: 11px; padding: 9px 12px; } .chip-a { top: -18px; left: 0; } .chip-b { bottom: -16px; right: 0; }
    .dash { transform: none; } .dash-body { padding: 16px; } .kpi strong { font-size: 19px; }
    .intro { padding: 80px 0; } .services { padding-bottom: 80px; } .process-wrap, .testimonials, .faq { padding: 80px 0 50px; }
    .service-card { padding: 20px; border-radius: 22px; } .s-visual { min-height: 260px; } .s-info h3 { font-size: 27px; }
    .showcase { min-height: 600px; padding: 50px 24px; border-radius: 24px; } .glass { display: none; }
    .process { grid-template-columns: 1fr; } .advisory { padding: 56px 24px; border-radius: 26px; }
    summary { font-size: 20px; } .demo-section { min-height: 540px; }
    .contact-box { flex-direction: column; align-items: flex-start; padding: 40px 26px; gap: 28px; border-radius: 24px; } .contact-box .btn { width: 100%; } .contact-box::after { display: none; }
    footer { flex-direction: column; align-items: flex-start; }
    .stats div { padding: 26px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}