@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/impulso-v2/figtree-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/impulso-v2/figtree-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/impulso-v2/lexend-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/impulso-v2/lexend-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   Landing Impulso Tarapacá v2 (propuesta)
   Según "Estrategia de comunicaciones" (Ocho Comunicaciones, oct. 2026):
   paleta corporativa Collahuasi, Lexend (titulares) + Figtree (datos y textos),
   un color y un ícono por ámbito, nuevo aguayo.
   Todo va bajo .iv2: el tema carga Materialize y un reset `body *` que
   pisarían los estilos si no se acotan.
   ========================================================================== */

.iv2 {
	--iv-silk: #FFE2B6;      /* Pastel Silk · fondos */
	--iv-cream: #FFF6E9;     /* tinte claro de Pastel Silk para el fondo de página */
	--iv-orange: #F04E23;    /* Orange Red · acento, espacios públicos */
	--iv-yellow: #FFC20E;    /* Yellow · vial */
	--iv-blue: #1E4167;      /* Forest Blue · texto, salud */
	--iv-green: #1D3C34;     /* Verde · marca */
	--iv-copper: #C56026;    /* Cobre · infraestructura */
	--iv-blue-soft: #4A6785;
	--iv-line: #EBD3AA;

	--iv-title: "Lexend", "questa-sans", sans-serif;
	--iv-text: "Figtree", "questa-sans", sans-serif;

	/* El header del tema es fijo y mide 93 px. */
	padding-top: 93px;
	font-family: var(--iv-text);
	font-size: 18px;
	line-height: 1.6;
	color: var(--iv-blue);
	background: var(--iv-cream);
	overflow-x: clip;
}

.iv2 *,
.iv2 *::before,
.iv2 *::after { box-sizing: border-box; }

.iv2 :where(img) { display: block; max-width: 100%; height: auto; }

/* Resets con :where() para que pesen 0,1,0: le ganan a las reglas por etiqueta
   del tema (h2{margin-bottom:20px}) pero pierden contra las clases de abajo. */
.iv2 :where(h1, h2, h3, h4, p, ul, ol, li) {
	margin: 0;
	padding: 0;
	font-weight: inherit;
	letter-spacing: 0;
	text-transform: none;
}
.iv2 :where(ul, ol, li) { list-style: none; }
.iv2 :where(ul li)::before { content: none; }
.iv2 section[id] { scroll-margin-top: 100px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.iv2 a:focus-visible,
.iv2 button:focus-visible,
.iv2 summary:focus-visible { outline: 3px solid var(--iv-orange); outline-offset: 3px; }

/* ---------------------------------------------------------------- header del tema
   Sin scroll el tema deja el header transparente con el logo invertido; aquí
   el hero es azul y el header va siempre blanco con logo oscuro. */
body.page-template-template-impulso-tarapaca-v2-php:not(.scrolled) header { background: #fff; color: #000; }
body.page-template-template-impulso-tarapaca-v2-php:not(.scrolled) header::before { display: none; }
body.page-template-template-impulso-tarapaca-v2-php:not(.scrolled) header .logo { filter: none; transform: none; height: 58px; }
body.page-template-template-impulso-tarapaca-v2-php:not(.scrolled) header .sub-menu { background: #fff; box-shadow: 0 0 4px -1px rgba(201,201,201,1) !important; }
body.page-template-template-impulso-tarapaca-v2-php:not(.scrolled) .language-chooser::before { filter: none; }
body.page-template-template-impulso-tarapaca-v2-php:not(.scrolled) .language-chooser { border-left-color: rgba(0,0,0,.2); border-right-color: rgba(0,0,0,.2); }
body.page-template-template-impulso-tarapaca-v2-php:not(.scrolled) #nav-icon span { background: #000; }

/* ---------------------------------------------------------------- piezas */

.iv2-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }

.iv2-eyebrow {
	display: inline-block;
	margin-bottom: 14px;
	font: 700 13px/1.2 var(--iv-text);
	letter-spacing: .16em !important;
	text-transform: uppercase !important;
	color: var(--iv-orange);
}
.iv2-eyebrow--azul { color: var(--iv-blue); }

.iv2-h2 { font: 700 clamp(30px, 4vw, 48px)/1.12 var(--iv-title); color: var(--iv-blue); }
.iv2-h2--azul { color: var(--iv-blue); }

.iv2-lead { font: 500 clamp(20px, 2vw, 24px)/1.5 var(--iv-text); }

.iv2-head { max-width: 760px; margin-bottom: 48px; }
.iv2-head__sub { margin-top: 16px; color: var(--iv-blue-soft); }

.iv2-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 15px 30px;
	border: 2px solid transparent;
	border-radius: 100px;
	font: 600 17px/1.2 var(--iv-title);
	text-decoration: none;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.iv2-btn:hover { transform: translateY(-2px); }
.iv2-btn--yellow { background: var(--iv-yellow); color: var(--iv-blue); }
.iv2-btn--yellow:hover, .iv2-btn--yellow:focus { background: #ffd34d; color: var(--iv-blue); }
.iv2-btn--ghost { border-color: #fff; color: #fff; }
.iv2-btn--ghost:hover, .iv2-btn--ghost:focus { background: #fff; color: var(--iv-blue); }
.iv2-btn--blue { background: var(--iv-blue); color: #fff; }
.iv2-btn--blue:hover, .iv2-btn--blue:focus { background: #163352; color: #fff; }

.iv2-ola { display: block; width: 100%; height: clamp(40px, 6vw, 90px); }

/* Marca: Collahuasi siempre primero y más grande; Impulso Tarapacá más pequeño. */
.iv2-lockup { display: flex; align-items: center; gap: 22px; }
.iv2-lockup__collahuasi { width: clamp(180px, 22vw, 270px); }
.iv2-lockup__impulso { width: clamp(110px, 13vw, 160px); }
.iv2-lockup__sep { align-self: stretch; width: 1px; background: rgba(255,255,255,.6); }

/* ---------------------------------------------------------------- hero */

.iv2-hero { position: relative; background: var(--iv-blue); color: #fff; }
.iv2-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: 56px;
	align-items: center;
	max-width: 1240px;
	margin: 0 auto;
	padding: 64px 32px 110px;
}
.iv2-hero__copy { display: flex; flex-direction: column; gap: 30px; align-items: flex-start; }
.iv2-hero__title { font: 700 clamp(42px, 6vw, 84px)/1.02 var(--iv-title); color: #fff; }
.iv2-hero__title span { color: var(--iv-yellow); }
.iv2-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.iv2-hero__media { position: relative; }
.iv2-hero__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 36px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.iv2-hero__arrow { position: absolute; right: -22px; bottom: -34px; width: clamp(72px, 9vw, 120px); height: auto; filter: drop-shadow(0 8px 18px rgba(0,0,0,.35)); }

.iv2-hero .iv2-ola, .iv2-cierre .iv2-ola { position: absolute; left: 0; right: 0; }
.iv2-hero .iv2-ola { bottom: -1px; color: var(--iv-cream); }

/* ---------------------------------------------------------------- introducción a los ámbitos */

.iv2-relato { padding: 72px 0 0; }
.iv2-relato__texto { display: flex; flex-direction: column; gap: 18px; max-width: 940px; }
.iv2-relato__texto p { font: 500 clamp(19px, 1.8vw, 22px)/1.55 var(--iv-text); }

/* ---------------------------------------------------------------- ámbitos */

.iv2-ambitos { padding: 64px 0 40px; }
.iv2-ambitos__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.iv2-ambito { --c: var(--iv-blue); --on: #fff; display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 10px 30px rgba(30,65,103,.10); }
.iv2-ambito--salud { --c: var(--iv-blue); --on: #fff; }
.iv2-ambito--vial { --c: var(--iv-yellow); --on: var(--iv-blue); }
.iv2-ambito--infra { --c: var(--iv-copper); --on: #fff; }
.iv2-ambito--espacios { --c: var(--iv-orange); --on: #fff; }

.iv2-ambito__top { position: relative; display: flex; flex-direction: column; gap: 18px; min-height: 280px; padding: 26px 24px 28px; background: var(--c); color: var(--on); }
.iv2-ambito__nombre { align-self: flex-start; padding: 6px 14px; border-radius: 100px; background: var(--on); color: var(--c); font: 700 12px/1.2 var(--iv-text); letter-spacing: .08em !important; text-transform: uppercase !important; }
.iv2-ambito--salud .iv2-ambito__nombre { color: var(--iv-blue); }
.iv2-ambito__ico { position: absolute; top: 20px; right: 20px; width: 54px; height: 54px; }
.iv2-ambito__msg { margin-top: auto; font: 700 clamp(22px, 2.1vw, 28px)/1.2 var(--iv-title); color: var(--on); }

.iv2-ambito__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; color: var(--iv-blue); }
.iv2-ambito__obra { display: flex; gap: 10px; align-items: flex-start; font: 700 17px/1.4 var(--iv-title); }
.iv2-ambito__obra img { flex: none; width: 22px; height: 22px; margin-top: 2px; }

/* ---------------------------------------------------------------- avances */

.iv2-avances { padding: 88px 0 72px; background: var(--iv-silk); }
.iv2-avances .iv2-head { margin-bottom: 36px; }
/* ---------------------------------------------------------------- proveedores */

.iv2-prov { padding: 72px 0; background: var(--iv-yellow); }
.iv2-prov__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.iv2-prov__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.iv2-prov__txt p { font: 500 19px/1.55 var(--iv-text); }
.iv2-prov__nota { padding: 4px 14px; border-radius: 100px; background: rgba(30,65,103,.12); font: 700 15px/1.4 var(--iv-text) !important; }

/* ---------------------------------------------------------------- preguntas frecuentes */

.iv2-faq { padding: 88px 0 56px; }
.iv2-faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.iv2-faq__lista { display: flex; flex-direction: column; gap: 12px; }
.iv2-faq__item { border-radius: 20px; background: #fff; box-shadow: 0 6px 20px rgba(30,65,103,.08); }
.iv2-faq__item summary { position: relative; display: block; padding: 20px 64px 20px 26px; cursor: pointer; list-style: none; font: 700 18px/1.35 var(--iv-title); }
.iv2-faq__item summary::-webkit-details-marker { display: none; }
.iv2-faq__item summary::after { content: "+"; position: absolute; top: 50%; right: 22px; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--iv-orange); color: #fff; font: 600 22px/30px var(--iv-title); text-align: center; transition: transform .2s; }
.iv2-faq__item[open] summary::after { content: "–"; }
.iv2-faq__item p { padding: 0 26px 24px; font: 500 17px/1.6 var(--iv-text); }

/* ---------------------------------------------------------------- noticias */

.iv2-news__nav { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 16px; }
.iv2-news__nav[hidden] { display: none; }
.iv2 .iv2-arrow { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0; border: 2px solid var(--iv-blue); border-radius: 50%; background-color: transparent; color: var(--iv-blue); cursor: pointer; box-shadow: none; transition: background-color .2s, color .2s; }
.iv2 .iv2-arrow:hover:not(:disabled), .iv2 .iv2-arrow:focus-visible:not(:disabled) { background-color: var(--iv-blue); color: #fff; }
.iv2 .iv2-arrow:focus:not(:focus-visible):not(:hover) { background-color: transparent; color: var(--iv-blue); }
.iv2 .iv2-arrow:disabled { opacity: .35; cursor: default; background-color: transparent; color: var(--iv-blue); }

.iv2-news__track { display: flex; gap: 22px; padding: 4px 4px 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.iv2-card { flex: 0 0 min(380px, 82%); scroll-snap-align: start; border-radius: 24px; background: #fff; overflow: hidden; box-shadow: 0 8px 24px rgba(30,65,103,.10); }
.iv2-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.iv2-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--iv-line); }
.iv2-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.iv2-card__link:hover .iv2-card__img img { transform: scale(1.04); }
.iv2-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 22px 24px; }
.iv2-card__meta { font: 700 12px/1.3 var(--iv-text); letter-spacing: .1em !important; text-transform: uppercase !important; color: var(--iv-orange); }
.iv2-card__title { font: 700 18px/1.3 var(--iv-title); }
.iv2-card__more { margin-top: auto; font: 700 15px/1 var(--iv-text); }
.iv2-news__all { display: flex; justify-content: center; margin-top: 24px; }

/* ---------------------------------------------------------------- galería */

.iv2-gallery { padding: 88px 0 72px; }
.iv2-gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 14px; }
.iv2-gallery__item { overflow: hidden; border-radius: 20px; background: var(--iv-line); }
.iv2-gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.iv2-gallery__item:nth-child(6) { grid-column: span 2; }
.iv2-gallery__item a { position: relative; display: block; width: 100%; height: 100%; color: #fff; }
.iv2-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.iv2-gallery__zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--iv-orange); opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.iv2-gallery__item a:hover img, .iv2-gallery__item a:focus-visible img { transform: scale(1.05); }
.iv2-gallery__item a:hover .iv2-gallery__zoom, .iv2-gallery__item a:focus-visible .iv2-gallery__zoom { opacity: 1; transform: none; }

.iv2-lightbox { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 56px 72px; background: rgba(15,30,50,.92); }
.iv2-lightbox[hidden] { display: none; }
.iv2-lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; }
.iv2-lightbox button { position: absolute; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--iv-blue); font: 600 22px/48px Arial, sans-serif; text-align: center; cursor: pointer; }
.iv2-lightbox button:hover, .iv2-lightbox button:focus-visible { background: var(--iv-yellow); outline: 3px solid #fff; }
.iv2-lightbox__close { top: 16px; right: 16px; }
.iv2-lightbox__prev { left: 12px; top: 50%; margin-top: -24px; }
.iv2-lightbox__next { right: 12px; top: 50%; margin-top: -24px; }

/* ---------------------------------------------------------------- cierre */

.iv2-cierre { position: relative; padding: 130px 0 72px; background: var(--iv-blue); color: #fff; text-align: center; }
.iv2-cierre .iv2-ola { top: -1px; color: var(--iv-cream); transform: scaleY(-1) scaleX(-1); }
.iv2-cierre__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.iv2-cierre__aguayo { width: min(560px, 80%); }
.iv2-cierre__claim { font: 700 clamp(34px, 5vw, 64px)/1.08 var(--iv-title); }
.iv2-cierre__sub { max-width: 46ch; font: 500 clamp(17px, 1.6vw, 20px)/1.5 var(--iv-text); color: var(--iv-silk); }
.iv2-lockup--cierre { margin-top: 18px; }

/* ==========================================================================
   Responsivo
   ========================================================================== */

@media (max-width: 1100px) {
	.iv2-ambitos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.iv2-ambito__top { min-height: 240px; }
	.iv2-gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.iv2 { font-size: 17px; }
	.iv2-wrap { padding: 0 20px; }
	.iv2-hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 40px 20px 96px; }
	.iv2-hero__media { order: -1; }
	.iv2-hero__arrow { right: -6px; }
	.iv2-prov__grid, .iv2-faq__grid { grid-template-columns: 1fr; gap: 24px; }
	.iv2-ambitos, .iv2-avances, .iv2-faq, .iv2-gallery { padding-top: 64px; }
	.iv2-gallery__grid { grid-auto-rows: 160px; }
	.iv2-lightbox { padding: 64px 16px; }
}

@media (max-width: 640px) {
	.iv2-lockup { gap: 14px; }
	.iv2-hero__cta .iv2-btn { width: 100%; }
	.iv2-ambitos__grid { grid-template-columns: 1fr; }
	.iv2-ambito__top { min-height: 0; padding-top: 24px; }
	.iv2-ambito__msg { margin-top: 28px; }
	.iv2-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.iv2-gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
	.iv2-gallery__item:nth-child(6) { grid-column: span 1; }
	.iv2-faq__item summary { padding-right: 58px; font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
	.iv2 *, .iv2 *::before, .iv2 *::after { transition: none !important; }
}
