/* =========================================================
   CADILLO DE LUZ - HOME PREMIUM
   assets/css/home.css
   ========================================================= */

/* ==========================
   GLOBAL HOME
========================== */

.site-main--home {
	overflow: hidden;
	background: var(--bp-color-cream);
}

.site-main--home section {
	position: relative;
	padding: 110px 20px;
}

.home-section {
	position: relative;
}

.home-hero__eyebrow,
.home-intro__eyebrow,
.home-spaces__eyebrow,
.home-weddings__eyebrow,
.home-events__eyebrow,
.home-gallery__eyebrow,
.home-testimonials__eyebrow,
.home-contact__eyebrow {
	margin: 0 0 22px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.home-hero__title,
.home-intro__title,
.home-spaces__title,
.home-weddings__title,
.home-events__title,
.home-gallery__title,
.home-testimonials__title,
.home-contact__title {
	margin: 0;
	font-family: var(--bp-font-serif);
	font-weight: 500;
	line-height: 0.95;
}

.home-intro__title,
.home-spaces__title,
.home-weddings__title,
.home-events__title,
.home-gallery__title,
.home-testimonials__title,
.home-contact__title {
	font-size: clamp(2.8rem, 8vw, 6rem);
}

/* ==========================
   HERO VIDEO
========================== */

.home-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 140px 20px 80px;
	overflow: hidden;
	color: #fff;
	text-align: center;
	background: #1f1b16;
}

.home-hero__background {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.home-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.home-hero__veil {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		radial-gradient(circle at center, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.58)),
		linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.68));
}

.home-hero__inner,
.home-hero__seal {
	position: relative;
	z-index: 2;
}

.home-hero__inner {
	max-width: 980px;
	margin: 0 auto;
}

.home-hero__title {
	font-size: clamp(4.8rem, 12vw, 10rem);
	text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.home-hero__title span {
	display: block;
}

.home-hero__subtitle {
	max-width: 660px;
	margin: 28px auto 0;
	font-size: clamp(1.05rem, 2vw, 1.35rem);
	color: rgba(255, 255, 255, 0.92);
	text-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 40px;
}

.home-hero__button,
.home-contact__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 26px;
	border-radius: 999px;
	font-weight: 700;
	transition:
		transform var(--bp-transition),
		background var(--bp-transition),
		color var(--bp-transition),
		border-color var(--bp-transition);
}

.home-hero__button:hover,
.home-contact__button:hover {
	transform: translateY(-2px);
}

.home-hero__button--primary,
.home-contact__button {
	background: #fff;
	color: var(--bp-color-text);
}

.home-hero__button--ghost {
	border: 1px solid rgba(255, 255, 255, 0.7);
	color: #fff;
}

.home-hero__button--ghost:hover {
	background: rgba(255, 255, 255, 0.14);
}

.home-hero__seal {
	position: absolute;
	right: 22px;
	bottom: 24px;
	max-width: 150px;
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.8;
}

/* ==========================
   INTRO EDITORIAL
========================== */

.home-intro {
	background: var(--bp-color-cream);
	color: var(--bp-color-text);
}

.home-intro__inner {
	max-width: var(--bp-container);
	margin: 0 auto;
	display: grid;
	gap: 48px;
}

.home-intro__meta {
	display: flex;
	align-items: center;
	gap: 18px;
	color: var(--bp-color-olive);
}

.home-intro__meta span {
	font-family: var(--bp-font-serif);
	font-size: clamp(3rem, 8vw, 6rem);
	line-height: 1;
}

.home-intro__meta p {
	margin: 0;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.home-intro__content {
	max-width: 980px;
}

.home-intro__title {
	max-width: 980px;
}

.home-intro__text-grid {
	display: grid;
	gap: 24px;
	margin-top: 42px;
}

.home-intro__text-grid p {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.75;
}

/* Compatibility with previous intro structure */

.home-intro__number {
	margin: 0;
	font-family: var(--bp-font-serif);
	font-size: 4rem;
	line-height: 1;
	color: var(--bp-color-olive);
}

.home-intro__label {
	margin: 10px 0 0;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.home-intro__lead {
	max-width: 720px;
	margin: 34px 0 0;
	font-family: var(--bp-font-serif);
	font-size: clamp(1.5rem, 4vw, 2.5rem);
	line-height: 1.15;
}

.home-intro__text {
	max-width: 640px;
	margin: 28px 0 0;
	font-size: 1.05rem;
}

/* ==========================
   SPACES
========================== */

.home-spaces {
	background: var(--bp-color-blue-soft);
	color: var(--bp-color-text);
}

.home-spaces__inner {
	max-width: var(--bp-container);
	margin: 0 auto;
	display: grid;
	gap: 56px;
}

.home-spaces__media {
	position: relative;
	min-height: 520px;
}

.home-spaces__image {
	position: absolute;
	border-radius: var(--bp-radius);
	background-size: cover;
	background-position: center;
	box-shadow: 0 24px 60px rgba(47, 42, 34, 0.14);
}

.home-spaces__image--main {
	inset: 0 14% 14% 0;
	background-image: url("../img/home/espacios-1.jpg");
}

.home-spaces__image--secondary {
	right: 0;
	bottom: 0;
	width: 46%;
	height: 46%;
	background-image: url("../img/home/espacios-2.jpg");
}

.home-spaces__content {
	max-width: 680px;
}

.home-spaces__text {
	max-width: 640px;
	margin: 28px 0 0;
	font-size: 1.05rem;
	line-height: 1.75;
}

.home-spaces__features {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 32px;
}

.home-spaces__features span {
	padding: 10px 16px;
	border: 1px solid rgba(47, 42, 34, 0.18);
	border-radius: 999px;
	font-size: 0.9rem;
}

.home-spaces__link,
.home-weddings__link,
.home-gallery__link {
	display: inline-flex;
	margin-top: 34px;
	font-weight: 700;
	color: var(--bp-color-olive);
	position: relative;
}

.home-spaces__link::after,
.home-weddings__link::after,
.home-gallery__link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: scaleX(0.35);
	transform-origin: left;
	transition: transform var(--bp-transition);
}

.home-spaces__link:hover::after,
.home-weddings__link:hover::after,
.home-gallery__link:hover::after {
	transform: scaleX(1);
}

/* ==========================
   WEDDINGS
========================== */

.home-weddings {
	background: var(--bp-color-cream);
	color: var(--bp-color-text);
}

.home-weddings__inner {
	max-width: var(--bp-container);
	margin: 0 auto;
	display: grid;
	gap: 56px;
}

.home-weddings__content {
	max-width: 720px;
}

.home-weddings__lead {
	max-width: 720px;
	margin: 34px 0 0;
	font-family: var(--bp-font-serif);
	font-size: clamp(1.5rem, 4vw, 2.5rem);
	line-height: 1.15;
}

.home-weddings__media {
	position: relative;
	min-height: 560px;
}

.home-weddings__image {
	position: absolute;
	inset: 0;
	border-radius: var(--bp-radius);
	background:
		linear-gradient(rgba(47, 42, 34, 0.05), rgba(47, 42, 34, 0.16)),
		url("../img/home/bodas.jpg") center / cover no-repeat;
	box-shadow: 0 24px 70px rgba(47, 42, 34, 0.13);
}

.home-weddings__note {
	position: absolute;
	left: 24px;
	right: 24px;
	bottom: 24px;
	padding: 18px 22px;
	border-radius: 999px;
	background: rgba(251, 245, 238, 0.88);
	color: var(--bp-color-text);
	text-align: center;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	backdrop-filter: blur(10px);
}

/* ==========================
   EVENTS
========================== */

.home-events {
	background: var(--bp-color-olive);
	color: var(--bp-color-cream);
}

.home-events__inner {
	max-width: var(--bp-container);
	margin: 0 auto;
}

.home-events__header {
	max-width: 900px;
}

.home-events__grid {
	display: grid;
	gap: 18px;
	margin-top: 54px;
}

.home-events__item {
	padding: 34px;
	border: 1px solid rgba(251, 245, 238, 0.22);
	border-radius: var(--bp-radius);
	background: rgba(251, 245, 238, 0.06);
	transition:
		transform var(--bp-transition),
		background var(--bp-transition),
		border-color var(--bp-transition);
}

.home-events__item:hover {
	transform: translateY(-4px);
	background: rgba(251, 245, 238, 0.1);
	border-color: rgba(251, 245, 238, 0.38);
}

.home-events__item span {
	display: block;
	margin-bottom: 44px;
	font-size: 0.85rem;
	opacity: 0.7;
}

.home-events__item h3 {
	margin: 0 0 14px;
	font-family: var(--bp-font-serif);
	font-size: 2.3rem;
	font-weight: 500;
}

.home-events__item p {
	margin: 0;
	opacity: 0.82;
}

/* ==========================
   GALLERY
========================== */

.home-gallery {
	background: var(--bp-color-cream);
	color: var(--bp-color-text);
}

.home-gallery__inner {
	max-width: var(--bp-container);
	margin: 0 auto;
}

.home-gallery__header {
	max-width: 900px;
}

.home-gallery__layout {
	display: grid;
	gap: 18px;
	margin-top: 54px;
}

.home-gallery__image {
	min-height: 320px;
	border-radius: var(--bp-radius);
	background-size: cover;
	background-position: center;
	box-shadow: 0 24px 60px rgba(47, 42, 34, 0.1);
}

.home-gallery__image--one {
	background-image: url("../img/home/galeria-1.jpg");
}

.home-gallery__image--two {
	background-image: url("../img/home/galeria-2.jpg");
}

.home-gallery__image--three {
	background-image: url("../img/home/galeria-3.jpg");
}

.home-gallery__footer {
	display: grid;
	gap: 24px;
	margin-top: 34px;
}

.home-gallery__footer p {
	max-width: 620px;
	margin: 0;
	line-height: 1.75;
}

/* ==========================
   TESTIMONIALS
========================== */

.home-testimonials {
	background: var(--bp-color-terracotta);
	color: var(--bp-color-cream);
	text-align: center;
}

.home-testimonials__inner {
	max-width: 980px;
	margin: 0 auto;
}

.home-testimonials__quote {
	margin-top: 44px;
	padding: 36px;
	border-radius: var(--bp-radius);
	background: rgba(251, 245, 238, 0.1);
}

.home-testimonials__quote p {
	margin: 0;
	font-family: var(--bp-font-serif);
	font-size: clamp(1.8rem, 5vw, 3.8rem);
	line-height: 1.1;
}

/* ==========================
   CONTACT
========================== */

.home-contact {
	background: var(--bp-color-brown);
	color: var(--bp-color-cream);
	text-align: center;
}

.home-contact__inner {
	max-width: 920px;
	margin: 0 auto;
}

.home-contact__text {
	max-width: 640px;
	margin: 28px auto 0;
	font-size: 1.05rem;
	line-height: 1.75;
}

.home-contact__button {
	margin-top: 36px;
}

.home-contact__button:hover {
	background: var(--bp-color-cream);
}

/* ==========================
   SMALL MOBILE
========================== */

@media (max-width: 767px) {
	.site-main--home section {
		padding: 86px 20px;
	}

	.home-hero {
		padding: 130px 20px 72px;
	}

	.home-hero__title {
		font-size: clamp(4rem, 20vw, 6rem);
	}

	.home-hero__actions {
		flex-direction: column;
		align-items: center;
	}

	.home-hero__button,
	.home-contact__button {
		width: 100%;
		max-width: 280px;
	}

	.home-hero__seal {
		display: none;
	}

	.home-spaces__media,
	.home-weddings__media {
		min-height: 420px;
	}

	.home-events__item {
		padding: 28px;
	}
}

/* ==========================
   TABLET
========================== */

@media (min-width: 768px) {
	.site-main--home section {
		padding: 130px 32px;
	}

	.home-gallery__layout {
		grid-template-columns: 1.25fr 0.8fr;
		grid-template-rows: repeat(2, 320px);
	}

	.home-gallery__image--one {
		grid-row: span 2;
	}

	.home-gallery__footer {
		grid-template-columns: 1fr auto;
		align-items: center;
	}
}

/* ==========================
   DESKTOP
========================== */

@media (min-width: 900px) {
	.home-intro__inner {
		grid-template-columns: 220px 1fr;
		align-items: start;
	}

	.home-intro__meta {
		position: sticky;
		top: 140px;
		display: block;
	}

	.home-intro__text-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.home-spaces__inner,
	.home-weddings__inner {
		grid-template-columns: 1fr 1fr;
		align-items: center;
	}

	.home-weddings__content {
		order: 1;
	}

	.home-weddings__media {
		order: 2;
	}

	.home-events__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ==========================
   REDUCED MOTION
========================== */

@media (prefers-reduced-motion: reduce) {
	.home-hero__video {
		animation: none;
	}

	.home-hero__button,
	.home-contact__button,
	.home-events__item {
		transition: none;
	}
}

	/* ==========================
   WEDDINGS PREMIUM OVERRIDE
========================== */

.home-weddings {
	position: relative;
	overflow: hidden;
	background: var(--bp-color-cream);
}

.home-weddings__background {
	position: absolute;
	inset: 8% auto auto -8%;
	width: 420px;
	height: 420px;
	border-radius: 999px;
	background: rgba(118, 105, 60, 0.08);
	pointer-events: none;
}

.home-weddings__numbers {
	display: grid;
	gap: 18px;
	margin-top: 42px;
}

.home-weddings__number {
	padding-top: 18px;
	border-top: 1px solid rgba(47, 42, 34, 0.16);
}

.home-weddings__number h3 {
	margin: 0;
	font-family: var(--bp-font-serif);
	font-size: clamp(2.6rem, 6vw, 5rem);
	font-weight: 500;
	line-height: 1;
	color: var(--bp-color-olive);
}

.home-weddings__number p {
	margin: 8px 0 0;
	font-size: 0.9rem;
	letter-spacing: 0.04em;
}

.home-weddings__floating-card {
	position: absolute;
	left: 24px;
	bottom: 24px;
	max-width: 320px;
	padding: 24px;
	border-radius: 26px;
	background: rgba(251, 245, 238, 0.9);
	color: var(--bp-color-text);
	box-shadow: 0 18px 50px rgba(47, 42, 34, 0.18);
	backdrop-filter: blur(14px);
}

.home-weddings__floating-card span {
	display: block;
	margin-bottom: 14px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--bp-color-olive);
}

.home-weddings__floating-card h3 {
	margin: 0;
	font-family: var(--bp-font-serif);
	font-size: 1.9rem;
	font-weight: 500;
	line-height: 1.05;
}

@media (min-width: 768px) {
	.home-weddings__numbers {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 767px) {
	.home-weddings__floating-card {
		left: 16px;
		right: 16px;
		max-width: none;
	}
}

/* ==========================
   EVENTS PREMIUM OVERRIDE
========================== */

.home-events__item {
	position: relative;
	overflow: hidden;
	min-height: 360px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.home-events__item a {
	display: inline-flex;
	margin-top: 28px;
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bp-color-cream);
}

.home-events__item--highlight {
	background: var(--bp-color-cream);
	color: var(--bp-color-text);
}

.home-events__item--highlight a {
	color: var(--bp-color-olive);
}

.home-events__item--highlight span {
	color: var(--bp-color-olive);
	opacity: 1;
}

@media (min-width: 1024px) {
	.home-events__item--highlight {
		transform: translateY(42px);
	}

	.home-events__item--highlight:hover {
		transform: translateY(34px);
	}
}

/* ==========================
   GALLERY PREMIUM OVERRIDE
========================== */

.home-gallery__heading {
	max-width: 920px;
}

.home-gallery__grid {
	display: grid;
	gap: 28px;
	margin-top: 64px;
}

.home-gallery__column {
	display: grid;
	gap: 28px;
}

.home-gallery__image--large {
	min-height: 620px;
	background-image: url("../img/home/galeria-1.jpg");
}

.home-gallery__image--top {
	min-height: 360px;
	background-image: url("../img/home/galeria-2.jpg");
}

.home-gallery__text {
	padding: 36px;
	border-radius: var(--bp-radius);
	background: var(--bp-color-blue-soft);
}

.home-gallery__text h3 {
	margin: 0;
	font-family: var(--bp-font-serif);
	font-size: clamp(2rem, 5vw, 3.8rem);
	font-weight: 500;
	line-height: 1;
}

.home-gallery__text p {
	margin: 24px 0 0;
	line-height: 1.75;
}

.home-gallery__text a {
	display: inline-flex;
	margin-top: 30px;
	font-weight: 700;
	color: var(--bp-color-olive);
}

@media (min-width: 1024px) {
	.home-gallery__grid {
		grid-template-columns: 1.1fr 0.9fr;
		align-items: stretch;
	}

	.home-gallery__column {
		grid-template-rows: 0.9fr auto;
	}
}

/* ==========================
   CONTACT PREMIUM OVERRIDE
========================== */

.home-contact {
	position: relative;
	overflow: hidden;
}

.home-contact__background {
	position: absolute;
	inset: auto -120px -120px auto;
	width: 520px;
	height: 520px;
	border-radius: 50%;
	background: rgba(255,255,255,.04);
}

.home-contact__actions{
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	gap:18px;
	margin-top:48px;
}

.home-contact__secondary{
	display:inline-flex;
	align-items:center;
	padding:15px 28px;
	border:1px solid rgba(255,255,255,.4);
	border-radius:999px;
	color:#fff;
	font-weight:700;
	transition:all .35s ease;
}

.home-contact__secondary:hover{
	background:#fff;
	color:var(--bp-color-text);
}