/*
Theme Name: Veci Folletos
Theme URI: http://refineria-vecifolletos.local/
Description: Tema hijo para las personalizaciones de Veci Folletos.
Author: OpenAI Codex
Template: twentytwentyfive
Version: 1.0.0
Text Domain: veci-folletos
*/

@font-face {
	font-family: "VECI Asap";
	src: url("assets/fonts/asap/Asap-Regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "VECI Asap";
	src: url("assets/fonts/asap/Asap-Bold.ttf") format("truetype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "VECI Arimo";
	src: url("assets/fonts/arimo/Arimo-Regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "VECI Arimo";
	src: url("assets/fonts/arimo/Arimo-Bold.ttf") format("truetype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--veci-green: #006d46;
	--veci-green-hover: #005447;
	--veci-ink: #101820;
	--veci-muted: #52605d;
	--veci-front-header: 98px;
}

html,
body {
	overflow-x: hidden;
}

body .rw-brochures-app {
	--rw-primary: var(--veci-green);
	--rw-primary-dark: var(--veci-green);
	--rw-primary-hover: var(--veci-green-hover);
	width: 100%;
	max-width: 100%;
	border: 0;
	overflow-x: hidden;
	font-family: "VECI Arimo", Arial, sans-serif;
}

body .rw-brochures-app,
body .rw-brochures-app * {
	letter-spacing: 0;
}

body .rw-brochures-app h1,
body .rw-brochures-app h2,
body .rw-brochures-app h3,
body .rw-brochures-app h4,
body .rw-brochures-app h5,
body .rw-brochures-app h6,
body .rw-brochures-app button,
body .rw-brochures-app .rw-cta,
body .rw-brochures-app .rw-card-btn,
body .rw-brochures-app .rw-step-pill-link {
	font-family: "VECI Asap", Arial, sans-serif;
}

body .rw-brochures-app .rw-brochures-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 520px;
	height: clamp(520px, 100vh, 720px);
	padding: 0;
	overflow: hidden;
	background: #eef2f3;
	box-sizing: border-box;
}

body .rw-brochures-app .rw-brochures-hero::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-image:
		linear-gradient(90deg, rgba(0, 31, 42, 0.64) 0%, rgba(0, 31, 42, 0.42) 42%, rgba(0, 31, 42, 0.08) 80%),
		url("assets/images/hero-madrid.jpg");
	background-position: center center;
	background-size: cover;
	z-index: 0;
}

body .rw-brochures-app .rw-brochures-topbar {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(235px, 330px) minmax(0, 1fr) auto;
	gap: 24px;
	align-items: center;
	width: 100%;
	max-width: none;
	min-height: var(--veci-front-header);
	margin: 0;
	padding: 22px 56px;
	background: transparent;
	box-sizing: border-box;
}

body .rw-brochures-app .rw-brand {
	display: block;
	width: min(300px, 24vw);
	min-width: 235px;
	height: 54px;
	background-image: url("assets/images/logo-veci-principal-negro.png");
	background-repeat: no-repeat;
	background-position: left center;
	background-size: contain;
	color: transparent;
	font-size: 0;
	filter: brightness(0) invert(1);
	text-decoration: none;
}

body .rw-brochures-app .rw-brand img {
	width: 100%;
	height: 100%;
	opacity: 0;
}

body .rw-brochures-app .rw-brand * {
	color: transparent;
	font-size: 0;
}

body .rw-brochures-app .rw-main-nav {
	display: none;
	justify-content: flex-end;
	gap: clamp(30px, 4.5vw, 72px);
	min-width: 0;
}

body .rw-brochures-app .rw-main-nav a {
	color: var(--veci-green);
	font-family: "VECI Asap", Arial, sans-serif;
	font-size: clamp(24px, 1.85vw, 34px);
	font-weight: 700;
	line-height: 1.1;
	text-transform: none;
	white-space: nowrap;
	opacity: 1;
}

body .rw-brochures-app .rw-main-nav a:hover {
	color: var(--veci-green-hover);
	opacity: 1;
}

body .rw-brochures-app .rw-account-btn {
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
	color: #fff;
	background: transparent;
	border: 0;
	box-shadow: none;
	font-family: "VECI Arimo", Arial, sans-serif;
	font-size: clamp(15px, 1.15vw, 17px);
	font-weight: 400;
	line-height: 1.2;
	text-transform: none;
	white-space: nowrap;
}

body .rw-brochures-app .rw-account-btn:hover {
	color: #fff;
	opacity: 0.78;
	background: transparent;
}

body .rw-brochures-app .rw-account-btn strong {
	font-weight: 700;
}

body .rw-brochures-app .rw-main-nav {
	grid-column: 3;
	grid-row: 1;
}

body .rw-brochures-app .rw-brochures-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 820px;
	width: 100%;
	margin: 0;
	padding: 0 74px;
	box-sizing: border-box;
}

body .rw-brochures-app .rw-brochures-hero .rw-brochures-kicker {
	display: none;
	margin: 0;
	color: #fff;
	font-family: "VECI Asap", Arial, sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: none;
}

body .rw-brochures-app .rw-brochures-hero h2 {
	max-width: 720px;
	margin: 0;
	color: #fff;
	font-family: "VECI Asap", Arial, sans-serif;
	font-size: clamp(48px, 4.25vw, 56px);
	font-weight: 700;
	line-height: 1.03;
	text-shadow: none;
}

body .rw-brochures-app .rw-brochures-hero h2 span {
	color: #fff;
}

body .rw-brochures-app .rw-brochures-hero-inner > p:not(.rw-brochures-kicker) {
	max-width: 640px;
	margin: 26px 0 0;
	color: #fff;
	font-family: "VECI Arimo", Arial, sans-serif;
	font-size: 21px;
	font-weight: 400;
	line-height: 1.48;
}

body .rw-brochures-app .rw-brochures-kicker,
body .rw-brochures-app .rw-section-kicker,
body .rw-brochures-app .rw-user-zone .rw-brochures-kicker,
body .rw-brochures-app .rw-find-hotel .rw-brochures-kicker,
body .rw-brochures-app .rw-wizard .rw-brochures-kicker {
	color: var(--veci-green);
}

body .rw-brochures-app .rw-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 30px;
}

body .rw-brochures-app .rw-cta.rw-cta-hero,
body .rw-brochures-app .rw-cta.rw-cta-hero-secondary {
	min-height: 58px;
	padding: 0 30px;
	border: 2px solid #fff;
	border-radius: 16px;
	background: transparent;
	color: #fff;
	box-shadow: none;
	font-family: "VECI Asap", Arial, sans-serif;
	font-size: 18px;
	font-weight: 700;
	text-transform: none;
}

body .rw-brochures-app .rw-cta.rw-cta-hero:hover,
body .rw-brochures-app .rw-cta.rw-cta-hero-secondary:hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: #fff;
	color: #fff;
	opacity: 1;
}

body .rw-brochures-app .rw-cta,
body .rw-brochures-app .rw-card-btn,
body .rw-brochures-app .rw-step-pill-link {
	border-color: var(--veci-green);
	background: var(--veci-green);
	color: #fff;
}

body .rw-brochures-app .rw-cta:hover,
body .rw-brochures-app .rw-card-btn:hover,
body .rw-brochures-app .rw-step-pill-link:hover {
	border-color: var(--veci-green-hover);
	background: var(--veci-green-hover);
	color: #fff;
}

body .rw-brochures-app .rw-wizard .rw-card-btn,
body .rw-brochures-app .rw-wizard .rw-step-pill-link {
	color: #fff !important;
}

body .rw-brochures-app .rw-wizard .rw-card-btn-secondary {
	border-color: #d7ded8;
	background: #fff;
	color: var(--veci-ink) !important;
}

body .rw-brochures-app .rw-wizard .rw-card-btn-secondary:hover {
	border-color: var(--veci-green);
	background: #fff;
	color: var(--veci-green-hover) !important;
}

body .rw-brochures-app .rw-step-pill.is-active {
	border-color: var(--veci-green);
	background: var(--veci-green);
	color: #fff;
}

body .rw-brochures-app input:focus,
body .rw-brochures-app select:focus,
body .rw-brochures-app textarea:focus {
	border-color: var(--veci-green);
	outline: 2px solid rgba(0, 109, 70, 0.18);
	outline-offset: 1px;
}

body .rw-brochures-app a {
	color: var(--veci-green);
}

body .rw-brochures-app a:hover {
	color: var(--veci-green-hover);
}

body .rw-brochures-app .rw-wizard {
	border-top: 5px solid rgba(103, 181, 0, 0.32);
}

body .rw-brochures-app .rw-wizard,
body .rw-brochures-app .rw-find-hotel,
body .rw-brochures-app .rw-user-zone {
	padding-left: 32px;
	padding-right: 32px;
	box-sizing: border-box;
}

@media (max-width: 1100px) {
	body .rw-brochures-app .rw-brochures-topbar {
		grid-template-columns: 1fr auto;
		gap: 20px;
		padding-left: 40px;
		padding-right: 40px;
	}

	body .rw-brochures-app .rw-main-nav {
		grid-column: 1 / -1;
		order: 3;
		justify-content: flex-start;
		gap: 22px;
	}

	body .rw-brochures-app .rw-main-nav a {
		font-size: 20px;
	}

	body .rw-brochures-app .rw-brochures-hero-inner {
		padding: 0 48px;
	}

	body .rw-brochures-app .rw-brochures-hero h2 {
		font-size: clamp(44px, 6.6vw, 54px);
		line-height: 1.05;
	}

	body .rw-brochures-app .rw-brochures-hero-inner > p:not(.rw-brochures-kicker) {
		font-size: 20px;
		line-height: 1.46;
	}
}

@media (max-width: 760px) {
	:root {
		--veci-front-header: 104px;
	}

	body .rw-brochures-app .rw-brochures-hero {
		min-height: 660px;
		height: 660px;
	}

	body .rw-brochures-app .rw-brochures-hero::before {
		background-position: 52% center;
	}

	body .rw-brochures-app .rw-brochures-topbar {
		display: flex;
		justify-content: space-between;
		min-height: var(--veci-front-header);
		padding: 20px 22px;
	}

	body .rw-brochures-app .rw-brand {
		width: min(230px, 52vw);
		min-width: 0;
		height: 50px;
	}

	body .rw-brochures-app .rw-main-nav {
		display: none;
	}

	body .rw-brochures-app .rw-account-btn {
		display: block;
		max-width: 42vw;
		font-size: clamp(13px, 3.1vw, 16px);
		line-height: 1.2;
		text-align: right;
		white-space: normal;
	}

	body .rw-brochures-app .rw-brochures-hero-inner {
		max-width: none;
		width: 100%;
		padding: 0 22px;
		box-sizing: border-box;
	}

	body .rw-brochures-app .rw-brochures-hero h2 {
		width: 100%;
		max-width: 100%;
		font-size: clamp(37px, 6.4vw, 44px);
		line-height: 1.08;
	}

	body .rw-brochures-app .rw-brochures-hero-inner > p:not(.rw-brochures-kicker) {
		width: 100%;
		max-width: 100%;
		margin-top: 24px;
		font-size: 19px;
		line-height: 1.42;
	}

	body .rw-brochures-app .rw-cta.rw-cta-hero,
	body .rw-brochures-app .rw-cta.rw-cta-hero-secondary {
		width: auto;
		max-width: 100%;
		min-height: 52px;
		padding: 0 24px;
		border: 2px solid #fff;
		border-radius: 16px;
		background: transparent;
		font-size: 17px;
		box-sizing: border-box;
	}

	body .rw-brochures-app .rw-wizard,
	body .rw-brochures-app .rw-find-hotel,
	body .rw-brochures-app .rw-user-zone {
		padding-left: 18px;
		padding-right: 18px;
	}
}

@media (max-width: 480px) {
	body .rw-brochures-app .rw-brochures-hero {
		min-height: 620px;
		height: 620px;
	}

	body .rw-brochures-app .rw-brochures-topbar {
		padding: 18px 20px;
	}

	body .rw-brochures-app .rw-brand {
		width: min(180px, 47vw);
		height: 44px;
	}

	body .rw-brochures-app .rw-brochures-hero-inner {
		width: 100%;
		padding: 0 20px;
	}

	body .rw-brochures-app .rw-brochures-hero h2 {
		font-size: 35px;
		line-height: 1.08;
	}

	body .rw-brochures-app .rw-brochures-hero-inner > p:not(.rw-brochures-kicker) {
		margin-top: 22px;
		font-size: 17px;
		line-height: 1.42;
	}

	body .rw-brochures-app .rw-hero-actions {
		margin-top: 26px;
	}
}

@supports (background-image: image-set(url("assets/images/hero-madrid.webp") type("image/webp"))) {
	body .rw-brochures-app .rw-brochures-hero::before {
		background-image:
			linear-gradient(90deg, rgba(0, 31, 42, 0.64) 0%, rgba(0, 31, 42, 0.42) 42%, rgba(0, 31, 42, 0.08) 80%),
			image-set(
				url("assets/images/hero-madrid.webp") type("image/webp"),
				url("assets/images/hero-madrid.jpg") type("image/jpeg")
			);
	}

	body .rw-brochures-app .rw-brand {
		background-image:
			image-set(
				url("assets/images/logo-veci-principal-negro.webp") type("image/webp"),
				url("assets/images/logo-veci-principal-negro.png") type("image/png")
			);
	}
}
