/*
Theme Name: ET Producciones
Theme URI: https://example.com/
Author: ET Producciones
Description: Theme one-page para una productora de eventos, activaciones y experiencias de marca.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: trujillo-theme
*/

:root {
	--ink: #102A36;
	--ink-soft: #284653;
	--paper: #F3F5F6;
	--paper-bright: #FFFFFF;
	--coral: #1F5568;
	--coral-dark: #163F4D;
	--yellow: #B89A5A;
	--mint: #DCE3E6;
	--line: rgba(16, 42, 54, 0.14);
	--shadow: 0 18px 50px rgba(16, 42, 54, 0.16);
	--radius: 4px;
	--container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: "Avenir Next", "Helvetica Neue", sans-serif;
	font-size: 16px;
	line-height: 1.65;
}

body.admin-bar .site-header { top: 32px; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: 16px; z-index: 1000; padding: 10px 16px; background: var(--yellow); color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 20; color: var(--paper-bright); background: rgba(16, 42, 54, 0.88); box-shadow: 0 8px 24px rgba(16, 42, 54, 0.12); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 28px; }
.site-brand, .site-brand > a { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.site-brand .custom-logo-link { display: inline-flex; }
.site-brand img { width: auto; max-width: 150px; max-height: 56px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; background: var(--coral); color: var(--paper-bright); font-weight: 800; transform: rotate(-8deg); }
.brand-name { font-size: 0.94rem; font-weight: 800; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase; }
.primary-nav ul { display: flex; align-items: center; gap: 28px; padding: 0; margin: 0; list-style: none; }
.primary-nav a { color: inherit; font-size: 0.84rem; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: 0.08em; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--yellow); }
.menu-toggle { display: none; border: 1px solid rgba(255,255,255,0.5); padding: 10px; background: transparent; color: inherit; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 4px; background: currentColor; }

.hero { position: relative; min-height: min(820px, 92vh); display: flex; align-items: center; overflow: hidden; color: var(--paper-bright); background: var(--ink); }
.hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,42,54,0.88) 0%, rgba(16,42,54,0.48) 48%, rgba(16,42,54,0.2) 100%); content: ""; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; background-position: center; background-size: cover; transition: opacity 0.8s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: var(--container); padding: 100px 0 100px; text-align: left; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--yellow); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow::before { width: 28px; height: 3px; background: var(--yellow); content: ""; }
.hero h1 { max-width: 820px; margin: 0; font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif; font-size: clamp(2.4rem, 4.5vw, 3.625rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; text-transform: none; }
.hero-description { max-width: 560px; margin: 28px 0 0; color: rgba(255,255,255,0.86); font-size: 1.12rem; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 1px solid var(--coral); border-radius: var(--radius); background: var(--coral); color: var(--paper-bright); font-size: 0.83rem; font-weight: 800; letter-spacing: 0.08em; text-decoration: none; text-transform: uppercase; transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.button:hover, .button:focus-visible { background: var(--coral-dark); color: var(--paper-bright); transform: translateY(-2px); }
.button--light { border-color: rgba(255,255,255,0.65); background: transparent; color: var(--paper-bright); }
.button--light:hover, .button--light:focus-visible { border-color: var(--paper-bright); background: var(--paper-bright); color: var(--ink); }
.hero-controls { position: absolute; z-index: 3; right: max(24px, calc((100% - var(--container)) / 2)); bottom: 52px; display: flex; align-items: center; gap: 10px; }
.hero-control { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,0.5); background: rgba(16,42,54,0.3); color: var(--paper-bright); }
.hero-control:hover, .hero-control:focus-visible { border-color: var(--yellow); color: var(--yellow); }
.hero-counter { color: rgba(255,255,255,0.75); font-size: 0.8rem; font-weight: 700; }

.section { padding: 112px 0; }
.section--paper { background: var(--paper-bright); }
.section--ink { background: var(--ink); color: var(--paper-bright); }
.section-heading { max-width: 740px; margin-bottom: 48px; }
.section-heading h2 { margin: 0; font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif; font-size: clamp(2rem, 3vw, 2.625rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; text-transform: none; }
.section-heading p { max-width: 600px; margin: 22px 0 0; color: var(--ink-soft); font-size: 1.05rem; }
.section--ink .section-heading p { color: rgba(255,255,255,0.72); }
.intro-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.intro-art { position: relative; min-height: 440px; background: var(--mint); overflow: hidden; }
.intro-art::before { position: absolute; inset: 24px; border: 1px solid rgba(16,42,54,0.26); content: ""; }
.intro-art::after { position: absolute; right: -10%; bottom: -20%; width: 70%; height: 70%; border-radius: 50%; background: var(--coral); content: ""; }
.intro-art.has-image { background-position: center; background-size: cover; }
.intro-art.has-image::before { inset: 0; border: 0; background: linear-gradient(180deg, rgba(16,42,54,0.08) 30%, rgba(16,42,54,0.72) 100%); }
.intro-art.has-image::after { display: none; }
.intro-art span { position: absolute; z-index: 1; left: 38px; bottom: 34px; max-width: 260px; font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif; font-size: 3rem; font-weight: 600; line-height: 1.05; text-transform: none; }
.intro-copy h3 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.1; }
.intro-copy p { color: var(--ink-soft); }
.stat-row { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line); }
.stat strong { display: block; color: var(--coral); font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif; font-size: 2.5rem; font-weight: 600; line-height: 1; }
.stat span { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 285px; padding: 28px; border: 1px solid var(--line); background: var(--paper-bright); overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card:nth-child(2),
.service-card:nth-child(5) { background: var(--mint); }
.service-card:nth-child(3),
.service-card:nth-child(4) {
	background: var(--ink);
	color: var(--paper-bright);
}
.service-card:nth-child(3) p,
.service-card:nth-child(4) p { color: rgba(255,255,255,0.76); }
.service-card:nth-child(3) .service-number,
.service-card:nth-child(4) .service-number,
.service-card:nth-child(3) .service-icon,
.service-card:nth-child(4) .service-icon { color: var(--yellow); }
.service-number { color: var(--coral); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; }
.service-card h3 { max-width: 250px; margin: 44px 0 12px; font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif; font-size: 1.55rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; text-transform: none; }
.service-card p { max-width: 290px; margin: 0; color: var(--ink-soft); font-size: 0.94rem; }
.service-icon { position: absolute; right: 26px; top: 25px; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid currentColor; border-radius: 50%; font-size: 1.2rem; }

.event-gallery { display: grid; grid-template-columns: 1.35fr 0.85fr 0.85fr; grid-template-rows: 230px 230px; gap: 14px; }
.gallery-tile { position: relative; min-height: 180px; overflow: hidden; background: var(--ink-soft); }
.gallery-tile:first-child { grid-row: span 2; }
.event-gallery--count-1 { grid-template-columns: 1fr; grid-template-rows: 460px; }
.event-gallery--count-2 { grid-template-columns: repeat(2, 1fr); grid-template-rows: 230px; }
.event-gallery--count-3 { grid-template-columns: repeat(3, 1fr); grid-template-rows: 230px; }
.event-gallery--count-1 .gallery-tile:first-child, .event-gallery--count-2 .gallery-tile:first-child, .event-gallery--count-3 .gallery-tile:first-child { grid-row: auto; }
.gallery-tile::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(16,42,54,0.75)); content: ""; }
.gallery-art { position: absolute; inset: 0; background: var(--gallery-color, var(--coral)); }
.gallery-art::before, .gallery-art::after { position: absolute; border-radius: 50%; content: ""; }
.gallery-art::before { top: 12%; right: 12%; width: 42%; height: 55%; background: rgba(255,255,255,0.18); transform: rotate(20deg); }
.gallery-art::after { bottom: -16%; left: -10%; width: 80%; height: 70%; background: rgba(16,42,54,0.35); }
.gallery-label { position: absolute; z-index: 1; bottom: 18px; left: 20px; color: var(--paper-bright); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }

.managed-carousel { position: relative; }
.carousel-viewport { position: relative; min-height: 460px; overflow: hidden; background: var(--ink-soft); }
.carousel-slide { display: none; position: relative; min-height: 460px; }
.carousel-slide.is-active { display: block; }
.carousel-lightbox-trigger { display: block; height: 100%; cursor: zoom-in; }
.carousel-lightbox-trigger:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
.carousel-slide img { width: 100%; height: 460px; object-fit: cover; opacity: 0.72; }
.carousel-nav { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; }
.carousel-dots { display: flex; flex-wrap: wrap; gap: 10px; }
.carousel-dot { width: 72px; height: 48px; padding: 0; border: 2px solid transparent; background: rgba(255,255,255,0.2); overflow: hidden; }
.carousel-dot img { width: 100%; height: 100%; object-fit: cover; opacity: 0.58; transition: opacity 0.2s ease; }
.carousel-dot:hover img, .carousel-dot:focus-visible img, .carousel-dot.is-active img { opacity: 1; }
.carousel-dot.is-active { border-color: var(--yellow); }
.carousel-arrow { border: 0; background: transparent; color: var(--paper-bright); font-size: 1.4rem; }
.image-lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 40px 72px; background: rgba(16,42,54,0.94); }
.image-lightbox[hidden] { display: none; }
.image-lightbox-close { position: absolute; top: 18px; right: 24px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,0.6); background: transparent; color: var(--paper-bright); font-size: 2rem; line-height: 1; }
.image-lightbox-close:hover, .image-lightbox-close:focus-visible { border-color: var(--yellow); color: var(--yellow); }
.image-lightbox-image { max-width: min(1200px, 100%); max-height: calc(100vh - 80px); width: auto; height: auto; object-fit: contain; opacity: 1; }
body.lightbox-open { overflow: hidden; }

.cta-band { position: relative; overflow: hidden; background: var(--coral); color: var(--paper-bright); }
.cta-band::after { position: absolute; right: -8%; bottom: -50%; width: 38vw; height: 38vw; border: 70px solid rgba(255,255,255,0.12); border-radius: 50%; content: ""; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { max-width: 720px; margin: 0; font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif; font-size: clamp(2.1rem, 4vw, 3.5rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; text-transform: none; }

.site-footer { padding: 70px 0 28px; background: var(--ink); color: var(--paper-bright); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: 48px; padding-bottom: 60px; }
.footer-title { margin: 0 0 18px; color: var(--yellow); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.footer-description { max-width: 300px; color: rgba(255,255,255,0.68); }
.footer-nav ul { padding: 0; margin: 0; list-style: none; }
.footer-nav li + li { margin-top: 8px; }
.footer-nav a, .footer-contact a { color: rgba(255,255,255,0.8); text-decoration: none; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--yellow); }
.social-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.social-links a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.35); border-radius: 50%; color: var(--paper-bright); font-size: 0.95rem; font-weight: 800; text-decoration: none; }
.social-links a i { line-height: 1; }
.social-links a:hover, .social-links a:focus-visible { border-color: var(--yellow); color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.16); color: rgba(255,255,255,0.5); font-size: 0.78rem; }

.page-hero { padding: 170px 0 90px; background: var(--ink); color: var(--paper-bright); }
.page-hero h1 { max-width: 820px; margin: 0; font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif; font-size: clamp(2.3rem, 4.5vw, 3.75rem); font-weight: 600; line-height: 1.06; letter-spacing: -0.025em; text-transform: none; }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; }
.contact-details { padding-top: 12px; }
.contact-intro .eyebrow { display: flex; margin-bottom: 20px; }
.contact-intro p { margin: 0; }
.contact-detail + .contact-detail { margin-top: 28px; }
.contact-detail strong { display: block; margin-bottom: 5px; color: var(--coral); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-form { padding: 36px; background: var(--paper-bright); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; margin-bottom: 7px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.form-field input, .form-field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink); }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--coral); outline-offset: 2px; }
.form-notice { margin-bottom: 24px; padding: 14px 16px; background: var(--mint); }
.form-notice--error { background: #CBD9DE; }
.entry-content { max-width: 820px; }
.entry-content > * + * { margin-top: 1.4em; }

@media (max-width: 860px) {
	.primary-nav { display: none; position: absolute; top: 78px; right: 24px; left: 24px; padding: 18px; background: var(--ink); box-shadow: var(--shadow); }
	.primary-nav.is-open { display: block; }
	.primary-nav ul { display: grid; gap: 16px; }
	.menu-toggle { display: block; }
	.intro-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid > :first-child { grid-column: span 2; }
	.cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 580px) {
	.container { width: min(calc(100% - 32px), var(--container)); }
	body.admin-bar .site-header { top: 46px; }
	.header-inner { min-height: 76px; }
	.hero { min-height: 760px; }
	.hero-content { padding: 130px 0 130px; }
	.hero h1 { font-size: clamp(2.15rem, 8vw, 2.375rem); }
	.hero-controls { right: 16px; bottom: 30px; }
	.section { padding: 76px 0; }
	.services-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
	.footer-grid > :first-child { grid-column: auto; }
	.intro-art { min-height: 330px; }
	.event-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 210px 160px 160px; }
	.gallery-tile:first-child { grid-column: span 2; grid-row: auto; }
	.event-gallery--count-1 { grid-template-columns: 1fr; grid-template-rows: 210px; }
	.event-gallery--count-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 210px; }
	.carousel-viewport, .carousel-slide, .carousel-slide img { min-height: 360px; height: 360px; }
	.image-lightbox { padding: 32px 16px; }
	.image-lightbox-close { top: 12px; right: 12px; }
	.contact-form { padding: 22px; }
	.footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Logo sizing */
.site-header .site-brand img {
	width: 80px;
	height: 80px;
	max-width: 80px;
	max-height: 80px;
	object-fit: contain;
}
.site-footer .site-brand img {
	width: 70px;
	height: 70px;
	max-width: 70px;
	max-height: 70px;
	object-fit: contain;
}
@media (max-width: 768px) {
	.site-header .site-brand img {
		width: 64px;
		height: 64px;
		max-width: 64px;
		max-height: 64px;
	}
}


/* Commercial proof and solution architecture */
.brand-proof {
	background: var(--ink);
	color: var(--paper-bright);
	border-top: 1px solid rgba(255,255,255,0.12);
}
.brand-proof-inner { padding-top: 30px; padding-bottom: 32px; }
.brand-proof p {
	margin: 0 0 18px;
	color: rgba(255,255,255,0.68);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-align: center;
	text-transform: uppercase;
}
.brand-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 12px 34px;
}
.brand-list span {
	color: var(--paper-bright);
	font-size: clamp(1rem, 1.7vw, 1.3rem);
	font-weight: 600;
	letter-spacing: 0.02em;
}

.section-heading--compact { max-width: 760px; }
.solution-grid, .case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 46px; }
.solution-card {
	min-height: 310px;
	padding: 32px;
	border: 1px solid var(--line);
	background: var(--paper-bright);
	display: flex;
	flex-direction: column;
}
.solution-number { color: var(--yellow); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; }
.solution-card h3, .case-card h3, .method-grid h3 {
	margin: 38px 0 14px;
	font-size: 1.55rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.015em;
}
.solution-card p { margin: 0; color: var(--ink-soft); }
.solution-card a {
	margin-top: auto;
	padding-top: 28px;
	color: var(--coral);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}
.solution-card a:hover, .solution-card a:focus-visible { color: var(--yellow); }

.featured-cases { background: var(--paper-bright); }
.case-card { overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.case-image { min-height: 250px; background: var(--mint); background-position: center; background-size: cover; }
.case-copy { padding: 28px; }
.case-copy > p {
	margin: 0;
	color: var(--coral);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.case-card h3 { margin: 14px 0 12px; }
.case-copy > span { display: block; color: var(--ink-soft); line-height: 1.6; }

.method-grid {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 48px 0 0;
	padding: 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.method-grid li { min-height: 260px; padding: 30px 28px; border-right: 1px solid var(--line); }
.method-grid li:last-child { border-right: 0; }
.method-grid strong { color: var(--yellow); font-size: 0.78rem; letter-spacing: 0.12em; }
.method-grid h3 { margin: 42px 0 12px; }
.method-grid p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }

@media (max-width: 900px) {
	.solution-grid, .case-grid { grid-template-columns: 1fr; }
	.solution-card { min-height: 260px; }
	.method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.method-grid li:nth-child(2) { border-right: 0; }
	.method-grid li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
	.brand-list { gap: 10px 20px; }
	.brand-list span { font-size: 0.96rem; }
	.solution-grid, .case-grid { margin-top: 32px; }
	.solution-card { min-height: 240px; padding: 26px; }
	.case-image { min-height: 210px; }
	.method-grid { grid-template-columns: 1fr; }
	.method-grid li { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
	.method-grid li:last-child { border-bottom: 0; }
}


/* Client and brand hierarchy */
.brand-tier-title { margin-top: 28px !important; }
.brand-list--clients span { font-size: clamp(1rem, 1.7vw, 1.25rem); }
.brand-list--secondary { gap: 8px 24px; }
.brand-list--secondary span {
	color: rgba(255,255,255,0.78);
	font-size: 0.94rem;
	font-weight: 500;
}
.brand-collaboration {
	max-width: 840px;
	margin: 26px auto 0;
	padding-top: 20px;
	border-top: 1px solid rgba(255,255,255,0.12);
	color: rgba(255,255,255,0.62);
	font-size: 0.88rem;
	line-height: 1.6;
	text-align: center;
}
@media (max-width: 600px) {
	.brand-proof-inner { padding-top: 26px; padding-bottom: 28px; }
	.brand-list--clients, .brand-list--secondary { gap: 8px 16px; }
	.brand-list--secondary span { font-size: 0.86rem; }
	.brand-collaboration { font-size: 0.82rem; }
}


/* Mejoras de conversión, navegación y accesibilidad */
html { scroll-padding-top: 104px; }
section[id] { scroll-margin-top: 104px; }

.site-header {
	background: rgba(7, 11, 13, 0.97);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
	backdrop-filter: blur(10px);
}

.form-field select {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid var(--line);
	border-radius: 0;
	background: var(--paper);
	color: var(--ink);
	font: inherit;
}
.form-field select:focus {
	outline: 2px solid var(--coral);
	outline-offset: 2px;
}
.contact-form .button { min-width: 190px; }

.whatsapp-float {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 80;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 19px;
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: 999px;
	background: #176B53;
	box-shadow: 0 14px 34px rgba(0,0,0,0.28);
	color: #fff;
	font-size: 0.84rem;
	font-weight: 800;
	letter-spacing: 0.035em;
	text-decoration: none;
	transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float i { font-size: 1.35rem; }
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
	background: #0F523F;
	box-shadow: 0 18px 40px rgba(0,0,0,0.34);
	color: #fff;
	transform: translateY(-2px);
}

@media (max-width: 600px) {
	html { scroll-padding-top: 88px; }
	section[id] { scroll-margin-top: 88px; }
	.contact-form { padding: 26px 22px; }
	.contact-form .button { width: 100%; }
	.whatsapp-float {
		right: 16px;
		bottom: 16px;
		justify-content: center;
		width: 54px;
		min-width: 54px;
		height: 54px;
		padding: 0;
	}
	.whatsapp-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
	.whatsapp-float i { font-size: 1.45rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}


/* Contact email emphasis */
.contact-detail--email .contact-email-link {
	font-size: 1.12rem;
	font-weight: 700;
	color: var(--color-primary);
}

/* Four strategic solutions */
.solution-grid--four {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.solution-grid--four .solution-card {
	min-height: 300px;
}
.solution-grid--four .solution-card:nth-child(2),
.solution-grid--four .solution-card:nth-child(3) {
	background: var(--mint);
}
.solution-grid--four .solution-card--field {
	background: var(--ink);
	border-color: var(--ink);
}
.solution-grid--four .solution-card--field h3,
.solution-grid--four .solution-card--field p {
	color: var(--paper-bright);
}
.solution-grid--four .solution-card--field a {
	color: var(--yellow);
}
@media (max-width: 900px) {
	.solution-grid--four {
		grid-template-columns: 1fr;
	}
}


/* Encuadre individual: visitante junto a catering */
.carousel-slide:nth-child(6) img { object-position: center 25%; }


/* Caso real: inauguración Ford */
.case-card-link {
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
}
.case-card-link .case-image {
	transition: transform .35s ease, filter .35s ease;
}
.case-card-link:hover .case-image,
.case-card-link:focus-visible .case-image {
	transform: scale(1.025);
	filter: brightness(1.05);
}
.case-card:has(.case-card-link) {
	overflow: hidden;
}
.case-study {
	background: #f4f2ed;
}
.case-study-header {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
	gap: 56px;
	align-items: end;
	margin-bottom: 38px;
}
.case-study-header h2 {
	max-width: 760px;
	margin-bottom: 0;
}
.case-study-intro {
	max-width: 560px;
	margin: 0 0 4px;
	color: #3f4d52;
	font-size: 1.08rem;
	line-height: 1.7;
}
.case-study-hero {
	min-height: 560px;
	background-size: cover;
	background-position: center 52%;
	margin-bottom: 28px;
}
.case-study-details {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	background: #c9c6be;
	border: 1px solid #c9c6be;
	margin-bottom: 28px;
}
.case-study-details article {
	background: #fff;
	padding: 34px 32px 36px;
}
.case-study-details span {
	display: block;
	margin-bottom: 32px;
	color: #b98e43;
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .18em;
}
.case-study-details h3 {
	margin: 0 0 14px;
	font-size: 1.28rem;
}
.case-study-details p {
	margin: 0;
	color: #45545a;
	line-height: 1.7;
}
.case-study-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 230px;
	gap: 10px;
}
.case-study-gallery figure {
	margin: 0;
	overflow: hidden;
	background: #d9d7d1;
}
.case-study-gallery-main {
	grid-column: span 2;
	grid-row: span 2;
}
.case-study-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .35s ease;
}
.case-study-gallery figure:hover img {
	transform: scale(1.025);
}
@media (max-width: 900px) {
	.case-study-header,
	.case-study-details {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.case-study-hero {
		min-height: 430px;
	}
	.case-study-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 210px;
	}
}
@media (max-width: 600px) {
	.case-study-header {
		margin-bottom: 26px;
	}
	.case-study-hero {
		min-height: 330px;
		background-position: 56% center;
	}
	.case-study-details article {
		padding: 28px 24px;
	}
	.case-study-gallery {
		grid-template-columns: 1fr 1fr;
		grid-auto-rows: 150px;
	}
	.case-study-gallery-main {
		grid-column: 1 / -1;
		grid-row: auto;
		height: 260px;
	}
}

/* Galería compacta y administrable de experiencias */
.experiences-invite {
	padding-top: 72px;
	padding-bottom: 72px;
	background: #eef1f1;
}
.experiences-invite-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 56px;
	align-items: center;
}
.experiences-invite h2 {
	max-width: 760px;
	margin-bottom: 16px;
}
.experiences-invite p:not(.eyebrow) {
	max-width: 780px;
	margin-bottom: 0;
	color: #435158;
	line-height: 1.7;
}
.experiences-gallery-button {
	white-space: nowrap;
}
.experiences-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	padding: 42px;
	overflow-y: auto;
}
.experiences-modal:target {
	display: block;
}
.experiences-modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(5, 16, 22, .88);
	backdrop-filter: blur(5px);
}
.experiences-modal-panel {
	position: relative;
	z-index: 1;
	width: min(1240px, 100%);
	margin: 0 auto;
	padding: 42px;
	background: #f7f6f2;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.experiences-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 32px;
	margin-bottom: 32px;
}
.experiences-modal-header h2 {
	margin-bottom: 0;
}
.experiences-modal-close {
	display: grid;
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	place-items: center;
	border: 1px solid #bac1c3;
	color: #102d38;
	font-size: 2rem;
	line-height: 1;
	text-decoration: none;
}
.experiences-modal-close:hover,
.experiences-modal-close:focus-visible {
	background: #102d38;
	color: #fff;
}
.experiences-modal-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.experiences-modal-grid figure {
	aspect-ratio: 4 / 3;
	margin: 0;
	overflow: hidden;
	background: #d6d9d8;
}
.experiences-modal-grid a,
.experiences-modal-grid img {
	display: block;
	width: 100%;
	height: 100%;
}
.experiences-modal-grid img {
	object-fit: cover;
	transition: transform .35s ease, filter .35s ease;
}
.experiences-modal-grid a:hover img,
.experiences-modal-grid a:focus-visible img {
	transform: scale(1.025);
	filter: brightness(1.05);
}
.experiences-modal-empty {
	padding: 48px;
	border: 1px solid #d4d7d6;
	text-align: center;
}
@media (max-width: 900px) {
	.experiences-invite-inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.experiences-gallery-button {
		justify-self: start;
	}
	.experiences-modal {
		padding: 24px;
	}
	.experiences-modal-panel {
		padding: 30px;
	}
	.experiences-modal-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 600px) {
	.experiences-invite {
		padding-top: 54px;
		padding-bottom: 54px;
	}
	.experiences-modal {
		padding: 12px;
	}
	.experiences-modal-panel {
		padding: 22px 16px;
	}
	.experiences-modal-header {
		gap: 18px;
		margin-bottom: 22px;
	}
	.experiences-modal-grid {
		grid-template-columns: 1fr;
		gap: 8px;
	}
	.experiences-modal-grid figure {
		aspect-ratio: 16 / 11;
	}
}

/* Ajuste compacto de la galería de experiencias */
.experiences-modal {
	padding: 24px;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.experiences-modal:target {
	display: flex;
}
.experiences-modal-panel {
	width: min(920px, 100%);
	max-height: 82vh;
	margin: 0;
	padding: 26px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.experiences-modal-header {
	flex: 0 0 auto;
	align-items: center;
	margin-bottom: 20px;
}
.experiences-modal-header .eyebrow {
	margin-bottom: 7px;
}
.experiences-modal-header h2 {
	font-size: clamp(1.45rem, 2.3vw, 2rem);
}
.experiences-modal-close {
	display: inline-flex;
	width: auto;
	height: 44px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 0 17px;
	border-color: #102d38;
	background: #102d38;
	color: #fff;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.experiences-modal-close span:first-child {
	font-size: 1.45rem;
	font-weight: 400;
	line-height: 1;
}
.experiences-modal-close:hover,
.experiences-modal-close:focus-visible {
	background: #1f5366;
	border-color: #1f5366;
}
.experiences-modal-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 9px;
	max-height: 57vh;
	padding-right: 8px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #839095 #e2e5e4;
}
.experiences-modal-grid figure {
	aspect-ratio: 16 / 10;
}
@media (max-width: 900px) {
	.experiences-modal {
		padding: 16px;
	}
	.experiences-modal-panel {
		width: min(720px, 100%);
		max-height: 86vh;
		padding: 22px;
	}
	.experiences-modal-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-height: 64vh;
	}
}
@media (max-width: 600px) {
	.experiences-modal {
		padding: 8px;
	}
	.experiences-modal-panel {
		max-height: 90vh;
		padding: 18px 14px;
	}
	.experiences-modal-header {
		align-items: flex-start;
	}
	.experiences-modal-header .eyebrow {
		display: none;
	}
	.experiences-modal-header h2 {
		font-size: 1.22rem;
	}
	.experiences-modal-close {
		height: 40px;
		padding: 0 12px;
		font-size: .68rem;
		letter-spacing: .04em;
	}
	.experiences-modal-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-height: 70vh;
		gap: 7px;
		padding-right: 5px;
	}
	.experiences-modal-grid figure {
		aspect-ratio: 4 / 3;
	}
}

/* Cierre compacto de la galería */
.experiences-modal-close {
	display: grid;
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	padding: 0;
	place-items: center;
	border: 1px solid #102d38;
	background: transparent;
	color: #102d38;
	font-size: 1.7rem;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
}
.experiences-modal-close:hover,
.experiences-modal-close:focus-visible {
	background: #102d38;
	color: #fff;
}
@media (max-width: 600px) {
	.experiences-modal-close {
		width: 38px;
		height: 38px;
		flex-basis: 38px;
		padding: 0;
		font-size: 1.55rem;
	}
}

/* Portada compacta: septiembre 2026 */
#nosotros.section {
	padding-top: 82px;
	padding-bottom: 82px;
}
.solution-paths {
	padding-top: 88px;
	padding-bottom: 88px;
}
.solution-grid-action {
	margin-top: 30px;
	text-align: center;
}
.case-study {
	padding-top: 88px;
	padding-bottom: 88px;
}
.case-study-header {
	margin-bottom: 26px;
}
.case-study-hero {
	min-height: 440px;
	margin-bottom: 22px;
}
.case-study-details {
	margin-bottom: 22px;
}
.case-study-details article {
	padding: 28px 26px 30px;
}
.case-study-details span {
	margin-bottom: 20px;
}
.case-study-gallery--compact {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 250px;
}
.case-study-gallery--compact figure {
	grid-column: auto;
	grid-row: auto;
}
.case-study-action {
	margin-top: 30px;
	text-align: center;
}
.experiences-preview {
	padding-top: 82px;
	padding-bottom: 82px;
}
.work-method {
	padding-top: 82px;
	padding-bottom: 82px;
}
.whatsapp-float {
	right: 20px;
	bottom: 20px;
	justify-content: center;
	width: 50px;
	min-width: 50px;
	height: 50px;
	min-height: 50px;
	padding: 0;
}
.whatsapp-float span {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
}
.whatsapp-float i {
	font-size: 1.35rem;
}
@media (max-width: 900px) {
	#nosotros.section,
	.solution-paths,
	.case-study,
	.experiences-preview,
	.work-method {
		padding-top: 66px;
		padding-bottom: 66px;
	}
	.case-study-hero {
		min-height: 390px;
	}
	.case-study-gallery--compact {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		grid-auto-rows: 200px;
	}
}
@media (max-width: 600px) {
	#nosotros.section,
	.solution-paths,
	.case-study,
	.experiences-preview,
	.work-method {
		padding-top: 52px;
		padding-bottom: 52px;
	}
	.case-study-hero {
		min-height: 310px;
	}
	.case-study-gallery--compact {
		grid-template-columns: 1fr;
		grid-auto-rows: 220px;
	}
	.whatsapp-float {
		right: 14px;
		bottom: 14px;
		width: 48px;
		min-width: 48px;
		height: 48px;
		min-height: 48px;
	}
}
