/* Tepoz Community Pages 1.0.0 — Expertos, Contacto, Historia */

/* ── Shared page reset ── */
body.tepoz-community-page {
	--tep-ink: #173f34;
	--tep-ink-deep: #0d2f27;
	--tep-olive: #62633b;
	--tep-sage: #83906a;
	--tep-gold: #b4864b;
	--tep-sand: #d6bd9a;
	--tep-paper: #fffdfa;
	--tep-cream: #f5f1e8;
	--tep-cream-2: #ebe4d7;
	--tep-line: rgba(52, 62, 43, .16);
	--tep-muted: #687069;
	--tep-shadow: 0 22px 65px rgba(26, 42, 34, .1);
	margin: 0;
	color: var(--tep-ink-deep);
	background: var(--tep-paper);
}

body.tepoz-community-page #content,
body.tepoz-community-page .site-content,
body.tepoz-community-page .content-area {
	padding: 0 !important;
	max-width: none !important;
}

.tcp-page,
.tcp-page *,
.tcp-page *::before,
.tcp-page *::after {
	box-sizing: border-box;
}

.tcp-page {
	overflow: clip;
	color: var(--tep-ink-deep);
	background: var(--tep-paper);
	font-family: var(--tc-body);
	font-size: 16px;
	line-height: 1.6;
}

.tcp-page :where(h1, h2, h3, p, ul, ol, dl) { margin-top: 0; }
.tcp-page :where(a) { color: inherit; }
.tcp-page :where(img) { max-width: 100%; }
.tcp-page :where(a, button, summary):focus-visible {
	outline: 3px solid #d8a758;
	outline-offset: 4px;
}

/* ── Hero (shared across all 3 pages) ── */
.tcp-hero {
	position: relative;
	display: grid;
	min-height: min(640px, calc(100svh - 92px));
	align-items: end;
	isolation: isolate;
	overflow: hidden;
	color: #fff;
	background: var(--tep-ink-deep);
}

.tcp-hero__media,
.tcp-hero__veil {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.tcp-hero__media {
	background-position: center 46%;
	background-size: cover;
	transform: scale(1.015);
}

.tcp-hero__veil {
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(8, 32, 26, .92) 0%, rgba(8, 32, 26, .65) 48%, rgba(8, 32, 26, .15) 82%),
		linear-gradient(0deg, rgba(8, 32, 26, .72), transparent 55%);
}

.tcp-hero__content {
	padding-block: clamp(78px, 10vh, 120px) clamp(68px, 9vh, 100px);
}

.tcp-hero .tep-eyebrow { color: var(--tep-sand); }

.tcp-hero h1 {
	max-width: 850px;
	margin-bottom: 24px;
	color: #fffdfa;
	font-family: var(--tc-display);
	font-size: clamp(3.8rem, 7.5vw, 7rem);
	font-weight: 400;
	letter-spacing: -.055em;
	line-height: .85;
	text-wrap: balance;
}

.tcp-hero h1 em {
	color: var(--tep-sand);
	font-style: italic;
}

.tcp-hero__lead {
	max-width: 600px;
	margin: 0;
	color: rgba(255, 255, 255, .8);
	font-size: clamp(1rem, 1.6vw, 1.2rem);
	line-height: 1.7;
}

/* Hero backgrounds per page */
.tcp-hero--expertos .tcp-hero__media {
	background-image: url("https://theelephantbowl.com/wp-content/uploads/2025/09/IMG_3252.webp");
	background-position: center 30%;
}

.tcp-hero--contacto .tcp-hero__media {
	background-image: url("https://theelephantbowl.com/wp-content/uploads/2025/09/IMG_2809.webp");
	background-position: center 52%;
}

.tcp-hero--historia .tcp-hero__media {
	background-image: url("https://theelephantbowl.com/wp-content/uploads/2025/09/IMG_3252.webp");
	background-position: center 38%;
}

/* ══════════════════════════════════════════
   EXPERTOS
   ══════════════════════════════════════════ */

.tcp-team-section { background: var(--tep-paper); }

.tcp-team-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.tcp-team-card { min-width: 0; }

.tcp-team-card > a {
	display: grid;
	grid-template-rows: auto 1fr;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--tep-line);
	border-radius: 26px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(34, 48, 40, .045);
	color: inherit !important;
	text-decoration: none !important;
	transition: box-shadow .3s ease, transform .3s ease;
}

.tcp-team-card > a:hover {
	box-shadow: 0 22px 55px rgba(26, 42, 34, .12);
	transform: translateY(-4px);
}

.tcp-team-card__portrait {
	aspect-ratio: .85;
	overflow: hidden;
	background: var(--tep-cream-2);
}

.tcp-team-card__portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(.82);
	transition: filter .35s ease, transform .5s ease;
}

.tcp-team-card:hover .tcp-team-card__portrait img {
	filter: saturate(1);
	transform: scale(1.03);
}

.tcp-team-card__body {
	display: flex;
	flex-direction: column;
	padding: clamp(22px, 3vw, 32px);
}

.tcp-team-card h3 {
	margin-bottom: 14px;
	color: var(--tep-ink);
	font-family: var(--tc-display);
	font-size: clamp(1.6rem, 2.3vw, 2.15rem);
	font-weight: 400;
	line-height: 1.02;
}

.tcp-team-card__intro {
	margin: 0 0 20px;
	color: var(--tep-muted);
	font-size: .84rem;
	line-height: 1.65;
}

.tcp-team-card__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--tep-line);
	color: var(--tep-ink);
	font-size: .72rem;
	font-weight: 750;
}

.tcp-team-card__link .tep-icon {
	width: 16px;
	height: 16px;
}

/* Values grid (Expertos) */
.tcp-values-section { background: var(--tep-cream); }

.tcp-values-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-block: 1px solid var(--tep-line);
}

.tcp-values-grid article {
	padding: 38px clamp(22px, 3vw, 42px);
	border-right: 1px solid var(--tep-line);
}

.tcp-values-grid article:first-child { padding-left: 0; }
.tcp-values-grid article:last-child { border-right: 0; padding-right: 0; }

.tcp-values-grid article > span {
	display: block;
	margin-bottom: 48px;
	color: var(--tep-gold);
	font-size: .68rem;
	font-weight: 800;
}

.tcp-values-grid h3 {
	margin-bottom: 10px;
	color: var(--tep-ink);
	font-family: var(--tc-display);
	font-size: clamp(1.5rem, 2.2vw, 2rem);
	font-weight: 400;
	line-height: 1.05;
}

.tcp-values-grid p {
	margin: 0;
	color: var(--tep-muted);
	font-size: .88rem;
	line-height: 1.7;
}

/* ══════════════════════════════════════════
   CONTACTO
   ══════════════════════════════════════════ */

.tcp-channels-section { background: var(--tep-paper); }

.tcp-channels-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.tcp-channel-card {
	display: flex;
	min-height: 380px;
	flex-direction: column;
	padding: clamp(28px, 3.5vw, 42px);
	border: 1px solid var(--tep-line);
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 14px 40px rgba(31, 47, 38, .05);
}

.tcp-channel-card--featured {
	color: #fff;
	background: var(--tep-ink);
}

.tcp-channel-card--featured .tep-kicker { color: var(--tep-sand); }
.tcp-channel-card--featured h3 { color: #fff; }
.tcp-channel-card--featured p:not(.tep-kicker) { color: rgba(255, 255, 255, .7); }

.tcp-channel-card__icon {
	margin-bottom: 24px;
}

.tcp-wa-icon {
	width: 38px;
	height: 38px;
	color: #25d366;
}

.tcp-channel-card--featured .tcp-wa-icon { color: #fff; }

.tcp-channel-card__body {
	flex: 1;
}

.tcp-channel-card h3 {
	margin-bottom: 14px;
	color: var(--tep-ink);
	font-family: var(--tc-display);
	font-size: clamp(1.65rem, 2.4vw, 2.2rem);
	font-weight: 400;
	line-height: 1.04;
}

.tcp-channel-card__body > p:not(.tep-kicker) {
	margin: 0;
	color: var(--tep-muted);
	font-size: .88rem;
	line-height: 1.65;
}

.tcp-channel-card > .tep-button {
	width: 100%;
	margin-top: 26px;
}

/* Social section */
.tcp-social-section {
	background: var(--tep-cream);
}

.tcp-social-grid {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	align-items: center;
	gap: clamp(50px, 8vw, 110px);
}

.tcp-social-copy h2 {
	margin-bottom: 0;
	color: var(--tep-ink);
	font-family: var(--tc-display);
	font-size: clamp(2.6rem, 4.8vw, 4.5rem);
	font-weight: 400;
	letter-spacing: -.04em;
	line-height: .96;
}

.tcp-social-lead {
	margin: 22px 0 0;
	max-width: 480px;
	color: var(--tep-muted);
	font-size: .96rem;
	line-height: 1.7;
}

.tcp-social-links {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.tcp-social-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 22px 20px;
	border: 1px solid var(--tep-line);
	border-radius: 18px;
	background: #fff;
	color: inherit !important;
	text-decoration: none !important;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tcp-social-card:hover {
	border-color: var(--tep-gold);
	box-shadow: 0 8px 24px rgba(26, 42, 34, .08);
	transform: translateY(-2px);
}

.tcp-social-card > svg {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	color: var(--tep-ink);
}

.tcp-social-card > div {
	flex: 1;
	min-width: 0;
}

.tcp-social-card strong {
	display: block;
	color: var(--tep-ink);
	font-size: .86rem;
}

.tcp-social-card small {
	color: var(--tep-muted);
	font-size: .72rem;
}

.tcp-social-card > .tep-icon {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	color: var(--tep-muted);
}

/* Location section */
.tcp-location-section { background: var(--tep-paper); }

.tcp-location-card {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
	min-height: 480px;
	overflow: hidden;
	border: 1px solid var(--tep-line);
	border-radius: 34px;
	background: var(--tep-cream);
	box-shadow: var(--tep-shadow);
}

.tcp-location-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: clamp(38px, 6vw, 72px);
}

.tcp-location-info h2 {
	margin-bottom: 20px;
	color: var(--tep-ink);
	font-family: var(--tc-display);
	font-size: clamp(2.6rem, 4.5vw, 4.2rem);
	font-weight: 400;
	letter-spacing: -.04em;
	line-height: .96;
}

.tcp-location-info > p:not(.tep-eyebrow) {
	max-width: 520px;
	margin-bottom: 28px;
	color: var(--tep-muted);
	font-size: .94rem;
	line-height: 1.7;
}

.tcp-location-details {
	display: grid;
	gap: 0;
	width: 100%;
	margin: 0 0 30px;
	border-top: 1px solid var(--tep-line);
}

.tcp-location-details > div {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	padding: 16px 0;
	border-bottom: 1px solid var(--tep-line);
}

.tcp-location-details dt {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--tep-ink);
	font-size: .78rem;
	font-weight: 700;
}

.tcp-location-details dt .tep-icon {
	width: 16px;
	height: 16px;
	color: var(--tep-gold);
}

.tcp-location-details dd {
	margin: 0;
	color: var(--tep-muted);
	font-size: .82rem;
	text-align: right;
}

.tcp-location-map {
	background: url("https://theelephantbowl.com/wp-content/uploads/2025/09/IMG_2809.webp") center/cover no-repeat;
}

/* ══════════════════════════════════════════
   HISTORIA
   ══════════════════════════════════════════ */

.tcp-stats { background: var(--tep-cream); border-bottom: 1px solid var(--tep-line); }

.tcp-timeline-section { background: var(--tep-paper); }

.tcp-timeline {
	position: relative;
	display: grid;
	gap: 0;
	padding-left: 110px;
}

.tcp-timeline::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 90px;
	width: 1px;
	background: var(--tep-line);
	content: "";
}

.tcp-timeline__entry {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	padding: clamp(32px, 4vw, 50px) 0;
	border-bottom: 1px solid var(--tep-line);
}

.tcp-timeline__entry:last-child { border-bottom: 0; }

.tcp-timeline__year {
	position: absolute;
	left: -110px;
	top: clamp(32px, 4vw, 50px);
}

.tcp-timeline__year > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 72px;
	height: 38px;
	padding: 0 14px;
	border: 1px solid var(--tep-line);
	border-radius: 999px;
	background: var(--tep-paper);
	color: var(--tep-gold);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .08em;
}

.tcp-timeline__entry--now .tcp-timeline__year > span {
	border-color: var(--tep-gold);
	background: var(--tep-ink);
	color: var(--tep-sand);
}

.tcp-timeline__content h3 {
	margin-bottom: 14px;
	color: var(--tep-ink);
	font-family: var(--tc-display);
	font-size: clamp(1.8rem, 2.8vw, 2.6rem);
	font-weight: 400;
	line-height: 1.02;
}

.tcp-timeline__content p {
	max-width: 720px;
	margin: 0;
	color: var(--tep-muted);
	font-size: .92rem;
	line-height: 1.75;
}

.tcp-timeline__content em {
	font-style: italic;
}

/* Philosophy section (Historia) */
.tcp-philosophy-section { background: var(--tep-cream); }

.tcp-philosophy-grid {
	display: grid;
	grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
	align-items: center;
	gap: clamp(48px, 8vw, 110px);
}

.tcp-philosophy-media {
	min-height: 620px;
	border-radius: 240px 240px 28px 28px;
	background: url("https://theelephantbowl.com/wp-content/uploads/2025/09/IMG_3252.webp") center/cover no-repeat;
	box-shadow: var(--tep-shadow);
}

.tcp-philosophy-copy h2 {
	margin-bottom: 0;
	color: var(--tep-ink);
	font-family: var(--tc-display);
	font-size: clamp(2.8rem, 5.2vw, 4.9rem);
	font-weight: 400;
	letter-spacing: -.045em;
	line-height: .98;
}

.tcp-philosophy-lead {
	max-width: 600px;
	margin: 24px 0 36px;
	color: var(--tep-muted);
	font-size: 1.02rem;
	line-height: 1.75;
}

.tcp-philosophy-values {
	display: grid;
	margin-bottom: 30px;
	border-top: 1px solid var(--tep-line);
}

.tcp-philosophy-values > div {
	display: grid;
	grid-template-columns: 42px 1fr;
	align-items: baseline;
	gap: 14px;
	padding: 20px 0;
	border-bottom: 1px solid var(--tep-line);
}

.tcp-philosophy-values > div > span {
	color: var(--tep-gold);
	font-size: .68rem;
	font-weight: 800;
}

.tcp-philosophy-values h3 {
	margin: 0 0 6px;
	color: var(--tep-ink);
	font-size: 1.3rem;
}

.tcp-philosophy-values p {
	margin: 0;
	color: var(--tep-muted);
	font-size: .82rem;
}

/* ══════════════════════════════════════════
   TABLET (≤ 1024px)
   ══════════════════════════════════════════ */

@media (max-width: 1024px) {
	.tcp-hero { min-height: 540px; }
	.tcp-hero h1 { font-size: clamp(3.6rem, 10vw, 6rem); }

	/* Expertos */
	.tcp-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.tcp-values-grid { grid-template-columns: 1fr; border-top: 0; }
	.tcp-values-grid article { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--tep-line); }
	.tcp-values-grid article:first-child { padding-top: 0; border-top: 1px solid var(--tep-line); }
	.tcp-values-grid article:last-child { border-bottom: 1px solid var(--tep-line); }

	/* Contacto */
	.tcp-channels-grid { grid-template-columns: 1fr; }
	.tcp-channel-card { min-height: 0; }
	.tcp-social-grid { grid-template-columns: 1fr; gap: 38px; }
	.tcp-social-links { grid-template-columns: repeat(2, 1fr); }
	.tcp-location-card { grid-template-columns: 1fr; }
	.tcp-location-map { min-height: 340px; }

	/* Historia */
	.tcp-timeline { padding-left: 95px; }
	.tcp-timeline::before { left: 76px; }
	.tcp-timeline__year { left: -95px; }
	.tcp-philosophy-grid { grid-template-columns: 1fr; }
	.tcp-philosophy-media { min-height: 480px; }
}

/* ══════════════════════════════════════════
   MOBILE (≤ 760px)
   ══════════════════════════════════════════ */

@media (max-width: 760px) {
	.tcp-page { font-size: 15px; }
	.tcp-hero { min-height: calc(100svh - 68px); min-height: auto; align-items: end; }
	.tcp-hero__veil {
		background:
			linear-gradient(0deg, rgba(6, 28, 22, .96) 0%, rgba(6, 28, 22, .72) 60%, rgba(6, 28, 22, .32));
	}
	.tcp-hero h1 {
		font-size: clamp(3.2rem, 16vw, 4.8rem);
		line-height: .86;
	}
	.tcp-hero__lead { font-size: .96rem; }

	/* Expertos */
	.tcp-team-grid { grid-template-columns: 1fr; gap: 16px; }
	.tcp-team-card__portrait { aspect-ratio: 1.1; }
	.tcp-values-grid article > span { margin-bottom: 20px; }

	/* Contacto */
	.tcp-social-links { grid-template-columns: 1fr; }

	/* Historia */
	.tcp-timeline {
		padding-left: 0;
	}
	.tcp-timeline::before { display: none; }
	.tcp-timeline__year {
		position: static;
		margin-bottom: 18px;
	}
	.tcp-timeline__content h3 { font-size: clamp(1.6rem, 8vw, 2.2rem); }
	.tcp-philosophy-media {
		min-height: 420px;
		border-radius: 160px 160px 24px 24px;
	}
	.tcp-philosophy-values > div { grid-template-columns: 34px 1fr; }

	/* Contacto location */
	.tcp-location-card { border-radius: 24px; }
	.tcp-location-info { padding: 32px 24px; }
	.tcp-location-map { min-height: 280px; }
	.tcp-location-details > div { grid-template-columns: 1fr; gap: 4px; }
	.tcp-location-details dd { text-align: left; }
}

@media (max-width: 420px) {
	.tcp-hero h1 { overflow-wrap: anywhere; }
	.tcp-team-card__portrait { aspect-ratio: 1.2; }
}

@media (prefers-reduced-motion: reduce) {
	.tcp-page *,
	.tcp-page *::before,
	.tcp-page *::after {
		scroll-behavior: auto !important;
		transition-duration: .001ms !important;
	}
}

/* ── Ubicaciones ── */

.tcp-hero--ubicaciones .tcp-hero__media {
	background-image: url("https://theelephantbowl.com/wp-content/uploads/2025/09/IMG_2809.webp");
}

.tcp-map-section { padding-bottom: 0; }

.tcp-map-wrapper {
	width: 100%;
	margin-top: clamp(24px, 4vw, 48px);
}

/* Let the venue map break out of the .tep-shell container */
.tcp-map-wrapper .tcvm-locator.is-full-width {
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

.tcp-how-section { background: var(--tep-cream); }

.tcp-steps-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.tcp-step-card {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 18px;
	padding: clamp(28px, 3vw, 42px);
	border: 1px solid var(--tep-line);
	border-radius: 24px;
	background: #fff;
}

.tcp-step-card > span {
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	border: 1px solid var(--tep-line);
	border-radius: 50%;
	color: var(--tep-gold);
	font-size: .72rem;
	font-weight: 800;
}

.tcp-step-card h3 {
	margin-bottom: 10px;
	color: var(--tep-ink);
	font-family: var(--tc-display);
	font-size: clamp(1.4rem, 2vw, 1.8rem);
	font-weight: 400;
	line-height: 1.1;
}

.tcp-step-card p {
	margin: 0;
	color: var(--tep-muted);
	font-size: .88rem;
	line-height: 1.65;
}

@media (max-width: 760px) {
	.tcp-steps-grid {
		grid-template-columns: 1fr;
	}
}
