
/* styles.css */
:root{--ink:#17191a;--muted:#6b6d6b;--paper:#f7f7f2;--yellow:#fed107;--line:#e1e2dc}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Montserrat',Arial,sans-serif}img{max-width:100%;display:block}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #bd8f00;outline-offset:4px}.wrap{width:min(100% - 80px,1320px);margin-inline:auto}.site-header{height:88px;padding:0 40px;background:#fff;display:flex;align-items:center;gap:48px;position:relative;z-index:20}.brand{display:inline-flex;align-items:center;gap:12px;min-width:max-content;font-family:Sora,sans-serif;font-size:13px;font-weight:800;line-height:1.04;letter-spacing:.13em}.brand strong{font-size:20px;letter-spacing:.055em}.brand img{width:47px;height:47px}.site-nav{display:flex;align-items:center;gap:38px;margin-left:auto}.site-nav a{font-size:13px;font-weight:700;transition:color .2s}.site-nav a:hover,.site-nav a.active{color:#b18f00}.header-cta{background:var(--ink);color:#fff;padding:16px 21px;font-size:12px;font-weight:700;letter-spacing:.02em;min-width:max-content}.header-cta span,.btn span{margin-left:20px;font-size:17px}.header-cta:hover{background:#383a37}.menu-toggle{display:none}.hero{min-height:660px;height:min(720px,calc(100vh - 88px));position:relative;color:#fff;overflow:hidden}.hero-image{position:absolute;inset:0;background:url('/assets/imprenta/hero-print.png') center 57%/cover no-repeat}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,8,11,.84) 0%,rgba(5,8,11,.69) 37%,rgba(5,8,11,.15) 76%),linear-gradient(0deg,rgba(5,8,11,.32),transparent 31%)}.hero-content{position:relative;padding-top:clamp(130px,15vh,185px)}.eyebrow{display:inline-flex;align-items:center;gap:10px;text-transform:uppercase;letter-spacing:.18em;font-size:11px;font-weight:800;color:#575b58}.eyebrow.light{color:#e5e8e2}.dot{width:7px;height:7px;background:var(--yellow);border-radius:50%}.hero h1,.page-hero h1{font-family:Sora,sans-serif;font-size:clamp(55px,6.7vw,106px);line-height:1.04;letter-spacing:-.065em;margin:25px 0;max-width:920px;font-weight:800}.hero h1 em,.contact-strip h2 em,.statement-inner p em{font-style:normal;color:var(--yellow)}.hero-content>p{font-size:18px;line-height:1.65;max-width:590px;color:#e8e8e8}.hero-actions{display:flex;align-items:center;gap:38px;margin-top:38px}.btn{display:inline-flex;justify-content:space-between;align-items:center;padding:18px 22px;font-size:13px;font-weight:800;min-width:210px;transition:transform .2s,background .2s}.btn:hover{transform:translateY(-3px)}.btn-yellow{background:var(--yellow);color:var(--ink)}.btn-yellow:hover{background:#ffe452}.text-link{font-weight:700;font-size:13px;border-bottom:1px solid currentColor;padding:0 0 8px}.text-link span{margin-left:16px}.light-link{color:#fff}.hero-bottom{position:absolute;bottom:27px;left:0;right:0;display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:.16em;font-weight:800}.hero-bottom a{letter-spacing:.06em}.hero-bottom a span{font-size:16px;margin-left:15px}.marquee{background:var(--yellow);overflow:hidden;white-space:nowrap;height:63px;display:flex;align-items:center;font-family:Sora,sans-serif;font-size:22px;font-weight:800;letter-spacing:.09em}.marquee div{min-width:max-content;animation:marquee 30s linear infinite}.marquee span{margin:0 38px}@keyframes marquee{to{transform:translateX(-50%)}}.section-pad{padding:115px 0}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:52px}.section-heading h2{font:800 clamp(52px,6vw,88px)/1 Sora,sans-serif;letter-spacing:-.065em;margin:16px 0 0}.accent{color:#e4bf00}.section-heading>p{max-width:360px;font-size:16px;line-height:1.65;color:var(--muted);margin:0 0 4px}.work-layout{display:grid;grid-template-columns:47% 53%;min-height:620px}.work-photo{position:relative;overflow:hidden;background:#272a2b}.work-photo img{height:100%;width:100%;object-fit:cover}.photo-caption{position:absolute;bottom:24px;left:28px;color:#fff;text-transform:uppercase;letter-spacing:.17em;font-size:10px;font-weight:800}.service-panel{background:#fff;padding:35px 42px;display:flex;flex-direction:column}.service-intro{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:22px;font-size:11px;font-weight:800;letter-spacing:.15em}.mini-star{font-size:31px;color:#d9b600;line-height:1}.service-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:25px;padding:18px 0;flex:1}.service-grid span{border-bottom:1px solid var(--line);padding:13px 0;font-size:14px;font-weight:600}.panel-link{display:flex;justify-content:space-between;font-size:13px;font-weight:800;padding-top:25px}.panel-link span{font-size:20px}.statement-section{background:#17191a;color:#fff;padding:75px 0}.statement-inner{display:grid;grid-template-columns:240px 1fr 75px;gap:30px;align-items:center}.statement-inner p{font:800 clamp(34px,4.2vw,63px)/1.12 Sora,sans-serif;letter-spacing:-.05em;margin:0}.round-arrow{display:grid;place-items:center;border:1px solid #747674;border-radius:50%;width:64px;height:64px;font-size:28px;transition:background .2s}.round-arrow:hover{background:var(--yellow);color:var(--ink)}.clients-section{background:#fff}.logo-grid{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid var(--line)}.logo-grid>div{height:155px;display:flex;align-items:center;justify-content:center;padding:26px;border-right:1px solid var(--line);background:#fff}.logo-grid>div:last-child{border-right:0}.logo-grid img{width:100%;height:100%;object-fit:contain}.contact-strip{background:#262929;color:#fff;padding:85px 0}.contact-strip-inner{display:flex;align-items:end;justify-content:space-between;gap:30px}.contact-strip h2{font:800 clamp(36px,4.2vw,66px)/1.13 Sora,sans-serif;letter-spacing:-.055em;margin:17px 0 0}.site-footer{background:#111312;color:#d6d7d3;padding:70px 0 24px}.footer-top{display:grid;grid-template-columns:2fr 1fr 1.4fr;gap:40px;padding-bottom:80px}.footer-brand{color:#fff;align-self:start}.footer-top>div{display:flex;flex-direction:column;align-items:flex-start;gap:13px;font-size:13px}.footer-top>div>span{font-size:11px;text-transform:uppercase;letter-spacing:.16em;color:#999c97;margin-bottom:12px}.footer-top p{margin:0}.footer-top a:hover,.footer-bottom a:hover{color:var(--yellow)}.footer-bottom{border-top:1px solid #363936;padding-top:24px;display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#9b9e99}.page-hero{background:#202323;color:#fff;padding:100px 0 105px;position:relative;overflow:hidden}.page-hero:after{content:'4';position:absolute;right:3%;top:-100px;font:800 600px/1 Sora,sans-serif;color:rgba(255,255,255,.035);pointer-events:none}.page-hero .wrap{position:relative;z-index:1}.page-hero h1{font-size:clamp(58px,7vw,110px);margin:20px 0}.page-hero p{max-width:590px;font-size:18px;line-height:1.65;color:#d4d8d4}.portfolio-intro{padding:80px 0 35px}.portfolio-intro .section-heading{margin-bottom:0}.portfolio-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-bottom:110px}.portfolio-card{background:#eaeae6;overflow:hidden}.portfolio-card img{width:100%;aspect-ratio:1.55;object-fit:cover;transition:transform .4s}.portfolio-card:hover img{transform:scale(1.035)}.portfolio-card .card-caption{padding:22px 24px;background:#fff;display:flex;align-items:center;justify-content:space-between}.portfolio-card h3{margin:0;font:800 20px Sora,sans-serif}.portfolio-card span{font-size:11px;letter-spacing:.12em;color:var(--muted);text-transform:uppercase}.portfolio-note{border-top:1px solid var(--line);padding:28px 0 90px;display:flex;justify-content:space-between;gap:30px;align-items:center}.portfolio-note p{max-width:600px;line-height:1.6;color:var(--muted)}.contact-main{padding:105px 0 120px}.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:9vw}.contact-details h2,.contact-form h2{font:800 clamp(35px,4vw,56px)/1.13 Sora,sans-serif;letter-spacing:-.05em;margin:18px 0 25px}.contact-details>p{color:var(--muted);line-height:1.7;max-width:440px}.detail-list{margin-top:48px}.detail-list div{border-top:1px solid var(--line);padding:22px 0}.detail-list span{display:block;font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}.detail-list a,.detail-list p{font-size:17px;font-weight:700;margin:0;line-height:1.5}.contact-form{background:#fff;padding:42px 46px}.contact-form h2{font-size:35px;margin:0 0 10px}.contact-form>p{font-size:14px;color:var(--muted);margin:0 0 35px}.field{margin-bottom:22px}.field label{display:block;font-size:12px;font-weight:800;margin-bottom:9px}.field input,.field textarea{width:100%;background:#f7f7f3;border:1px solid #dedfd9;padding:15px 16px;border-radius:0;color:var(--ink)}.field textarea{min-height:140px;resize:vertical}.form-note{font-size:11px;color:var(--muted);line-height:1.5}.map-link{color:#a38300;text-decoration:underline;text-underline-offset:4px}@media(max-width:900px){.site-header{padding:0 24px;gap:24px}.wrap{width:min(100% - 48px,1320px)}.header-cta{display:none}.site-nav{gap:25px}.hero h1{font-size:clamp(52px,8vw,82px)}.work-layout{grid-template-columns:1fr}.work-photo{height:440px}.statement-inner{grid-template-columns:1fr 75px}.statement-inner .eyebrow{grid-column:1/-1}.logo-grid{grid-template-columns:repeat(3,1fr)}.logo-grid>div{border-bottom:1px solid var(--line)}.contact-grid{gap:40px}}@media(max-width:650px){.site-header{height:72px;padding:0 20px}.brand{font-size:10px}.brand strong{font-size:16px}.brand img{width:38px;height:38px}.menu-toggle{display:flex;margin-left:auto;border:0;background:none;width:42px;height:42px;flex-direction:column;align-items:center;justify-content:center;gap:6px;cursor:pointer}.menu-toggle span{width:23px;height:2px;background:#17191a;transition:transform .2s}.menu-toggle[aria-expanded=true] span:first-child{transform:translateY(4px) rotate(45deg)}.menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-4px) rotate(-45deg)}.site-nav{display:none;position:absolute;top:72px;left:0;right:0;background:#fff;padding:25px 24px 32px;box-shadow:0 15px 25px #0002;flex-direction:column;align-items:flex-start;gap:20px}.site-nav.open{display:flex}.site-nav a{font-size:18px}.wrap{width:min(100% - 40px,1320px)}.hero{min-height:680px;height:calc(100svh - 72px)}.hero-image{background-position:60% center}.hero-shade{background:linear-gradient(90deg,rgba(5,8,11,.86),rgba(5,8,11,.3)),linear-gradient(0deg,#080b0c88,transparent 35%)}.hero-content{padding-top:110px}.hero h1{font-size:clamp(49px,12vw,70px)}.hero-content>p{font-size:15px;max-width:430px}.hero-actions{align-items:flex-start;flex-direction:column;gap:25px}.hero-bottom>span{display:none}.hero-bottom a{margin-left:auto}.marquee{height:50px;font-size:17px}.marquee span{margin:0 20px}.section-pad{padding:76px 0}.section-heading{display:block;margin-bottom:30px}.section-heading h2{font-size:58px}.section-heading>p{margin-top:22px;font-size:14px}.work-photo{height:320px}.service-panel{padding:25px 22px}.service-grid{column-gap:18px}.service-grid span{font-size:12px;padding:12px 0}.statement-section{padding:60px 0}.statement-inner{grid-template-columns:1fr}.statement-inner p{font-size:40px}.round-arrow{width:56px;height:56px}.logo-grid{grid-template-columns:repeat(2,1fr)}.logo-grid>div{height:120px;padding:17px}.contact-strip{padding:70px 0}.contact-strip-inner{display:block}.contact-strip h2{font-size:40px;margin-bottom:30px}.footer-top{grid-template-columns:1fr 1fr;gap:38px;padding-bottom:50px}.footer-brand{grid-column:1/-1}.footer-bottom{display:block;line-height:2}.page-hero{padding:85px 0}.page-hero h1{font-size:62px}.page-hero p{font-size:15px}.portfolio-intro{padding:60px 0 30px}.portfolio-grid{grid-template-columns:1fr;margin-bottom:50px}.portfolio-note{display:block;padding-bottom:70px}.contact-main{padding:70px 0}.contact-grid{grid-template-columns:1fr}.contact-form{padding:30px 22px}.contact-form h2{font-size:31px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.marquee div{animation:none}.btn,.portfolio-card img{transition:none}}


/* brand.css */
/* Grupo A4: barra amarilla, esquinas amplias y acentos gráficos. */
.site-header{height:96px;background:#ffeb00;border-radius:0 0 36px 36px;box-shadow:0 8px 22px #17191a1c}.site-header .brand img{filter:brightness(0) saturate(100%) invert(16%) sepia(15%) saturate(1054%) hue-rotate(197deg)}.site-nav a{font-family:Sora,sans-serif;font-size:14px;font-weight:800}.site-nav a:hover,.site-nav a.active{color:#40445c}.header-cta{border-radius:32px;background:#2d3045;padding:15px 25px;font:800 14px Sora,sans-serif}.header-cta span{margin:0 12px 0 0;color:#ffeb00;font-size:25px;vertical-align:-2px}.hero{margin-top:-36px;padding-top:36px}.work-section{position:relative;isolation:isolate}.work-section::before{content:"";position:absolute;width:390px;height:390px;border:2px solid #e7e8df;border-radius:70px;top:15px;right:8%;transform:rotate(-8deg);z-index:-1}.work-layout{border-radius:32px;overflow:hidden}.logo-grid{border-radius:24px;overflow:hidden}.portfolio-card{border-radius:25px}.contact-form{border-radius:25px}.page-hero::before{content:"";position:absolute;width:380px;height:380px;border:2px solid #ffffff16;border-radius:74px;right:19%;top:10%;transform:rotate(-12deg)}
/* Agencia Cuatro: CTA superior, columnas y acentos del pie. */
.site-footer{background:#2d3045;color:#e6e6ed;padding:0 0 25px}.footer-callout{background:#eeeff4;color:#2d3045;border-radius:22px;padding:38px 46px;display:flex;justify-content:space-between;align-items:center;gap:30px;transform:translateY(-28px);margin-bottom:25px}.footer-callout .eyebrow{color:#777b8f}.footer-callout h2{font:800 clamp(26px,3vw,42px)/1.12 Sora,sans-serif;letter-spacing:-.045em;margin:12px 0 0}.footer-top{grid-template-columns:1.35fr .8fr 1fr 1.1fr;gap:45px;padding:30px 0 70px}.footer-top>div{gap:13px;align-items:flex-start}.footer-top>div>span{color:#fff;font:800 13px Sora,sans-serif;letter-spacing:.06em;margin:0 0 14px}.footer-top>div>span::after{content:"";display:block;width:27px;height:3px;background:#ffeb00;margin-top:13px}.footer-about p{max-width:285px;font-size:13px;line-height:1.75;color:#c8cad7;margin:18px 0 10px}.footer-brand{color:#ffeb00;letter-spacing:.05em}.footer-brand img{width:60px;height:60px}.footer-brand strong{font-size:21px}.footer-whatsapp{width:48px;height:48px;border:1px solid #7a7d91;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:800;letter-spacing:-.05em}.footer-col a,.footer-col p{font-size:13px;line-height:1.55;color:#d4d5de}.footer-bottom{border-color:#4b4e63;color:#c9cad5}.footer-bottom strong{color:#ffeb00}.footer-bottom a{color:#d4d5de}
@media(max-width:900px){.site-header{padding:0 24px}.footer-top{grid-template-columns:1.3fr 1fr;row-gap:42px}.footer-callout{padding:30px}.work-section::before{right:1%}}
@media(max-width:650px){.site-header{height:76px;padding:0 20px;border-radius:0 0 24px 24px}.site-nav{top:75px;background:#ffeb00;border-radius:0 0 24px 24px}.hero{margin-top:-24px;padding-top:24px;min-height:680px;height:calc(100svh - 52px)}.work-layout{border-radius:24px}.work-section::before{width:250px;height:250px;border-radius:45px}.footer-callout{display:block;padding:28px;margin-bottom:0;transform:translateY(-18px)}.footer-callout h2{font-size:29px;margin-bottom:22px}.footer-top{grid-template-columns:1fr 1fr;gap:36px 20px;padding:25px 0 55px}.footer-about{grid-column:1/-1}.footer-about p{max-width:340px}.footer-col:last-child{grid-column:1/-1}.footer-bottom{display:flex;flex-direction:column;gap:8px;font-size:10px}}
.site-header .brand img{width:185px;height:auto;filter:none}.footer-brand img{width:218px;height:auto}.footer-about .footer-brand{min-width:0}@media(max-width:650px){.site-header .brand img{width:150px}.footer-brand img{width:190px}}


/* xb.css */
:root {
  --xb-green: #1b1b1b;
  --xb-green-dark: #111111;
  --xb-white: #ffffff;
  --xb-line: rgba(255,255,255,.25);
  --cuatro-yellow: #ffd103;
  --cuatro-cyan: #00ebeb;
  --cuatro-pink: #ff67c4;
}

body { background: var(--xb-green); color: var(--xb-white); }
.wrap { width: min(100% - 10vw, 1600px); }

/* The navigation and image-led opening follow the rhythm of XB Global. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 94px;
  padding: 0 6.5vw;
  background: var(--cuatro-pink);
  border-radius: 0 0 48px 48px;
  box-shadow: 0 10px 24px #0003;
  gap: 44px;
}
.site-header .brand img { width: 230px; height: auto; filter: none; }
.site-nav { margin: 0 auto; gap: clamp(35px, 5vw, 100px); }
.site-nav a {
  color: #fff;
  font: 600 clamp(17px, 1.4vw, 25px)/1.2 Montserrat, sans-serif;
  letter-spacing: -.035em;
}
.site-nav a::after { content: "."; color: #fff; }
.site-nav a:hover, .site-nav a.active { color: #fff; text-decoration: underline; text-decoration-color: #fff; text-underline-offset: 7px; }
.header-cta {
  width: 38px;
  height: 38px;
  min-width: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: #1b1b1b;
  border-radius: 50%;
}
.header-cta:hover { background: #383838; color: var(--cuatro-cyan); }
.header-cta i { color: inherit; font-size: 22px; line-height: 1; }

.hero {
  height: calc(100svh - 94px);
  min-height: 620px;
  margin: 0;
  padding: 0;
  color: #fff;
}
.hero-image { background-position: center 55%; }
.hero-shade { background: linear-gradient(0deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.16) 60%, rgba(0,0,0,.02) 100%); }
.hero-content {
  position: absolute;
  bottom: clamp(36px, 5vw, 90px);
  left: 50%;
  transform: translateX(-50%);
  padding: 0;
}
.hero h1 {
  max-width: 1400px;
  margin: 0 0 10px;
  font: 800 clamp(58px, 5.5vw, 102px)/1.08 Sora, sans-serif;
  letter-spacing: -.055em;
  text-shadow: 0 2px 22px #0008;
}
.hero-view-link {
  display: inline-block;
  color: #fff;
  font: 700 clamp(27px, 3.2vw, 58px)/1.18 Sora, sans-serif;
  letter-spacing: -.055em;
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 3px;
}
.hero-view-link i { display: inline-block; margin-left: 10px; font-size: .55em; vertical-align: .1em; transition: transform .2s; }
.hero-view-link:hover i { transform: translate(5px,-5px); }
.hero::after { content: ""; position: absolute; z-index: 2; bottom: 0; left: 0; width: 100%; height: 7px; background: linear-gradient(90deg, var(--cuatro-yellow) 0 33.333%, var(--cuatro-cyan) 33.333% 66.666%, var(--cuatro-pink) 66.666%); }

/* One editorial image and the full service list remain the core of Our Work. */
.work-section { background: var(--xb-green); color: #fff; padding: 95px 0 120px; }
.work-section::before { border-color: #ffffff13; right: 4%; top: 6%; }
.section-heading { margin-bottom: 45px; }
.section-heading h2 { color: #fff; font-size: clamp(58px, 5vw, 90px); }
.section-heading>p { color: #e8e8e8; max-width: 450px; }
.eyebrow, .eyebrow.light { color: #dedede; }
.accent { color: var(--cuatro-pink); }
.work-layout { grid-template-columns: 47% 53%; min-height: 650px; border-radius: 0; overflow: visible; }
.work-photo { border-radius: 22px; overflow: hidden; }
.work-photo img { object-fit: cover; }
.work-photo::after { content: ""; position: absolute; top: 0; right: 0; width: 13px; height: 40%; background: var(--cuatro-cyan); border-radius: 0 0 0 12px; }
.service-panel { background: transparent; color: #fff; padding: 0 0 0 clamp(28px, 4vw, 70px); }
.service-intro { color: #dedede; border-color: var(--xb-line); }
.mini-star { color: var(--cuatro-yellow); }
.service-grid { column-gap: 30px; }
.service-grid span { color: #fff; border-color: var(--xb-line); font-size: clamp(13px, .95vw, 17px); padding: 14px 0; transition: color .2s, padding-left .2s; }
.service-grid span:hover { color: var(--cuatro-cyan); padding-left: 5px; }
.panel-link { color: #fff; border-bottom: 2px solid var(--cuatro-cyan); padding: 24px 0 9px; width: max-content; max-width: 100%; gap: 50px; }

.clients-section { background: #fff; color: #1b1b1b; padding-top: 75px; }
.clients-section .section-heading h2 { color: #1b1b1b; }
.clients-section .section-heading>p { color: #3d3d3d; }
.clients-section .eyebrow { color: #555; }
.logo-grid { grid-template-columns: repeat(5, 1fr); gap: 15px; border: 0; border-radius: 0; overflow: visible; }
.logo-grid>div { height: 150px; padding: 25px; background: #f7f7f7; border: 2px solid #ededed; border-radius: 20px; transition: border-color .2s, transform .2s; }
.logo-grid img { filter: grayscale(1); opacity: .72; }
.logo-grid>div:hover { border-color: var(--cuatro-pink); transform: translateY(-3px); }
.contact-strip { position: relative; background: var(--cuatro-cyan); color: #1b1b1b; overflow: hidden; }
.contact-strip::before { content: ""; position: absolute; z-index: 0; width: 330px; height: 330px; border: 30px solid var(--cuatro-pink); border-radius: 75px; right: 15%; top: -95px; transform: rotate(15deg); opacity: .95; pointer-events: none; }
.contact-strip-inner { position: relative; z-index: 1; }
.contact-strip .eyebrow.light { color: #1b1b1b; }
.contact-strip h2 em { color: #1b1b1b; }
.contact-strip .btn, .portfolio-note .btn { background: var(--cuatro-yellow); color: #1b1b1b; border-radius: 13px; }

/* Internal pages use the same dark canvas and image-first hierarchy. */
.page-hero { background: var(--xb-green); color: #fff; padding: 65px 0 65px; }
.page-hero::before { border-color: #ffffff17; right: 14%; top: -35%; }
.page-hero::after { content: none; }
.page-hero h1 { color: #fff; font-size: clamp(62px, 6vw, 110px); }
.page-hero p { color: #e8e8e8; max-width: 780px; }
.portfolio-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 65px; }
.portfolio-card { position: relative; background: transparent; border-radius: 18px; overflow: hidden; }
.portfolio-card img { aspect-ratio: 1 / 1; width: 100%; height: auto; object-fit: cover; }
.portfolio-card .card-caption {
  position: absolute;
  inset: auto 0 0;
  display: block;
  background: linear-gradient(0deg, #000e, transparent);
  color: #fff;
  padding: 65px 24px 22px;
  opacity: 0;
  transition: opacity .2s;
}
.portfolio-card:hover .card-caption { opacity: 1; }
.portfolio-card h3 { color: #fff; font-size: 21px; }
.portfolio-card .card-caption span { color: #eee; display: block; margin-top: 5px; }
.portfolio-note { border-color: var(--xb-line); }
.portfolio-note p { color: #eee; }
.contact-main { background: var(--xb-green); color: #fff; padding-top: 65px; }
.contact-details>p { color: #e8e8e8; }
.detail-list div { border-color: var(--xb-line); }
.detail-list span { color: #ddd; }
.detail-list a, .detail-list p { color: #fff; }
.map-link { color: var(--cuatro-cyan) !important; }
.contact-form { background: #f6f6f6; color: #1b1b1b; border-radius: 25px; }
.contact-form>p, .form-note { color: #555; }
.field input, .field textarea { background: #fff; }
.contact-form .btn { background: var(--cuatro-yellow); border: 0; border-radius: 10px; cursor: pointer; }

/* Agency Cuatro's rounded forms and navy footer complete the visual family. */
.site-footer { background: #111; padding-top: 48px; }
.footer-callout { border-radius: 25px; }
.footer-callout { position: relative; z-index: 1; transform: none; background: var(--cuatro-yellow); color: #1b1b1b; }
.footer-callout .eyebrow { color: #1b1b1b; }
.footer-callout .btn { position: relative; z-index: 2; background: #1b1b1b; color: #fff; border-radius: 12px; }
.footer-callout .btn:hover { background: #333; }
.footer-top>div>span::after { background: var(--cuatro-cyan); }
.footer-col:nth-child(3)>span::after { background: var(--cuatro-pink); }
.footer-col:nth-child(4)>span::after { background: var(--cuatro-yellow); }
.footer-bottom strong { color: var(--cuatro-yellow); }
.goglo-credit { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.goglo-credit img { width: 77px; height: auto; }
.menu-toggle i { color: #fff; font-size: 25px; }
.btn i { margin-left: 18px; font-size: 15px; }
.panel-link i { margin-left: 24px; font-size: 17px; }
.mini-star { font-size: 23px; }
.footer-whatsapp i { font-size: 21px; }
.footer-bottom i { margin-left: 5px; }
.detail-list a i { margin-left: 6px; font-size: .75em; }

@media (max-width: 1100px) {
  .site-header { padding-inline: 4vw; gap: 25px; }
  .site-header .brand img { width: 185px; }
  .site-nav { gap: 30px; }
  .work-layout { grid-template-columns: 43% 57%; }
  .service-panel { padding-left: 28px; }
}
@media (max-width: 900px) {
  .site-header { height: 76px; }
  .menu-toggle { display: flex; margin-left: auto; }
  .menu-toggle i { color: #fff; }
  .site-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 26px 5vw 35px;
    background: var(--cuatro-pink);
    border-top: 1px solid #1b1b1b22;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 15px 25px #0006;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    margin: 0;
  }
  .site-nav.open { display: flex; }
  .site-nav a { font-size: 22px; }
  .header-cta { display: none; }
  .hero { height: calc(100svh - 76px); }
  .work-layout { grid-template-columns: 1fr; }
  .work-photo { height: 470px; }
  .service-panel { padding: 35px 0 0; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { height: 72px; padding: 0 18px; border-radius: 0 0 28px 28px; }
  .site-header .brand img { width: 155px; }
  .site-nav { top: 72px; border-radius: 0 0 28px 28px; }
  .hero { min-height: 600px; height: calc(100svh - 72px); margin: 0; padding: 0; }
  .hero-image { background-position: 58% center; }
  .hero-content { bottom: 45px; }
  .hero h1 { font-size: clamp(43px, 11vw, 58px); line-height: 1.1; }
  .hero-view-link { font-size: clamp(23px, 6.3vw, 34px); }
  .work-section { padding: 68px 0 80px; }
  .section-heading h2 { font-size: 55px; }
  .section-heading>p { color: #e8e8e8; }
  .work-photo { height: 310px; }
  .service-grid { column-gap: 20px; }
  .service-grid span { font-size: 12px; }
  .clients-section { padding-top: 50px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .logo-grid>div { height: 120px; padding: 16px; border: 0; }
  .page-hero { padding: 62px 0 35px; }
  .page-hero h1 { font-size: 57px; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 16px; }
  .portfolio-card .card-caption { opacity: 1; }
  .contact-main { padding: 40px 0 85px; }
  .contact-form { padding: 28px 22px; }
}




.seo-services{background:#f7f7f2;color:#17191a}
.seo-services h2,.seo-faq h2{font:800 clamp(34px,4vw,58px)/1.12 Sora,sans-serif;letter-spacing:-.05em;max-width:820px;margin:16px 0 38px}
.seo-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:35px}
.seo-card-grid article{background:#fff;border:1px solid #e1e2dc;border-radius:16px;padding:32px}
.seo-card-grid h3,.seo-faq-grid h3{font:800 22px/1.3 Sora,sans-serif;margin:0 0 14px}
.seo-card-grid p,.seo-faq-grid p{font-size:15px;line-height:1.7;margin:0}
.seo-faq{background:#fff;color:#17191a}
.seo-faq-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.seo-faq-grid>div{border-top:2px solid #fed107;padding-top:22px}
.seo-faq-grid a{text-decoration:underline;text-underline-offset:3px}
.hero .hero-actions .text-link{align-self:center}
@media(max-width:800px){.seo-faq-grid{grid-template-columns:1fr}}
@media(max-width:650px){.seo-card-grid{grid-template-columns:1fr}.seo-card-grid article{padding:24px}.hero .hero-actions .text-link{align-self:flex-start}}

/* Catálogo de servicios */
.service-hub-hero{padding:85px 0 90px}
.service-hub-hero h1{max-width:1100px;font-size:clamp(45px,6vw,90px)}
.service-hub-hero p{max-width:760px}
.service-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding-top:28px;padding-bottom:28px;color:#c9cecc;font-size:13px}
.service-breadcrumb a{text-decoration:underline;text-underline-offset:4px}
.service-breadcrumb span:last-child{color:var(--cuatro-yellow)}
.service-hub-intro{padding-bottom:90px}
.service-hub-intro>h2,.service-steps h2,.service-guide-link h2,.service-detail h2,.service-quote h2,.service-questions h2,.service-related h2,.service-guide h2{font:800 clamp(32px,4vw,58px)/1.1 Sora,sans-serif;letter-spacing:-.05em;margin:12px 0 20px}
.service-hub-intro>p{max-width:850px;line-height:1.7;color:#d5dcda;margin-bottom:40px}
.service-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.service-catalog-card{overflow:hidden;border-radius:20px;background:#272727;border:1px solid #ffffff20}
.service-catalog-card>a{display:block;height:100%}
.service-catalog-card img{width:100%;aspect-ratio:16/9;object-fit:cover}
.service-catalog-copy{padding:28px 30px 32px}
.service-catalog-copy h3{font:800 clamp(23px,2.1vw,32px)/1.17 Sora,sans-serif;margin:0 0 12px}
.service-catalog-copy p{line-height:1.65;color:#d4d6d4;margin:0 0 22px}
.service-catalog-copy span{font-weight:800;color:var(--cuatro-yellow);text-decoration:underline;text-underline-offset:4px}
.service-catalog-card:hover img{filter:brightness(1.12)}
.service-steps{padding:85px 0;background:#f5f5f0;color:#1b1b1b}
.service-steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin:35px 0}
.service-steps-grid>div{border-top:3px solid var(--cuatro-yellow);padding:22px 0}
.service-steps-grid strong{font:800 36px Sora,sans-serif;color:#777}
.service-steps-grid h3{font:800 21px/1.25 Sora,sans-serif}
.service-steps-grid p{line-height:1.65}
.service-guide-link{padding:80px 0 100px}
.service-guide-link p{max-width:690px;line-height:1.7}
.service-guide-link .text-link{display:inline-block;color:var(--cuatro-yellow);margin-top:15px}
.service-hero{position:relative;min-height:570px;height:min(700px,72vh);overflow:hidden;color:#fff}
.service-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.service-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#061a18dd 0%,#061a18aa 38%,#061a1800 85%)}
.service-hero-copy{position:relative;z-index:1;padding-top:clamp(95px,12vh,150px)}
.service-hero h1{font:800 clamp(42px,5.5vw,82px)/1.08 Sora,sans-serif;letter-spacing:-.05em;max-width:800px;margin:18px 0}
.service-hero p{max-width:630px;font-size:18px;line-height:1.6;margin:0 0 30px}
.service-detail{padding-top:60px;padding-bottom:90px}
.service-detail-intro{max-width:850px;margin-bottom:45px}
.service-detail-intro p{line-height:1.7;color:#d8d8d8}
.service-materials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.service-materials article{padding:28px 30px;border:1px solid #ffffff2b;border-radius:16px;background:#272727}
.service-materials h3{font:800 23px/1.25 Sora,sans-serif;margin:0 0 12px}
.service-materials p{line-height:1.7;color:#d5d5d5;margin:0}
.service-quote{padding:85px 0;background:var(--cuatro-cyan);color:#151515}
.service-quote ul{padding-left:24px;line-height:2;max-width:750px}
.service-quote .btn{margin-top:18px}
.service-questions{padding-top:85px;padding-bottom:85px}
.service-questions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;margin-top:35px}
.service-questions-grid>div{border-top:2px solid var(--cuatro-yellow);padding-top:22px}
.service-questions-grid h3{font:800 22px/1.3 Sora,sans-serif}
.service-questions-grid p{line-height:1.7;color:#d5d5d5}
.service-related{padding-bottom:95px}
.service-related-links{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.service-related-links a{display:flex;justify-content:space-between;gap:15px;padding:20px;background:#272727;border-radius:12px;font-weight:700}
.service-related-links a:hover{background:#343434;color:var(--cuatro-yellow)}
.service-illustration-note{margin-top:35px;color:#b5b5b5;font-size:12px}
.service-guide{max-width:1000px;padding-top:40px;padding-bottom:110px}
.service-guide>p,.service-guide li{font-size:16px;line-height:1.8}
.service-guide>h2{margin-top:50px}
.service-guide-table{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.service-guide-table>div{padding:25px;border:1px solid #ffffff2b;border-radius:15px}
.service-guide-table h3{font:800 22px Sora,sans-serif}
.service-guide-table p{line-height:1.7;color:#ddd}
.service-guide-table a{color:var(--cuatro-yellow);text-decoration:underline;text-underline-offset:4px}
.service-guide ol{padding-left:25px;margin-bottom:30px}
.page-gran-formato .nav-portfolio,.page-vinil-adhesivos .nav-portfolio,.page-papel-acabados .nav-portfolio,.page-exhibicion-letras .nav-portfolio{text-decoration:underline;text-underline-offset:7px}
@media(max-width:800px){.service-catalog-grid,.service-materials,.service-questions-grid,.service-guide-table{grid-template-columns:1fr}.service-steps-grid{grid-template-columns:1fr}.service-related-links{grid-template-columns:1fr}}
@media(max-width:650px){.service-hero{height:auto;min-height:560px}.service-hero>img{object-position:63% center}.service-hero-shade{background:linear-gradient(90deg,#061a18e8,#061a1880)}.service-hero-copy{padding-top:95px;padding-bottom:75px}.service-hero h1{font-size:42px}.service-hub-hero h1{font-size:45px}.service-catalog-copy{padding:22px}.service-steps,.service-quote{padding:65px 0}.service-detail,.service-questions{padding-top:60px;padding-bottom:60px}}
/* Fotografías de aplicación de servicios */
.service-example-gallery{padding-top:55px;padding-bottom:95px}
.service-example-gallery h2{font:800 clamp(32px,4vw,58px)/1.12 Sora,sans-serif;letter-spacing:-.05em;margin:15px 0}
.service-example-gallery>p{line-height:1.65;color:#d4d4d4;max-width:720px;margin-bottom:35px}
.service-example-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.service-example-grid figure{margin:0;background:#242424;border-radius:14px;overflow:hidden}
.service-example-grid img{width:100%;height:280px;object-fit:cover}
.service-example-grid figcaption{padding:15px 16px;color:#dedede;font-size:12px;line-height:1.5}
@media(max-width:900px){.service-example-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.service-example-grid{grid-template-columns:1fr}.service-example-grid img{height:auto;max-height:480px;object-fit:contain;background:#171717}.service-example-gallery{padding-top:40px;padding-bottom:70px}}
/* Portada principal del catálogo */
.service-hub-hero{min-height:520px;display:flex;align-items:center}
.service-hub-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.service-hub-shade{position:absolute;inset:0;background:linear-gradient(90deg,#08100fe8 0%,#08100fa8 45%,#08100f22 100%)}
.service-hub-hero .wrap{position:relative;z-index:2}
.service-hub-hero:after{content:none}
@media(max-width:650px){.service-hub-hero{min-height:540px}.service-hub-cover{object-position:62% center}.service-hub-shade{background:linear-gradient(90deg,#08100ff0,#08100f9c)}}
/* Veinte servicios compactos */
.service-catalog-grid--compact{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.service-catalog-card--compact{border-radius:12px}
.service-catalog-card--compact img{aspect-ratio:4/3;height:auto;object-fit:cover}
.service-catalog-card--compact .service-catalog-copy{padding:16px}
.service-catalog-card--compact .service-catalog-category{display:block;color:var(--cuatro-cyan);font:800 10px/1.3 Montserrat,sans-serif;text-transform:uppercase;text-decoration:none;letter-spacing:.09em;margin-bottom:7px}
.service-catalog-card--compact h3{font:800 18px/1.25 Sora,sans-serif;min-height:45px;margin:0 0 9px}
.service-catalog-card--compact p{font-size:12px;line-height:1.5;min-height:54px;margin:0 0 15px}
.service-catalog-card--compact .service-catalog-more{font-size:11px}
.service-grid a{border-bottom:1px solid var(--xb-line);color:#fff;font-size:clamp(13px,.95vw,17px);font-weight:600;padding:14px 0;transition:color .2s,padding-left .2s}
.service-grid a:hover{color:var(--cuatro-cyan);padding-left:5px}
.service-category-links{padding-top:15px;padding-bottom:85px}
.service-category-links h2,.service-item-content h2,.service-item-example h2,.service-item-next h2{font:800 clamp(30px,3.5vw,52px)/1.12 Sora,sans-serif;letter-spacing:-.045em}
.service-category-links>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:28px}
.service-category-links a{display:flex;justify-content:space-between;gap:8px;padding:17px;background:#262626;border:1px solid #ffffff22;border-radius:10px;font-weight:700}
.service-category-links a:hover{color:var(--cuatro-yellow)}
.service-item-hero{position:relative;min-height:480px;height:min(640px,70vh);overflow:hidden}
.service-item-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.service-item-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#07110feb 0%,#07110fb5 43%,#07110f22 100%)}
.service-item-hero-copy{position:relative;z-index:1;padding-top:clamp(95px,11vh,145px)}
.service-item-hero h1{font:800 clamp(42px,5.5vw,80px)/1.08 Sora,sans-serif;letter-spacing:-.05em;max-width:800px;margin:18px 0}
.service-item-hero p{font-size:18px;line-height:1.6;max-width:690px;margin:0 0 28px}
.service-item-content{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:8vw;padding-top:60px;padding-bottom:65px}
.service-item-content>div{max-width:800px}
.service-item-content h2{margin:15px 0 18px}
.service-item-content h2:not(:first-of-type){margin-top:45px}
.service-item-content p{font-size:16px;line-height:1.75;color:#ddd}
.service-item-content .btn{margin-top:20px}
.service-item-content aside{align-self:start;padding:28px;border-radius:15px;background:#292929}
.service-item-content aside h3{font:800 22px Sora,sans-serif;margin-top:0}
.service-item-content aside p{line-height:1.6;color:#ddd}
.service-item-content aside a{color:var(--cuatro-yellow);font-weight:800;text-decoration:underline;text-underline-offset:4px}
.service-item-example{padding-top:30px;padding-bottom:85px}
.service-item-example figure{margin:26px 0 0;max-width:720px}
.service-item-example img{max-height:560px;width:auto;max-width:100%;object-fit:contain;border-radius:12px}
.service-item-example figcaption{font-size:12px;color:#bbb;margin-top:12px}
.service-item-next{border-top:1px solid #ffffff2b;padding-top:45px;padding-bottom:95px}
.service-item-next p{line-height:1.7;color:#ddd}
.service-item-next .text-link{display:inline-block;color:var(--cuatro-yellow);margin-top:18px}
@media(max-width:1100px){.service-catalog-grid--compact{grid-template-columns:repeat(3,minmax(0,1fr))}.service-category-links>div{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.service-catalog-grid--compact{grid-template-columns:repeat(2,minmax(0,1fr))}.service-category-links>div{grid-template-columns:repeat(2,minmax(0,1fr))}.service-item-content{grid-template-columns:1fr}}
@media(max-width:650px){.service-catalog-grid--compact{gap:9px}.service-catalog-card--compact .service-catalog-copy{padding:12px}.service-catalog-card--compact h3{font-size:15px;min-height:38px}.service-catalog-card--compact p{font-size:11px;min-height:70px}.service-catalog-card--compact .service-catalog-category{font-size:9px}.service-grid a{font-size:12px;padding:12px 0}.service-item-hero{min-height:540px;height:auto}.service-item-hero-image{object-position:60% center}.service-item-hero-shade{background:linear-gradient(90deg,#07110ff0,#07110f8e)}.service-item-hero-copy{padding:100px 0 70px}.service-item-hero h1{font-size:43px}.service-item-content{padding-top:40px;padding-bottom:50px}.service-category-links>div{grid-template-columns:1fr}}
/* Landings de Chiapas y municipios próximos: componentes del CMS */
.local-hero{height:min(700px,calc(100svh - 94px));min-height:560px}.local-hero .hero-content{bottom:clamp(35px,5vw,80px)}.local-hero h1{max-width:980px;font-size:clamp(43px,5.4vw,88px)}.local-hero .hero-content>p{max-width:730px;color:#fff;font-size:clamp(15px,1.45vw,20px);line-height:1.6}.local-hero .btn{margin-top:20px;border-radius:12px}.local-breadcrumb{display:flex;gap:12px;flex-wrap:wrap;padding:24px 0;color:#d8d8d8;font-size:13px}.local-breadcrumb a{text-decoration:underline;text-underline-offset:3px}.local-work .section-heading>p{max-width:520px}.local-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.local-service-grid article{border:1px solid #ffffff3d;border-radius:18px;padding:30px;background:#242424}.local-service-grid h3{font:800 clamp(20px,2vw,28px)/1.2 Sora,sans-serif;margin:0 0 14px}.local-service-grid h3 a{text-decoration:underline;text-decoration-color:#00ebeb;text-underline-offset:6px}.local-service-grid p{margin:0;color:#ddd;line-height:1.6}.local-planning{background:#fff;color:#1b1b1b}.local-planning h2,.local-more h2{font:800 clamp(34px,4vw,58px)/1.13 Sora,sans-serif;letter-spacing:-.04em;margin:14px 0 24px}.local-planning p,.local-more p{max-width:850px;line-height:1.75}.local-planning-grid{display:grid;grid-template-columns:1.35fr .8fr;gap:clamp(35px,7vw,110px)}.local-planning aside{background:#f5f5f2;padding:30px;border-left:6px solid #ffd103;border-radius:16px}.local-planning aside h3{margin-top:0;font:800 24px Sora,sans-serif}.local-planning aside li{margin:10px 0}.local-planning a,.local-more a{color:#75435f;text-decoration:underline;text-underline-offset:3px}.local-quote{background:#00ebeb;color:#1b1b1b;padding:70px 0}.local-quote h2{font:800 clamp(34px,4vw,58px)/1.13 Sora,sans-serif;margin:12px 0}.local-quote p{max-width:780px;line-height:1.7}.local-quote .btn{margin-top:18px;border-radius:12px}.local-more{background:#1b1b1b;color:#fff}.local-more a{color:#00ebeb}.local-municipality-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:35px 0}.local-municipality-grid a{display:flex;justify-content:space-between;gap:15px;padding:20px 24px;background:#f5f5f2;border-radius:12px;color:#1b1b1b;font-weight:800;text-decoration:none}.local-municipality-grid a:hover{background:#ff67c4}.local-source{font-size:13px;color:#555}@media(max-width:900px){.local-service-grid{grid-template-columns:1fr}.local-planning-grid{grid-template-columns:1fr}}@media(max-width:650px){.local-hero{min-height:600px;height:calc(100svh - 72px)}.local-hero h1{font-size:clamp(41px,10vw,58px)}.local-municipality-grid{grid-template-columns:1fr}.local-quote{padding:55px 0}}
.local-card-cta{display:inline-flex;margin-top:20px;color:#00ebeb;font-weight:800;text-decoration:underline;text-underline-offset:4px}.local-card-cta span{margin-left:8px}.local-planning .btn{margin-top:20px;border-radius:12px;color:#1b1b1b;text-decoration:none}.local-quote-note{font-size:13px;opacity:.75;margin-top:16px}.local-hero .btn i,.local-quote .btn i,.local-planning .btn i{font-size:20px;margin-left:14px}

.local-quote .eyebrow{color:#1b1b1b}
