/* ================================================================
   Telosa Page — HGSSS
   Brand: Telosa Steel #2A3D45 | Warm accent #C89F5E | Ivory #F6F1E7
   Logo guidelines: 2-color reverse on Telosa Steel is preferred.
   Tagline: upper/lowercase, Arial substitute for Buenos Aires.
   ================================================================ */

.telosa-page {
	--tel-steel:    #2A3D45;
	--tel-steel-2:  #1C2A30;
	--tel-steel-3:  rgba(42, 61, 69, 0.92);
	--tel-accent:   #C89F5E;
	--tel-accent-2: #B88846;
	--tel-accent-glow: rgba(200, 159, 94, 0.35);
	--tel-ivory:    #F6F1E7;
	--tel-warm:     #FAF6EC;
	--tel-sage:     #3D6B5E;
	--tel-sage-light: #E8F0EC;
	--tel-ink:      #1A2328;
	--tel-muted:    #5B6A72;
	--tel-line:     rgba(42, 61, 69, 0.12);
	--tel-radius:   14px;
	--tel-shadow:   0 20px 50px -20px rgba(42, 61, 69, 0.35);

	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--tel-ink);
	line-height: 1.6;
	background: #fff;
	overflow-x: hidden;
}

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

.tel-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}
.tel-container-narrow { max-width: 860px; }

.tel-section {
	padding: 110px 0;
	position: relative;
}

.tel-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--tel-accent-2);
	margin-bottom: 14px;
}
/* Gold underline accent on eyebrows */
.tel-eyebrow::after {
	content: '';
	display: block;
	width: 40px;
	height: 2px;
	background: var(--tel-accent);
	margin-top: 10px;
}
.tel-section-header .tel-eyebrow::after {
	margin-left: auto;
	margin-right: auto;
}
.tel-eyebrow-light { color: var(--tel-accent); }
.tel-eyebrow-light::after { background: var(--tel-accent); }

.tel-h2 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.15;
	font-weight: 700;
	margin: 0 0 20px;
	letter-spacing: -0.01em;
	color: var(--tel-steel);
}
.tel-h2-light { color: #fff; }
.tel-h2 em { font-style: italic; color: var(--tel-accent-2); }

.tel-section-header {
	text-align: center;
	margin-bottom: 60px;
}
.tel-section-sub {
	max-width: 640px;
	margin: 0 auto;
	color: var(--tel-muted);
	font-size: 17px;
}

.tel-accent { color: var(--tel-accent); }

/* Glass card — solid panel for text over background images (light variant).
   Uses near-opaque white so text is always readable regardless of
   backdrop-filter browser support or stacking context issues. */
.tel-glass-card {
	background: rgba(255, 255, 255, 0.95) !important;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(42, 61, 69, 0.1);
	border-radius: var(--tel-radius);
	padding: 40px 38px !important;
	box-shadow: 0 8px 32px rgba(42, 61, 69, 0.2);
	position: relative;
	z-index: 2;
}
/* Glass card — dark variant for sections with dark overlays (e.g. Signup) */
.tel-glass-card-dark {
	background: rgba(28, 42, 48, 0.88) !important;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--tel-radius);
	padding: 48px 44px !important;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
	position: relative;
	z-index: 2;
}

/* Section divider — decorative angled separator between sections */
.tel-divider {
	position: relative;
	height: 80px;
	overflow: hidden;
}
.tel-divider::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: -5%;
	width: 110%;
	height: 100%;
	background: inherit;
	transform: skewY(-2deg);
	transform-origin: bottom left;
}

/* ------------------------------ HERO ------------------------------ */

.tel-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	color: #fff;
	text-align: center;
	isolation: isolate;

	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: scroll;
	animation: tel-hero-zoom 22s ease-out forwards;
}
@keyframes tel-hero-zoom {
	from { background-size: 100% auto; }
	to   { background-size: 112% auto; }
}

.tel-hero-overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(28,42,48,0.55) 0%, rgba(28,42,48,0.75) 60%, rgba(28,42,48,0.92) 100%),
		radial-gradient(ellipse at center, rgba(42,61,69,0.3) 0%, rgba(28,42,48,0.6) 100%);
}

.tel-hero-content {
	max-width: 900px;
	padding: 0 24px;
	position: relative;
	z-index: 1;
}

.tel-hero-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(44px, 7vw, 86px);
	font-weight: 700;
	line-height: 1.05;
	margin: 0 0 20px;
	letter-spacing: -0.02em;
	text-shadow: 0 4px 30px rgba(0,0,0,0.45);
}
.tel-hero-tagline {
	/* Janet: Arial substitute for Buenos Aires, upper and lowercase */
	font-family: Arial, 'Inter', sans-serif;
	font-size: clamp(17px, 1.6vw, 22px);
	font-weight: 300;
	max-width: 680px;
	margin: 0 auto 40px;
	opacity: 0.92;
	line-height: 1.55;
}

.tel-hero-ctas {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

.tel-btn {
	display: inline-block;
	padding: 16px 34px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 2px;
	transition: all 0.35s cubic-bezier(.2,.7,.3,1);
	border: 2px solid transparent;
	cursor: pointer;
	font-family: inherit;
}
.tel-btn-primary {
	background: var(--tel-accent);
	color: var(--tel-steel-2);
	border-color: var(--tel-accent);
}
.tel-btn-primary:hover {
	background: #d8ae6b;
	border-color: #d8ae6b;
	transform: translateY(-2px);
	box-shadow: 0 14px 30px -10px rgba(200,159,94,0.6);
}
.tel-btn-ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255,255,255,0.55);
}
.tel-btn-ghost:hover {
	background: rgba(255,255,255,0.12);
	border-color: #fff;
	transform: translateY(-2px);
}

.tel-scroll-indicator {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	width: 24px;
	height: 40px;
	border: 2px solid rgba(255,255,255,0.55);
	border-radius: 14px;
	z-index: 2;
}
.tel-scroll-indicator span {
	position: absolute;
	top: 8px; left: 50%;
	width: 3px; height: 8px;
	background: #fff;
	border-radius: 2px;
	transform: translateX(-50%);
	animation: tel-scroll-dot 2s ease-in-out infinite;
}
@keyframes tel-scroll-dot {
	0%, 20%   { transform: translate(-50%, 0);    opacity: 1; }
	80%, 100% { transform: translate(-50%, 14px); opacity: 0; }
}

/* --------------------------- STICKY NAV --------------------------- */

.tel-nav {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255,255,255,0.96);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--tel-line);
	transform: translateY(-100%);
	transition: transform 0.45s cubic-bezier(.2,.7,.3,1);
}
.tel-nav.is-visible { transform: translateY(0); }

.tel-nav-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 66px;
}
.tel-nav-brand {
	font-weight: 800;
	letter-spacing: 0.32em;
	color: var(--tel-steel);
	text-decoration: none;
	font-size: 14px;
}
.tel-nav-links {
	list-style: none;
	display: flex;
	gap: 4px;
	margin: 0; padding: 0;
	align-items: center;
}
.tel-nav-links a {
	display: inline-block;
	padding: 8px 14px;
	text-decoration: none;
	color: var(--tel-muted);
	font-size: 13px;
	font-weight: 500;
	border-radius: 4px;
	transition: color 0.2s, background 0.2s;
}
.tel-nav-links a:hover,
.tel-nav-links a.is-active { color: var(--tel-steel); background: rgba(42,61,69,0.06); }

.tel-nav-cta {
	background: var(--tel-steel) !important;
	color: #fff !important;
	padding: 10px 18px !important;
	margin-left: 8px;
}
.tel-nav-cta:hover { background: var(--tel-steel-2) !important; }

.tel-nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}
.tel-nav-toggle span {
	display: block;
	width: 22px; height: 2px;
	background: var(--tel-steel);
	transition: transform 0.3s, opacity 0.3s;
}

/* ----------------------------- ABOUT ------------------------------ */

.tel-about {
	background-color: var(--tel-warm);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	overflow: hidden;
	isolation: isolate;
}
/* Light overlay — lets background image show through;
   glass card (.tel-glass-card) handles text readability. */
.tel-about::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(160deg, rgba(250,246,236,0.35) 0%, rgba(250,246,236,0.40) 100%);
	pointer-events: none;
}
/* Decorative accent glow — top right */
.tel-about::after {
	content: '';
	position: absolute;
	top: -120px;
	right: -120px;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--tel-accent-glow) 0%, transparent 70%);
	pointer-events: none;
	z-index: 0;
}

.tel-about-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 70px;
	align-items: center;
	position: relative;
	z-index: 1;
}
.tel-lead {
	font-size: 20px;
	line-height: 1.6;
	color: var(--tel-ink);
	font-weight: 400;
}

.tel-quote {
	margin: 32px 0 0;
	padding: 28px 32px;
	border-left: 4px solid var(--tel-accent);
	background: #fff;
	border-radius: 0 var(--tel-radius) var(--tel-radius) 0;
	box-shadow: var(--tel-shadow);
	position: relative;
}
/* Decorative large quotation mark */
.tel-quote::before {
	content: '\201C';
	position: absolute;
	top: -10px;
	left: 18px;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 80px;
	line-height: 1;
	color: var(--tel-accent);
	opacity: 0.2;
	pointer-events: none;
}
.tel-quote p {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 19px;
	font-style: italic;
	margin: 0 0 12px;
	color: var(--tel-steel);
	line-height: 1.55;
}
.tel-quote cite {
	font-size: 13px;
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: var(--tel-muted);
}

.tel-visual-card {
	background: linear-gradient(155deg, var(--tel-steel) 0%, var(--tel-steel-2) 100%);
	color: #fff;
	padding: 44px 38px;
	border-radius: var(--tel-radius);
	position: relative;
	overflow: hidden;
	box-shadow: var(--tel-shadow);
}
.tel-visual-card::before {
	content: '';
	position: absolute;
	top: -80px; right: -80px;
	width: 260px; height: 260px;
	background: radial-gradient(circle, var(--tel-accent) 0%, transparent 70%);
	opacity: 0.25;
}
/* Secondary decorative glow — bottom left of card */
.tel-visual-card::after {
	content: '';
	position: absolute;
	bottom: -60px; left: -60px;
	width: 200px; height: 200px;
	background: radial-gradient(circle, rgba(61,107,94,0.3) 0%, transparent 70%);
	pointer-events: none;
}
.tel-visual-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.32em;
	padding: 6px 12px;
	background: var(--tel-accent);
	color: var(--tel-steel-2);
	border-radius: 2px;
	margin-bottom: 20px;
	position: relative;
	z-index: 1;
}
.tel-visual-card h3 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 28px;
	margin: 0 0 14px;
	line-height: 1.2;
	position: relative;
	z-index: 1;
}
.tel-visual-card p {
	margin: 0;
	opacity: 0.88;
	font-size: 15px;
	line-height: 1.65;
	position: relative;
	z-index: 1;
}

/* ----------------------------- STATS ------------------------------ */

.tel-stats {
	background-color: var(--tel-steel-2);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	color: #fff;
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.tel-stats-overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(140deg, rgba(42,61,69,0.40) 0%, rgba(28,42,48,0.50) 100%),
		radial-gradient(ellipse at 75% 20%, rgba(200,159,94,0.15) 0%, transparent 55%);
	pointer-events: none;
}
.tel-stats .tel-container {
	position: relative;
	z-index: 1;
}
@media (max-width: 1024px) {
	.tel-stats { background-attachment: scroll; }
}

.tel-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	position: relative;
}

.tel-stat {
	text-align: center;
	padding: 34px 20px;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: var(--tel-radius);
	transition: transform 0.4s, background 0.4s, border-color 0.4s;
	position: relative;
	overflow: hidden;
}
/* Subtle glow effect on stat cards */
.tel-stat::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, var(--tel-accent-glow) 0%, transparent 60%);
	opacity: 0;
	transition: opacity 0.5s;
	pointer-events: none;
}
.tel-stat:hover {
	background: rgba(255,255,255,0.1);
	transform: translateY(-6px);
	border-color: var(--tel-accent);
}
.tel-stat:hover::before {
	opacity: 0.3;
}
.tel-stat-num {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(40px, 5vw, 60px);
	font-weight: 700;
	color: var(--tel-accent);
	line-height: 1;
	margin-bottom: 12px;
}
.tel-stat-label {
	font-size: 14px;
	opacity: 0.82;
	letter-spacing: 0.02em;
}

/* ------------------------------ FAQ ------------------------------- */

.tel-faq {
	background-color: var(--tel-sage-light);
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	background-attachment: fixed;
	overflow: hidden;
	isolation: isolate;
}
@media (max-width: 1024px) {
	.tel-faq { background-attachment: scroll; }
}
/* Light overlay — lets the background image show through;
   FAQ cards (.tel-faq-card) have white backgrounds for readability. */
.tel-faq::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(232,240,236,0.40) 50%, rgba(255,255,255,0.35) 100%);
	pointer-events: none;
}
/* Decorative ring accent */
.tel-faq::after {
	content: '';
	position: absolute;
	top: 60px;
	right: -100px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	border: 2px solid var(--tel-accent);
	opacity: 0.12;
	pointer-events: none;
	z-index: 0;
}

/* FAQ 2-column card grid layout */
.tel-faq-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin-top: 20px;
	position: relative;
	z-index: 1;
}

.tel-faq-card {
	background: #fff;
	border-radius: var(--tel-radius);
	padding: 0;
	overflow: hidden;
	box-shadow: 0 4px 20px -8px rgba(42,61,69,0.15);
	border: 1px solid var(--tel-line);
	transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
	cursor: pointer;
	position: relative;
}
.tel-faq-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px -12px rgba(42,61,69,0.25);
	border-color: var(--tel-accent);
}

.tel-faq-card-head {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 28px 28px 20px;
	background: transparent;
	border: none;
	width: 100%;
	text-align: left;
	cursor: pointer;
	font-family: inherit;
	transition: background 0.2s;
}
.tel-faq-card-head:hover {
	background: var(--tel-warm);
}

.tel-faq-num {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	background: var(--tel-steel);
}
/* Alternating badge colors */
.tel-faq-card:nth-child(2n) .tel-faq-num { background: var(--tel-accent-2); color: var(--tel-steel-2); }
.tel-faq-card:nth-child(3n) .tel-faq-num { background: var(--tel-sage); }

.tel-faq-card-q {
	flex: 1;
	font-size: 17px;
	font-weight: 600;
	color: var(--tel-steel);
	line-height: 1.4;
	padding-top: 8px;
}

.tel-faq-card-icon {
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	position: relative;
	margin-top: 8px;
}
.tel-faq-card-icon::before,
.tel-faq-card-icon::after {
	content: '';
	position: absolute;
	top: 50%; left: 50%;
	width: 14px; height: 2px;
	background: var(--tel-accent-2);
	transform: translate(-50%, -50%);
	transition: transform 0.35s;
}
.tel-faq-card-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.tel-faq-card.is-open .tel-faq-card-icon::after { transform: translate(-50%, -50%) rotate(0); }

.tel-faq-card-body {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.45s cubic-bezier(.2,.7,.3,1);
}
.tel-faq-card-body-inner {
	padding: 0 28px 28px;
	padding-left: 90px; /* align with text, past the number badge */
	color: var(--tel-muted);
	font-size: 15px;
	line-height: 1.7;
}

.tel-faq-card.is-open {
	border-color: var(--tel-accent);
	box-shadow: 0 16px 40px -12px rgba(42,61,69,0.25);
}

/* Gold accent line at top of open card */
.tel-faq-card.is-open::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--tel-accent), var(--tel-sage));
}

/* Legacy accordion selectors kept for JS compatibility */
.tel-accordion { margin-top: 20px; }
.tel-accordion-item {
	border: 1px solid var(--tel-line);
	border-radius: var(--tel-radius);
	margin-bottom: 14px;
	overflow: hidden;
	transition: box-shadow 0.3s, border-color 0.3s;
	background: #fff;
}
.tel-accordion-item.is-open {
	box-shadow: var(--tel-shadow);
	border-color: var(--tel-accent);
}
.tel-accordion-head {
	width: 100%;
	text-align: left;
	background: transparent;
	border: none;
	padding: 24px 30px;
	font-family: inherit;
	font-size: 17px;
	font-weight: 600;
	color: var(--tel-steel);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	transition: background 0.2s;
}
.tel-accordion-head:hover { background: var(--tel-warm); }
.tel-accordion-q { flex: 1; }
.tel-accordion-icon {
	flex: 0 0 24px;
	width: 24px; height: 24px;
	position: relative;
}
.tel-accordion-icon::before,
.tel-accordion-icon::after {
	content: '';
	position: absolute;
	top: 50%; left: 50%;
	width: 14px; height: 2px;
	background: var(--tel-accent-2);
	transform: translate(-50%, -50%);
	transition: transform 0.35s;
}
.tel-accordion-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.tel-accordion-item.is-open .tel-accordion-icon::after { transform: translate(-50%, -50%) rotate(0); }
.tel-accordion-body {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.45s cubic-bezier(.2,.7,.3,1);
}
.tel-accordion-body-inner {
	padding: 0 30px 26px;
	color: var(--tel-muted);
	font-size: 16px;
	line-height: 1.7;
}

/* ---------------------------- VIDEOS ------------------------------ */

.tel-videos { background: var(--tel-warm); }

/* Featured + grid: first video spans 2 columns */
.tel-video-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.tel-video-card:first-child {
	grid-column: span 2;
	grid-row: span 2;
}
.tel-video-card:first-child .tel-video-thumb {
	aspect-ratio: auto;
	height: 100%;
	min-height: 360px;
}

.tel-video-card {
	background: #fff;
	border: none;
	padding: 0;
	text-align: left;
	border-radius: var(--tel-radius);
	overflow: hidden;
	cursor: pointer;
	font-family: inherit;
	box-shadow: 0 6px 20px -10px rgba(42,61,69,0.3);
	transition: transform 0.4s, box-shadow 0.4s;
}
.tel-video-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 40px -15px rgba(42,61,69,0.4);
}

.tel-video-thumb {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--tel-steel);
}
.tel-video-thumb img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s;
}
.tel-video-card:hover .tel-video-thumb img { transform: scale(1.08); }

.tel-video-play {
	position: absolute;
	top: 50%; left: 50%;
	width: 68px; height: 68px;
	background: rgba(255,255,255,0.96);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.35s, background 0.35s;
	box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.tel-video-play::before {
	content: '';
	width: 0; height: 0;
	border-left: 20px solid var(--tel-steel);
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	margin-left: 5px;
}
.tel-video-card:hover .tel-video-play {
	transform: translate(-50%, -50%) scale(1.12);
	background: var(--tel-accent);
}
.tel-video-card:hover .tel-video-play::before {
	border-left-color: var(--tel-steel-2);
}

.tel-video-meta { padding: 22px 24px; }
.tel-video-meta h3 {
	font-size: 17px;
	margin: 0 0 6px;
	color: var(--tel-steel);
	font-weight: 600;
	line-height: 1.3;
}
.tel-video-meta p {
	margin: 0;
	color: var(--tel-muted);
	font-size: 14px;
}

/* --------------------------- ARTICLES ----------------------------- */

.tel-articles {
	background: #fff;
	overflow: hidden;
}
/* Decorative accent */
.tel-articles::before {
	content: '';
	position: absolute;
	bottom: -80px;
	right: -80px;
	width: 350px;
	height: 350px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(200,159,94,0.1) 0%, transparent 70%);
	pointer-events: none;
}

/* Magazine layout: first article featured full-width */
.tel-articles-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
	position: relative;
	z-index: 1;
}
.tel-article-card:first-child {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	flex-direction: row;
}
.tel-article-card:first-child .tel-article-img {
	aspect-ratio: 16 / 10;
	min-height: 280px;
	border-radius: var(--tel-radius) 0 0 var(--tel-radius);
}
.tel-article-card:first-child .tel-article-body {
	padding: 36px 32px;
	justify-content: center;
}
.tel-article-card:first-child .tel-article-body h3 {
	font-size: 26px;
}

.tel-article-card {
	display: flex;
	flex-direction: column;
	border-radius: var(--tel-radius);
	overflow: hidden;
	background: #fff;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 6px 20px -10px rgba(42,61,69,0.25);
	transition: transform 0.4s, box-shadow 0.4s;
}
.tel-article-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 40px -15px rgba(42,61,69,0.4);
}

.tel-article-img {
	aspect-ratio: 16 / 10;
	background-size: cover;
	background-position: center;
	transition: transform 0.7s;
	overflow: hidden;
}
.tel-article-card:hover .tel-article-img { transform: scale(1.06); }

.tel-article-body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.tel-article-date {
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--tel-accent-2);
	font-weight: 600;
}
.tel-article-body h3 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 19px;
	line-height: 1.3;
	margin: 10px 0;
	color: var(--tel-steel);
}
.tel-article-body p {
	margin: 0 0 16px;
	color: var(--tel-muted);
	font-size: 14px;
	line-height: 1.6;
	flex: 1;
}
.tel-article-more {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--tel-accent-2);
	text-transform: uppercase;
	transition: color 0.3s, letter-spacing 0.3s;
}
.tel-article-card:hover .tel-article-more {
	color: var(--tel-steel);
	letter-spacing: 0.14em;
}

/* ------------------------------ FEED ------------------------------ */

.tel-feed {
	background: linear-gradient(180deg, var(--tel-warm) 0%, var(--tel-sage-light) 100%);
}

/* Feed layout: Facebook embed left + social links sidebar right */
.tel-feed-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 40px;
	align-items: start;
	max-width: 1000px;
	margin: 0 auto;
}

.tel-feed-embed {
	background: #fff;
	border-radius: var(--tel-radius);
	padding: 16px;
	box-shadow: var(--tel-shadow);
	min-height: 400px;
	overflow: hidden;
}
/* Make the FB iframe responsive within the container */
.tel-feed-embed .fb-page,
.tel-feed-embed .fb-page iframe,
.tel-feed-embed .fb-page span {
	width: 100% !important;
}

.tel-feed-sidebar {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.tel-feed-sidebar-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 20px;
	font-weight: 700;
	color: var(--tel-steel);
	margin: 0 0 4px;
}

.tel-social-card {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	background: #fff;
	border-radius: var(--tel-radius);
	text-decoration: none;
	color: inherit;
	box-shadow: 0 4px 20px -8px rgba(42,61,69,0.15);
	border: 1px solid var(--tel-line);
	transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.tel-social-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px -10px rgba(42,61,69,0.25);
	border-color: var(--tel-accent);
}

.tel-social-card-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	flex-shrink: 0;
}
.tel-social-card-linkedin { background: #0A66C2; }
.tel-social-card-youtube  { background: #FF0000; }
.tel-social-card-instagram { background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #F77737 100%); }
.tel-social-card-x { background: var(--tel-ink); }

.tel-social-card-body {
	flex: 1;
	min-width: 0;
}
.tel-social-card-body h3 {
	font-size: 15px;
	font-weight: 700;
	color: var(--tel-steel);
	margin: 0 0 2px;
	line-height: 1.3;
}
.tel-social-card-body p {
	margin: 0;
	color: var(--tel-muted);
	font-size: 13px;
	line-height: 1.4;
}

@media (max-width: 768px) {
	.tel-feed-layout {
		grid-template-columns: 1fr;
	}
	.tel-feed-sidebar {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 12px;
	}
	.tel-social-card {
		flex: 1;
		min-width: 140px;
	}
	.tel-social-card-body p { display: none; }
}

/* Legacy feed wrap kept for backwards compat */
.tel-feed-wrap {
	max-width: 640px;
	margin: 0 auto;
	background: #fff;
	border-radius: var(--tel-radius);
	padding: 16px;
	box-shadow: var(--tel-shadow);
	min-height: 400px;
}

/* ----------------------------- SIGNUP ----------------------------- */

.tel-signup {
	background-color: var(--tel-steel-2);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	color: #fff;
	padding: 100px 0;
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
@media (max-width: 1024px) {
	.tel-signup { background-attachment: scroll; }
}
/* Dark overlay with accent glow — aerial stadium render visible underneath */
/* Light overlay — lets the background image show through while the
   glass card (.tel-glass-card-dark) handles text readability. */
.tel-signup::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(140deg, rgba(42,61,69,0.35) 0%, rgba(28,42,48,0.45) 100%);
	pointer-events: none;
}
.tel-signup::after {
	content: '';
	position: absolute;
	bottom: -80px;
	left: -80px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(61,107,94,0.15) 0%, transparent 70%);
	pointer-events: none;
	z-index: 0;
}

.tel-signup-card {
	text-align: center;
	position: relative;
	z-index: 1;
	max-width: 700px;
	margin: 0 auto;
}
.tel-signup-card > p {
	max-width: 520px;
	margin: 0 auto 34px;
	opacity: 0.9;
}

.tel-signup-form {
	display: flex;
	gap: 12px;
	max-width: 640px;
	margin: 0 auto;
	flex-wrap: wrap;
}
.tel-signup-form input {
	flex: 1;
	min-width: 180px;
	padding: 16px 20px;
	border: 1px solid rgba(255,255,255,0.2);
	background: rgba(255,255,255,0.08);
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	border-radius: 4px;
	transition: border-color 0.2s, background 0.2s;
}
.tel-signup-form input::placeholder { color: rgba(255,255,255,0.55); }
.tel-signup-form input:focus {
	outline: none;
	border-color: var(--tel-accent);
	background: rgba(255,255,255,0.12);
}
.tel-signup-form button {
	flex: 0 0 auto;
}

.tel-signup-msg {
	margin-top: 18px;
	font-size: 15px;
	min-height: 24px;
	font-weight: 500;
}
.tel-signup-msg.is-success { color: var(--tel-accent); }
.tel-signup-msg.is-error   { color: #ff9999; }

/* ---------------------------- LIGHTBOX ---------------------------- */

.tel-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(10, 16, 20, 0.92);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s, visibility 0.35s;
}
.tel-lightbox.is-open { opacity: 1; visibility: visible; }

.tel-lightbox-inner {
	width: 100%;
	max-width: 1000px;
	position: relative;
}
.tel-lightbox-frame {
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 8px;
	overflow: hidden;
}
.tel-lightbox-frame iframe {
	width: 100%; height: 100%;
	border: 0;
}
.tel-lightbox-close {
	position: absolute;
	top: 20px; right: 24px;
	width: 44px; height: 44px;
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.25);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	border-radius: 50%;
	transition: background 0.25s, transform 0.25s;
}
.tel-lightbox-close:hover {
	background: var(--tel-accent);
	transform: rotate(90deg);
}

/* -------------------------- SCROLL REVEAL ------------------------- */

[data-reveal] {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s cubic-bezier(.2,.7,.3,1), transform 0.8s cubic-bezier(.2,.7,.3,1);
	will-change: opacity, transform;
}
[data-reveal="fade-right"] { transform: translateX(-30px); }
[data-reveal="fade-left"]  { transform: translateX(30px); }
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* ------------------------- RESPONSIVE ------------------------- */

@media (max-width: 1024px) {
	.tel-about-grid { grid-template-columns: 1fr; gap: 50px; }
	.tel-stats-grid { grid-template-columns: repeat(2, 1fr); }
	.tel-video-grid { grid-template-columns: repeat(2, 1fr); }
	.tel-video-card:first-child { grid-column: span 2; grid-row: span 1; }
	.tel-video-card:first-child .tel-video-thumb { min-height: auto; aspect-ratio: 16/9; }
	.tel-articles-grid { grid-template-columns: repeat(2, 1fr); }
	.tel-article-card:first-child { grid-column: 1 / -1; }
	.tel-faq-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.tel-section { padding: 80px 0; }
	.tel-nav-links {
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: #fff;
		flex-direction: column;
		padding: 20px;
		gap: 2px;
		border-bottom: 1px solid var(--tel-line);
		box-shadow: 0 10px 20px -10px rgba(0,0,0,0.15);
		transform: translateY(-10px);
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s;
	}
	.tel-nav.is-open .tel-nav-links { transform: translateY(0); opacity: 1; visibility: visible; }
	.tel-nav-toggle { display: flex; }
	.tel-nav-links a { display: block; width: 100%; padding: 12px 14px; }

	.tel-hero-title { font-size: clamp(36px, 9vw, 56px); }
	.tel-hero-ctas { flex-direction: column; align-items: stretch; padding: 0 24px; }
	.tel-stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
	.tel-video-grid { grid-template-columns: 1fr; }
	.tel-video-card:first-child { grid-column: span 1; grid-row: span 1; }
	.tel-video-card:first-child .tel-video-thumb { min-height: auto; aspect-ratio: 16/9; }
	.tel-articles-grid { grid-template-columns: 1fr; }
	.tel-article-card:first-child { grid-template-columns: 1fr; }
	.tel-article-card:first-child .tel-article-img { border-radius: var(--tel-radius) var(--tel-radius) 0 0; min-height: 200px; }
	.tel-faq-grid { grid-template-columns: 1fr; }
	.tel-faq-card-body-inner { padding-left: 28px; }
	.tel-accordion-head { padding: 20px; font-size: 16px; }
	.tel-accordion-body-inner { padding: 0 20px 22px; font-size: 15px; }
	.tel-signup-form { flex-direction: column; }
	.tel-signup-form button { width: 100%; }
}

@media (max-width: 480px) {
	.tel-stats-grid { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	[data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
	.tel-scroll-indicator span { animation: none !important; }
	.tel-hero { animation: none !important; }
	.tel-stat::before { display: none; }
}

/* ================================================================
   Hero defense-in-depth: mask anything the theme may render above
   the hero (e.g. featured-image banner) with a Telosa Steel band.
   ================================================================ */
body.page .telosa-page { margin-top: 0 !important; }
body.page .telosa-page .tel-hero { margin-top: 0; }
.telosa-page::before {
	content: "";
	display: block;
	position: relative;
	background: #1C2A30;
	height: 0;
	margin-left: calc(50% - 50vw);
	width: 100vw;
}
body.page #main:has(.telosa-page),
body.page .container_wrap:has(.telosa-page) {
	padding-top: 0 !important;
}

/* ================================================================
   Social handles row (beneath @CityofTelosa timeline)
   ================================================================ */
.tel-social-row {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	margin-top: 28px;
	flex-wrap: wrap;
}
.tel-social-row a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--tel-steel);
	color: var(--tel-steel);
	background: #fff;
	text-decoration: none;
	transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.tel-social-row a:hover,
.tel-social-row a:focus-visible {
	background: var(--tel-accent);
	color: #fff;
	border-color: var(--tel-accent);
	transform: translateY(-2px);
}
.tel-social-row svg { display: block; }

/* ================================================================
   [hgsss_stats] embed variant — lighter padding for inline use
   on non-Telosa pages (e.g. About / Home).
   ================================================================ */
.tel-stats-embed {
	background-image: none;
	background-color: var(--tel-steel);
}
.tel-stats-embed.tel-section { padding: 70px 0; }

/* Feed fallback link under the X timeline */
.tel-feed-fallback {
	margin: 18px 0 0;
	text-align: center;
	font-size: 14px;
	color: var(--tel-muted);
}
.tel-feed-fallback a {
	color: var(--tel-accent-2);
	text-decoration: none;
	font-weight: 600;
}
.tel-feed-fallback a:hover { text-decoration: underline; }
