/* ROOT VARIABLES */

:root {
	--color-dark: #1a1a1a;
	--color-dark-new: #27282b;
	--color-white: #fffffc;
	--color-light-blue: #d1e3e3;
	--color-grey: #959696;
	--color-grey-2: #e6e6e6;
	--color-grey-3: #f2f2f2;
}

/* FONTS */
@font-face {
	font-family: "Inter";
	src: url("fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
	font-weight: 100 900; /* variable range */
	font-style: oblique 0deg 10deg; /* slnt axis support */
	font-display: swap;
}

@font-face {
	font-family: "Inter";
	src: url("fonts/Inter-Italic-VariableFont_opsz,wght.ttf") format("truetype");
	font-weight: 100 900; /* variable range */
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Optima Nova Light";
	src: url("fonts/Optima-Nova-Light.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* FONT UTILITY CLASSES (UNCHANGED) */
.font-inter-light {
	font-family: "Inter", sans-serif !important;
	font-weight: 300;
}

.font-inter-bold {
	font-family: "Inter", sans-serif !important;
	font-weight: 700;
}

.font-inter {
	font-family: "Inter", sans-serif !important;
}

/* BASE RESET */

*:focus,
*:hover {
	outline: none;
	text-decoration: none;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
}

/* FIX: do not force main to viewport height, let the document grow */
html,
body {
	background-color: var(--color-white);
	color: var(--color-dark);
	min-height: 100%;
	width: 100%;
	word-wrap: break-word;
	text-rendering: optimizeLegibility;
	font-family: "Optima Nova Light", sans-serif;
	position: relative;
}

main {
	background-color: var(--color-white);
	color: var(--color-dark);
	min-height: 100%;
	height: auto;
	width: 100%;
	word-wrap: break-word;
	text-rendering: optimizeLegibility;
	font-family: "Optima Nova Light", sans-serif;
	position: relative;
}

section {
	background-color: var(--color-white);
	width: 100%;
	margin: 0 auto;
	background-size: cover;
	background-repeat: no-repeat;
	padding: 4rem 0;
}

.section-padding-half {
	padding: 2rem 0;
}

@media screen and (max-width: 800px) {
	section {
		background-color: var(--color-white);
		width: 100%;
		margin: 0 auto;
		background-size: cover;
		background-repeat: no-repeat;
		padding: 1.5rem 0;
	}
}

figure {
	margin: 0;
}

/* TYPOGRAPHY (UNCHANGED) */

h1,
h2,
h3,
h4,
h5,
p,
small,
h1 i,
h2 i,
h3 i,
h4 i,
h5 i,
p i,
small i,
a,
span {
	color: var(--color-dark);
	font-family: "TWKEverett-Ultralight";
	font-style: normal;
	font-weight: 100;
	letter-spacing: 1px;
}

h1,
h1 i,
.h1 {
	font-weight: 100;
	font-size: 3.815rem;
	line-height: 4.578rem;
}

h2,
h2 i {
	font-size: 3.0519rem;
	line-height: 3.6622rem;
}

h3,
h3 i {
	font-size: 2.4413rem;
	line-height: 2.9295rem;
}

h4,
h4 i {
	font-size: 1.9531rem;
	line-height: 2.3438rem;
}

h5,
h5 i {
	font-size: 1.5625rem;
	line-height: 1.875rem;
}

p,
.p {
	font-size: 1rem;
	line-height: 1.4rem;
}

small {
	font-size: 0.75rem;
	line-height: normal;
}

.display {
	font-size: 7rem;
}

.menu-url {
	font-size: 3.5rem;
	line-height: normal;
}

/* RESPONSIVE TYPOGRAPHY (UNCHANGED) */

@media screen and (max-width: 1200px) {
	.display {
		font-size: 2.8rem;
		line-height: 2.16rem;
	}
	h2,
	h2 i {
		font-size: 2.0019rem;
		line-height: 2.1622rem;
	}
}

@media screen and (max-width: 1000px) {
	.display {
		font-size: 2.3rem;
		line-height: 2.16rem;
	}
	h2,
	h2 i {
		font-size: 1.9019rem;
		line-height: 2.1622rem;
	}
}

@media screen and (max-width: 800px) {
	h1,
	h1 i,
	.h1 {
		font-weight: 100;
		font-size: 2.0275rem;
		line-height: 2.433rem;
	}
	h2,
	h2 i {
		font-size: 1.8019rem;
		line-height: 2.1622rem;
	}
	h3,
	h3 i {
		font-size: 1.6019rem;
		line-height: 2.2427rem;
	}
	h4,
	h4 i {
		font-size: 1.4238rem;
		line-height: 1.7085rem;
	}
	h5,
	h5 i {
		font-size: 1.2656rem;
		line-height: 1.5188rem;
	}
	p,
	.p {
		font-size: 1rem;
		line-height: 1.4rem;
	}
	small {
		font-size: 0.75rem;
		line-height: normal;
	}
	.display {
		font-size: 1.8rem;
		line-height: 2.16rem;
	}
	.menu-url {
		font-size: 32.44px;
		line-height: 45.416px;
	}
}

@media screen and (max-width: 450px) {
	.display {
		font-size: 1.4rem;
		line-height: 2.16rem;
	}
	.menu-url {
		font-size: 32.44px;
		line-height: 45.416px;
	}
}

/* LINK STYLES (UNCHANGED) */

a {
	color: var(--color-dark);
	cursor: pointer;
	transition: color 0.3s linear;
	text-decoration: none;
}

.text-decoration-underline {
	text-decoration: underline !important;
	text-underline-offset: 0.25rem;
}

/* COLOR + BACKGROUND HELPERS (UNCHANGED) */

.color-white {
	color: var(--color-white);
}
.color-dark {
	color: var(--color-dark);
}
.color-grey {
	color: var(--color-grey);
}
.color-light-blue {
	color: var(--color-light-blue);
}

.bg-grey-2 {
	background-color: var(--color-grey-2);
}
.bg-grey-3 {
	background-color: var(--color-grey-3);
}
.background-dark {
	background-color: var(--color-dark);
}

/* DAF LOGO HELPERS (UNCHANGED)*/

.daf-logo-header {
	max-height: 4rem;
}
.daf-logo-nav {
	max-height: 4rem;
}

/* SCROLL REVEAL (JS KEPT) */

.fadeInUp {
	opacity: 0;
	transform: translateY(20px);
	visibility: hidden;
	transition:
		opacity 1s ease,
		transform 1s ease,
		visibility 1s ease;
}

.fadeInUp.animate {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

/* LIGHTBOX (JS KEPT) */

.lightbox .lb-image {
	display: block;
	height: auto;
	max-width: inherit;
	max-height: none;
	border-radius: 0;
	border: 0;
}

.lb-data .lb-number {
	display: none !important;
}

/* PLYR VIDEO (JS KEPT) */

.plyr__video-embed {
	position: relative;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--color-dark);
}

.plyr__video-embed iframe,
.plyr__video-embed video {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}
.custom-play-button {
	background: none;
	border: none;
	outline: none;
	width: 12rem;
	height: 12rem;
	opacity: 0.8;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	cursor: pointer;
	z-index: 10;
}

.custom-play-button:hover {
	opacity: 1;
}

.plyr--video .plyr__control.plyr__tab-focus,
.plyr--video .plyr__control:hover,
.plyr--video .plyr__control[aria-expanded="true"] {
	background-color: transparent !important;
}

.plyr__control.plyr__tab-focus {
	box-shadow: none !important;
}

.plyr__control--overlaid {
	background-color: transparent !important;
}

.plyr__control--overlaid img {
	height: 200px !important;
}

@media (max-width: 990px) and (orientation: portrait) {
	.plyr__control--overlaid img {
		height: 150px !important;
	}
}

.plyr__control--overlaid svg {
	opacity: 0;
}

.plyr__controls {
	text-align: center !important;
}

.plyr__controls .plyr__controls__item {
	display: inline-block !important;
	margin: auto !important;
}

.plyr--full-ui input[type="range"] {
	color: #84765f !important;
}

/* Override problematic styles */
.plyr--full-ui .plyr__video-embed > .plyr__video-embed__container {
	padding-bottom: 0 !important;
	position: static !important;
	transform: none !important;
}

/* MISC */

.cursor-pointer {
	cursor: pointer;
}
img {
	transition: transform 0.3s ease;
}

/* Header base */
#main-navbar {
	background: transparent;
	z-index: 1000;
}

/* DAF logo svg */
.daf-logo-svg {
	width: 3.25rem; /* 52px */
	height: 1.529rem; /* 24.466px */
	display: block;
}

/* SVG paths inherit color */
.daf-logo-path {
	fill: currentColor;
}

/* Dark logo */
.daf-logo-svg.is-dark {
	color: var(--Negro-texto, #27282b);
}

/* White logo */
.daf-logo-svg.is-white {
	color: #ffffff;
}

/* Desktop nav links */
#main-navbar .nav-link-simple {
	color: var(--Negro-texto, #27282b);
	font-family: "Optima Nova Light", "TWKEverett-Ultralight", sans-serif;
	font-size: 2.25rem; /* 36px */
	font-weight: 400;
	line-height: 2.875rem; /* 46px */
	text-decoration: none;
	letter-spacing: normal;
	text-transform: capitalize;
}

/* Mobile collapse background */
#mobileNav {
	background: #fffffc;
}

/* Mobile nav links */
.mobile-nav-link {
	color: var(--Negro-texto, #27282b);
	font-family: "Optima Nova Light", sans-serif;
	font-size: 2.25rem;
	text-decoration: none;
}

/* Header icons */
#main-navbar i {
	color: var(--Negro-texto, #27282b);
}

/* Mobile scale */
@media screen and (max-width: 800px) {
	.daf-logo-svg {
		width: 2.275rem;
		height: 1.07rem;
	}

	#main-navbar .nav-link-simple {
		font-size: 2.25rem; /* ~70% */
		line-height: 2.0125rem;
	}
}

/* Footer base */
.footer-daf {
	background: #f2f3f2;
}

/* Tagline style */
.footer-daf .footer-tagline {
	color: var(--Negro-texto, #27282b);
	font-family: "Optima Nova Light", "TWKEverett-Ultralight", sans-serif;
	font-size: 2.25rem; /* 36px */
	font-style: normal;
	font-weight: 400;
	line-height: 2.875rem; /* 46px */
}

/* Footer links style */
.footer-daf .footer-link {
	color: var(--Negro-texto, #27282b);
	font-family: "Inter", sans-serif !important;
	font-size: 1rem; /* 16px */
	font-style: normal;
	font-weight: 300;
	line-height: 1.5625rem; /* 25px */
	text-decoration-line: underline;
	text-decoration-style: solid;
	text-decoration-skip-ink: auto;
	text-decoration-thickness: auto;
	text-underline-offset: auto;
	text-underline-position: from-font;
}

/* Desktop layout, everything on one line */
@media (min-width: 992px) {
	.footer-daf .footer-links-row {
		align-items: center;
	}
	.footer-daf .footer-locations a,
	.footer-daf .footer-socials a {
		display: inline-block !important;
		margin-bottom: 0 !important;
	}
	.footer-daf .footer-locations br,
	.footer-daf .footer-socials br {
		display: none;
	}
}

/* Mobile layout, 2 columns like reference */
@media (max-width: 991.98px) {
	.footer-daf .footer-locations {
		text-align: left;
	}
	.footer-daf .footer-socials {
		text-align: right;
	}
}

/* DAF FORMS – FULLSCREEN MODALS (NAMESPACED) Root scope: .daf-forms-modal */

.daf-forms-modal {
	background: white;
	font-family: "Inter";
}

/* ---------- Modal layout ---------- */

.daf-forms-modal .modal-dialog {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	max-width: none;
}

.daf-forms-modal .modal-content {
	height: 100%;
	border: none;
	border-radius: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	background: white;
}

.daf-forms-modal .modal-body {
	width: 100%;
	height: 100%;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	background: white;
}

/* ---------- Contact Form 7 inputs ---------- */

.daf-forms-modal input.wpcf7-form-control.wpcf7-text,
.daf-forms-modal textarea.wpcf7-form-control.wpcf7-textarea {
	appearance: none;
	outline: 0;
	font: inherit;
	font-family: "Inter";
	background-color: transparent;
	padding: 1rem 0;
	color: #000000;
	border-radius: 0;
	cursor: pointer;
	border: 1px solid #000000;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	border-bottom-width: 0.1rem;
	width: 100%;
	font-size: 1.8125rem;
	line-height: 2.025rem;
	text-transform: uppercase;
}

.daf-forms-modal textarea.wpcf7-form-control.wpcf7-textarea {
	height: 8rem;
}

/* ---------- CF7 validation & responses ---------- */

.daf-forms-modal .wpcf7-not-valid-tip {
	display: none !important;
}

.daf-forms-modal .wpcf7-response-output {
	border-color: #000000;
	background-color: #ffffff;
	padding: 2rem 0.5rem;
	color: #000000;
	text-align: center;
	font-family: "Inter";
}

.daf-forms-modal .wpcf7 form.sent {
	background-color: white;
}

/* ---------- CF7 spinner ---------- */

.daf-forms-modal .wpcf7-spinner {
	visibility: hidden;
	background-color: #d1d1d1;
	opacity: 0.75;
	width: 24px;
	height: 24px;
	border-radius: 100%;
	display: block !important;
	margin: 1rem auto;
}

.daf-forms-modal form.submitting .wpcf7-spinner {
	visibility: visible;
}

/* ---------- Tabs / buttons (newsletter + contact) ---------- */

.daf-forms-modal .daf-form-tab-btn {
	margin: 0;
	padding: 1rem 2rem;
	background: transparent;
	color: #000000;
	font-family: "Inter";
	text-transform: uppercase;
	letter-spacing: 5px;
	border: 1px solid #000000;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	width: 100%;
	cursor: pointer;
	transition: all 0.3s linear;
}

.daf-forms-modal .daf-form-tab-btn:hover {
	background: #000000;
	color: #ffffff;
}

.daf-forms-modal .daf-form-tab-btn.is-active {
	background: #000000;
	color: #ffffff;
}

/* ---------- Newsletter specific ---------- */

.daf-forms-modal .daf-newsletter-input {
	appearance: none;
	outline: 0;
	font: inherit;
	font-family: "Inter";
	background-color: transparent;
	padding: 0;
	color: #000000;
	border-radius: 0;
	border: 1px solid #000000;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	border-bottom-width: 0.1rem;
	width: 85%;
	font-size: 1.8125rem;
	line-height: 4.025rem;
	text-transform: uppercase;
}

.daf-forms-modal .daf-newsletter .wpcf7-not-valid-tip {
	display: none !important;
}

.daf-forms-modal .daf-newsletter .wpcf7-response-output {
	margin-top: 1rem;
	border-color: #000000;
	color: #000000;
	background: transparent;
}

/* ---------- Disclaimers ---------- */

.daf-forms-modal .daf-form-disclaimer {
	color: #000000;
	font-family: "Inter";
	font-size: 0.75rem;
	line-height: normal;
	text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 800px) {
	.daf-forms-modal input.wpcf7-form-control.wpcf7-text,
	.daf-forms-modal textarea.wpcf7-form-control.wpcf7-textarea {
		font-size: 1.4rem;
		line-height: 1.6rem;
	}

	.daf-forms-modal .daf-form-tab-btn {
		margin: 1rem 0;
		padding: 0.5rem 2rem;
	}
}

/* ---------- MODAL INNER CENTERING ---------- */

.daf-forms-modal__inner {
	min-height: 100vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ---------- CF7 SUBMIT BUTTON ---------- */

.daf-forms-modal .wpcf7-submit {
	margin-top: 2rem;
	padding: 0.75rem 4rem;
	background: transparent;
	color: #000000;
	font-family: "Inter";
	text-transform: uppercase;
	letter-spacing: 4px;
	border: 1px solid #000000;
	border-top: none;
	border-left: none;
	border-right: none;
	cursor: pointer;
	transition: all 0.3s linear;
}

.daf-forms-modal .wpcf7-submit:hover {
	background: #000000;
	color: #ffffff;
}

.daf-forms-modal .wpcf7-submit:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
