/*
Theme Name: Betheme Child - Sectram Partners
Theme URI: https://sectrampartners.com
Author: Trade System
Description: Betheme child theme for Sectram Partners SA. 2026-11 refresh: same layout and colours, cleaner type, local fonts, privacy-friendly map.
Template: betheme
Version: 2.0.0
*/

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
	--sp-ink: #161922;
	--sp-text: #4a4e57;
	--sp-green: #1d5f1c;
	--sp-green-deep: #144313;
	--sp-green-soft: #a4cba1;
	--sp-graphite: #292b33;
	--sp-slate: #3d5266;
	--sp-line: rgba(22, 25, 34, .12);
	--sp-on-dark: #d4d7dd;
	--sp-on-dark-muted: #a3a8b3;
	--sp-display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
	--sp-body: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
	--sp-section: clamp(64px, 9vw, 120px);
}

/* ==========================================================================
   Base
   ========================================================================== */

body {
	color: var(--sp-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h5, h6 { color: var(--sp-ink); }
h1, h2, h3 { letter-spacing: -.005em; }

::selection { background: var(--sp-green); color: #fff; }

a { text-underline-offset: .18em; }

:focus-visible {
	outline: 2px solid var(--sp-green);
	outline-offset: 3px;
}

/* Text set on the dark brand surfaces */
.mcb-wrap[style*="#292b33"] a:not(.button),
.section[style*="#292b33"] a:not(.button) { color: #fff; }

/* ==========================================================================
   Side header (Betheme "creative", right)
   ========================================================================== */

#Header_creative {
	box-shadow: -1px 0 0 var(--sp-line);
}

#Header_creative #Top_bar .logo { margin-bottom: 18px; }

#Header_creative #menu > ul > li > a {
	font-family: var(--sp-display);
	font-weight: 400;
	letter-spacing: .01em;
	transition: color .2s ease;
}

#Header_creative #menu > ul > li > a span {
	text-decoration: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 1px;
	text-underline-offset: 7px;
	transition: text-decoration-color .25s ease;
}

#Header_creative #menu > ul > li.current-menu-item > a span,
#Header_creative #menu > ul > li.current-menu-ancestor > a span,
#Header_creative #menu > ul > li > a:hover span {
	text-decoration-color: var(--sp-green);
}

#Header_creative #menu ul.sub-menu li a {
	font-family: var(--sp-display);
	font-size: 14px;
}

/* Action bar: the old slogan/phone fields are empty now */
#Action_bar .slogan, #Action_bar .contact_details { display: none; }

/* Betheme reserves 250px for a header image when a page has no slider */
body.home:not(.template-slider) #Header { min-height: 0; }

/* ==========================================================================
   Page title (subheader)
   ========================================================================== */

#Subheader {
	padding: 56px 0 48px;
}

#Subheader .title {
	font-family: var(--sp-display);
	font-style: normal;
	font-weight: 300;
	letter-spacing: .01em;
	margin-bottom: 10px;
}

#Subheader ul.breadcrumbs {
	font-size: 13px;
	letter-spacing: .02em;
	opacity: .85;
}

/* ==========================================================================
   Hero (home, first builder section with class "sp-hero")
   ========================================================================== */

.section.sp-hero {
	position: relative;
	background-position: center 40% !important;
	background-size: cover !important;
	isolation: isolate;
}

.section.sp-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(22, 25, 34, .38) 0%, rgba(22, 25, 34, .08) 38%, rgba(22, 25, 34, .12) 62%, rgba(22, 25, 34, .62) 100%);
}

.sp-hero .section_wrapper { text-align: center; }

.sp-hero__mark {
	display: block;
	width: clamp(130px, 12vw, 176px);
	height: auto;
	margin: 0 auto 26px;
}

.sp-hero h1.sp-hero__title {
	font-family: var(--sp-display);
	font-weight: 300;
	font-size: clamp(32px, 4.3vw, 60px);
	line-height: 1.12;
	letter-spacing: -.01em;
	color: #fff;
	max-width: 21ch;
	margin: 0 auto;
	text-wrap: balance;
	text-shadow: 0 2px 28px rgba(0, 0, 0, .28);
}

.sp-hero__rule {
	display: block;
	width: 56px;
	height: 2px;
	margin: 28px auto 24px;
	background: var(--sp-green-soft);
	border: 0;
}

.sp-hero__lead {
	font-family: var(--sp-display);
	font-weight: 400;
	font-size: clamp(15px, 1.25vw, 18px);
	line-height: 1.6;
	color: rgba(255, 255, 255, .92);
	max-width: 46ch;
	margin: 0 auto 34px;
}

.sp-hero__cta { margin: 0; }

/* Larger statement text on the dark band (home) */
.column_attr p.sp-lead {
	font-family: var(--sp-display);
	font-weight: 300;
	font-size: clamp(18px, 1.5vw, 21px);
	line-height: 1.6;
	color: #fff;
	max-width: 34em;
	margin-bottom: 1.1em;
}
.column_attr p.sp-lead:last-child { margin-bottom: 0; }

/* ==========================================================================
   Builder sections: rhythm and readable measure
   ========================================================================== */

.column_attr h2 { max-width: 30em; margin-left: auto; margin-right: auto; }

.mcb-wrap[style*="#292b33"] .column_attr,
.section[style*="#292b33"] .column_attr { color: var(--sp-on-dark); }

.mcb-wrap[style*="#292b33"] .column_attr p,
.mcb-wrap[style*="#292b33"] .column_attr li { max-width: 68ch; }

.mcb-wrap[style*="#292b33"] .column_attr h4,
.section[style*="#292b33"] .column_attr h4 {
	font-weight: 400;
	line-height: 1.45;
}

.column_attr ul:not(.wpcf7 ul) { padding-left: 0; list-style: none; }
.column_attr ul:not(.wpcf7 ul) li {
	position: relative;
	padding-left: 22px;
	margin-bottom: 8px;
}
.column_attr ul:not(.wpcf7 ul) li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .8em;
	width: 10px;
	height: 1px;
	background: currentColor;
	opacity: .7;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

body.button-stroke a.button:not(#back_to_top),
body.button-stroke .button:not(#back_to_top),
body.button-stroke input[type="submit"],
body.button-stroke button.button {
	display: inline-block;
	background-color: var(--sp-green) !important;
	color: #fff !important;
	border: 1px solid var(--sp-green);
	border-radius: 2px;
	box-shadow: none;
	padding: 15px 30px;
	font-family: var(--sp-display);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: .02em;
	text-transform: none;
	transition: background-color .2s ease, border-color .2s ease;
}

body.button-stroke a.button:not(#back_to_top):hover,
body.button-stroke .button:not(#back_to_top):hover,
body.button-stroke input[type="submit"]:hover,
body.button-stroke button.button:hover {
	background-color: var(--sp-green-deep) !important;
	border-color: var(--sp-green-deep);
	color: #fff !important;
}

body.button-stroke .button .button_label { padding: 0; }

#back_to_top {
	border-radius: 2px;
	border-color: rgba(255, 255, 255, .25);
}

/* ==========================================================================
   Team
   ========================================================================== */

.team.team_vertical .image_frame { border: 0; }
.team.team_vertical .image_frame img { aspect-ratio: 1 / 1; object-fit: cover; }

.team .desc_wrapper h4 {
	font-family: var(--sp-display);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	margin: 22px 0 4px;
	color: #fff;
}
.team .desc_wrapper h4 br:last-child { display: none; }

.team .desc_wrapper p.subtitle {
	font-size: 14px;
	color: rgba(255, 255, 255, .7);
	margin-bottom: 10px;
}

.team .desc_wrapper p.phone,
.team .desc_wrapper p.phone a { color: rgba(255, 255, 255, .88); font-size: 14px; }

.team .desc_wrapper .hr_color,
.team .desc_wrapper .hr_color hr {
	background: rgba(255, 255, 255, .35);
	color: rgba(255, 255, 255, .35);
	width: 40px;
	margin: 14px 0;
}

.team .links .icon_bar {
	border-radius: 2px;
	box-shadow: none;
}

/* ==========================================================================
   Contact form (CF7 on the dark panel)
   ========================================================================== */

.wpcf7 { max-width: 560px; }

.wpcf7 label {
	display: block;
	font-family: var(--sp-display);
	font-size: 14px;
	font-weight: 500;
	color: #fff;
	margin-bottom: 6px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
	width: 100%;
	box-sizing: border-box;
	margin-top: 8px;
	padding: 12px 14px;
	font-family: var(--sp-body);
	font-size: 16px;
	color: #fff;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 2px;
	box-shadow: none;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
	background: rgba(255, 255, 255, .1);
	border-color: var(--sp-green-soft);
	outline: none;
}

.wpcf7 textarea { min-height: 160px; resize: vertical; }

.wpcf7 .sp-form-note {
	font-size: 13px;
	line-height: 1.6;
	color: var(--sp-on-dark-muted);
	margin: 6px 0 18px;
}
.wpcf7 .sp-form-note a { color: #fff; }

.wpcf7 .wpcf7-not-valid-tip { color: #f3a6a0; font-size: 13px; }
.wpcf7 form .wpcf7-response-output { border-radius: 2px; margin: 18px 0 0; color: #fff; }

/* ==========================================================================
   Map behind a click ([sp_map])
   ========================================================================== */

.sp-map {
	position: relative;
	min-height: 420px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--sp-on-dark);
	background-color: #23252c;
	background-image:
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 32px 32px;
}

.sp-map__inner { max-width: 340px; padding: 32px 20px; }
.sp-map__pin { display: block; margin: 0 auto 16px; color: var(--sp-green-soft); }
.sp-map__note { font-size: 13px; line-height: 1.6; color: var(--sp-on-dark-muted); margin: 18px 0 0; }
.sp-map__note a { color: #fff; }
.sp-map__note a + a { margin-left: 12px; }

.sp-map.is-loaded { display: block; background: none; }
.sp-map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */

#Footer .widgets_wrapper { padding: 80px 0 48px; }

#Footer .widget h4 {
	font-family: var(--sp-display);
	font-size: 16px;
	font-weight: 500;
	color: #fff;
	margin-bottom: 18px;
}

#Footer .textwidget .sp-footer-list {
	border-left: 1px solid rgba(255, 255, 255, .16);
	padding-left: 22px;
	margin: 0;
	list-style: none;
	font-size: 14px;
	line-height: 2;
}
#Footer .textwidget .sp-footer-list li { margin: 0; }
#Footer .textwidget .sp-footer-list a { color: #cccccc; text-decoration: none; }
#Footer .textwidget .sp-footer-list a:hover { color: #fff; }

#Footer .widget_media_image img { max-width: 200px; opacity: .9; }

#Footer .footer_copy { border-top: 1px solid rgba(255, 255, 255, .08); }
#Footer .footer_copy .copyright {
	display: block;
	font-size: 13px;
	color: var(--sp-on-dark-muted);
}
#Footer .footer_copy .copyright a { color: var(--sp-on-dark-muted); text-decoration: none; margin-left: 18px; }
#Footer .footer_copy .copyright a:hover { color: #fff; }

/* ==========================================================================
   Legal pages (privacy, legal notice)
   ========================================================================== */

.sp-legal { max-width: 760px; margin: 0 auto; padding: var(--sp-section) 0; }
.sp-legal h2 { font-size: 24px; line-height: 1.35; font-weight: 400; margin: 44px 0 14px; }
.sp-legal h2:first-child { margin-top: 0; }
.sp-legal h3 { font-size: 18px; font-weight: 500; margin: 28px 0 10px; }
.sp-legal p, .sp-legal li { color: var(--sp-text); }
.sp-legal a { color: var(--sp-green); }
.sp-legal .sp-legal__updated { font-size: 14px; color: #6b707a; }
.sp-legal address { font-style: normal; line-height: 1.8; margin-bottom: 18px; }

/* ==========================================================================
   Small screens
   ========================================================================== */

@media (max-width: 767px) {
	.sp-hero__mark { margin-bottom: 20px; }
	.sp-hero__lead { padding: 0 8px; }
	.sp-map, .sp-map iframe { min-height: 360px; height: 360px; }
	#Footer .widgets_wrapper { padding: 56px 0 24px; }
	#Footer .footer_copy .copyright a { display: inline-block; margin: 6px 14px 0 0; }
	.sp-legal { padding: 48px 4px; }
}

/* Team: two people per row on phones instead of four full-width photos */
@media (min-width: 360px) and (max-width: 767px) {
	.section_wrapper .column.column_our_team {
		width: 50% !important;
		clear: none;
		float: left;
		padding: 0 8px;
		box-sizing: border-box;
	}
	.section_wrapper .column.column_our_team:nth-child(2n+1) { clear: left; }
	.team .desc_wrapper h4 { font-size: 15px; margin-top: 14px; }
	.team .desc_wrapper p.subtitle,
	.team .desc_wrapper p.phone,
	.team .desc_wrapper p.phone a { font-size: 13px; }
}

/* ==========================================================================
   Reduced motion: show Betheme's scroll animations without movement
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	.animate { opacity: 1 !important; animation: none !important; transform: none !important; }
	*, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
