/* Tendeo Home 3D (localhost) — namespaced under #tendeo-home / .tnh- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Nunito:wght@400;600;700;800;900&display=swap');

/* Hide the OLD homepage modules (html.4–8) only while the new one is active */
html.tnh-active #common-home #content .tn { display: none !important; }

#tendeo-home {
  --ink: #2c2218; --mute: #6e5d4b; --cream: #fff8f0; --paper: #fffdf9; --peach: #ffe4c4;
  --ember: #ff8a00; --ember-hi: #ff9d1f; --ember-deep: #d96400; --sun: #ffc53d; --sky: #2ec4b6;
  --display: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif; --sans: 'Nunito', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r: 22px;
  font-family: var(--sans); color: var(--ink); background: var(--cream);
  font-size: 16px; line-height: 1.55; overflow-x: clip; position: relative;
  -webkit-font-smoothing: antialiased;
}
#tendeo-home *, #tendeo-home *::before, #tendeo-home *::after { box-sizing: border-box; }
#tendeo-home img { max-width: 100%; display: block; }
#tendeo-home ul { list-style: none; margin: 0; padding: 0; }
#tendeo-home p { margin: 0; }
#tendeo-home h1, #tendeo-home h2, #tendeo-home h3 { margin: 0; color: var(--ink); text-transform: none; letter-spacing: 0; }
#tendeo-home a { color: inherit; text-decoration: none; }
#tendeo-home a:focus-visible, #tendeo-home button:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 10px; }

.tnh-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; position: relative; }
.tnh-kicker { font-weight: 900; font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ember-deep); margin-bottom: 14px !important; display: flex; align-items: center; gap: 10px; }
.tnh-kicker::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--ember), var(--sun)); }
#tendeo-home .tnh-h1, #tendeo-home .tnh-h2 { font-family: var(--display); font-weight: 400; line-height: .92; letter-spacing: .005em; text-transform: uppercase; }
#tendeo-home .tnh-h1 { font-size: clamp(54px, 12.5vw, 112px); }
#tendeo-home .tnh-h2 { font-size: clamp(44px, 8.5vw, 84px); }
#tendeo-home .tnh-h1 span, #tendeo-home .tnh-h2 span { display: block; background: linear-gradient(92deg, var(--ember-deep), var(--ember) 45%, #ffb240); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tnh-lead { font-size: clamp(17px, 2.1vw, 19.5px); color: var(--mute); max-width: 36em; margin-top: 18px !important; }
.tnh-small { font-size: 14px; color: var(--mute); margin-top: 18px !important; }
.tnh-center { text-align: center; margin-top: 40px !important; }

/* Buttons */
.tnh-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
#tendeo-home .tnh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 800; font-size: 16px; line-height: 1; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s; cursor: pointer; white-space: nowrap; }
.tnh-btn svg { width: 22px; height: 22px; flex: none; }
#tendeo-home .tnh-btn-primary { background: var(--ember); color: #fff; box-shadow: 0 14px 30px -10px rgba(255, 120, 0, .75), inset 0 1px 0 rgba(255,255,255,.35); }
#tendeo-home .tnh-btn-primary:hover { background: var(--ember-hi); color: #fff; transform: translateY(-2px); box-shadow: 0 20px 36px -12px rgba(255, 120, 0, .85), inset 0 1px 0 rgba(255,255,255,.35); }
#tendeo-home .tnh-btn-ghost { background: rgba(255,255,255,.7); color: var(--ink); box-shadow: inset 0 0 0 2px rgba(44,34,24,.14); }
#tendeo-home .tnh-btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--ember); color: var(--ember-deep); transform: translateY(-2px); }
#tendeo-home .tnh-btn-link { padding: 0 8px; color: var(--ink); text-decoration: underline; text-decoration-color: rgba(255,138,0,.5); text-underline-offset: 6px; text-decoration-thickness: 2px; }
#tendeo-home .tnh-btn-link:hover { color: var(--ember-deep); }
#tendeo-home .tnh-btn-lg { min-height: 60px; font-size: 17px; padding: 0 30px; }

/* ===== HERO ===== */
.tnh-hero { position: relative; padding: calc(var(--header-top-height, 84px) + 28px) 0 56px; overflow: hidden; isolation: isolate; }
.tnh-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.tnh-glow { position: absolute; border-radius: 50%; filter: blur(60px); }
.tnh-glow-a { width: 620px; height: 620px; right: -120px; top: -80px; background: radial-gradient(circle, rgba(255,174,66,.55), transparent 65%); }
.tnh-glow-b { width: 460px; height: 460px; left: -160px; bottom: -120px; background: radial-gradient(circle, rgba(46,196,182,.16), transparent 65%); }
.tnh-floor { position: absolute; left: -20%; right: -20%; bottom: -10%; height: 60%; transform: perspective(700px) rotateX(64deg); transform-origin: 50% 100%;
  background-image: linear-gradient(rgba(255,138,0,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,138,0,.13) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); mask-image: linear-gradient(to top, #000 10%, transparent 85%); }
.tnh-hero-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.tnh-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; align-items: center; }
.tnh-pills-label { font-size: 14px; font-weight: 700; color: var(--mute); margin-right: 4px; width: 100%; }
#tendeo-home .tnh-pills a { font-size: 14px; font-weight: 700; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.75); box-shadow: inset 0 0 0 1.5px rgba(255,138,0,.28); transition: background .2s, color .2s, transform .2s; }
#tendeo-home .tnh-pills a:hover { background: var(--ember); color: #fff; transform: translateY(-1px); }
.tnh-trust { display: flex; gap: 8px; align-items: center; margin-top: 22px !important; font-size: 14.5px; color: var(--mute); font-weight: 600; }
.tnh-trust svg { width: 18px; height: 18px; color: #1faa53; flex: none; }

/* 3D stage */
.tnh-stage { perspective: 1500px; perspective-origin: 50% 40%; width: 100%; max-width: 640px; margin: 0 auto; }
.tnh-rig { --rx: 4; --ry: -12; --mx: 30%; --my: 20%; position: relative; width: 100%; aspect-ratio: 10 / 8.4; transform-style: preserve-3d;
  transform: rotateX(calc(var(--rx) * 1deg)) rotateY(calc(var(--ry) * 1deg)); will-change: transform; }
.tnh-rig > * { position: absolute; transform-style: preserve-3d; }
.tnh-backdrop { inset: 2% -4% 16% 16%; border-radius: 40px; transform: translateZ(-180px);
  background: radial-gradient(120% 90% at 30% 20%, #ffe2b8 0%, #ffb35c 45%, #ff8a00 100%); box-shadow: 0 40px 80px -30px rgba(217,100,0,.55); }
.tnh-backdrop::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, rgba(255,255,255,.45), transparent 40%); }
.tnh-pedestal { left: 16%; right: 2%; bottom: 3%; height: 15%; transform: translateZ(-30px); }
.tnh-ped-top { position: absolute; left: 0; right: 0; top: 0; height: 46%; border-radius: 14px 14px 4px 4px; background: linear-gradient(180deg, #fff3e3, #ffe0b8); box-shadow: inset 0 1px 0 #fff; }
.tnh-ped-front { position: absolute; left: 0; right: 0; top: 44%; bottom: 0; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #ffd29a, #f3a959); box-shadow: 0 30px 40px -20px rgba(160,70,0,.45); }
.tnh-shadow { left: 20%; right: 10%; bottom: 13%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(90,40,0,.45), transparent); filter: blur(10px); transform: translateZ(-10px); }
.tnh-plate { border-radius: 18px; background: linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.12)); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 20px 40px -24px rgba(160,70,0,.5); }
.tnh-plate-a { left: 62%; top: -2%; width: 30%; height: 16%; transform: translateZ(-90px) rotateZ(-4deg); }
.tnh-plate-b { right: -4%; bottom: 22%; width: 18%; height: 14%; transform: translateZ(30px) rotateZ(6deg); }

.tnh-laptop { left: 20%; top: 6%; width: 74%; transform: translateZ(0); }
.tnh-screen { position: relative; aspect-ratio: 16 / 10; background: #1d1611; border-radius: 14px 14px 6px 6px; padding: 2.4% 2.4% 3%; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 30px 60px -22px rgba(60,25,0,.6); transform-origin: 50% 100%; transform: rotateX(-3deg); }
.tnh-screen img { width: 100%; height: 100%; object-fit: cover; object-position: left top; border-radius: 4px; }
.tnh-cam { position: absolute; top: .9%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #3c3027; }
.tnh-base { position: relative; height: 0; padding-bottom: 4.2%; width: 116%; margin-left: -8%; background: linear-gradient(180deg, #d9d2ca, #a69d93 70%, #8b8278);
  clip-path: polygon(4% 0, 96% 0, 100% 70%, 99% 100%, 1% 100%, 0 70%); border-radius: 0 0 14px 14px; }
.tnh-base span { position: absolute; left: 42%; right: 42%; top: 0; height: 30%; background: #8c8379; border-radius: 0 0 8px 8px; }

.tnh-tablet { left: 3%; top: 34%; width: 40%; transform: translateZ(80px) rotateY(10deg) rotateZ(-2deg); }
.tnh-tablet-screen { position: relative; aspect-ratio: 4 / 3.1; background: #241b15; border-radius: 18px; padding: 4%; overflow: hidden; box-shadow: 0 30px 50px -18px rgba(60,25,0,.6), inset 0 0 0 1px rgba(255,255,255,.08); }
.tnh-tablet-screen img { width: 100%; height: 100%; object-fit: cover; object-position: left top; border-radius: 8px; }
.tnh-phone { right: 2%; top: 22%; width: 21%; transform: translateZ(130px) rotateY(-12deg) rotateZ(2deg); }
.tnh-phone-screen { position: relative; aspect-ratio: 9 / 18.5; background: #1b1410; border-radius: 26px; padding: 6%; overflow: hidden; box-shadow: 0 34px 50px -16px rgba(60,25,0,.6), inset 0 0 0 1px rgba(255,255,255,.1); }
.tnh-phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 18px; background: #fff; }
.tnh-notch { position: absolute; z-index: 2; top: 3.2%; left: 50%; width: 32%; height: 3.4%; margin-left: -16%; border-radius: 99px; background: #1b1410; }

.tnh-glass { left: -1%; top: 60%; width: 46%; padding: 16px 18px 14px; border-radius: 20px; overflow: hidden; transform: translateZ(170px) rotateY(6deg);
  background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,244,230,.42)); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.85); box-shadow: 0 30px 60px -22px rgba(120,50,0,.55), inset 0 1px 0 #fff; }
.tnh-glass-head { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: clamp(14px, 1.6vw, 18px); color: #7a3a0c; line-height: 1.15; }
.tnh-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(46,196,182,.22); flex: none; }
.tnh-tabs { display: flex; gap: 6px; margin: 10px 0 10px; }
.tnh-tabs span { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 99px; background: rgba(44,34,24,.07); color: var(--mute); }
.tnh-tabs .is-on { background: var(--ink); color: #fff; }
.tnh-bars { display: flex; align-items: flex-end; gap: 6px; height: 46px; }
.tnh-bars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #ffb347, var(--ember)); transform-origin: bottom; }
.tnh-spark { width: 100%; height: 26px; color: var(--sky); margin-top: 6px; display: block; }
.tnh-shine { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; mix-blend-mode: soft-light;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.85), rgba(255,255,255,0) 45%), linear-gradient(115deg, rgba(255,255,255,.18) 0%, transparent 38%); }
.tnh-chip { display: flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 99px; font-weight: 800; font-size: 13px; color: var(--ink); white-space: nowrap;
  background: rgba(255,255,255,.88); box-shadow: 0 14px 28px -12px rgba(120,50,0,.45); }
.tnh-chip b { width: 8px; height: 8px; border-radius: 50%; background: #1faa53; }
.tnh-chip-a { left: 14%; top: 2%; transform: translateZ(200px); }
.tnh-chip-b { right: 6%; top: 8%; transform: translateZ(220px); }
.tnh-chip-c { right: 4%; bottom: 10%; transform: translateZ(190px); }
.tnh-chip-b b { background: var(--ember); } .tnh-chip-c b { background: var(--sky); }

/* idle float on sub-elements (CSS; JS handles the rig) */
@keyframes tnhFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.tnh-glass, .tnh-phone, .tnh-chip { animation: tnhFloat 6s ease-in-out infinite; }
.tnh-phone { animation-delay: -2s; } .tnh-chip-b { animation-delay: -3s; } .tnh-chip-c { animation-delay: -1s; }
.tnh-paused .tnh-glass, .tnh-paused .tnh-phone, .tnh-paused .tnh-chip { animation-play-state: paused; }

/* ===== PROOF / MARQUEE ===== */
.tnh-proof { padding: 34px 0 30px; background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.9)); border-top: 1px solid rgba(255,138,0,.12); border-bottom: 1px solid rgba(255,138,0,.12); text-align: center; }
#tendeo-home .tnh-proof-title { font-family: var(--sans); font-size: clamp(17px, 2.2vw, 21px); font-weight: 800; padding: 0 20px; }
.tnh-marquee { overflow: hidden; margin-top: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tnh-track { display: flex; width: max-content; animation: tnhMarquee 36s linear infinite; }
.tnh-marquee:hover .tnh-track, .tnh-marquee.tnh-paused .tnh-track { animation-play-state: paused; }
#tendeo-home .tnh-logos { display: flex; align-items: center; gap: clamp(28px, 5vw, 64px); padding-right: clamp(28px, 5vw, 64px); }
.tnh-logos img { height: clamp(46px, 6vw, 64px); width: auto; filter: grayscale(1) contrast(1.05); opacity: .72; transition: filter .3s, opacity .3s, transform .3s; mix-blend-mode: multiply; }
.tnh-logos img:hover { filter: none; opacity: 1; transform: scale(1.06); }
@keyframes tnhMarquee { to { transform: translateX(-50%); } }
.tnh-more { margin-top: 10px !important; font-size: 14px; font-weight: 700; color: var(--ember-deep); }

/* ===== SECTIONS ===== */
.tnh-section { padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.tnh-head { max-width: 760px; margin-bottom: 40px; }
.tnh-swipe { display: none; font-size: 13px; font-weight: 800; color: var(--ember-deep); margin-top: 14px !important; }

/* services */
.tnh-cards { display: grid; grid-template-columns: 1fr; gap: 18px; perspective: 1200px; }
.tnh-card { position: relative; background: var(--paper); border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 18px 40px -26px rgba(120,50,0,.45), 0 0 0 1px rgba(44,34,24,.06);
  transform-style: preserve-3d; transition: box-shadow .35s var(--ease); display: flex; flex-direction: column; }
.tnh-card:hover { box-shadow: 0 30px 60px -26px rgba(200,90,0,.55), 0 0 0 1.5px rgba(255,138,0,.35); }
.tnh-card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.tnh-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tnh-card:hover .tnh-card-media img { transform: scale(1.06); }
.tnh-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(44,34,24,.35)); }
.tnh-num { position: absolute; z-index: 1; left: 16px; bottom: 6px; font-family: var(--display); font-size: 54px; line-height: 1; color: #fff; text-shadow: 0 4px 16px rgba(0,0,0,.35); }
.tnh-badge { position: absolute; z-index: 1; right: 14px; top: 14px; background: var(--ember); color: #fff; font-weight: 900; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; box-shadow: 0 8px 18px -6px rgba(255,120,0,.8); }
.tnh-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; transform: translateZ(30px); }
#tendeo-home .tnh-card h3 { font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1; }
.tnh-card p { color: var(--mute); font-size: 15.5px; }
.tnh-note { color: var(--ink) !important; background: #fff1df; padding: 8px 12px; border-radius: 12px; }
#tendeo-home .tnh-card-cta { margin-top: auto; padding-top: 6px; font-weight: 900; color: var(--ember-deep); font-size: 15px; }
#tendeo-home .tnh-card-cta:hover { color: var(--ember); }
.tnh-card-cta span { display: inline-block; transition: transform .25s var(--ease); }
.tnh-card:hover .tnh-card-cta span { transform: translateX(5px); }
.tnh-highlights { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 22px; }
.tnh-hl { padding: 24px 26px; border-radius: var(--r); background: linear-gradient(135deg, #fff, #fff1df); box-shadow: 0 0 0 1px rgba(255,138,0,.18); border-left: 5px solid var(--ember); }
#tendeo-home .tnh-hl h3 { font-family: var(--display); font-weight: 400; font-size: 30px; color: var(--ember-deep); }
.tnh-hl p { color: var(--mute); margin-top: 4px !important; }

/* split + stacked frames */
.tnh-split { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
#tendeo-home .tnh-split-copy .tnh-lead a { color: var(--ink); font-weight: 800; text-decoration: underline; text-decoration-color: var(--ember); text-underline-offset: 4px; }
.tnh-web { background: linear-gradient(180deg, transparent, #fff1df 30%, #fff1df 70%, transparent); }
.tnh-stack3d, .tnh-plat-visual { position: relative; aspect-ratio: 5 / 4; perspective: 1300px; transform-style: preserve-3d; }
.tnh-frame { position: absolute; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 34px 60px -28px rgba(100,40,0,.55), 0 0 0 1px rgba(44,34,24,.08); }
.tnh-frame img { width: 100%; height: calc(100% - 30px); object-fit: cover; object-position: left top; }
.tnh-win-bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #f6efe6; border-bottom: 1px solid rgba(44,34,24,.06); }
.tnh-win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff6b4a; } .tnh-win-bar i:nth-child(2) { background: var(--sun); } .tnh-win-bar i:nth-child(3) { background: #3cc96f; }
.tnh-win-bar b { margin-left: 8px; font-size: 11.5px; font-weight: 800; color: var(--mute); }
.tnh-frame-a { left: 0; top: 14%; width: 74%; height: 78%; transform: translateZ(70px) rotateY(12deg) rotateX(4deg); }
.tnh-frame-b { right: 0; top: 0; width: 66%; height: 70%; transform: translateZ(-40px) rotateY(12deg) rotateX(4deg); opacity: .95; }
.tnh-stack3d::before { content: ""; position: absolute; inset: 10% 6% -2% 12%; border-radius: 40px; background: radial-gradient(circle at 30% 30%, #ffd79e, #ff9a2e); transform: translateZ(-120px); filter: blur(.5px); opacity: .55; }

/* rubros */
.tnh-rubro-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; perspective: 1200px; }
.tnh-rubro { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: #2c2218; transform-style: preserve-3d; box-shadow: 0 20px 40px -26px rgba(80,30,0,.6); }
.tnh-rubro img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tnh-rubro:hover img { transform: scale(1.07); }
.tnh-rubro::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(44,34,24,0) 35%, rgba(44,34,24,.88)); }
.tnh-rubro > div { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 16px; transform: translateZ(40px); }
#tendeo-home .tnh-rubro h3 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.4vw, 34px); color: #fff; line-height: 1; }
.tnh-rubro p { color: rgba(255,255,255,.86); font-size: 14px; font-weight: 600; margin-top: 4px !important; line-height: 1.35; }
.tnh-rubro-plain { background: linear-gradient(160deg, #fff4e6, #ffcf91); }
.tnh-rubro-plain img { inset: 12% 10% auto; width: 80%; height: 40%; object-fit: contain; mix-blend-mode: multiply; }
.tnh-rubro-plain::after { background: linear-gradient(180deg, transparent 45%, rgba(44,34,24,.82)); }

/* IA */
.tnh-ai { background: radial-gradient(900px 500px at 80% 50%, rgba(255,197,61,.22), transparent 60%); }
.tnh-new { background: var(--sky); color: #fff; letter-spacing: .08em; padding: 3px 9px; border-radius: 99px; font-size: 11px; }
.tnh-checks { margin-top: 26px !important; display: grid; gap: 12px; }
.tnh-checks li { position: relative; padding: 14px 16px 14px 50px; background: rgba(255,255,255,.8); border-radius: 16px; box-shadow: 0 0 0 1px rgba(255,138,0,.15); color: var(--mute); font-size: 15.5px; }
.tnh-checks li strong { color: var(--ink); }
.tnh-checks li::before { content: ""; position: absolute; left: 16px; top: 15px; width: 22px; height: 22px; border-radius: 50%; background: var(--ember) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* platform */
.tnh-platform { background: linear-gradient(180deg, transparent, #fff1df); }
.tnh-points { display: grid; gap: 12px; margin-top: 26px; }
.tnh-point { padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: 0 14px 30px -24px rgba(120,50,0,.5), 0 0 0 1px rgba(44,34,24,.06); }
.tnh-point strong { font-family: var(--display); font-weight: 400; font-size: 26px; color: var(--ember-deep); letter-spacing: .02em; }
.tnh-point p { color: var(--mute); font-size: 15px; }
.tnh-photo { position: absolute; left: 0; top: 0; width: 82%; height: 76%; border-radius: 26px; overflow: hidden; transform: translateZ(-60px) rotateY(-10deg); box-shadow: 0 40px 70px -30px rgba(100,40,0,.6); }
.tnh-photo img { width: 100%; height: 100%; object-fit: cover; }
.tnh-pos { right: 0; bottom: 4%; width: 64%; height: 46%; transform: translateZ(90px) rotateY(-10deg); }
.tnh-sync { position: absolute; left: 6%; bottom: 10%; transform: translateZ(140px); display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 99px; background: rgba(255,255,255,.92); box-shadow: 0 16px 30px -14px rgba(100,40,0,.5); font-weight: 900; font-size: 14px; min-width: 190px; }
.tnh-sync-dot { width: 11px; height: 11px; border-radius: 50%; background: #3cc96f; box-shadow: 0 0 0 4px rgba(60,201,111,.2); transition: background .3s, box-shadow .3s; flex: none; }
.tnh-sync-txt { display: none; }
.tnh-sync[data-state="0"] .tnh-sync-dot { background: #ff6b4a; box-shadow: 0 0 0 4px rgba(255,107,74,.2); }
.tnh-sync[data-state="1"] .tnh-sync-dot { background: var(--sun); box-shadow: 0 0 0 4px rgba(255,197,61,.25); }
.tnh-sync[data-state="0"] [data-s="0"], .tnh-sync[data-state="1"] [data-s="1"], .tnh-sync[data-state="2"] [data-s="2"], .tnh-sync:not([data-state]) [data-s="2"] { display: inline; }

/* final CTA */
.tnh-final { padding: 20px 0 clamp(64px, 9vw, 110px); }
.tnh-final-card { position: relative; border-radius: 32px; overflow: hidden; padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 64px); color: #fff; isolation: isolate;
  background: linear-gradient(125deg, #ff8a00 0%, #ff7a1a 45%, #e85d00 100%); box-shadow: 0 40px 80px -36px rgba(217,100,0,.8); }
.tnh-final-bg { position: absolute; inset: 0; z-index: -1; }
.tnh-final-bg img { position: absolute; right: 0; top: 0; width: 60%; height: 100%; object-fit: cover; opacity: .32; mix-blend-mode: luminosity; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.tnh-final-copy { max-width: 720px; }
#tendeo-home .tnh-final .tnh-kicker { color: #fff; } .tnh-final .tnh-kicker::before { background: #fff; }
#tendeo-home .tnh-final .tnh-h2 { color: #fff; }
#tendeo-home .tnh-final .tnh-h2 span { background: none; color: #2c2218; -webkit-background-clip: border-box; background-clip: border-box; }
.tnh-final .tnh-lead { color: rgba(255,255,255,.92); }
#tendeo-home .tnh-final .tnh-btn-primary { background: #2c2218; box-shadow: 0 16px 34px -14px rgba(44,34,24,.8); }
#tendeo-home .tnh-final .tnh-btn-primary:hover { background: #45362a; }
#tendeo-home .tnh-final .tnh-btn-ghost { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
#tendeo-home .tnh-final .tnh-btn-ghost:hover { background: #fff; color: var(--ember-deep); }
#tendeo-home .tnh-final a:focus-visible { outline-color: #fff; }
.tnh-contact { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px !important; font-weight: 700; font-size: 15px; color: rgba(255,255,255,.95); }
#tendeo-home .tnh-contact a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.5); text-underline-offset: 4px; }

/* reveal */
.tnh-js .tnh-reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.tnh-js .tnh-reveal.is-in { opacity: 1; transform: none; }
.tnh-js .tnh-card.tnh-reveal.is-in, .tnh-js .tnh-rubro.tnh-reveal.is-in, .tnh-js .tnh-stack3d.is-in, .tnh-js .tnh-plat-visual.is-in { transform: rotateX(calc(var(--tx, 0) * 1deg)) rotateY(calc(var(--ty, 0) * 1deg)); transition: opacity .8s var(--ease), transform .5s var(--ease); }

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .tnh-hero { padding-bottom: 36px; }
  .tnh-actions .tnh-btn-primary, .tnh-actions .tnh-btn-ghost { width: 100%; }
  .tnh-stage { max-width: 460px; margin-top: 8px; }
  .tnh-rig { --rx: 3; --ry: -8; }
  .tnh-chip-a, .tnh-plate { display: none; }
  .tnh-backdrop { inset: 2% 0 16% 14%; transform: translateZ(-90px); border-radius: 28px; }
  .tnh-laptop { left: 14%; width: 80%; }
  .tnh-tablet { left: 1%; top: 38%; width: 42%; transform: translateZ(40px) rotateY(8deg); }
  .tnh-phone { right: 1%; top: 24%; width: 23%; transform: translateZ(70px) rotateY(-8deg); }
  .tnh-chip-b { transform: translateZ(100px); right: 2%; top: 2%; } .tnh-chip-c { transform: translateZ(100px); right: 2%; bottom: 6%; }
  .tnh-glass { padding: 11px 12px 10px; border-radius: 14px; width: 50%; left: 2%; top: 62%; transform: translateZ(90px); }
  .tnh-bars { height: 30px; } .tnh-spark { height: 18px; } .tnh-tabs span { font-size: 9.5px; padding: 2px 6px; }
  .tnh-chip { font-size: 11px; padding: 6px 10px; }
  .tnh-rubro-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -20px; padding: 4px 20px 16px; scrollbar-width: none; }
  .tnh-rubro-grid::-webkit-scrollbar { display: none; }
  .tnh-rubro { flex: 0 0 70%; scroll-snap-align: start; }
  .tnh-swipe { display: block; }
}
@media (min-width: 640px) {
  .tnh-cards, .tnh-highlights { grid-template-columns: repeat(2, 1fr); }
  .tnh-pills-label { width: auto; }
}
@media (min-width: 768px) { .tnh-rubro-grid { grid-template-columns: repeat(3, 1fr); } .tnh-rubro { aspect-ratio: 4 / 3.6; } }
@media (min-width: 992px) {
  .tnh-hero { min-height: min(100vh, 900px); display: flex; align-items: center; padding-bottom: 72px; }
  .tnh-hero-grid { grid-template-columns: 1.02fr 1fr; gap: 40px; }
  .tnh-stage { max-width: none; margin-right: -30px; }
  .tnh-cards { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .tnh-split { grid-template-columns: 1fr 1.05fr; gap: 64px; }
  .tnh-split-rev .tnh-split-copy { order: 2; }
  .tnh-points { grid-template-columns: repeat(3, 1fr); }
}

/* reduced motion: static, no sway / parallax / marquee */
@media (prefers-reduced-motion: reduce) {
  #tendeo-home *, #tendeo-home *::before, #tendeo-home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .tnh-track { width: auto; flex-wrap: wrap; justify-content: center; }
  .tnh-logos[aria-hidden="true"] { display: none !important; }
  #tendeo-home .tnh-logos { flex-wrap: wrap; justify-content: center; padding: 0 20px; }
  .tnh-marquee { -webkit-mask-image: none; mask-image: none; }
  .tnh-js .tnh-reveal { opacity: 1; transform: none; }
}
