/* ARDATA — refined visual system */
:root { --off:#f5f5f7; --ink:#1d1d1f; --ink-60:#616166; --grad:linear-gradient(120deg,#635bff,#0071e3); --r-md:24px; --r-lg:32px; --shadow-card:0 8px 32px rgba(0,0,0,.035); --shadow-hover:0 18px 48px rgba(0,0,0,.09); }
body { font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; -webkit-font-smoothing:antialiased; }
h1,h2,h3,h4,.hstat-num,.df-badge-num { font-family:inherit; }
h1,h2 { letter-spacing:-.055em; font-weight:650; }
h2 { font-size:clamp(2.5rem,4.6vw,4rem); line-height:1.08; }
p { line-height:1.7; }
section { padding:112px 0; scroll-margin-top:86px; }
.wrap { max-width:1200px; }
.label { font-size:.73rem; letter-spacing:.14em; font-weight:650; color:#71717a; margin-bottom:18px; }
nav,nav.stuck { padding:13px 0; }
nav { background:rgba(15,19,25,.36); backdrop-filter:blur(24px); -webkit-backdrop-filter:blur(24px); border-bottom:1px solid rgba(255,255,255,.12); }
nav.stuck { background:rgba(250,250,252,.88); box-shadow:none; border-bottom:1px solid rgba(0,0,0,.07); }
.nav-inner { max-width:1360px; gap:28px; }
.nav-logo-img { height:29px; }
.nav-links { gap:23px; }
.nav-links a { font-size:.75rem; white-space:nowrap; }
.nav-cta.btn { padding:9px 17px; font-size:.75rem; }
.btn { border-radius:100px; font-size:.9rem; padding:15px 25px; font-weight:550; transition:transform .35s,box-shadow .35s,background .35s; }
.btn-grad { background:#0071e3; box-shadow:none; }
.btn-grad:hover { background:#0077ed; box-shadow:0 8px 24px #0071e32b; transform:translateY(-2px); }
.btn-ghost { color:white; border-color:rgba(255,255,255,.45); background:rgba(255,255,255,.06); }
.btn:focus-visible,a:focus-visible,button:focus-visible { outline:3px solid #78b9ff; outline-offset:5px; }
#hero { min-height: min(1000px,100svh); padding:160px 0 110px; background-position:center; }
#hero::before { background:linear-gradient(90deg,rgba(6,13,25,.72),rgba(6,13,25,.25) 60%,rgba(6,13,25,.08)),linear-gradient(0deg,rgba(6,13,25,.45),transparent 45%); }
.hero-grid { grid-template-columns:1.25fr .75fr; gap:20px; }
.hero-eyebrow { display:block; color:rgba(255,255,255,.8); font-size:.7rem; letter-spacing:.18em; font-weight:600; margin-bottom:27px; }
.hero-title { font-size:clamp(3.2rem,5.6vw,5.2rem); line-height:1.05; margin:0 0 25px; text-shadow:none; }
.hero-title .line-accent { background:linear-gradient(110deg,#fff,#cddcff); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; filter:none; }
.btn-grad,.btn-grad:hover,.btn-form { color:#fff; }
.hero-desc { font-size:1.1rem; color:rgba(255,255,255,.82); margin-bottom:32px; }
.hero-btns { gap:12px; }
#nosotros { background:#f5f5f7; padding:100px 0; }
.nosotros-inner { display:flex; justify-content:center; text-align:center; }
.nosotros-text { max-width:790px; }
.nos-quote,.burbuja { display:none; }
.nos-titulo { color:#1d1d1f; font-size:clamp(3rem,6vw,5rem); letter-spacing:-.06em; }
.nos-desc { color:#616166; font-size:1.1rem; line-height:1.8; }
.nos-autor { justify-content:center; margin-top:26px; }
.nos-foto { width:64px; height:64px; border:none; }
.section-header { gap:48px; margin-bottom:48px; }
.services-grid { gap:20px; }
.svc-card { background:#f5f5f7; border:1px solid transparent; box-shadow:none; padding:36px; border-radius:28px; }
.svc-card::before { display:none; }
.svc-card:hover { border-color:#d8e6f5; background:#f8faff; box-shadow:var(--shadow-hover); transform:translateY(-5px); }
.svc-icon { background:white; border-radius:18px; width:62px; height:62px; }
.svc-card h3 { font-size:1.22rem; letter-spacing:-.025em; }
.svc-card p { font-size:.94rem; }
#integra { border-radius:36px; margin:0 20px; overflow:hidden; background-position:62% center; }
.integra-desc { font-size:1.03rem; }
.integra-logo-img { filter:none; mix-blend-mode:screen; }
.imod { border-radius:20px; background:rgba(255,255,255,.055); backdrop-filter:blur(12px); padding:25px; }
.imod::before { display:none; }
.imod-num { font-family:inherit; color:#8fbfff; font-size:.8rem; letter-spacing:.1em; }
.imod h4 { font-size:1.04rem; line-height:1.3; letter-spacing:-.015em; }
#tecnologia { margin:20px; border-radius:36px; overflow:hidden; }
.pilar { border-radius:20px; padding:25px 20px; }
#experiencia { background:#f5f5f7; }
#experiencia::after { opacity:.13; }
.exp-card { border:none; background:rgba(255,255,255,.83); border-radius:26px; padding:32px; box-shadow:none; }
.exp-card-title { font-size:1.1rem; }
.exp-list li { font-size:.94rem; line-height:1.65; }
#datafarma { background-position:center; }
.df-badges { gap:0; border-top:1px solid #d2d2d7; border-bottom:1px solid #d2d2d7; padding:28px 0; margin:40px 0; }
.df-badge-item { background:transparent; border:none; border-radius:0; box-shadow:none; }
.df-badge-num { font-weight:650; letter-spacing:-.06em; }
.df-grid { gap:18px; }
.df-grid-item { border-radius:24px; border:1px solid rgba(255,255,255,.6); background:rgba(255,255,255,.85); padding:25px; }
#firmadigital { border-radius:36px; margin:0 20px; overflow:hidden; }
.fd-card { border-radius:24px; padding:30px; }
.fd-como { border-radius:26px; }
.fd-btn,.integra-btn { border-radius:100px; }
.btn.fd-btn, .btn.fd-btn:hover { color:#fff !important; }
#contacto { margin-top:20px; }
.form-card { padding:40px; border:none; border-radius:30px; box-shadow:0 20px 70px #00000008; }
.form-card h3 { font-size:1.5rem; letter-spacing:-.04em; margin-bottom:28px; }
.fg input,.fg select,.fg textarea { border-radius:12px; background:#fafafa; padding:14px 16px; font-family:inherit; font-size:16px; }
.btn-form { border-radius:100px; background:#0071e3; padding:16px; font-size:.95rem; }
footer { background:#f5f5f7; border-top:1px solid #dddde2; }
.footer-logo-img { filter:none; }
.footer-col-title { color:#1d1d1f; }
.footer-col-links a,.footer-col-links li,.footer-desc,.footer-slogan { color:#616166; }
.footer-col-links a:hover { color:#0071e3; }
.footer-bottom { border-top:1px solid #dddde2; }
.footer-bottom p { color:#76767c; }
.reveal { opacity:1; transform:none; }
.js .reveal:not(.visible) { opacity:0; transform:translateY(24px); }
.reveal { transition:opacity .85s cubic-bezier(.2,.7,.2,1),transform .85s cubic-bezier(.2,.7,.2,1); }
@media(min-width:861px) and (max-width:1150px) { .nav-links {gap:13px;} .nav-inner {padding:0 20px;gap:18px;} .nav-links a {font-size:.69rem;} }
@media(max-width:860px) {
 section {padding:76px 0;} h2 {font-size:clamp(2.3rem,8vw,3.3rem);}
 .nav-inner {padding:0 22px;} .nav-logo-img {height:27px;} .hamburger {padding:10px;}
 .nav-links.open {border-radius:0 0 24px 24px;padding:24px;background:rgba(20,23,30,.97);gap:14px;}
 .nav-links.open a {font-size:1rem;} .nav-links.open .nav-cta {display:flex;justify-content:center;}
 #hero {min-height:100svh;background-image:url('../img/hero-bg.jpg');background-position:53% center;padding:125px 0 54px;align-items:stretch;justify-content:flex-end;}
 #hero::before {background:linear-gradient(0deg,rgba(6,13,25,.94),rgba(6,13,25,.62) 36%,rgba(6,13,25,.08) 72%);}
 .hero-grid {grid-template-columns:1fr;} .hero-text {margin:0;text-align:center;}
 .hero-eyebrow {font-size:.62rem;letter-spacing:.13em;margin-bottom:18px;}
 .hero-title {font-size:clamp(2.55rem,9vw,4rem);line-height:1.07;margin:0 0 20px;}
 .hero-desc {font-size:1rem;margin-bottom:25px;} .hero-btns {flex-direction:row;justify-content:center;gap:10px;}
 .hero-btns .btn {width:auto;font-size:.82rem;padding:14px 19px;} .hero-btns .btn-ghost {display:inline-flex;}
 #nosotros {padding:76px 0;} .nos-titulo {font-size:3.5rem;} .nos-desc {font-size:1rem;}
 .svc-card {padding:26px;} #integra,#tecnologia,#firmadigital {margin-left:10px;margin-right:10px;border-radius:28px;}
 #tecnologia {background-image:url('../img/tech-bg.png');background-position:center;}
 #integra {background-image:url('../img/integra-bg.jpg');background-position:59% center;}
 #datafarma {background-image:url('../img/datafarma-bg.png');background-position:center;}
 #firmadigital {background-image:url('../img/firma-bg.png');background-position:center;}
 #experiencia::after {background-image:url('../img/mascota.png');background-position:center;}
 .tech-layout > div:first-child {min-height:200px;} .exp-card {padding:26px;}
 .form-card {padding:28px;} .footer-logo-img {filter:none;}
}
@media(max-width:480px) { .hero-title {font-size:2.65rem;} .hero-eyebrow {font-size:.58rem;} .services-grid {grid-template-columns:1fr;} .svc-card {padding:30px;} .df-badges {flex-wrap:wrap;gap:20px;} .df-badge-item {flex:1;min-width:90px;padding:0;} .df-badge-num {font-size:2rem;} .df-badge-label {font-size:.7rem;} .form-card {padding:24px 20px;} }
@media(prefers-reduced-motion:reduce) { html {scroll-behavior:auto;} *,*::before,*::after {animation:none!important;transition:none!important;} .js .reveal:not(.visible) {opacity:1;transform:none;} #petals-canvas {display:none;} }

/* Ajustes de composición y contraste */
#hero > .wrap { width:100%; }
nav .nav-links a.nav-cta.btn, nav.stuck .nav-links a.nav-cta.btn, nav:not(.stuck) .nav-links a.nav-cta.btn { color:#fff !important; }
.hero-title { max-width:490px; font-size:clamp(3rem,5vw,4.5rem); }
.integra-bg { background:linear-gradient(160deg,rgba(2,8,30,.72) 0%,rgba(5,18,65,.58) 40%,rgba(8,30,90,.42) 70%,rgba(4,12,50,.58) 100%); }
@media(max-width:860px) { .hero-title {max-width:none;font-size:clamp(2.55rem,9vw,4rem);} .imod {backdrop-filter:none;background:rgba(3,12,35,.62);} }

/* Marcas con contraste y sin fondo */
.nos-foto {filter:brightness(0);object-fit:contain;}
.integra-logo-img {display:block;width:136px;height:40px;background:#fff;filter:none;mix-blend-mode:normal;mask-image:url("../img/integra-logo.png");mask-mode:luminance;mask-size:contain;mask-position:center;mask-repeat:no-repeat;}
@media(max-width:860px) {.integra-logo-img {width:96px;height:28px;}}

.btn.integra-btn, .btn.integra-btn:hover, .btn.integra-btn:focus { color: #fff !important; }
