/* AO — contemporary portfolio and progressive motion layer. */
:root { --ao-content: min(88%, 1440px); --ao-ink: #172a31; --ao-muted: #586971; --ao-line: #dce7e9; --ao-accent: #00bad3; --ao-accent-strong: #008caa; --ao-radius: 24px; }
html { scroll-padding-top: 112px; }
body { background: #f7fbfa; }
html[data-ao-active-section="hero"] body { background-color: #f7fbfa; }
html[data-ao-active-section="strengths"] body { background-color: #f1f8f6; }
html[data-ao-active-section="projects"] body { background-color: #f1f5f8; }
html[data-ao-active-section="services"] body { background-color: #eff8f7; }
html[data-ao-active-section="about-contact"] body { background-color: #f5f8f5; }
.site-header { background: rgba(249,253,252,.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(32,76,83,.09); transition: box-shadow .3s; }
.site-header.ao-scrolled { box-shadow: 0 8px 32px #173c4410; }
.site-header__inner { min-height: 88px; }
.primary-navigation a { font-size: 12px; font-weight: 650; letter-spacing: .055em; }
.primary-navigation a:hover { color: #008caa; }
.nav-cta, .wp-block-button.ao-button-base .wp-block-button__link { border-radius: 100px; background: #172e36; color: white; border: 1px solid #172e36; box-shadow: none; }
.nav-cta:hover, .wp-block-button.ao-button-base > .wp-block-button__link:hover { background: #007e94; border-color: #007e94; color: white; box-shadow: 0 8px 24px #007e9420; transform: translateY(-3px); }
a:focus-visible, button:focus-visible { outline: 3px solid #008caa; outline-offset: 5px; }
.hero { padding: 76px 0 36px; isolation: isolate; }
.hero::before { content: ''; position: absolute; pointer-events:none; width: 670px; height: 670px; border-radius: 50%; right: -150px; top: -160px; background: radial-gradient(circle, #b1ece74a, #ccedf122 50%, transparent 70%); z-index: -1; }
.hero::after { inset: 14% 0 auto 52%; height: 490px; opacity: .3; background-size: 20px 20px; transform: none; mask-image: radial-gradient(ellipse,#000,transparent 68%); }
.ao-home-blocks .hero__grid { display: grid !important; grid-template-columns: 1.16fr 1fr; gap: clamp(24px,4vw,70px); margin-bottom: 0; }
.hero__grid > .wp-block-column { min-width: 0; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; color: #42747b; font-size: 10px; letter-spacing: .16em; margin-top: 0; }
.hero .eyebrow::before { content: ''; width: 7px; height: 7px; background: #00b69b; border-radius: 50%; box-shadow: 0 0 0 5px #00b69b12; flex-shrink: 0; }
.hero h1 { font-size: clamp(44px,4.65vw,76px) !important; line-height: 1.045; letter-spacing: -.065em; font-weight: 700; margin: 26px 0; text-wrap: balance; }
.hero h1 span { color: #008ba5; }
.hero__lead { font-size: 15px; line-height: 1.7; max-width: 430px; color: #5b6b71; }
.hero__copy > .wp-block-group { gap: 16px; }
.hero__copy > .wp-block-group figure { flex-shrink: 0; }
.hero__copy > .wp-block-buttons { margin-top: 28px; gap: 24px; }
.hero .wp-block-button__link { font-size: 12px; }
.hero__grid > .wp-block-column:last-child { position: relative; min-height: 430px; display: grid; align-content: center; perspective: 900px; }
.hero__grid > .wp-block-column:last-child > figure { position: relative; z-index: 1; width: 115%; max-width: none; margin: 0 0 0 -7%; transform: translate3d(var(--ao-x,0px),var(--ao-y,0px),0); transition: transform .6s ease-out; }
.hero__grid > .wp-block-column:last-child > figure img { animation: ao-levitate 7s ease-in-out infinite; mix-blend-mode: multiply; }
.ao-float { position: absolute; z-index: 3; pointer-events: none; margin: 0 !important; animation: ao-levitate 6s ease-in-out infinite; }
.ao-float--label { padding: 12px 17px; border: 1px solid #fff; background: #ffffffd9; border-radius: 12px; box-shadow: 0 14px 40px #123e4810; backdrop-filter: blur(12px); font-size: 11px; letter-spacing: .025em; color: #294b55; display: flex; align-items: center; gap: 10px; }
.ao-float--design { top: 6%; left: 3%; rotate: -7deg; }
.ao-float--code { bottom: 8%; right: 0; rotate: 6deg; animation-delay: -3s; }
.ao-float--label b { font-size: 18px; color: #0093a6; }
.ao-float--orb { top: 4%; right: 12%; width: 48px; height: 48px; border-radius: 50%; background: radial-gradient(circle at 30% 25%,#efffff,#56d6d3 40%,#008b9e 80%); box-shadow: inset -5px -8px 12px #007e9440,0 20px 22px #008b9e20; animation-delay: -2s; }
.ao-float--spark { bottom: 8%; left: 10%; color: #008a9e; font-size: 58px; line-height: 1; animation: ao-turn 28s linear infinite; }
.ao-orbit { position:absolute; inset: 4% 0; border: 1px solid #008caa18; border-radius: 50%; transform: rotate(-25deg) scaleY(.76); pointer-events:none; }
.ao-hero-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 50px auto 0 !important; width: var(--ao-content); border-top: 1px solid var(--ao-line); padding-top: 22px; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: #647c81; }
.ao-hero-foot a { display: inline-flex; gap: 15px; align-items: center; }
.ao-hero-foot a span { font-size: 19px; animation: ao-nudge 2s ease-in-out infinite; }
.ao-section { padding-top: 64px; padding-bottom: 64px; }
.strengths-section { padding-top: 0; padding-bottom: 38px; }
.stats { gap: 20px; }
.stat-card { background: transparent; border: 0; border-right: 1px solid #cedee0; border-radius: 0; box-shadow: none; padding: 18px 24px; min-height: 110px; gap: 18px; }
.stat-card:last-child { border-right: 0; }
.stat-card h3 { font-size: clamp(23px,2.5vw,38px); letter-spacing: -.045em; }
.stat-card p { color: #64777d; font-size: 13px; }
.section-heading { margin-bottom: 35px; }
.section-heading h2, .services h2 { font-size: clamp(32px,3.5vw,52px); font-weight: 600; letter-spacing: -.055em; }
.section-heading p, .section-heading span { font-size: 12px; color: #64777d; }
.project-grid { gap: 28px; }
.project-card { border-color: #dbe6e8; border-radius: 24px; box-shadow: 0 8px 24px #123e4805; transition: border-color .3s, box-shadow .3s; }
.project-card:hover { border-color: #8bc9ce; box-shadow: 0 20px 55px #123e4812; }
.project-card__content { padding: clamp(24px,3vw,46px); }
.project-card__content p { font-size: 14px; line-height: 1.75; }
.project-card__content .project-card__meta { font-size: 10px; letter-spacing: .12em; color: #008294; }
.project-card__content h4 { font-size: 17px; font-weight: 550; line-height: 1.4; }
.project-card__content .wp-block-buttons { margin-top: 22px; }
.project-card .wp-block-button__link { font-size: 11px; }
.project-card__media img { transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.project-card:hover .project-card__media img { transform: scale(1.045); }
.services { padding-block: 64px; }
.services__grid { gap: 14px; }
.service-card { flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: 180px; padding: 25px; border-radius: 20px; background: #ffffffb3; box-shadow: none; transition: translate .35s, background .35s, box-shadow .35s; }
.service-card:hover { translate: 0 -8px; background: #fff; box-shadow: 0 16px 35px #123e4810; }
.ao-about { box-shadow: none; padding: 36px; }
.contact-cta { position: relative; overflow: hidden; padding: 36px; background: #163740; color: white; border-color: #163740; box-shadow: none; }
.contact-cta h2 { color: #fff; }
.contact-cta p { color: #c0d4d9; }
.contact-cta .wp-block-button__link { background: #b8efdc; border-color: #b8efdc; color: #163740; }
.contact-cta .contenedor-icono-2 { animation: ao-levitate 6s ease-in-out infinite; }
.site-footer { margin-top: 64px; }
.ao-motion-toggle { position: fixed; z-index: 50; bottom: 18px; right: 18px; border: 1px solid #d2e3e5; background: #fffffff0; color: #385a63; border-radius: 100px; font-size: 11px; padding: 10px 15px; box-shadow: 0 4px 20px #173c440b; cursor: pointer; }
.ao-motion-paused *, .ao-motion-paused *::before, .ao-motion-paused *::after { animation-play-state: paused !important; }
.ao-motion-paused .hero__grid > .wp-block-column:last-child > figure { transform: none; }
@keyframes ao-levitate { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-16px) rotate(1deg); } }
@keyframes ao-turn { to { transform: rotate(360deg); } }
@keyframes ao-nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media(min-width: 981px) { .project-card:not(.project-card--featured) { grid-template-columns: 1fr; } .project-card:not(.project-card--featured) .project-card__media { min-height: 280px; max-height: 380px; } }
@media(max-width: 980px) { :root { --ao-content: 90%; } .ao-home-blocks .hero__grid { grid-template-columns: 1.1fr 1fr; gap: 20px; } .hero { padding-top: 50px; } .hero h1 { font-size: clamp(38px,5.2vw,54px) !important; } .hero__grid > .wp-block-column:last-child { min-height: 360px; } .stats { grid-template-columns: repeat(3,1fr); } .stat-card { flex-direction: column; align-items: flex-start; padding: 14px; } .services__grid { grid-template-columns: repeat(3,1fr); } }
@media(max-width: 760px) { :root { --ao-content: calc(100% - 40px); } .site-header__inner { min-height: 72px; } .ao-home-blocks .hero__grid { grid-template-columns: 1fr; gap: 25px; } .hero { padding-top: 32px; } .hero h1 { font-size: clamp(40px,10.4vw,66px) !important; max-width: 620px; } .hero__lead { font-size: 14px; } .hero__grid > .wp-block-column:last-child { min-height: 320px; width: 100%; } .hero__grid > .wp-block-column:last-child > figure { width: 100%; margin: 0; } .ao-float--design { left: 4%; top: 0; } .ao-float--orb { width: 35px; height: 35px; } .ao-float--spark { font-size: 42px; bottom: 0; } .ao-float--code { bottom: 0; right: 3%; } .ao-hero-foot { margin-top: 32px !important; font-size: 9px; letter-spacing: .05em; } .stat-card h3 { font-size: 20px; } .stat-card { padding: 10px; gap: 12px; } .stat-card .contenedor-icono { transform: scale(.8); transform-origin: left; } .stat-card p { font-size: 11px; } .section-heading { align-items: start; } .services__grid { grid-template-columns: repeat(2,1fr); } .service-card { min-height: 150px; padding: 20px; } .ao-section, .services { padding-block: 38px; } .strengths-section { padding-top: 10px; } .ao-about, .contact-cta { padding: 28px; } .ao-motion-toggle { bottom: 10px; right: 10px; font-size: 10px; } .primary-navigation .is-menu-open { background: #f7fbfa; } }
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } .hero__grid > .wp-block-column:last-child > figure { transform: none; } }
/* Match WordPress navigation and constrained-layout specificity. */
.site-header .wp-block-navigation-item.nav-cta { background: #172e36; }
.site-header .wp-block-navigation-item.nav-cta:hover { background: #007e94; }
.ao-home-blocks .hero > .ao-hero-foot { max-width: none; }
.contact-cta .wp-block-button.ao-button-base .wp-block-button__link { background: #b8efdc; color: #163740; border-color: #b8efdc; }
.contact-cta .wp-block-button.ao-button-base .wp-block-button__link:hover { background: #dcfff1; color: #163740; }
