/*
Theme Name: Shoffar
Theme URI: https://coroshoffar.id7d.org
Description: Tema moderno para Coro Shoffar Shaddai, basado en coroshoffar01.
Version: 1.0.0
Author: Zabdiel Perez
Author URI: https://poeticavisual.com
Text Domain: shoffar
*/

:root {
	--ink: #2d2830;
	--muted: #736a72;
	--paper: #f8f4f1;
	--surface: #ffffff;
	--wine: #842452;
	--wine-dark: #4b1130;
	--blue: #00315f;
	--gold: #b89a62;
	--line: rgba(75, 17, 48, .13);
	--shadow: 0 22px 58px rgba(54, 30, 43, .13);
	--radius: 4px;
	--wrap: min(1060px, calc(100vw - 44px));
}

@font-face {
	font-family: "IcoFont";
	font-style: normal;
	font-weight: normal;
	src: url("fonts/icofont.woff2") format("woff2"), url("fonts/icofont.woff") format("woff");
}

[class^="icon-"],
[class*=" icon-"] {
	direction: ltr;
	font-family: "IcoFont" !important;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	line-height: 1;
	speak: none;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
}
.icon-video:before { content: "\ecbb"; }
.icon-disco:before { content: "\ecac"; }
.icon-fotos:before { content: "\efbc"; }
.icon-cartel:before { content: "\eb14"; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: Inter, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.72;
}
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--wine); }
img { height: auto; max-width: 100%; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 {
	color: var(--ink);
	font-family: Inter, Arial, sans-serif;
	font-weight: 300;
	letter-spacing: -.01em;
	line-height: 1.14;
	margin: 0 0 1rem;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.2vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.9rem); }
h4 { font-size: 1.25rem; }

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}
.skip-link:focus {
	background: var(--surface);
	clip: auto;
	height: auto;
	left: 16px;
	padding: 10px 14px;
	top: 16px;
	width: auto;
	z-index: 9999;
}

.site-header {
	background: rgba(78, 17, 50, .96);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .1);
	left: 0;
	padding: 6px 0;
	position: fixed;
	right: 0;
	top: 0;
	transition: background .2s ease, box-shadow .2s ease;
	z-index: 1000;
}
.site-header.is-scrolled,
body:not(.home) .site-header {
	background: rgba(78, 17, 50, .98);
	backdrop-filter: blur(16px);
	box-shadow: 0 8px 30px rgba(18, 9, 20, .18);
}
.site-header__inner {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
	width: var(--wrap);
}
.brand img { display: block; width: 158px; }
.site-nav__list {
	align-items: center;
	display: flex;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-nav a {
	color: #fff;
	display: block;
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .02em;
	padding: 8px 7px;
	text-transform: uppercase;
}
.site-nav a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 5px;
}
.nav-toggle {
	background: var(--wine);
	border: 0;
	border-radius: 2px;
	cursor: pointer;
	display: none;
	height: 42px;
	padding: 10px;
	width: 42px;
}
.nav-toggle span:not(.screen-reader-text) {
	background: #fff;
	display: block;
	height: 2px;
	margin: 4px 0;
	width: 22px;
}

.site-main { overflow: hidden; }
.wrap {
	margin: 0 auto;
	width: var(--wrap);
}
.section {
	padding: clamp(70px, 8vw, 118px) 0;
	position: relative;
}
.section--white { background: var(--surface); }
.section--cream { background: var(--paper); }
.section--blue {
	background: var(--blue);
	color: #fff;
}
.section--blue h2,
.section--blue h3,
.section--blue p { color: #fff; }
.section-heading {
	margin: 0 auto 44px;
	max-width: 780px;
	text-align: center;
}
.eyebrow {
	color: var(--gold);
	display: block;
	font-size: .66rem;
	font-weight: 700;
	letter-spacing: .24em;
	margin-bottom: 14px;
	text-transform: uppercase;
}
.rule {
	background: var(--gold);
	display: block;
	height: 2px;
	margin: 18px auto 0;
	width: 54px;
}

.hero {
	align-items: end;
	background-image: linear-gradient(180deg, rgba(12, 9, 15, .04), rgba(12, 9, 15, .22) 58%, rgba(12, 9, 15, .72)), var(--hero-image);
	background-position: center;
	background-size: cover;
	color: #fff;
	display: grid;
	min-height: clamp(360px, 42vw, 500px);
	padding: 102px 0 34px;
}
.hero__content {
	background: rgba(54, 18, 39, .82);
	border-left: 3px solid var(--gold);
	box-shadow: 0 22px 60px rgba(0, 0, 0, .2);
	max-width: 460px;
	padding: 24px 28px 26px;
}
.hero h1,
.hero p { color: #fff; }
.hero h1 {
	font-size: clamp(2.1rem, 4vw, 3.4rem);
	margin-bottom: 8px;
}
.hero p {
	font-size: .98rem;
	margin-bottom: 0;
	max-width: 360px;
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}

.button,
button,
input[type="submit"] {
	align-items: center;
	background: var(--wine);
	border: 1px solid var(--wine);
	border-radius: 2px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font: 700 .68rem/1 Inter, Arial, sans-serif;
	justify-content: center;
	letter-spacing: .08em;
	min-height: 36px;
	padding: 11px 18px;
	text-transform: uppercase;
	transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover,
button:hover,
input[type="submit"]:hover {
	background: var(--wine-dark);
	border-color: var(--wine-dark);
	color: #fff;
	transform: translateY(-1px);
}
.button--ghost {
	background: transparent;
	border-color: rgba(255,255,255,.55);
	color: #fff;
}

.grid-2 {
	align-items: center;
	display: grid;
	gap: clamp(32px, 6vw, 72px);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3,
.grid-4 {
	display: grid;
	gap: 22px;
}
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: none;
	padding: clamp(24px, 3vw, 34px);
}
.media-card {
	aspect-ratio: 4 / 5;
	background-position: center;
	background-size: cover;
	border-radius: var(--radius);
	box-shadow: 0 16px 42px rgba(54, 30, 43, .12);
	min-height: 320px;
}
.media-card--wide {
	aspect-ratio: 16 / 9;
	min-height: 300px;
}
.stat-card {
	border-left: 2px solid var(--gold);
	padding-left: 24px;
}
.stat-card p,
.card p,
.entry-content p { color: var(--muted); }

.about-section {
	padding: clamp(78px, 8vw, 128px) 0;
}
.about-layout {
	align-items: center;
	display: grid;
	gap: clamp(46px, 6vw, 78px);
	grid-template-columns: minmax(360px, 1fr) minmax(420px, 1.14fr);
}
.about-copy {
	max-width: 540px;
}
.about-copy .eyebrow,
.section--services .eyebrow {
	color: var(--gold);
	font-size: .62rem;
	letter-spacing: .26em;
	margin-bottom: 18px;
}
.about-copy h2,
.section--services h2 {
	color: var(--wine);
	font-size: clamp(2.35rem, 3.5vw, 3.45rem);
	font-weight: 300;
	letter-spacing: -.03em;
	margin-bottom: 20px;
}
.about-copy h2:after {
	background: var(--wine);
	content: "";
	display: block;
	height: 1px;
	margin-top: 18px;
	width: 110px;
}
.about-copy p {
	color: #5e5660;
	font-size: clamp(1rem, 1.25vw, 1.16rem);
	line-height: 1.75;
	margin-bottom: 28px;
}
.about-copy .button {
	display: table;
	margin: 26px auto 0;
}
.about-photo {
	aspect-ratio: 16 / 10;
	background-position: center;
	background-size: cover;
	border-radius: 5px;
	box-shadow: 0 22px 55px rgba(54, 30, 43, .13);
	min-height: 360px;
}

.section--services {
	background: var(--paper);
	overflow: hidden;
	padding: clamp(74px, 8vw, 122px) 0;
}
.section--services:before {
	background-image: linear-gradient(rgba(248, 244, 241, .76), rgba(248, 244, 241, .84)), var(--section-image);
	background-position: center;
	background-size: cover;
	content: "";
	inset: 0;
	position: absolute;
}
.section--services .wrap {
	position: relative;
	z-index: 1;
}
.section--services .section-heading {
	margin-bottom: 46px;
}
.section--services h2 {
	margin-bottom: 8px;
}
.section--services .rule {
	background: var(--wine);
	margin-top: 16px;
	width: 100px;
}
.services-layout {
	align-items: stretch;
	display: grid;
	gap: 34px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0 auto;
	max-width: 1040px;
}
.service-card {
	align-self: stretch;
	background: rgba(255, 255, 255, .94);
	border-radius: 6px;
	box-shadow: 0 18px 52px rgba(54, 30, 43, .12);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 322px;
	padding: clamp(34px, 4vw, 54px);
}
.service-card h3 {
	color: var(--wine);
	font-size: clamp(1.65rem, 2.4vw, 2.35rem);
	font-weight: 300;
	margin-bottom: 18px;
}
.service-card p {
	color: #5f5861;
	font-size: clamp(1rem, 1.18vw, 1.13rem);
	line-height: 1.72;
}
.service-photo {
	align-self: stretch;
	background-position: center;
	background-size: cover;
	border-radius: 6px;
	box-shadow: 0 18px 52px rgba(54, 30, 43, .13);
	height: 100%;
	min-height: 322px;
	min-width: 0;
	width: 100%;
}
.section-action {
	margin: 46px 0 0;
	text-align: center;
}

.section--gallery-luxe {
	background: var(--wine);
	color: #fff;
}
.section--gallery-luxe h2,
.section--gallery-luxe p { color: #fff; }
.section--gallery-luxe .section-heading { max-width: 820px; }
.gallery-feature-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gallery-feature {
	background: rgba(255,255,255,.96);
	border: 1px solid rgba(255,255,255,.68);
	border-radius: var(--radius);
	box-shadow: 0 18px 45px rgba(54, 18, 39, .16);
	display: block;
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-feature:hover {
	color: var(--ink);
	box-shadow: var(--shadow);
	transform: translateY(-3px);
}
.gallery-feature__image {
	background-color: #eadfe3;
	background-position: center;
	background-size: cover;
	display: block;
	height: 138px;
}
.gallery-feature__body {
	display: grid;
	gap: 7px;
	padding: 18px;
}
.gallery-feature .icon {
	color: var(--gold);
	font-size: 1.35rem;
}
.gallery-feature strong {
	color: var(--ink);
	font-size: 1.05rem;
	font-weight: 400;
	line-height: 1.15;
}
.gallery-feature small {
	color: var(--wine);
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.split-image {
	aspect-ratio: 8 / 3;
	background-attachment: scroll;
	background-color: #120914;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% auto;
	width: 100%;
}

.page-hero,
.archive-hero {
	background: linear-gradient(135deg, var(--wine-dark), var(--blue));
	color: #fff;
	padding: 150px 0 72px;
	text-align: center;
}
.page-hero h1,
.archive-hero h1 { color: #fff; }
.content-area {
	background: var(--surface);
	padding: 72px 0;
}
.entry-content {
	margin: 0 auto;
	max-width: 860px;
}
.entry-content a {
	color: var(--wine);
	text-decoration: underline;
}
.entry-content ul,
.entry-content ol { padding-left: 1.4rem; }
.entry-content li { margin-bottom: .4rem; }

.post-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.post-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.post-card__image {
	aspect-ratio: 4 / 3;
	background: #eadfe3;
	display: block;
	overflow: hidden;
}
.post-card__image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}
.post-card__body { padding: 24px; }
.navigation,
.pagination {
	display: flex;
	gap: 14px;
	justify-content: center;
	margin-top: 42px;
}

.search-form,
.contact-form {
	display: grid;
	gap: 14px;
}
.search-form {
	grid-template-columns: 1fr auto;
	margin: 28px auto 0;
	max-width: 620px;
}
input,
textarea {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 2px;
	color: var(--ink);
	font: inherit;
	padding: 12px 14px;
	width: 100%;
}
textarea {
	min-height: 150px;
	resize: vertical;
}
.contact-panel {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: clamp(24px, 4vw, 42px);
}
.contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.contact-list li {
	border-bottom: 1px solid var(--line);
	padding: 12px 0;
}
.contact-list li:last-child { border-bottom: 0; }
.notice {
	background: rgba(184,154,98,.14);
	border: 1px solid rgba(184,154,98,.35);
	border-radius: var(--radius);
	margin-bottom: 18px;
	padding: 12px 14px;
}

.gallery,
.galeria {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gallery img,
.galeria img {
	aspect-ratio: 1;
	border-radius: var(--radius);
	height: 100%;
	object-fit: cover;
	width: 100%;
}
.galeria-item.horizontal { grid-column: span 2; }
.galeria-item.vertical { grid-row: span 2; }

.video-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.video-group {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
}
.video-list {
	display: grid;
	gap: 8px;
}
.video-link {
	border: 1px solid var(--line);
	border-radius: 2px;
	display: block;
	font-weight: 700;
	padding: 9px 14px;
}
.video-link.is-active {
	background: var(--wine);
	border-color: var(--wine);
	color: #fff;
}
.video-frame {
	aspect-ratio: 16 / 9;
	margin: 16px 0;
	width: 100%;
}
.video-frame iframe,
.embed-frame iframe {
	border: 0;
	border-radius: var(--radius);
	height: 100%;
	width: 100%;
}
.embed-frame { aspect-ratio: 16 / 9; }

.site-footer {
	background: #120914;
	color: rgba(255,255,255,.78);
	padding: 48px 0;
}
.site-footer__inner {
	align-items: center;
	display: flex;
	gap: 32px;
	justify-content: space-between;
	margin: 0 auto;
	width: var(--wrap);
}
.footer-brand img { width: 110px; }
.site-footer a { color: #fff; }
.site-footer p { margin: .25rem 0; }
.social-links {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	margin-bottom: 10px;
}
.social-links a {
	border: 1px solid rgba(255,255,255,.22);
	border-radius: 2px;
	font-size: .78rem;
	font-weight: 700;
	padding: 8px 12px;
}

.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 980px) {
	body.admin-bar .site-header { top: 46px; }
	.nav-toggle { display: block; }
	.site-nav {
		background: rgba(78, 17, 50, .98);
		border: 1px solid rgba(255,255,255,.12);
		box-shadow: var(--shadow);
		display: none;
		left: 20px;
		padding: 14px;
		position: absolute;
		right: 20px;
		top: calc(100% + 10px);
	}
	.site-nav.is-open { display: block; }
	.site-nav__list {
		align-items: stretch;
		flex-direction: column;
	}
	.site-nav a { padding: 12px 14px; }
	.grid-2,
	.grid-3,
	.grid-4,
	.about-layout,
	.services-layout,
	.gallery-feature-grid,
	.post-grid,
	.video-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.about-layout {
		gap: 38px;
		grid-template-columns: 1fr 1fr;
	}
	.service-card,
	.service-photo {
		min-height: 280px;
	}
	.gallery,
	.galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.split-image {
		aspect-ratio: 8 / 3;
	}
	.site-footer__inner {
		align-items: flex-start;
		flex-direction: column;
	}
	.social-links { justify-content: flex-start; }
}

@media (max-width: 600px) {
	:root { --wrap: min(100vw - 28px, 1060px); }
	body.admin-bar .site-header { top: 0; }
	.brand img { width: 144px; }
	.hero {
		min-height: 520px;
		padding-top: 110px;
	}
	.hero__content { padding: 22px; }
	.search-form,
	.grid-2,
	.grid-3,
	.grid-4,
	.about-layout,
	.services-layout,
	.gallery-feature-grid,
	.post-grid,
	.video-grid {
		grid-template-columns: 1fr;
	}
	.about-section,
	.section--services {
		padding: 64px 0;
	}
	.about-copy {
		max-width: none;
	}
	.about-copy .button {
		margin-left: 0;
	}
	.about-photo,
	.service-photo,
	.service-card {
		min-height: 0;
	}
	.service-card {
		padding: 28px;
	}
	.gallery,
	.galeria { grid-template-columns: 1fr; }
	.galeria-item.horizontal,
	.galeria-item.vertical {
		grid-column: auto;
		grid-row: auto;
	}
}
