:root {
  --yx-accent: #20a8d8;
  --yx-black: #080a0c;
  --yx-graphite: #151a1f;
  --yx-graphite-soft: #20272e;
  --yx-muted: #f3f6f8;
  --yx-white: #fff;
  --yx-text: #1d252c;
  --yx-subtle: #65717b;
  --yx-border: #dce3e8;
  --yx-radius: 8px;
  --yx-shadow: 0 18px 50px rgba(8, 16, 24, .08);
  --yx-container: 1240px;
  /* Corrección temporal para imágenes históricas con cabecera celeste incrustada. */
  --yx-blog-image-top-crop: 14%;
  --yx-blog-image-height: 118%;
  --yx-single-post-image-top-crop: 15%;
  --yx-single-post-image-height: 120%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; overflow-x: hidden; color: var(--yx-text); background: var(--yx-white); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: clamp(1.125rem, 1.08rem + .18vw, 1.1875rem); line-height: 1.65; }
body.nav-open { overflow: hidden; }
img, video, iframe { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { max-width: 100%; font: inherit; }
button, a { touch-action: manipulation; }
.container { width: min(calc(100% - 2rem), var(--yx-container)); margin-inline: auto; }
.narrow { max-width: 800px; }
.section { padding-block: 3rem; }
.section-muted { background: var(--yx-muted); }
.section-dark { color: var(--yx-white); background: var(--yx-black); }
h1, h2, h3 { margin: 0 0 1rem; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
h1 { max-width: 100%; overflow-wrap: break-word; font-size: clamp(2.6rem, 5vw, 4.25rem); }
h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
p { margin: 0 0 1.25rem; }
.eyebrow { margin-bottom: .85rem; color: var(--yx-accent); font-size: clamp(.875rem, .84rem + .15vw, .95rem); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section-heading { display: grid; gap: .75rem; margin-bottom: 1.85rem; }
.section-heading > p { max-width: 540px; color: var(--yx-subtle); }
.section-dark .section-heading > p { color: #b9c3ca; }
.button-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 2px solid var(--yx-accent); border-radius: 5px; padding: .78rem 1.15rem; color: #061017; background: var(--yx-accent); font-size: clamp(1.0625rem, 1.02rem + .15vw, 1.1875rem); font-weight: 800; line-height: 1.25; text-align: center; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(32, 168, 216, .2); }
.button-secondary { border-color: currentColor; color: inherit; background: transparent; box-shadow: none; }
.card-link { display: inline-flex; align-items: center; gap: .45rem; color: #0579a3; font-weight: 800; text-decoration: none; }
.section-dark .card-link { color: #77d6f8; }
.skip-link { position: fixed; z-index: 9999; top: .5rem; left: .5rem; transform: translateY(-160%); padding: .75rem 1rem; color: #061017; background: var(--yx-accent); font-weight: 800; }
.skip-link:focus { transform: none; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid #51c9f4; outline-offset: 3px; }

.site-header { position: relative; z-index: 50; border-bottom: 1px solid rgba(255, 255, 255, .09); color: var(--yx-white); background: var(--yx-graphite); }
.header-inner { display: flex; min-height: 72px; align-items: center; gap: .75rem; padding-block: .5rem; }
.site-branding { min-width: 0; max-width: calc(100% - 60px); margin-right: auto; }
.yx-brand { display: inline-flex; max-width: 100%; align-items: center; color: #fff; text-decoration: none; }
.yx-brand__logo { display: block; width: auto; max-width: 100%; height: auto; object-fit: contain; }
.yx-brand--header .yx-brand__logo { width: 92px; }
.yx-brand--footer .yx-brand__logo { width: 125px; margin-bottom: 1.25rem; }
.site-name { font-weight: 900; text-decoration: none; }
.menu-toggle { display: inline-flex; flex: 0 0 48px; min-width: 48px; min-height: 48px; align-items: center; justify-content: center; gap: .5rem; border: 1px solid #52606b; border-radius: 5px; color: #fff; background: transparent; cursor: pointer; }
.primary-navigation { visibility: hidden; position: fixed; z-index: 45; inset: 108px 0 0; transform: translateX(100%); overflow-y: auto; padding: 1.25rem max(1rem, env(safe-area-inset-right)) calc(1.25rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); background: var(--yx-graphite); transition: transform .25s ease, visibility .25s ease; }
.primary-navigation.is-open { visibility: visible; transform: translateX(0); }
.priority-menu { display: flex; flex-direction: column; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.priority-menu a { display: flex; min-height: 48px; align-items: center; border-bottom: 1px solid #34404a; padding: .8rem .25rem; font-size: 1.125rem; font-weight: 700; text-decoration: none; }
.header-cta { display: none; white-space: nowrap; }

.hero { position: relative; overflow: hidden; padding-block: 3rem; color: #fff; background: radial-gradient(circle at 85% 15%, rgba(32, 168, 216, .15), transparent 35%), var(--yx-black); }
.hero::after { content: ""; position: absolute; bottom: 0; left: 0; width: 35%; height: 3px; background: var(--yx-accent); }
.hero-grid { display: grid; align-items: center; gap: 2rem; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { max-width: 780px; font-size: clamp(2.55rem, 5vw, 4.25rem); }
.hero-lead { max-width: 620px; color: #cad3d9; font-size: clamp(1.125rem, 1.06rem + .35vw, 1.3rem); line-height: 1.6; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; margin: 1.6rem 0 0; padding: 1rem 0 0; border-top: 1px solid #303941; color: #e4eaee; font-size: 1rem; list-style: none; }
.hero-trust li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .55rem; border-radius: 50%; background: var(--yx-accent); }
.hero-media { position: relative; width: 100%; max-width: 640px; margin-inline: auto; }
.hero-media::before { content: ""; position: absolute; z-index: 0; top: -14px; right: -14px; width: 38%; height: 38%; border-top: 2px solid var(--yx-accent); border-right: 2px solid var(--yx-accent); }
.hero-image, .hero-placeholder { position: relative; z-index: 1; width: 100%; aspect-ratio: 5 / 4; border-radius: var(--yx-radius); object-fit: cover; box-shadow: 0 32px 70px rgba(0, 0, 0, .38); }
.hero-placeholder { display: grid; align-content: end; overflow: hidden; padding: clamp(1.5rem, 5vw, 3rem); background: linear-gradient(145deg, #26323b, #11171c); }
.hero-placeholder::before { content: ""; position: absolute; inset: 10% 10% auto auto; width: 42%; aspect-ratio: 1; border: 1px solid rgba(32, 168, 216, .5); transform: rotate(12deg); }
.hero-placeholder span { color: var(--yx-accent); font-size: clamp(4rem, 15vw, 9rem); font-weight: 900; line-height: .8; letter-spacing: -.09em; }
.hero-placeholder small { margin-top: 1.25rem; color: #d3dce2; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }

.cards-grid, .post-grid, .project-grid { display: grid; gap: 1.1rem; }
.cards-grid > *, .post-grid > *, .project-grid > * { min-width: 0; }
.service-grid article { display: flex; min-height: 0; flex-direction: column; align-items: flex-start; border: 1px solid var(--yx-border); border-radius: var(--yx-radius); padding: 1.3rem; background: #fff; box-shadow: 0 8px 30px rgba(8, 18, 28, .035); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-grid article:hover { transform: translateY(-4px); border-color: rgba(32, 168, 216, .45); box-shadow: var(--yx-shadow); }
.service-grid article p { font-size: clamp(1.0625rem, 1.03rem + .12vw, 1.1875rem); line-height: 1.55; }
.service-grid .card-link { min-height: 48px; margin-top: auto; align-items: center; }
.card-number { display: grid; width: 40px; height: 40px; place-items: center; margin-bottom: 1.25rem; border-radius: 50%; color: #075d7b; background: rgba(32, 168, 216, .12); font-size: .875rem; font-weight: 900; }
.solution-grid { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; counter-reset: solution; }
.solution-grid li { display: flex; min-height: 0; align-items: center; gap: .85rem; border: 1px solid var(--yx-border); border-radius: 6px; padding: .9rem 1rem; background: #fff; font-size: clamp(1.0625rem, 1.03rem + .12vw, 1.1875rem); font-weight: 750; line-height: 1.5; }
.solution-grid span { color: #0782ad; font-size: .875rem; font-weight: 900; }
.process-grid { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.process-grid li { position: relative; min-height: 0; border: 1px solid var(--yx-border); border-radius: var(--yx-radius); padding: 1.3rem; background: #fff; }
.process-grid li > span { display: block; margin-bottom: 1.25rem; color: #0782ad; font-size: .875rem; font-weight: 900; }
.process-grid li p { margin-bottom: 0; color: var(--yx-subtle); font-size: clamp(1.0625rem, 1.03rem + .12vw, 1.1875rem); line-height: 1.55; }

.projects-section { background: linear-gradient(180deg, var(--yx-black), #11181d); }
.project-grid { grid-template-columns: minmax(0, 1fr); }
.project-card { min-width: 0; overflow: hidden; border: 1px solid #303a42; border-radius: var(--yx-radius); background: var(--yx-graphite-soft); box-shadow: 0 14px 35px rgba(0, 0, 0, .16); }
.project-image { display: block; overflow: hidden; background: #0b1014; }
.project-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .3s ease; }
.project-card:hover .project-image img { transform: scale(1.025); }
.project-body { padding: 1.25rem; }
.project-meta { margin-bottom: .75rem; color: var(--yx-accent); font-size: .875rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.project-card h3 { display: -webkit-box; overflow: hidden; margin-bottom: .8rem; font-size: clamp(1.4rem, 2vw, 1.75rem); -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.project-card h3 a { text-decoration: none; }
.project-excerpt { display: -webkit-box; overflow: hidden; color: #c1cbd1; font-size: clamp(1.0625rem, 1.03rem + .12vw, 1.1875rem); line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.project-card .card-link { margin-top: .5rem; }
.real-work-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.real-work-grid figure { position: relative; overflow: hidden; margin: 0; border: 1px solid var(--yx-border); border-radius: var(--yx-radius); background: var(--yx-graphite); box-shadow: var(--yx-shadow); }
.real-work-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s ease; }
.real-work-grid figure:hover img { transform: scale(1.02); }
.real-work-grid figcaption { position: absolute; right: 0; bottom: 0; left: 0; margin: 0; padding: 2rem 1rem 1rem; color: #fff; background: linear-gradient(transparent, rgba(5, 9, 12, .82)); font-size: 1.0625rem; font-weight: 750; }

.content-card { overflow: hidden; border: 1px solid var(--yx-border); border-radius: var(--yx-radius); background: #fff; }
.card-body { padding: 1.25rem; }
.card-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.yx-blog-card { display: flex; min-width: 0; flex-direction: column; border-top: 0 !important; box-shadow: none; }
.yx-blog-card .card-body { display: flex; flex: 1; flex-direction: column; }
.yx-blog-card::before, .yx-blog-card::after, .yx-blog-card__media::before, .yx-blog-card__media::after { display: none !important; content: none !important; }
.yx-blog-card__media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border: 0; border-top: 0 !important; padding-top: 0; background: #111; box-shadow: none; }
.yx-blog-card__image { position: absolute; top: calc(-1 * var(--yx-blog-image-top-crop)); left: 0; width: 100%; max-width: none; height: var(--yx-blog-image-height); object-fit: cover; object-position: center 60%; }
.yx-blog-card__category { margin-bottom: .65rem; color: #0579a3; font-size: .875rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.yx-blog-card h2 { display: -webkit-box; overflow: hidden; margin-bottom: .8rem; font-size: clamp(1.35rem, 2vw, 1.75rem); -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.yx-blog-card h2 a { text-decoration: none; }
.yx-blog-card__excerpt { display: -webkit-box; overflow: hidden; color: var(--yx-subtle); font-size: clamp(1.0625rem, 1.03rem + .12vw, 1.1875rem); line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.yx-blog-card__excerpt p:last-child { margin-bottom: 0; }
.yx-blog-card .card-link { min-height: 44px; margin-top: auto; padding-top: 1rem; }
.yx-single-post__featured-media { position: relative; display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--yx-border); background: #11171c; }
.yx-single-post__featured-image { position: absolute; top: calc(-1 * var(--yx-single-post-image-top-crop)); left: 0; width: 100%; max-width: none; height: var(--yx-single-post-image-height); object-fit: cover; object-position: center 60%; }
.cta-panel { padding-block: 3rem; color: #fff; background: var(--yx-graphite); }
.cta-grid { display: grid; align-items: end; gap: 1.5rem; }
.cta-grid h2 { max-width: 850px; }
.cta-grid p:not(.eyebrow) { max-width: 680px; color: #c5ced4; }

.service-hero { padding-block: 3.25rem; }
.service-hero-grid { display: grid; align-items: center; gap: 2rem; }
.service-hero-copy { max-width: 760px; }
.service-hero-copy > p:not(.eyebrow) { max-width: 650px; color: #c5d0d7; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); }
.service-hero-copy .button { margin-top: .75rem; }
.service-hero-media { width: 100%; max-width: 620px; overflow: hidden; border: 1px solid #3d4a54; border-radius: var(--yx-radius); background: var(--yx-graphite-soft); box-shadow: 0 24px 60px rgba(0, 0, 0, .28); }
.service-hero-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.thank-you-card { padding-block: clamp(2rem, 6vw, 5rem); text-align: center; }
.thank-you-card .hero-lead, .thank-you-card > p { margin-inline: auto; }
.thank-you-card .button-row { justify-content: center; }
.request-reference code { overflow-wrap: anywhere; color: #fff; }
.legacy-section { padding-top: 3rem; background: #fff; }
.legacy-heading { width: min(100%, 920px); margin: 0 auto 1.5rem; }
.legacy-heading h2 { max-width: 760px; }
.yx-legacy-content { width: min(100%, 920px); margin-inline: auto; overflow-wrap: anywhere; font-size: clamp(1.0625rem, 1rem + .2vw, 1.1875rem); line-height: 1.72; }
.yx-legacy-content > * { margin-top: 0; margin-bottom: 1.35rem; }
.yx-legacy-content > *:last-child { margin-bottom: 0; }
.yx-legacy-content h2, .yx-legacy-content h3, .yx-legacy-content h4 { margin-top: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.yx-legacy-content h2:first-child, .yx-legacy-content h3:first-child { margin-top: 0; }
.yx-legacy-content ul, .yx-legacy-content ol { margin: 0 0 1.5rem; padding-left: 1.4rem; }
.yx-legacy-content li + li { margin-top: .45rem; }
.yx-legacy-content img { max-width: 100%; height: auto; margin-inline: auto; }
.yx-legacy-content figure { max-width: 100%; margin: 1.75rem auto; }
.yx-legacy-content figcaption { margin-top: .65rem; color: var(--yx-subtle); font-size: .9rem; text-align: center; }
.yx-legacy-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.yx-legacy-content th, .yx-legacy-content td { border: 1px solid var(--yx-border); padding: .7rem; text-align: left; }
.yx-legacy-content a { color: #067da8; font-weight: 650; }
.yx-legacy-content .wp-block-spacer { height: clamp(24px, 5vw, 64px) !important; margin: 0 !important; }
.yx-legacy-content .wp-block-buttons { gap: .75rem; margin-top: 1.5rem; margin-bottom: 1.75rem; }
.yx-legacy-content .wp-block-button__link, .yx-legacy-content a.wp-block-button__link, .yx-legacy-content input[type="submit"], .yx-legacy-content button[type="submit"] { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 2px solid var(--yx-accent); border-radius: 5px; padding: .75rem 1.25rem; color: #061017; background: var(--yx-accent); font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer; }
.yx-legacy-content .wp-block-gallery, .yx-legacy-content .wp-block-themeisle-blocks-slider, .yx-legacy-content > [class*="slider"], .yx-legacy-content > [class*="carousel"] { width: 100%; max-width: 920px; margin: 2rem auto; overflow: hidden; }
.yx-legacy-content .wp-block-gallery img, .yx-legacy-content .wp-block-themeisle-blocks-slider img, .yx-legacy-content [class*="slider"] img, .yx-legacy-content [class*="carousel"] img { width: 100%; max-width: 100%; height: auto; max-height: 620px; object-fit: contain; }
.yx-legacy-content [class*="slider"] button, .yx-legacy-content [class*="carousel"] button, .yx-legacy-content .swiper-button-prev, .yx-legacy-content .swiper-button-next { visibility: visible; opacity: 1; }
.yx-legacy-content form, .yx-legacy-content .wp-block-form, .yx-legacy-content .wpforms-container, .yx-legacy-content .wpcf7, .yx-legacy-content .mailpoet_form { width: 100%; max-width: 920px; margin: 2rem auto; }
.yx-legacy-content form * { max-width: 100%; }
.yx-legacy-content form label { display: block; margin-bottom: .35rem; font-weight: 700; }
.yx-legacy-content form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .yx-legacy-content form select, .yx-legacy-content form textarea { width: 100%; min-height: 48px; border: 1px solid #87939c; border-radius: 5px; padding: .7rem; background: #fff; }
.yx-legacy-content form textarea { min-height: 140px; resize: vertical; }
.service-cta { margin-top: 0; }
.split { display: grid; gap: 2rem; }
.feature-list { margin: 0; padding: 0; list-style: none; }
.feature-list li { border-bottom: 1px solid var(--yx-border); padding: 1rem 0; font-weight: 700; }
details { border-top: 1px solid var(--yx-border); padding: 1rem 0; }
summary { cursor: pointer; font-weight: 800; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; color: #5d6871; font-size: .9rem; }
.entry-content > * + * { margin-top: 1.2rem; }
.contact-form-section { padding: 1rem 0; }
.form-grid { display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: .35rem; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea, .search-form input { width: 100%; min-height: 48px; border: 1px solid #87939c; border-radius: 5px; padding: .7rem; background: #fff; }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .button { margin-top: 1rem; }
.honeypot { position: absolute; left: -10000px; }
.form-message { margin-bottom: 1.5rem; border-left: 4px solid; padding: 1rem; }
.form-message.success { border-color: #238636; background: #eaf7ed; }
.form-message.notice { border-color: #b7791f; background: #fff8e1; }
.form-message.error { border-color: #c62828; background: #fff0f0; }
.comments-area { margin-top: 4rem; }

.site-footer { padding: 3rem 0 calc(5.75rem + env(safe-area-inset-bottom)); color: #d6dde2; background: var(--yx-black); font-size: 1.0625rem; line-height: 1.6; }
.footer-grid { display: grid; gap: 1.75rem; }
.footer-brand p { max-width: 360px; color: #aeb9c0; }
.site-footer strong { color: #fff; font-size: 1.125rem; }
.site-footer ul { margin: .85rem 0 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: .25rem; }
.site-footer a { display: inline-flex; min-height: 44px; align-items: center; color: #d6dde2; overflow-wrap: anywhere; text-decoration-color: #53616b; }
.footer-navigation { margin-top: 2.5rem; border-top: 1px solid #303941; padding-top: 1.25rem; }
.footer-navigation ul { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.footer-bottom { min-height: 60px; margin-top: 1.75rem; border-top: 1px solid #303941; padding-top: 1.25rem; padding-right: 76px; color: #9da9b1; font-size: 1rem; }
.whatsapp-float { position: fixed; z-index: 40; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, calc(1rem + env(safe-area-inset-bottom))); display: grid; width: 60px; height: 60px; place-items: center; border-radius: 50%; color: #fff; background: #168c45; box-shadow: var(--yx-shadow); font-weight: 900; text-decoration: none; }
.empty-state { padding-block: 4rem; }
.navigation.pagination { margin-top: 2rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.page-numbers { display: grid; min-width: 44px; min-height: 44px; place-items: center; border: 1px solid var(--yx-border); padding: .4rem; text-decoration: none; }
.page-numbers.current { color: #fff; background: #087da7; }

@media (min-width: 680px) {
  .yx-brand--header .yx-brand__logo { width: 102px; }
  .yx-brand--footer .yx-brand__logo { width: 135px; }
  .primary-navigation { inset-block-start: 118px; }
  .container { width: min(calc(100% - 3rem), var(--yx-container)); }
  .section { padding-block: 4.25rem; }
  .section-heading { grid-template-columns: minmax(0, 1.5fr) minmax(260px, .7fr); align-items: end; margin-bottom: 3rem; }
  .cards-grid, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-grid, .post-grid, .project-grid { gap: 1.5rem; }
  .service-grid article { min-height: 260px; padding: clamp(1.5rem, 3vw, 2rem); }
  .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solution-grid li { min-height: 72px; padding: 1rem 1.15rem; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid li { min-height: 220px; padding: 1.5rem; }
  .process-grid li > span { margin-bottom: 2.25rem; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }
  .real-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-full { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { padding-block: 3.5rem 2rem; }
  .footer-bottom { margin-top: 2.25rem; }
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-panel { padding-block: 5rem; }
}

@media (min-width: 960px) {
  .yx-brand--header .yx-brand__logo { width: 112px; }
  .yx-brand--footer .yx-brand__logo { width: 145px; }
  .primary-navigation { inset-block-start: 128px; }
  .hero { min-height: 650px; padding-block: 5.5rem; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(380px, .85fr); gap: clamp(3rem, 6vw, 6rem); }
  .hero-media { justify-self: end; }
  .service-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(360px, .8fr); gap: clamp(3rem, 6vw, 6rem); }
  .service-hero-media { justify-self: end; }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .solution-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
  .process-grid li:not(:last-child)::after { content: ""; position: absolute; z-index: 2; top: 2rem; left: calc(100% + 1px); width: 1.25rem; height: 1px; background: var(--yx-accent); }
  .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
  .real-work-grid, .home-work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
  .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-grid { grid-template-columns: minmax(0, 1.4fr) auto; gap: 3rem; }
  .cta-grid .button-row { justify-content: flex-end; }
  .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1.25fr; }
}

@media (min-width: 1180px) {
  .yx-brand--header .yx-brand__logo { width: 116px; }
  .yx-brand--footer .yx-brand__logo { width: 150px; }
  body.nav-open { overflow: auto; }
  .header-inner { min-height: 86px; gap: clamp(.75rem, 1.5vw, 1.5rem); padding-block: .35rem; }
  .menu-toggle { display: none; }
  .primary-navigation { visibility: visible; position: static; transform: none; overflow: visible; padding: 0; background: transparent; }
  .priority-menu { flex-direction: row; align-items: center; gap: clamp(.15rem, .5vw, .55rem); white-space: nowrap; }
  .priority-menu a { min-height: 44px; border: 0; padding: .6rem clamp(.35rem, .55vw, .65rem); font-size: clamp(.82rem, .78rem + .12vw, .95rem); font-weight: 700; }
  .priority-menu a:hover { color: #7fdcff; }
  .header-cta { display: inline-flex; padding-inline: clamp(.75rem, 1.1vw, 1.15rem); font-size: .9rem; }
  .section { padding-block: 6.5rem; }
  .hero { min-height: 700px; padding-block: 6rem; }
  .hero-copy h1 { font-size: 4.25rem; }
  .service-grid article { min-height: 290px; }
}

@media (max-width: 420px) {
  .menu-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .button-row .button { width: 100%; }
  .hero-trust { display: grid; }
}

@media (max-width: 480px) {
  .container { width: min(calc(100% - 1.5rem), var(--yx-container)); }
  .hero-copy h1, h1 { font-size: clamp(2.35rem, 10.5vw, 3rem); }
  .service-grid article, .process-grid li, .card-body, .project-body { padding: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
