/* Portada Fotodual: home page sections (templates/portada-fotodual.php) */

/* Shared base, header and footer live in fd-layout.css */
body.fd-home { padding-top: 0 !important; margin: 0; background: #ffffff; }

/* ---------- Hero ---------- */
.fdh-hero {
	position: relative;
	height: 100vh;
	height: 100svh;
	min-height: 560px;
	background: #1d1a18;
	overflow: hidden;
	color: #ffffff;
}
.fdh-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; overflow: hidden; }
.fdh-slide.is-active { opacity: 1; }
.fdh-slide img, .fdh-slide video { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* Slow zoom on photos while they are on screen (keeps running while fading out) */
.fdh-slide--photo.is-active img, .fdh-slide--photo.is-leaving img { animation: fdh-zoom var(--fdh-zoom, 6s) ease-out forwards; }
@keyframes fdh-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.fdh-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.35) 100%);
}

.fdh-dots { position: absolute; left: 0; right: 0; bottom: 32px; z-index: 3; display: flex; justify-content: center; gap: 4px; }
.fdh-dot { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.fdh-dot span { display: block; width: 28px; height: 2px; background: #ffffff; opacity: 0.4; transition: opacity 0.3s; }
.fdh-dot.is-active span { opacity: 1; }
.fdh-down { position: absolute; right: var(--fdh-pad); bottom: 32px; z-index: 3; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: #ffffff !important; }

/* ---------- Intro ---------- */
.fdh-intro { max-width: 1100px; margin: 0 auto; padding: 120px var(--fdh-pad) 100px; }
.fdh-intro h1 { font-size: clamp(36px, 4.4vw, 60px); }
.fdh-intro__text { margin-top: 36px; }
.fdh-intro__text p + p { margin-top: 20px; }
.fdh-intro__cta { display: flex; justify-content: flex-end; margin-top: 56px; }

/* ---------- Three tall blocks ---------- */
.fdh-cats { padding: 20px clamp(20px, 5vw, 80px) 120px; }
.fdh-cats__grid { max-width: 1720px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 64px); }
.fdh-cat { display: block; text-align: center; }
.fdh-cat__img { aspect-ratio: 3 / 4; overflow: hidden; background: #ece8e3; }
.fdh-cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.fdh-cat:hover .fdh-cat__img img { transform: scale(1.04); }
.fdh-cat h2 { margin-top: 40px; font-size: clamp(28px, 3vw, 44px); }

/* ---------- Full-width photo with sentence ---------- */
.fdh-lema { position: relative; height: clamp(420px, 60vw, 860px); overflow: hidden; background: #33465c; color: #ffffff; }
.fdh-lema img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.fdh-lema p {
	position: relative;
	z-index: 1;
	padding: 56px 20px 0;
	text-align: center;
	font-weight: 600;
	font-size: clamp(14px, 1.6vw, 22px);
	letter-spacing: clamp(4px, 0.6vw, 9px);
	line-height: 1.5;
	text-transform: uppercase;
	text-shadow: 0 1px 12px rgba(0,0,0,0.3);
}

/* ---------- Recent weddings ---------- */
.fdh-recent { padding: 120px 0 100px; }
.fdh-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 48px; }
.fdh-head h2 { font-size: clamp(30px, 3.6vw, 48px); }
.fdh-more { padding-bottom: 4px; border-bottom: 2px solid #111111; font-weight: 600; font-size: 14px; letter-spacing: 4px; line-height: 1.2; text-transform: uppercase; }
.fdh-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.fdh-post { display: block; }
.fdh-post__img { aspect-ratio: 4 / 3; overflow: hidden; background: #ece8e3; }
.fdh-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.fdh-post:hover .fdh-post__img img { transform: scale(1.04); }
.fdh .fdh-post__title { margin-top: 20px; font-weight: 500; font-size: 22px; line-height: 1.35; letter-spacing: 0; text-transform: none; }
.fdh-post__meta { margin-top: 6px; color: #555555; font-size: 13px; letter-spacing: 3px; line-height: 1.4; text-transform: uppercase; }

/* ---------- Reviews: one quote at a time, centred ---------- */
.fdh-reviews { padding: 120px var(--fdh-pad) 100px; background: #f4f2ef; text-align: center; }
.fdh-reviews h2 { font-size: 14px; font-weight: 600; letter-spacing: 6px; line-height: 1.4; }
.fdh-quote-mark { margin: 36px 0 -18px; color: var(--fdh-accent); font-weight: 300; font-size: 120px; line-height: 0.8; }
.fdh-quotes { display: grid; max-width: 880px; margin: 0 auto; }
.fdh-quote { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.9s ease, visibility 0.9s; }
.fdh-quote.is-active { opacity: 1; visibility: visible; }
.fdh .fdh-quote blockquote {
	border: 0;
	quotes: none;
	font-style: normal;
	font-weight: 300;
	font-size: clamp(21px, 2.2vw, 28px);
	line-height: 1.6;
	color: #1a1a1a;
}
.fdh-quote figcaption {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-top: 36px;
	color: #555555;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 4px;
	line-height: 1.5;
	text-transform: uppercase;
}
.fdh-quote figcaption::before { content: ''; display: block; flex: 0 0 32px; height: 1px; background: #111111; }
.fdh-quote-dots { display: flex; justify-content: center; gap: 4px; margin-top: 40px; }
.fdh-quote-dots .fdh-dot span { background: #111111; opacity: 0.25; }
.fdh-quote-dots .fdh-dot.is-active span { opacity: 1; }

/* ---------- Private area strip ---------- */
.fdh-privada { padding: 56px 0; border-bottom: 1px solid #e6e1db; }
.fdh-privada .fdh-wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.fdh-privada p { font-weight: 500; font-size: 22px; line-height: 1.4; }

/* ---------- Final call to action ---------- */
.fdh-cta { padding: 140px var(--fdh-pad); text-align: center; }
.fdh-cta h2 { font-size: clamp(34px, 5vw, 68px); }
.fdh-cta p { max-width: 560px; margin: 24px auto 0; }
.fdh-cta .fdh-btn { margin-top: 44px; padding: 24px 44px; font-size: 16px; letter-spacing: 5px; }
.fdh-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; margin-top: 48px; font-weight: 500; font-size: 16px; letter-spacing: 1px; }
.fdh-contact a { border-bottom: 1px solid #111111; }

/* ---------- FAQ: discreet, small caps, before the final call to action ---------- */
.fdh-faq { padding: 120px var(--fdh-pad) 20px; }
.fdh-faq__inner { max-width: 1000px; margin: 0 auto; }
.fdh-faq h2 { margin-bottom: 52px; font-size: clamp(26px, 2.8vw, 38px); }
.fdh-faq__list { border-top: 1px solid #d9d2ca; }
.fdh-faq__item { border-bottom: 1px solid #d9d2ca; }
.fdh-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 28px 0;
	list-style: none;
	cursor: pointer;
	font-weight: 500;
	font-size: 14px;
	letter-spacing: 3.5px;
	line-height: 1.5;
	text-transform: uppercase;
}
.fdh-faq__item summary::-webkit-details-marker { display: none; }
.fdh-faq__item summary:hover { color: var(--fdh-accent); }
.fdh-faq__icon { position: relative; flex: 0 0 14px; width: 14px; height: 14px; }
.fdh-faq__icon::before, .fdh-faq__icon::after { content: ''; position: absolute; background: currentColor; transition: transform 0.3s ease, opacity 0.3s ease; }
.fdh-faq__icon::before { left: 0; right: 0; top: 6.5px; height: 1px; }
.fdh-faq__icon::after { top: 0; bottom: 0; left: 6.5px; width: 1px; }
.fdh-faq__item[open] .fdh-faq__icon::after { transform: rotate(90deg); opacity: 0; }
.fdh-faq__a { padding: 0 48px 32px 0; color: #333333; font-weight: 300; font-size: 17px; line-height: 1.75; }
.fdh-faq__a p + p { margin-top: 14px; }

/* ---------- Tablet / phone ---------- */
@media (max-width: 900px) {
	.fdh-grid3 { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 800px) {
	.fdh { font-size: 17px; }
	.fdh-cats__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
	.fdh-intro { padding-top: 80px; padding-bottom: 72px; }
	.fdh-intro__cta { justify-content: flex-start; }
	.fdh-recent { padding: 80px 0; }
	.fdh-reviews { padding-top: 88px; padding-bottom: 72px; }
	.fdh-quote figcaption { flex-direction: column; gap: 10px; }
	.fdh-cta { padding-top: 96px; padding-bottom: 96px; }
	.fdh-faq { padding-top: 80px; }
	.fdh-faq__item summary { font-size: 13px; letter-spacing: 2.5px; }
	.fdh-faq__a { padding-right: 0; }
}

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