/* ==========================================================================
   La Huerta — main stylesheet
   Visual language adapted from the Evalor theme (dark navigation/footer,
   full-screen hero, 2-column contact, "Próximamente" coming-soon block).
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
	--lh-bg: #ffffff;
	--lh-fg: #1a1a1a;
	--lh-muted: #6a6a6a;
	--lh-muted-2: #9aa19a;
	--lh-accent: #6bcb97;
	--lh-accent-hover: #56b182;
	--lh-darker: #2d2d2d;
	--lh-dark: #4f4f4f;
	--lh-lighter: #f1f1f1;
	--lh-border: #e5e5e5;
	--lh-overlay: rgba(0, 0, 0, 0.5);
	--lh-radius: 6px;
	--lh-radius-pill: 999px;
	--lh-max-width: 1200px;
	--lh-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	--lh-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
	--lh-nav-h: 72px;
	--lh-font-sans: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont,
		"Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--lh-nav-h);
}

body {
	margin: 0;
	font-family: var(--lh-font-sans);
	color: var(--lh-fg);
	background: var(--lh-bg);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a { color: var(--lh-accent); text-decoration: none; }
a:hover { color: var(--lh-accent-hover); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--lh-font-sans);
	font-weight: 700;
	line-height: 1.15;
	margin: 0;
}

.container {
	max-width: var(--lh-max-width);
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* Visually-hidden helper */
.sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ==========================================================================
   Navigation / Header
   ========================================================================== */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	background-color: var(--lh-darker);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
	padding: 8px 0;
}

/* Home only: transparent nav until scroll */
body.nav-transparent .site-header {
	background-color: transparent;
	box-shadow: none;
}
body.nav-transparent .site-header.is-scrolled {
	background-color: var(--lh-darker);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Push content down on inner pages where nav is solid */
body:not(.nav-transparent) #content {
	padding-top: var(--lh-nav-h);
}

.nav-container {
	max-width: var(--lh-max-width);
	margin: 0 auto;
	padding: 0 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.nav-logo a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #fff;
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	transition: opacity 0.3s ease;
}
.nav-logo a:hover { color: #fff; opacity: 0.9; }
.nav-logo img {
	height: auto;
	max-height: 70px;
	width: auto;
	filter: invert(1);
}

/* Desktop menu */
.desktop-menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 26px;
}
.nav-menu-list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 26px;
}
.nav-menu-list a {
	color: #fff;
	font-weight: 500;
	font-size: 1rem;
	position: relative;
	transition: color 0.3s ease;
}
.nav-menu-list > li > a::after {
	content: "";
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 1px;
	background-color: #fff;
	transition: width 0.5s ease;
}
.nav-menu-list > li > a:hover::after { width: 100%; }

/* CTA button (outline that fills on hover) */
.nav-cta-button {
	font-weight: 700;
	position: relative;
	overflow: hidden;
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: var(--lh-radius-pill);
	color: #fff;
	background-color: transparent;
	font-size: 0.9rem;
	white-space: nowrap;
	min-width: 130px;
	text-align: center;
	transition: transform 0.3s ease, color 0.3s ease;
}
.nav-cta-button::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: #fff;
	transform: translateX(-100%);
	transition: transform 0.5s ease;
	z-index: 1;
}
.nav-cta-button span {
	position: relative;
	z-index: 2;
	display: inline-block;
	transition: color 0.2s ease;
}
.nav-cta-button:hover {
	color: var(--lh-darker);
	background-color: #fff;
}
.nav-cta-button:hover::before { transform: translateX(0); }
.nav-cta-button:hover span { color: var(--lh-darker); }

/* Mobile hamburger */
.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: space-around;
	width: 30px;
	height: 30px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	position: relative;
	z-index: 10001;
}
.menu-toggle .line {
	width: 100%;
	height: 2.5px;
	background-color: #fff;
	transition: all 0.3s ease-in-out;
	transform-origin: center;
}

/* Mobile menu drawer */
.mobile-menu {
	color: #fff;
	background: var(--lh-darker);
	position: fixed;
	left: 0;
	top: 0;
	z-index: 9999;
	height: 100vh;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	align-items: center;
	gap: 1.25rem;
	opacity: 0;
	transform: scale(0);
	transition: all 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.mobile-menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mobile-menu-list li { margin-bottom: 15px; }
.mobile-menu-list a {
	color: #fff;
	font-weight: 500;
	font-size: 1.25rem;
	display: block;
	padding: 10px 0;
}
.mobile-menu .nav-cta-button { margin-top: 1rem; }

/* Active state */
.site-header.is-active .mobile-menu {
	opacity: 1;
	transform: scale(1);
}
.site-header.is-active .menu-toggle .line:nth-child(1) {
	transform: translateY(12px) rotate(45deg);
}
.site-header.is-active .menu-toggle .line:nth-child(2) { opacity: 0; }
.site-header.is-active .menu-toggle .line:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 1024px) {
	.desktop-menu { display: none; }
	.menu-toggle { display: flex; }
	.site-header { padding: 10px 0; }
	.nav-logo img { max-height: 60px; }
	body:not(.nav-transparent) #content { padding-top: 56px; }
}

/* ==========================================================================
   Hero Banner (full-screen, animated background)
   ========================================================================== */
.hero-banner {
	position: relative;
	display: flex;
	align-items: flex-end;
	height: 100vh;
	color: #fff;
	overflow: hidden;
}
.hero-banner--vcenter { align-items: center; }
.hero-banner__backgrounds,
.hero-banner__overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.hero-banner__backgrounds { z-index: 1; }
.hero-banner__background {
	position: absolute;
	inset: 0;
	background: center / cover no-repeat;
	filter: grayscale(0.2);
	opacity: 0;
	transition: opacity 1200ms ease-in-out;
	will-change: transform, opacity;
}
.hero-banner__background.is-active {
	opacity: 1;
	animation: hero-zoom-out 12s ease-out forwards;
}
@keyframes hero-zoom-out {
	0%   { transform: scale(1.15); }
	100% { transform: scale(1.0); }
}

.hero-banner__overlay {
	background: #000;
	mix-blend-mode: multiply;
	opacity: 0.5;
	z-index: 2;
}

.hero-banner__content {
	position: relative;
	z-index: 3;
	max-width: var(--lh-max-width);
	margin: 0 auto;
	width: 100%;
	padding: 0 1.5rem;
}

.hero-banner__text { margin-bottom: 20vh; }
.hero-banner--vcenter .hero-banner__text {
	margin-bottom: 0;
	width: 100%;
	max-width: 760px;
	margin-inline: auto;
}
.hero-banner--center .hero-banner__text { text-align: center; }
.hero-banner--center .hero-banner__cta { margin-inline: auto; }

.hero-banner__eyebrow {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--lh-accent);
	margin-bottom: 1.25rem;
}

.hero-banner__title {
	font-size: clamp(2rem, 5vw, 2.8rem);
	margin: 0 0 0.625rem;
	color: #fff;
	font-weight: 700;
	line-height: 1.1;
}
.hero-banner__title strong {
	color: var(--lh-accent);
	font-weight: 700;
}
.hero-banner__subtitle {
	font-size: clamp(1.05rem, 2vw, 1.7rem);
	letter-spacing: 0.5px;
	color: rgba(255, 255, 255, 0.92);
	font-weight: 400;
	margin: 0;
}

.hero-banner__cta {
	display: inline-block;
	margin-top: 1.5rem;
	padding: 0.7rem 1.5rem;
	background: var(--lh-accent);
	color: #fff;
	border-radius: var(--lh-radius-pill);
	font-weight: 600;
	letter-spacing: 0.02em;
	transition: background 0.25s ease, transform 0.25s ease;
}
.hero-banner__cta:hover {
	background: var(--lh-accent-hover);
	color: #fff;
	transform: translateY(-2px);
}

/* Coming-soon variant: tracked-out uppercase title and stronger overlay */
.hero-banner--coming-soon .hero-banner__overlay { opacity: 0.6; }
.hero-banner--coming-soon .hero-banner__title {
	font-size: clamp(2.2rem, 6vw, 3.8rem);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin: 0 0 1rem;
}
.hero-banner--coming-soon .hero-banner__subtitle {
	font-size: clamp(1rem, 2vw, 1.2rem);
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.88);
}

/* Scroll cue — thin line + traveling brand-color dot —————————————————— */
.hero-banner__scroll {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2rem;
	width: fit-content;
	margin-inline: auto;
	z-index: 10;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: #fff;
	opacity: 0;
	animation: hb-fade-up 0.9s cubic-bezier(.22, .61, .36, 1) 1s forwards;
	transition: opacity 0.3s ease, transform 0.35s cubic-bezier(.22, .61, .36, 1);
}

.hero-banner__scroll:hover,
.hero-banner__scroll:focus-visible {
	transform: translateY(3px);
	outline: none;
	color: #fff;
}

.hero-banner__scroll-label {
	font-family: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, monospace;
	font-size: 0.65rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-indent: 0.22em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.82);
	transition: color 0.3s ease, letter-spacing 0.35s cubic-bezier(.22, .61, .36, 1);
}

.hero-banner__scroll:hover .hero-banner__scroll-label,
.hero-banner__scroll:focus-visible .hero-banner__scroll-label {
	color: var(--lh-accent);
	letter-spacing: 0.28em;
}

.hero-banner__scroll-line {
	position: relative;
	display: block;
	width: 1px;
	height: 56px;
	background: linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0.55) 0%,
		rgba(255, 255, 255, 0.18) 100%
	);
	overflow: hidden;
}

.hero-banner__scroll-dot {
	position: absolute;
	left: 50%;
	top: 0;
	width: 5px;
	height: 5px;
	border-radius: 999px;
	background: var(--lh-accent);
	transform: translate(-50%, -6px);
	box-shadow: 0 0 0 3px rgba(107, 203, 151, 0.22);
	animation: hb-scroll-dot 2.2s cubic-bezier(.55, 0, .3, 1) infinite;
}

@keyframes hb-scroll-dot {
	0%   { transform: translate(-50%, -6px); opacity: 0; }
	15%  { opacity: 1; }
	85%  { opacity: 1; }
	100% { transform: translate(-50%, 56px); opacity: 0; }
}

@keyframes hb-fade-up {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
	.hero-banner__content { padding: 0 1.25rem; }
	.hero-banner__scroll { bottom: 1.25rem; }
	.hero-banner__scroll-line { height: 40px; }

	@keyframes hb-scroll-dot {
		0%   { transform: translate(-50%, -6px); opacity: 0; }
		15%  { opacity: 1; }
		85%  { opacity: 1; }
		100% { transform: translate(-50%, 40px); opacity: 0; }
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero-banner__scroll {
		animation: none;
		opacity: 1;
	}
	.hero-banner__scroll-dot { animation: none; }
	.hero-banner__scroll:hover,
	.hero-banner__scroll:focus-visible { transform: none; }
}

/* Hero slider chrome (optional dots/arrows) */
.hero-banner__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #fff;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease;
}
.hero-banner__arrow:hover { background: rgba(255, 255, 255, 0.35); }
.hero-banner__arrow--prev { left: 1.25rem; }
.hero-banner__arrow--next { right: 1.25rem; }
.hero-banner__dots {
	position: absolute;
	bottom: 1.25rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
	display: flex;
	gap: 0.5rem;
}
.hero-banner__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	padding: 0;
	transition: background 0.2s ease, transform 0.2s ease;
}
.hero-banner__dot.is-active { background: #fff; transform: scale(1.25); }

/* ==========================================================================
   Coming-soon ("Próximamente") section
   ========================================================================== */
.coming-soon {
	position: relative;
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--lh-darker);
	color: #fff;
	padding: 6rem 1.5rem;
	text-align: center;
}
.coming-soon__bg {
	position: absolute;
	inset: 0;
	background: center / cover no-repeat;
	opacity: 0.45;
	z-index: 0;
}
.coming-soon__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 1;
}
.coming-soon__inner {
	position: relative;
	z-index: 2;
	max-width: 720px;
	margin: 0 auto;
}
.coming-soon__eyebrow {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--lh-accent);
	margin-bottom: 1.25rem;
}
.coming-soon__title {
	font-size: clamp(2.2rem, 6vw, 3.5rem);
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin: 0 0 1rem;
}
.coming-soon__message {
	font-size: clamp(1rem, 2vw, 1.15rem);
	color: rgba(255, 255, 255, 0.88);
	margin: 0 0 2rem;
}
.coming-soon__cta {
	display: inline-block;
	padding: 0.75rem 1.75rem;
	background: var(--lh-accent);
	color: #fff;
	border-radius: var(--lh-radius-pill);
	font-weight: 600;
	transition: background 0.25s ease, transform 0.25s ease;
}
.coming-soon__cta:hover {
	background: var(--lh-accent-hover);
	color: #fff;
	transform: translateY(-2px);
}

/* ==========================================================================
   Contact Section (2-column: info + form)
   ========================================================================== */
.contact-section {
	padding: 5rem 0;
	background: #fff;
}
.contact-section__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: start;
}
@media (max-width: 900px) {
	.contact-section__grid { grid-template-columns: 1fr; gap: 2rem; }
}

.contact-section__title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	margin: 0 0 1.5rem;
	color: var(--lh-fg);
	line-height: 1.15;
}
.contact-section__lede {
	margin: 0 0 1.75rem;
	color: var(--lh-muted);
	font-size: 1.05rem;
}

.contact-info { display: grid; gap: 1.25rem; }
.contact-info__block { display: grid; gap: 0.25rem; }
.contact-info__label {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--lh-muted-2);
	margin: 0;
}
.contact-info__line {
	color: var(--lh-muted);
	font-size: 0.92rem;
	margin: 0;
}
.contact-info__link {
	color: var(--lh-fg);
	font-weight: 500;
}
.contact-info__link:hover { text-decoration: underline; color: var(--lh-fg); }

/* Notices */
.contact-section__notice {
	margin-bottom: 1.5rem;
	padding: 0.85rem 1rem;
	border-radius: var(--lh-radius);
	font-weight: 500;
}
.contact-section__notice--success {
	background: #e6f4ea;
	color: #1f6f3d;
	border: 1px solid #b6e0c2;
}
.contact-section__notice--error {
	background: #fdecea;
	color: #a81818;
	border: 1px solid #f4c4c0;
}

.contact-form {
	background: #fff;
	padding: 2rem;
	border-radius: 12px;
	box-shadow: var(--lh-shadow-lg);
	border: 1px solid var(--lh-border);
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.contact-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}
@media (max-width: 600px) {
	.contact-form__row { grid-template-columns: 1fr; }
}
.contact-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}
.contact-form__label {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--lh-fg);
}
.contact-form__field input,
.contact-form__field textarea {
	font: inherit;
	color: var(--lh-fg);
	padding: 0.8rem 0.95rem;
	border: 1px solid var(--lh-border);
	border-radius: var(--lh-radius);
	background: #fff;
	transition: border-color 150ms ease, box-shadow 150ms ease;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
	outline: none;
	border-color: var(--lh-accent);
	box-shadow: 0 0 0 3px rgba(107, 203, 151, 0.18);
}
.contact-form__honey {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.contact-form__submit {
	background: var(--lh-darker);
	color: #fff;
	border: none;
	padding: 0.95rem 1.6rem;
	border-radius: var(--lh-radius-pill);
	font: inherit;
	font-weight: 600;
	letter-spacing: 0.04em;
	cursor: pointer;
	align-self: flex-start;
	transition: background 0.2s ease, transform 0.2s ease;
}
.contact-form__submit:hover {
	background: #1f1f1f;
	transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	margin-top: 0;
	background: var(--lh-darker);
	color: #fff;
	padding: 6rem 0 1.5rem;
}
.site-footer__brand {
	font-size: clamp(1.75rem, 4vw, 3rem);
	margin: 0 0 2rem;
	color: #fff;
	font-weight: 700;
}
.site-footer__cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.5rem;
	margin-bottom: 3rem;
}
@media (max-width: 900px) {
	.site-footer__cols { grid-template-columns: 1fr; gap: 2rem; }
}
.site-footer__col h4 {
	font-size: 1.05rem;
	font-weight: 600;
	margin: 0 0 1rem;
	color: #fff;
}
.site-footer__col p,
.site-footer__col a {
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.92rem;
	margin: 0 0 0.5rem;
	transition: color 0.3s ease, opacity 0.3s ease;
}
.site-footer__col a:hover { color: #fff; opacity: 1; }
.site-footer__row {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0.35rem 0;
}
.site-footer__row svg { flex-shrink: 0; width: 18px; height: 18px; }

.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 1.5rem;
	margin-top: 1rem;
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 1.5rem;
	align-items: center;
}
@media (max-width: 900px) {
	.site-footer__bottom { grid-template-columns: 1fr; }
}
.site-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
}
.site-footer__copy {
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.88rem;
}

/* ==========================================================================
   Page / Front content fallback
   ========================================================================== */
.page-content {
	padding: 3rem 0;
}
.post-entry {
	padding: 2rem 0;
	border-bottom: 1px solid var(--lh-border);
}
