/*
Theme Name: estudioNEO
Author: estudioNEO
Description: Tema editorial propio para el editor nativo de WordPress.
Version: 0.5.0
Requires at least: 6.8
Requires PHP: 8.2
Text Domain: estudioneo
*/
:root{--paper:#f7f6f2;--ink:#191918;--red:#e0283c;--line:#dfdcd5;--dark:#161616}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.65 Arial,Helvetica,sans-serif}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-underline-offset:.2em}
button,input,select,textarea{font:inherit}
:focus-visible{outline:3px solid var(--red);outline-offset:5px}
h1,h2,h3{margin:0;line-height:1;letter-spacing:-.055em;font-weight:800}
h2{font-size:clamp(2.2rem,5vw,5rem)}
h3{font-size:clamp(1.35rem,2.6vw,2.6rem)}
p{margin:.8em 0 1em}
.neo-width{width:min(1420px,100% - clamp(2.4rem,7vw,9rem));margin-inline:auto}
.screen-reader-text,.neo-skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.neo-skip:focus{position:absolute;z-index:20;inset:.6rem auto auto .6rem;background:#fff;padding:.6rem}
.neo-header,.neo-footer{background:var(--dark);color:#fff}
.neo-header-inner{display:flex;align-items:center;justify-content:space-between;gap:1.6rem;min-height:83px}
.neo-brand{display:inline-block;text-decoration:none}
.neo-brand img{width:clamp(130px,14vw,196px);max-height:53px;object-fit:contain;object-position:left}
.neo-nav ul{display:flex;flex-wrap:wrap;align-items:center;gap:clamp(1rem,2.3vw,2.5rem);margin:0;padding:0;list-style:none}
.neo-nav a{display:block;padding:.45rem 0;text-decoration:none;font-size:.76rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.neo-nav a:is(:hover,[aria-current="page"]){color:#ff6470}
.neo-menu-toggle{display:none}
.neo-section{padding-block:clamp(3.75rem,8vw,8.75rem)}
.neo-section+.neo-section{border-top:1px solid var(--line)}
.neo-head{padding-block:clamp(4.2rem,9vw,9.4rem);border-bottom:1px solid var(--line)}
.neo-head h1,.neo-slide h1,.neo-slide h2{font-size:clamp(3.2rem,8vw,9rem);line-height:.92;letter-spacing:-.074em;text-wrap:balance}
.neo-head h1{max-width:16ch;overflow-wrap:anywhere}
.neo-content > :where(p,ul,ol,blockquote){max-width:77ch}
.neo-content h2{font-size:clamp(2rem,4.15vw,4rem);margin:1.12em 0 .4em}
.neo-content h3{margin:1em 0 .45em}
.neo-content p{color:#343332}
.neo-content iframe{max-width:100%}
.neo-content form{max-width:780px}
.neo-content input,.neo-content select,.neo-content textarea{max-width:100%;border:1px solid #a8a7a5;background:#fff;padding:.65rem}
.neo-hero{position:relative;isolation:isolate;background:var(--dark);color:#fff}
.neo-slide{display:grid;isolation:isolate;align-content:center;position:relative;min-height:min(800px,82svh);padding:clamp(4.5rem,10vw,10rem) 0 8rem;overflow:hidden}
.neo-slide[hidden],.neo-controls[hidden]{display:none}
.neo-slide-image,.neo-slide-mask{position:absolute;inset:0;width:100%;height:100%;z-index:-1}
.neo-slide-image{object-fit:cover}
.neo-slide-mask{background:linear-gradient(90deg,#0d0d0fe0,#0d0d0f90 55%,#0d0d0f36),linear-gradient(0deg,#1118,transparent 55%)}
.neo-slide h1,.neo-slide h2{max-width:15ch;color:#fff}
.neo-slide h1::before,.neo-slide h2::before{content:"";display:block;width:clamp(2.5rem,7vw,5rem);height:4px;margin-bottom:.3em;background:#ff5361}
.neo-slide p{max-width:55ch;margin:1.3rem 0 1.8rem;font-size:clamp(1rem,1.4vw,1.23rem)}
.neo-actions,.neo-controls,.neo-control-group{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}
.neo-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:.65rem .95rem;border:1px solid currentColor;text-decoration:none;font-size:.76rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.neo-button--red{color:#fff;background:#bd2334;border-color:#bd2334}
.neo-button--red:hover{background:#a21929}
.neo-controls{position:absolute;inset-inline:0;bottom:clamp(1rem,3vw,2.6rem);justify-content:space-between}
.neo-controls button{display:inline-grid;place-items:center;min-width:44px;min-height:44px;color:#fff;background:#1b1b1bd8;border:1px solid #ffffff80;cursor:pointer}
.neo-controls [aria-current="true"]{background:#ae2031;border-color:#ff6876}
.neo-controls .neo-rotation-control{position:absolute;inset-inline-start:0;bottom:calc(100% + .75rem);padding-inline:.8rem}
.neo-controls .neo-rotation-control:not(:focus-visible){width:1px;height:1px;min-width:0;min-height:0;overflow:hidden;clip-path:inset(50%);padding:0;border:0}
.neo-page-header,.neo-content--services :is(.neo-site-services-hero,.neo-proof-hero){position:relative;display:grid;align-items:center;isolation:isolate;min-height:clamp(23rem,57svh,41rem);overflow:hidden;background:#161619;color:#fff}
.neo-page-header::before,.neo-content--services :is(.neo-site-services-hero,.neo-proof-hero)::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#101012de,#10101283 42%,#1010121a 82%),linear-gradient(0deg,#1010124d,transparent 60%)}
.neo-page-header-image,.neo-content--services .neo-site-services-hero>img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center}
.neo-page-header>.neo-width,.neo-content--services :is(.neo-site-services-hero-copy,.neo-proof-hero-copy){width:min(1420px,100% - clamp(2.4rem,7vw,9rem));margin-inline:auto;padding:clamp(2.25rem,6vw,5rem) 0}
.neo-page-header h1,.neo-content--services :is(.neo-site-services-hero-copy,.neo-proof-hero-copy) h1{max-width:14ch;margin:0;color:#fff;font-size:clamp(3.2rem,7.6vw,8rem);line-height:.94;letter-spacing:-.068em;text-wrap:balance;overflow-wrap:anywhere}
.neo-page-header h1::before,.neo-content--services :is(.neo-site-services-hero-copy,.neo-proof-hero-copy) h1::before{content:"";display:block;width:clamp(2.5rem,7vw,5rem);height:4px;margin-bottom:.32em;background:#ff5361}
.neo-content--services :is(.neo-site-services-hero-copy,.neo-proof-hero-copy) h1{font-size:clamp(2.55rem,6.1vw,6.2rem)}
.neo-content--services .neo-site-services-hero-copy p{max-width:46ch;margin-top:1.15rem;color:#fff}
.neo-content--services .neo-site-offer-copy h2 {
	margin: 0 0 .65rem;
	font-size: clamp(1.55rem,3.4vw,3.85rem);
	line-height: 1.04;
	text-wrap: balance;
	overflow-wrap: anywhere;
}
.neo-content--services .neo-site-services-outro {
	--neo-complement-title-size: clamp(2rem,4.15vw,4rem);
	align-items: flex-start;
}
.neo-content--services .neo-site-services-outro h2 {
	margin: 0;
	font-size: var(--neo-complement-title-size);
	line-height: 1;
}
.neo-content--services .neo-site-services-outro .neo-site-button {
	display: inline-flex;
	align-items: center;
	min-height: 3rem;
	padding-block: .65rem;
	margin-block-start: max(0px, calc((var(--neo-complement-title-size) - 3rem) / 2));
}
.neo-section-title{display:flex;align-items:end;justify-content:space-between;gap:1.4rem;margin-bottom:clamp(1.8rem,4vw,3.3rem)}
.neo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(1rem,4vw,4rem)}
.neo-service {
	display: grid;
	grid-template-columns: clamp(5.75rem,10vw,10rem) minmax(0,1fr) auto;
	align-items: center;
	gap: clamp(.7rem,1.7vw,1.75rem);
	padding-block: clamp(.85rem,1.7vw,1.75rem);
	border-top: 1px solid var(--line);
	text-decoration: none;
}
.neo-service img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	background: var(--dark);
}
.neo-service h3 {
	font-size: clamp(1.25rem,2.45vw,2.55rem);
	line-height: 1.04;
}
.neo-service span { color: #ae2031; font-size: clamp(1.25rem,2.1vw,1.9rem); }
.neo-service:hover h3 { color: #a21929; }

#contenido:has(.neo-content > :is(.wp-block-image.alignfull,.wp-block-image.is-style-neo-separador,.wp-block-cover.alignfull,.neo-section-divider)) {
	container-type: inline-size;
}
.neo-section-divider { margin: 0; }
.neo-content > .wp-block-image:is(.alignfull,.is-style-neo-separador),
.neo-content > .wp-block-cover.alignfull,
.neo-content > .neo-section-divider {
	width: 100cqw;
	max-width: none;
	margin-inline: calc(50% - 50cqw);
}
.neo-content > .wp-block-image.alignfull img { width: 100%; }
.neo-section-divider img,
.wp-block-image.is-style-neo-separador img {
	width: 100%;
	height: clamp(10rem,28vw,38rem);
	object-fit: cover;
	object-position: 39% 50%;
}
.neo-home > .neo-section { padding-block: clamp(3rem,6.4vw,7rem); }
.neo-home-intro { background: #eeeae2; }
.neo-home-intro-inner {
	display: grid;
	grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
	align-items: center;
	gap: clamp(1.5rem,6vw,8rem);
}
.neo-home-intro h1 { font-size: clamp(1.95rem,4.3vw,4.3rem); }
.neo-home-intro-copy { max-width: 43ch; font-size: clamp(1rem,1.38vw,1.22rem); }
.neo-home-intro-copy p { margin: 0; }
.neo-home-intro-copy p + p { margin-top: .8em; }
.neo-portfolio { padding-block: clamp(2.5rem,5.5vw,5.5rem); }
.neo-portfolio-intro > p {
	font-size: clamp(1.15rem,1.9vw,1.5rem);
	max-width: 56ch;
	margin: 0 0 clamp(1.8rem,4vw,3.25rem);
}
.neo-portfolio-grid {
	display: grid;
	grid-template-columns: repeat(3,minmax(0,1fr));
	gap: clamp(1.35rem,3vw,2.5rem);
}
@media (max-width: 1024px) {
	.neo-portfolio-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
	.neo-portfolio-grid { grid-template-columns: 1fr; }
}
.neo-portfolio-card { min-width: 0; border-bottom: 1px solid var(--line); }
.neo-portfolio-card a { display: block; height: 100%; text-decoration: none; }
.neo-portfolio-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.neo-portfolio-card h2 {
	font-size: clamp(1.3rem,2.5vw,2.4rem);
	line-height: 1.05;
	padding: 1rem 0 1.3rem;
	overflow-wrap: anywhere;
}
.neo-portfolio-card a:hover h2, .neo-related a:hover { color: #a21929; }
.neo-portfolio-content { padding-block: clamp(2.5rem,5.5vw,5rem); }
.neo-portfolio-content > p { max-width: 65ch; font-size: clamp(1.1rem,1.65vw,1.45rem); }
.neo-portfolio-content > .neo-actions, .neo-studio-portfolio { margin-block-start: 1.75rem; }
.neo-related {
	padding-block: clamp(1.6rem,4vw,3rem);
	border-top: 1px solid var(--line);
}
.neo-related h2 { font-size: clamp(1.35rem,2.8vw,2.45rem); }
.neo-related ul { margin-block: .85rem 0; padding-inline-start: 1.25rem; }
.neo-related a { display: inline-block; padding-block: .25rem; }
.neo-home-creative { border-bottom: 1px solid var(--line); padding-bottom: 1.2rem; }
.neo-home-creative img {
	width: 100%;
	aspect-ratio: 16/10;
	object-fit: cover;
	background: var(--dark);
	margin-bottom: 1.25rem;
}
.neo-home-creative p { max-width: 56ch; margin-bottom: 0; }
.neo-home-creative-grid { row-gap: 2.25rem; }
.neo-home-clients h2 { font-size: clamp(1.95rem,4.3vw,4.3rem); }
.neo-home-clients .neo-testimonials { margin-block: clamp(1.4rem,3vw,2.75rem); }
.neo-home-client-logos {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(6,minmax(0,1fr));
	gap: clamp(.65rem,2vw,2rem);
	padding: clamp(1rem,2.5vw,2rem);
	margin: 0;
	background: #222124;
}
.neo-home-client-logos img { width: 100%; height: clamp(2.75rem,5vw,5.5rem); object-fit: contain; }
.neo-home-contact { background: #211e22; color: #fff; border-bottom: 1px solid #ffffff26; }
.neo-home-contact-inner {
	display: grid;
	grid-template-columns: minmax(0,1fr) auto;
	align-items: center;
	gap: clamp(1rem,7vw,7rem);
	padding-block: clamp(2.65rem,6.5vw,6rem);
}
.neo-home-contact h2 { max-width: 24ch; font-size: clamp(1.75rem,4.4vw,4.6rem); }
.neo-home-contact .neo-button { gap: .75rem; white-space: nowrap; }
.neo-card{padding-bottom:2.2rem}
.neo-card h2{font-size:clamp(1.65rem,3.45vw,3rem)}
.neo-card a:not(.neo-button){text-decoration:none}
.neo-card a:hover{text-decoration:underline}
.neo-card-image img{aspect-ratio:16/9;width:100%;object-fit:cover}
.neo-card-image{display:block;margin-bottom:1.05rem}
.neo-meta{display:block;margin:.55rem 0;color:#585652;font-size:.76rem;font-weight:700;text-transform:uppercase;letter-spacing:.11em}
.neo-footer{padding-block:clamp(3rem,7vw,6rem)}
.neo-footer p{color:#d0cfcb}
.neo-old-row{display:flex;flex-wrap:wrap;gap:clamp(1rem,3vw,2.5rem);margin-block:1.35rem;align-items:start}
.neo-old-col{flex:1 1 15rem;min-width:0}
.neo-old-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:1rem}
.neo-pagination{margin-top:2rem}
@media(max-width:920px){
 .neo-header-inner{flex-wrap:wrap;min-height:68px;gap:0}
 .neo-nav{width:100%}
 .neo-js .neo-menu-toggle{display:inline-flex;align-items:center;min-height:44px;border:1px solid #777;background:transparent;color:#fff;padding:.25rem .65rem;cursor:pointer}
 .neo-js .neo-nav[hidden]{display:none}
 .neo-js .neo-nav ul{flex-direction:column;align-items:stretch;gap:0;padding-bottom:.7rem}
}
@media(max-width:760px){
 .neo-home-service-grid { grid-template-columns: 1fr; }
 .neo-home-intro-inner { grid-template-columns: 1fr; }
 .neo-home-client-logos { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width:620px){
 .neo-head h1{font-size:clamp(2rem,9.5vw,3rem)}
 .neo-page-header,.neo-content--services :is(.neo-site-services-hero,.neo-proof-hero){min-height:clamp(20.5rem,51svh,27rem);align-items:end}
 .neo-page-header::before,.neo-content--services :is(.neo-site-services-hero,.neo-proof-hero)::before{background:linear-gradient(0deg,#101012f5,#1010129c 42%,#1010120f 85%)}
 .neo-page-header-image,.neo-content--services .neo-site-services-hero>img{object-position:87% 49%}
 .neo-page-header>.neo-width,.neo-content--services :is(.neo-site-services-hero-copy,.neo-proof-hero-copy){padding-block:3rem 2.2rem}
 .neo-page-header h1,.neo-content--services :is(.neo-site-services-hero-copy,.neo-proof-hero-copy) h1{font-size:clamp(2.4rem,10vw,4.15rem)}
 .neo-content--services .neo-proof-hero-copy h1{font-size:clamp(2rem,9.6vw,4.15rem)}
 .neo-content .gml-portal{width:100%!important;max-width:100%!important;margin-inline:auto!important}
 .neo-section-title{display:block}
 .neo-section-title .neo-button{margin-top:1rem}
 .neo-grid{grid-template-columns:1fr}
 .neo-service { grid-template-columns: clamp(4.25rem,19vw,6rem) minmax(0,1fr) auto; }
 .neo-home-contact-inner { gap: .9rem; }
 .neo-home-contact h2 { font-size: clamp(1.35rem,5.8vw,2.1rem); }
 .neo-home-contact .neo-button { padding-inline: .65rem; gap: .4rem; }
 .neo-slide{padding-block:4rem 8.75rem;min-height:620px}
 .neo-slide h1,.neo-slide h2{font-size:clamp(3rem,11vw,5rem)}
 .neo-controls button{min-width:40px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

.neo-legacy-panel{position:relative;isolation:isolate;display:grid;align-items:center;min-height:245px;background:#211f1f;color:#fff;overflow:hidden}
.neo-legacy-panel-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.neo-legacy-panel::before{content:"";position:absolute;inset:0;background:#1616169c;z-index:-1}
.neo-legacy-panel-body{padding:clamp(1rem,3.5vw,4rem)}
.neo-legacy-panel p{color:#fff}
.neo-clients,.neo-testimonials{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:1.5rem;margin-block:2rem}
.neo-clients img{width:100%;height:100px;object-fit:contain}
.neo-testimonials{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}
.neo-testimonials figure{margin:0;padding:1.4rem 0;border-top:1px solid var(--line)}
.neo-testimonials blockquote{margin:0}
.neo-testimonials figcaption{font-weight:700}
.neo-legacy-rule{width:4rem;margin:2rem 0;border:0;border-top:3px solid var(--red)}
.neo-legacy-cta{border-block:1px solid var(--line);padding:1.5rem 0;margin:1.6rem 0}
.neo-legacy-icon-label span{color:#a71d2d}
.neo-legacy-number{font-weight:800;font-size:2rem;letter-spacing:-.05em;color:#a71d2d}

.neo-studio {
	padding-block: clamp(1.75rem,3.6vw,3.5rem) clamp(2.75rem,5vw,5rem);
}
.neo-studio .neo-content > .neo-old-row { margin-block: 0; }
.neo-studio .neo-content > .neo-old-row + .neo-old-row {
	margin-top: clamp(1.75rem,3.2vw,3.5rem);
}
.neo-studio .neo-content > .neo-old-row:has(> .neo-old-col > .neo-legacy-icon-label) {
	display: grid;
	grid-template-columns: minmax(0,1.25fr) minmax(0,1fr);
	gap: clamp(1.1rem,4.5vw,5rem);
}
.neo-studio .neo-old-col > h2 {
	margin: 0;
	font-size: clamp(2rem,4.1vw,4rem);
	line-height: 1.04;
}
.neo-studio .neo-legacy-rule { margin-block: clamp(.85rem,2vw,1.65rem); }
.neo-studio .neo-legacy-rule + p {
	max-width: 63ch;
	margin: 0;
	font-size: clamp(1rem,1.35vw,1.17rem);
}
.neo-studio .neo-old-col:has(> .neo-legacy-icon-label) > hr,
.neo-studio .neo-old-col:has(> h5) > hr,
.neo-studio .neo-old-col:has(> h5) > h3:empty { display: none; }
.neo-studio .neo-legacy-icon-label {
	margin: 0;
	padding-block: .65rem;
	color: var(--ink);
}
.neo-studio .neo-legacy-icon-label:first-of-type { padding-top: .22rem; }
.neo-studio .neo-legacy-icon-label + .neo-legacy-icon-label { border-top: 1px solid var(--line); }
.neo-studio .neo-legacy-icon-label span { margin-inline-end: .35rem; }
.neo-studio .neo-old-gallery {
	grid-template-columns: repeat(5,minmax(0,1fr));
	gap: clamp(.65rem,1.1vw,1rem);
}
.neo-studio .neo-old-gallery > img {
	width: 100%;
	aspect-ratio: 768/597;
	object-fit: cover;
}
.neo-studio .neo-content > .neo-old-row:has(> .neo-old-col > h5) {
	display: grid;
	grid-template-columns: repeat(4,minmax(0,1fr));
	align-items: stretch;
	gap: clamp(1rem,2.5vw,2.5rem);
}
.neo-studio .neo-old-col:has(> h5) {
	padding-block: clamp(.9rem,1.6vw,1.35rem);
	border-block: 1px solid var(--line);
}
.neo-studio .neo-old-col > h5 {
	margin: 0;
	font-size: clamp(1.08rem,1.65vw,1.55rem);
	line-height: 1.16;
	letter-spacing: -.025em;
}
.neo-studio .neo-old-col > h5 + hr + p { margin: .6rem 0 0; }
.neo-studio .neo-legacy-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(1rem,4vw,4rem);
	margin: 0;
	padding: clamp(1.4rem,4vw,3.5rem);
	border: 0;
	background: #211e22;
	color: #fff;
}
.neo-studio .neo-legacy-cta > strong {
	font-size: clamp(1.75rem,3.95vw,3.8rem);
	line-height: 1.04;
	letter-spacing: -.055em;
	text-wrap: balance;
}
.neo-studio .neo-legacy-cta > .neo-button { flex: none; text-align: center; }
@media (max-width: 760px) {
	.neo-studio .neo-content > .neo-old-row:has(> .neo-old-col > .neo-legacy-icon-label) {
		grid-template-columns: 1fr;
	}
	.neo-studio .neo-content > .neo-old-row:has(> .neo-old-col > h5) {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
	.neo-studio .neo-old-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.neo-studio .neo-old-gallery > img:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		aspect-ratio: 16/9;
	}
	.neo-studio .neo-legacy-cta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 420px) {
	.neo-studio .neo-content > .neo-old-row:has(> .neo-old-col > h5) {
		grid-template-columns: 1fr;
	}
}
