:root {
    --ink: #0e1738;
    --navy: #111c4d;
    --blue: #df1f2d;
    --cyan: #ffd000;
    --yellow: #ffd000;
    --red: #df1f2d;
    --paper: #f6f8ff;
    --muted: #65708d;
    --line: #e5eaf6;
    --shadow: 0 22px 55px rgba(14, 23, 56, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body, button, a { -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.site-shell { overflow: hidden; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 100; padding: 10px 14px; background: #fff; border-radius: 8px; }
.skip-link:focus { left: 10px; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(246, 248, 255, .84); border-bottom: 1px solid rgba(229, 234, 246, .8); backdrop-filter: blur(18px); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: -.04em; }
.brand img { width: 58px; height: 58px; object-fit: cover; border-radius: 50%; }
.brand-tag { display: block; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 800; }
.site-nav a { color: var(--navy); transition: color .2s ease; }
.site-nav a:hover { color: var(--blue); }
.header-call { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; color: #fff !important; background: var(--navy); border-radius: 12px; box-shadow: 0 8px 18px rgba(17, 28, 77, .18); }
.nav-toggle { display: none; border: 0; color: var(--navy); background: transparent; font-size: 25px; cursor: pointer; }

.hero { position: relative; isolation: isolate; padding: 82px 0 105px; color: #fff; background: radial-gradient(circle at 72% 16%, #e73535 0, #8f111d 32%, #090909 82%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px); background-size: 44px 44px; transform: perspective(500px) rotateX(58deg) scale(1.65) translateY(28%); transform-origin: bottom; }
.hero::after { content: ""; position: absolute; right: -150px; bottom: -180px; z-index: -1; width: 440px; height: 440px; border-radius: 50%; background: var(--red); filter: blur(75px); opacity: .2; }
.hero-grid { display: grid; grid-template-columns: 1fr .82fr; align-items: center; gap: 50px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; color: #17234f; background: var(--yellow); border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #1c9d59; box-shadow: 0 0 0 5px rgba(28,157,89,.16); }
.hero h1 { max-width: 650px; margin: 22px 0 20px; font-size: clamp(42px, 6vw, 76px); line-height: 1.02; letter-spacing: -.06em; }
.hero h1 em { color: var(--cyan); font-style: normal; }
.hero-copy { max-width: 560px; margin: 0; color: rgba(255,255,255,.76); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 15px 20px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 900; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.button:hover { color: #fff; transform: translateY(-4px); box-shadow: 0 13px 27px rgba(0,0,0,.22); }
.button-primary { color: #17234f; background: var(--yellow); }
.button-whatsapp { color: #fff; background: #1fbe6b; }
.button-ghost { color: var(--navy); background: #fff; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 31px; color: rgba(255,255,255,.68); font-size: 12px; }
.hero-trust strong { display: block; color: #fff; font-size: 14px; }

.hero-art { position: relative; min-height: 455px; perspective: 1200px; }
.art-ring { position: absolute; border: 1px solid rgba(21,210,194,.4); border-radius: 50%; transform: rotateX(68deg) rotateZ(-18deg); }
.art-ring-one { inset: 55px -25px 85px 30px; animation: spin 17s linear infinite; }
.art-ring-two { inset: 95px 30px 38px -45px; border-color: rgba(255,208,62,.35); animation: spinReverse 14s linear infinite; }
.art-card { position: absolute; inset: 45px 10px 48px 32px; padding: 13px; overflow: hidden; border: 1px solid rgba(255,255,255,.55); border-radius: 24px; background: rgba(255,255,255,.12); box-shadow: 32px 34px 70px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.48); backdrop-filter: blur(12px); transform: rotateY(-13deg) rotateX(7deg) rotateZ(2deg); animation: float 5s ease-in-out infinite; }
.art-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255,255,255,.34), transparent 34%); }
.art-card-head, .art-card-foot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 8px 5px; color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.art-card-head i { color: var(--yellow); font-size: 18px; }
.art-card-foot strong { color: var(--yellow); font-size: 13px; }
.art-card img { display: block; width: 100%; height: 300px; object-fit: cover; object-position: center; border-radius: 15px; }
.art-badge { position: absolute; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 11px 14px; color: var(--navy); background: #fff; border-radius: 12px; box-shadow: var(--shadow); font-size: 12px; font-weight: 900; animation: float 4s ease-in-out infinite reverse; }
.art-badge i { color: var(--red); font-size: 18px; }
.art-badge-top { top: 20px; right: -8px; }
.art-badge-bottom { bottom: 17px; left: -10px; animation-delay: -1.2s; }

.section { padding: 100px 0; }
.section-white { background: #fff; }
.section-heading { max-width: 620px; margin-bottom: 44px; }
.section-heading.center { margin-right: auto; margin-left: auto; text-align: center; }
.section-kicker { margin-bottom: 11px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.section-title { margin: 0 0 13px; color: var(--navy); font-size: clamp(32px, 4vw, 51px); line-height: 1.08; letter-spacing: -.05em; }
.section-intro { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 240px; padding: 25px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 8px 25px rgba(14,23,56,.05); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.service-card::after { content: ""; position: absolute; right: -35px; bottom: -50px; width: 130px; height: 130px; border-radius: 50%; background: rgba(21,210,194,.11); }
.service-card:hover { border-color: rgba(40,104,244,.22); transform: translateY(-9px) rotateX(2deg); box-shadow: 0 22px 42px rgba(40,104,244,.14); }
.service-icon { display: grid; width: 56px; height: 56px; margin-bottom: 20px; place-items: center; border-radius: 16px; background: #eaf6ff; }
.service-icon img { width: 39px; height: 39px; object-fit: contain; transition: transform .3s ease; }
.service-card:hover .service-icon img { transform: rotate(-10deg) scale(1.14); }
.service-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 20px; }
.service-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.service-link { display: inline-flex; margin-top: 18px; color: var(--blue); font-size: 12px; font-weight: 900; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.about-photo { position: relative; padding: 14px; border-radius: 24px; background: linear-gradient(145deg, var(--yellow), var(--cyan)); box-shadow: var(--shadow); transform: rotate(-2deg); }
.about-photo img { display: block; width: 100%; border-radius: 15px; }
.about-photo::after { content: "25+ servicios"; position: absolute; right: -20px; bottom: 28px; padding: 12px 14px; color: #fff; background: var(--red); border: 4px solid var(--paper); border-radius: 12px; font-size: 12px; font-weight: 900; transform: rotate(5deg); }
.check-list { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; color: var(--muted); line-height: 1.55; }
.check-list i { display: grid; flex: 0 0 22px; width: 22px; height: 22px; place-items: center; color: var(--navy); background: var(--yellow); border-radius: 50%; font-size: 11px; }

.contact-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 25px; padding: 42px; color: #fff; border-radius: 26px; background: linear-gradient(120deg, var(--navy), #263e9b); box-shadow: var(--shadow); }
.contact-panel h2 { margin: 0 0 9px; font-size: clamp(26px, 4vw, 42px); letter-spacing: -.04em; }
.contact-panel p { margin: 0; color: rgba(255,255,255,.72); line-height: 1.6; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer { padding: 32px 0; color: rgba(255,255,255,.7); background: #0a112e; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-row img { width: 78px; height: 78px; object-fit: cover; border-radius: 50%; }
.footer-row p { margin: 0; font-size: 13px; }
.call-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; padding: 11px 15px 11px 11px; color: #fff; background: var(--red); border: 3px solid #fff; border-radius: 15px; box-shadow: 0 12px 28px rgba(239,75,89,.35); transition: transform .25s ease; }
.call-float:hover { color: #fff; transform: translateY(-4px); }
.call-float > i { display: grid; width: 34px; height: 34px; place-items: center; color: var(--red); background: #fff; border-radius: 50%; }
.call-float small, .call-float strong { display: block; line-height: 1.2; }
.call-float small { font-size: 10px; opacity: .8; }
.call-float strong { font-size: 13px; }
.brand img { filter: drop-shadow(0 4px 8px rgba(0,0,0,.12)); }
.header-call { background: #090909; }
.service-icon { background: #fff5d2; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes float { 0%, 100% { transform: rotateY(-13deg) rotateX(7deg) rotateZ(2deg) translateY(0); } 50% { transform: rotateY(-10deg) rotateX(9deg) rotateZ(1deg) translateY(-12px); } }
@keyframes spin { to { transform: rotateX(68deg) rotateZ(342deg); } }
@keyframes spinReverse { to { transform: rotateX(68deg) rotateZ(-378deg); } }

@media (max-width: 900px) {
    .hero-grid, .about-grid { grid-template-columns: 1fr; }
    .hero-art { width: min(100%, 530px); margin: 0 auto; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { gap: 42px; }
    .contact-panel { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .container { width: min(100% - 28px, 560px); }
    .header-row { min-height: 68px; }
    .nav-toggle { display: block; }
    .site-nav { position: absolute; top: 68px; right: 14px; left: 14px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 13px; }
    .header-call { text-align: center; }
    .hero { padding: 57px 0 80px; }
    .hero h1 { font-size: 45px; }
    .hero-copy { font-size: 16px; }
    .hero-art { min-height: 330px; }
    .art-card { inset: 30px 4px 27px 22px; }
    .art-card img { height: 204px; }
    .art-badge-top { right: -4px; }
    .art-badge-bottom { left: -4px; }
    .section { padding: 72px 0; }
    .service-grid { grid-template-columns: 1fr; }
    .contact-panel { padding: 28px 23px; }
    .footer-row { flex-direction: column; align-items: flex-start; }
    .call-float { right: 11px; bottom: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
