:root {
    --blue: #1236d6;
    --blue-deep: #0a0a0b;
    --red: #ed1c24;
    --ink: #111113;
    --muted: #6b6b73;
    --paper: #f4f4f5;
    --line: #e4e4e7;
    --white: #fff;
    --font-display: 'Barlow Condensed', Impact, sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { width: 20px; height: 20px; stroke-width: 1.9; flex: none; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.container { width: min(100% - 80px, 1320px); margin-inline: auto; }
.section-pad { padding-block: 112px; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 14px 20px; background: var(--white); }
.skip-link:focus { top: 12px; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.22); }
.header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.brand img { width: 54px; height: 54px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 2px var(--red); }
.brand-name { font-family: var(--font-display); font-size: 21px; font-weight: 800; line-height: .78; white-space: nowrap; }
.brand-accent, .dot { color: var(--red); }
.main-nav { display: flex; align-items: center; gap: 38px; font-size: 13px; font-weight: 700; }
.main-nav > a:not(.nav-cta) { position: relative; padding-block: 12px; transition: color .2s; }
.main-nav > a:not(.nav-cta):hover { color: #ff6b71; }
.nav-cta { min-height: 44px; padding: 0 17px; border: 1px solid var(--red); background: var(--red); display: inline-flex; gap: 18px; align-items: center; transition: background .2s, color .2s; }
.nav-cta:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.nav-cta svg { width: 17px; height: 17px; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 760px; min-height: min(820px, 100svh); display: flex; align-items: center; overflow: hidden; isolation: isolate; color: var(--white); background: #050505; }
.hero-photo, .hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero-photo { background: url('/assets/img/impresion.jpg') center 45% / cover no-repeat; transform: scale(1.045); animation: hero-enter 1.4s ease-out both; }
.hero-shade { background: linear-gradient(90deg, rgba(5,5,5,.97) 0%, rgba(8,8,10,.9) 38%, rgba(8,8,10,.62) 72%, rgba(8,8,10,.4) 100%); }
.hero::after { content: ''; position: absolute; right: -60px; bottom: -40px; width: 520px; height: 520px; background: url('/assets/img/logo-sinfronteras_nueva_imagen.jpg') center / cover no-repeat; border-radius: 50%; box-shadow: 0 0 0 6px #050505, 0 0 0 9px var(--red); opacity: .16; pointer-events: none; }
.hero-content { position: relative; z-index: 1; padding-top: 140px; padding-bottom: 120px; animation: content-enter .85s .1s both; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; line-height: 1.5; }
.eyebrow-blue { color: var(--red); }
.red-rule { width: 34px; height: 3px; background: var(--red); }
.hero h1 { margin: 22px 0 26px; font: 900 112px/.86 var(--font-display); max-width: 1100px; }
.hero h1 em { font-style: normal; color: var(--white); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 7px; text-underline-offset: 13px; }
.hero-content > p { max-width: 490px; color: #e4e4e7; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 31px; margin-top: 38px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 34px; min-height: 55px; padding: 0 23px; font-size: 13px; font-weight: 700; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-3px); }
.button-red { color: var(--white); background: var(--red); }
.button-red:hover { background: #c4121a; }
.button-white { background: var(--white); color: var(--ink); }
.button-outline { border: 1px solid var(--ink); color: var(--ink); margin-top: 31px; }
.button-outline:hover { background: var(--ink); color: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: 17px; width: fit-content; font-size: 13px; font-weight: 700; color: var(--ink); padding-bottom: 9px; border-bottom: 1px solid currentColor; transition: gap .2s; }
.text-link:hover { gap: 24px; }
.text-link-light { color: var(--white); }
.text-link svg { width: 17px; height: 17px; }
.hero-bottom { position: absolute; inset: auto 0 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 21px; border-top: 1px solid rgba(255,255,255,.3); font-size: 10px; font-weight: 700; }

.intro { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 90px; align-items: end; }
.section-title { margin: 17px 0 0; font: 800 82px/.89 var(--font-display); }
.section-title span:not(.dot) { color: var(--red); }
.intro-right { max-width: 460px; padding-bottom: 6px; }
.intro-right p { margin: 0 0 30px; color: #3f3f46; font-size: 18px; line-height: 1.75; }
.services { background: var(--paper); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 45px; }
.section-heading > p { max-width: 320px; margin: 0 0 6px; color: var(--muted); line-height: 1.7; font-size: 15px; }
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { min-height: 325px; display: flex; flex-direction: column; justify-content: space-between; padding: 27px; background: var(--white); transition: background .25s, color .25s; }
.service-card:hover { background: var(--ink); color: var(--white); }
.service-top { display: flex; justify-content: space-between; align-items: start; color: var(--red); font: 700 15px var(--font-display); }
.service-top svg { width: 62px; height: 62px; padding: 15px; stroke-width: 1.5; color: var(--white); background: var(--blue); border-radius: 50%; box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--red), 0 0 0 8px #1c1c1f; margin: 8px 8px 0 0; }
.service-card:hover .service-top { color: var(--white); }
.service-card h3 { margin: 0 0 13px; font: 700 30px/.98 var(--font-display); }
.service-card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 13px; }
.service-card:hover p { color: #d4d4d8; }
.service-card > a { display: inline-grid; place-items: center; width: 37px; height: 37px; border: 1px solid #d4d4d8; align-self: end; margin-top: 18px; }
.service-card > a:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.service-card > a svg { width: 18px; height: 18px; }

.highlights { list-style: none; margin: 56px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 36px; }
.highlights a { display: grid; justify-items: center; gap: 14px; font-size: 13px; font-weight: 700; color: var(--ink); }
.highlight-ring { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--blue); color: var(--white); box-shadow: 0 0 0 4px var(--white), 0 0 0 8px var(--red), 0 0 0 11px var(--white), 0 0 0 13px #27272a; transition: transform .25s; }
.highlight-ring svg { width: 38px; height: 38px; stroke-width: 1.5; }
.highlights a:hover .highlight-ring { transform: translateY(-4px) scale(1.04); }
.statement { position: relative; overflow: hidden; padding-block: 94px; color: var(--white); background: var(--ink); }
.statement::before { content: ''; position: absolute; width: 730px; height: 260px; right: -180px; top: -124px; border: 52px solid var(--red); border-radius: 50%; transform: rotate(-14deg); opacity: .9; }
.statement .container { position: relative; }
.statement p { margin: 23px 0 0; font: 800 77px/.94 var(--font-display); }
.statement p span { color: var(--red); }
.statement-mark { position: absolute; right: 0; bottom: 4px; font: 700 15px var(--font-display); }

.work { background: var(--white); }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, 280px); gap: 14px; }
.work-card { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); }
.work-card--wide { grid-row: span 2; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.work-card:hover img { transform: scale(1.045); }
.work-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.9), transparent 60%); }
.work-overlay { position: absolute; left: 29px; bottom: 30px; right: 20px; z-index: 1; color: var(--white); }
.work-overlay span { font-size: 11px; font-weight: 700; text-transform: uppercase; }
.work-overlay h3 { margin: 7px 0 0; font: 700 35px/1 var(--font-display); }
.image-note { color: var(--muted); font-size: 12px; margin: 18px 0 0; }

.clients { background: var(--paper); border-top: 1px solid var(--line); }
.clients-inner { display: grid; grid-template-columns: 1fr .75fr; gap: 100px; align-items: center; }
.clients-body { padding: 36px 0 36px 38px; border-left: 3px solid var(--red); }
.clients-body p { max-width: 440px; margin: 0 0 25px; color: #3f3f46; font-size: 16px; line-height: 1.8; }
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: 25px; }
.client-grid img { max-height: 80px; width: 100%; object-fit: contain; }
.client-grid span { font: 700 21px/1.1 var(--font-display); text-align: center; overflow-wrap: anywhere; padding: 16px 8px; border-bottom: 2px solid var(--line); }

.contact { background: var(--blue-deep); color: var(--white); }
.contact-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 100px; align-items: end; }
.contact h2 { margin: 16px 0 22px; font: 900 105px/.82 var(--font-display); }
.contact h2 span { color: var(--red); }
.contact { position: relative; overflow: hidden; }
.contact::before { content: ''; position: absolute; left: -160px; top: -190px; width: 520px; height: 260px; border: 48px solid var(--red); border-radius: 50%; transform: rotate(-14deg); opacity: .85; }
.contact .container { position: relative; }
.contact-inner > div:first-child > p { max-width: 460px; margin: 0 0 30px; line-height: 1.7; color: #d4d4d8; }
.contact-info { border-top: 1px solid rgba(255,255,255,.4); padding-top: 32px; }
.contact-info > span { display: block; font-size: 11px; font-weight: 700; color: var(--red); margin-top: 23px; }
.contact-info > span:first-child { margin-top: 0; }
.contact-info p { line-height: 1.7; margin: 8px 0 0; }
.contact-info a { display: flex; align-items: center; gap: 10px; margin-top: 9px; font-weight: 700; }
.contact-info a:hover { color: #ff8c93; }
.site-footer { background: #000; color: #a1a1aa; border-top: 3px solid var(--red); }
.footer-inner { min-height: 98px; display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.footer-brand { font: 800 23px var(--font-display); color: var(--white); }
.footer-brand span { color: var(--red); }
.site-footer p { font-size: 12px; }
.team-access { display: inline-flex; align-items: center; gap: 9px; padding: 11px 14px; border: 1px solid #52525b; color: var(--white); font-size: 12px; font-weight: 700; white-space: nowrap; }
.team-access:hover { background: var(--white); color: #000; }
.team-access svg { width: 16px; height: 16px; }
.footer-inner > a:last-child { display: grid; place-items: center; border: 1px solid #3f3f46; width: 40px; height: 40px; }
.floating-contact { position: fixed; z-index: 25; right: 20px; bottom: 20px; min-height: 50px; padding: 0 18px; display: flex; align-items: center; gap: 9px; background: var(--red); color: var(--white); box-shadow: 0 8px 24px rgba(0,0,0,.3); font-size: 13px; font-weight: 700; }
.floating-contact:hover { background: #c4121a; }

@keyframes hero-enter { from { opacity: .55; transform: scale(1.09); } to { opacity: 1; transform: scale(1.045); } }
@keyframes content-enter { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1000px) {
    .container { width: min(100% - 48px, 1320px); }
    .main-nav { gap: 18px; }
    .hero h1 { font-size: 88px; }
    .section-title { font-size: 68px; }
    .intro-grid, .clients-inner { gap: 45px; }
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-card { min-height: 270px; }
    .statement p { font-size: 63px; }
    .contact-inner { gap: 45px; }
    .contact h2 { font-size: 83px; }
}

@media (max-width: 700px) {
    .container { width: min(100% - 36px, 1320px); }
    .section-pad { padding-block: 76px; }
    .header-inner { min-height: 76px; }
    .brand img { width: 43px; height: 43px; }
    .brand-name { font-size: 18px; }
    .menu-toggle { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.7); background: transparent; color: var(--white); cursor: pointer; }
    .main-nav { display: none; position: absolute; inset: 76px 0 auto; padding: 16px 18px 23px; background: #0a0a0b; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid rgba(255,255,255,.22); box-shadow: 0 16px 20px rgba(0,0,0,.2); }
    .main-nav.is-open { display: flex; }
    .main-nav > a { padding: 13px 5px !important; }
    .main-nav .nav-cta { margin-top: 12px; justify-content: space-between; padding-inline: 13px !important; }
    .hero { min-height: 700px; min-height: min(760px, 100svh); }
    .hero-photo { background-position: 58% center; }
    .hero-shade { background: linear-gradient(90deg, rgba(5,5,5,.96), rgba(8,8,10,.84) 65%, rgba(8,8,10,.64)); }
    .hero::after { width: 300px; height: 300px; right: -110px; bottom: 30px; }
    .highlights { gap: 24px 22px; }
    .highlight-ring { width: 76px; height: 76px; }
    .highlight-ring svg { width: 30px; height: 30px; }
    .contact::before { width: 330px; height: 160px; border-width: 30px; left: -150px; top: -100px; }
    .hero-content { padding-top: 120px; padding-bottom: 100px; }
    .hero h1 { font-size: 64px; margin: 18px 0 25px; }
    .hero h1 em { text-decoration-thickness: 4px; text-underline-offset: 9px; }
    .hero-content > p { font-size: 15px; line-height: 1.6; }
    .hero-actions { gap: 20px; margin-top: 27px; }
    .hero-bottom { font-size: 9px; }
    .hero-bottom span:not(:first-child) { display: none; }
    .intro-grid, .clients-inner, .contact-inner { grid-template-columns: 1fr; gap: 26px; }
    .section-title { font-size: 58px; }
    .intro-right p { font-size: 16px; }
    .section-heading { display: block; margin-bottom: 30px; }
    .section-heading > p { margin: 24px 0 0; }
    .statement { padding-block: 75px; }
    .statement::before { width: 390px; height: 150px; border-width: 32px; right: -230px; top: -70px; }
    .statement p { font-size: 48px; }
    .statement-mark { position: static; display: block; margin-top: 30px; }
    .work-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .work-card, .work-card--wide { grid-row: auto; height: 280px; }
    .work-card:first-child { height: 375px; }
    .clients-body { padding-block: 5px; }
    .contact h2 { font-size: 78px; }
    .contact-info { margin-top: 12px; }
    .footer-inner { min-height: 110px; flex-wrap: wrap; justify-content: space-between; gap: 0 20px; padding-block: 20px; }
    .site-footer p { order: 3; width: 100%; margin: 0; }
}

@media (max-width: 400px) {
    .hero h1 { font-size: 42px; }
    .section-title { font-size: 48px; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 220px; }
    .statement p { font-size: 39px; }
    .contact h2 { font-size: 65px; }
    .floating-contact span { display: none; }
    .floating-contact { width: 50px; padding: 0; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}