/*
 * TEF Beds — theme stylesheet
 * ---------------------------------------------------------------------------
 * 1. Design tokens        2. Fonts            3. Base / reset
 * 4. Layout + sections    5. Components       6. Section blocks
 * 7. Header / footer      8. Utilities        9. Responsive
 *
 * Tokens are plain CSS custom properties, so a child theme (or the
 * Customizer) can override any colour by redeclaring it on :root.
 */

/* ========================================================================
   1. DESIGN TOKENS
   ======================================================================== */
:root {
	--canopy: #123c2f;
	--leaf: #5db94a;
	--button-green: #2e7d3a;
	--beech: #d6b88a;
	--warm-beech: #f0e5d2;
	--mist: #f2f5f0;

	--canopy-800: #1a4f3d;
	--canopy-600: #245c46;

	--leaf-700: #3f8a38;
	--leaf-100: #dcf0d6;

	--stone-950: #1b1912;
	--stone-800: #332f24;
	--stone-700: #4a4636;
	--stone-600: #655f4c;
	--stone-500: #8c8770;
	--stone-400: #afa98f;
	--stone-300: #d2cdb4;
	--stone-200: #e4e0cc;
	--stone-100: #f1eee0;
	--stone-50: #f8f6ee;
	--white: #ebebe0;

	--page-bg: #f3f3ef;
	--page-bg-alt: #ebebe4;

	--upholstery-sand: #d9c5a0;
	--upholstery-crimson: #8c2f3b;
	--upholstery-graphite: #3a3a3a;
	--upholstery-lagoon: #2e7d7a;
	--upholstery-cobalt: #2a4e8c;
	--upholstery-sunflower: #e0a83a;
	--upholstery-forest: #2e5b3a;

	--rust-500: #9c2b2b;
	--rust-100: #f0dccf;
	--ochre-500: #e0a63e;
	--ochre-100: #f7e8c8;

	--color-text-primary: var(--stone-950);
	--color-text-secondary: var(--stone-700);
	--color-text-muted: var(--stone-500);
	--color-text-on-dark: var(--stone-50);
	--color-text-on-accent: var(--white);

	--color-surface-page: var(--page-bg);
	--color-surface-card: #ffffff;
	--color-surface-sunken: var(--warm-beech);
	--color-surface-dark: var(--canopy);

	--color-border: var(--stone-300);
	--color-border-subtle: var(--stone-300);
	--color-border-strong: var(--stone-500);
	--color-border-on-dark: rgba(235, 235, 224, 0.22);

	--color-accent-primary: var(--button-green);
	--color-accent-primary-hover: var(--canopy-600);
	--color-accent-primary-press: var(--canopy);
	--color-accent-dark: var(--canopy);
	--color-accent-sage: var(--leaf);
	--color-accent-highlight: var(--leaf-100);

	--color-success: var(--button-green);
	--color-warning: var(--ochre-500);
	--color-warning-soft: var(--ochre-100);
	--color-error: var(--rust-500);
	--color-error-soft: var(--rust-100);

	--font-display: 'Fira Sans', -apple-system, 'Segoe UI', sans-serif;
	--font-body: 'Fira Sans', -apple-system, 'Segoe UI', sans-serif;

	--text-display-xl: clamp(2.75rem, 4.5vw, 4.5rem);
	--text-display-lg: clamp(2.25rem, 3.2vw, 3.25rem);
	--text-display-md: clamp(1.75rem, 2.4vw, 2.25rem);
	--text-heading-lg: 1.75rem;
	--text-heading-md: 1.375rem;
	--text-heading-sm: 1.125rem;
	--text-body-lg: 1.125rem;
	--text-body-md: 1rem;
	--text-body-sm: 0.875rem;
	--text-caption: 0.75rem;

	--lh-tight: 1.08;
	--lh-snug: 1.25;
	--lh-normal: 1.5;
	--lh-relaxed: 1.7;

	--ls-tight: -0.01em;
	--ls-normal: 0;
	--ls-wide: 0.04em;
	--ls-caption: 0.12em;

	--fw-regular: 400;
	--fw-medium: 500;
	--fw-semibold: 600;
	--fw-bold: 700;
	--fw-black: 900;

	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--space-7: 48px;
	--space-8: 64px;
	--space-9: 96px;
	--space-10: 128px;

	--container-max: 1240px;
	--section-pad-x: 64px;
	--section-pad-y: 72px;

	--radius-xs: 6px;
	--radius-sm: 10px;
	--radius-md: 16px;
	--radius-lg: 24px;
	--radius-xl: 32px;
	--radius-pill: 999px;

	--shadow-sm: 0 1px 2px rgba(18, 60, 47, 0.18), 0 4px 10px -4px rgba(18, 60, 47, 0.14);
	--shadow-md: 0 2px 4px rgba(18, 60, 47, 0.16), 0 16px 32px -12px rgba(18, 60, 47, 0.22);
	--shadow-lg: 0 4px 8px rgba(18, 60, 47, 0.14), 0 32px 64px -16px rgba(18, 60, 47, 0.28);

	--ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--duration-fast: 150ms;
	--duration-normal: 240ms;
	--duration-slow: 400ms;

	--blur-glass: 14px;
	--header-height: 92px;
}

/* ========================================================================
   2. FONTS — self hosted, no external requests
   ======================================================================== */
@font-face {
	font-family: 'Fira Sans';
	src: url('../fonts/fira-sans-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Fira Sans';
	src: url('../fonts/fira-sans-400-italic.woff2') format('woff2');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Fira Sans';
	src: url('../fonts/fira-sans-500.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Fira Sans';
	src: url('../fonts/fira-sans-600.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Fira Sans';
	src: url('../fonts/fira-sans-700.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Fira Sans';
	src: url('../fonts/fira-sans-900.woff2') format('woff2');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

/* ========================================================================
   3. BASE
   ======================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	overflow-x: hidden;
	max-width: 100%;
	background: var(--page-bg);
	color: var(--color-text-primary);
	font-family: var(--font-body);
	font-size: var(--text-body-md);
	line-height: var(--lh-normal);
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--color-accent-primary);
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--canopy);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-display);
	color: var(--color-text-primary);
	margin: 0 0 0.6em;
	line-height: var(--lh-snug);
}

h1 {
	font-size: var(--text-display-lg);
	font-weight: var(--fw-black);
}
h2 {
	font-size: 28px;
	font-weight: var(--fw-black);
}
h3 {
	font-size: var(--text-heading-md);
	font-weight: var(--fw-bold);
}
h4 {
	font-size: var(--text-heading-sm);
	font-weight: var(--fw-bold);
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0 0 1em;
	padding-left: 20px;
}

blockquote {
	margin: 0 0 1.5em;
	padding: var(--space-5);
	border-left: 3px solid var(--color-accent-primary);
	background: var(--color-surface-sunken);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-style: italic;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5em;
}

th,
td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--color-border);
	text-align: left;
}

code,
pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.9em;
}

pre {
	padding: var(--space-4);
	background: var(--stone-100);
	border-radius: var(--radius-sm);
	overflow-x: auto;
}

hr {
	border: 0;
	border-top: 1px solid var(--color-border);
	margin: var(--space-7) 0;
}

:focus-visible {
	outline: 2px solid var(--color-accent-primary);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 10px 18px;
	background: var(--canopy);
	color: var(--stone-50);
	border-radius: var(--radius-sm);
}

/* WordPress core alignment + caption classes */
.alignleft {
	float: left;
	margin: 0 var(--space-5) var(--space-4) 0;
}
.alignright {
	float: right;
	margin: 0 0 var(--space-4) var(--space-5);
}
.aligncenter {
	display: block;
	margin: 0 auto var(--space-4);
}
.alignwide {
	max-width: calc(var(--container-max) + 160px);
}
.alignfull {
	max-width: none;
	width: 100%;
}
.wp-caption {
	max-width: 100%;
}
.wp-caption-text,
.wp-block-image figcaption {
	font-size: var(--text-body-sm);
	color: var(--color-text-muted);
}
.sticky,
.bypostauthor {
	display: block;
}

/* ========================================================================
   4. LAYOUT + SECTION SHELL
   ======================================================================== */
.tef-site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.tef-site-main {
	flex: 1 0 auto;
}

.tef-container {
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--space-5);
}

.tef-section {
	padding: var(--section-pad-y) var(--section-pad-x);
	background: var(--page-bg);
}

.tef-section--tight {
	padding-top: 56px;
	padding-bottom: 56px;
}

.tef-section--mist {
	background: var(--mist);
}
.tef-section--alt {
	background: var(--page-bg-alt);
}
.tef-section--beech {
	background: var(--warm-beech);
}
.tef-section--card {
	background: var(--color-surface-card);
}
.tef-section--dark {
	background: var(--canopy);
	color: var(--stone-50);
}
.tef-section--dark h1,
.tef-section--dark h2,
.tef-section--dark h3,
.tef-section--dark h4 {
	color: var(--stone-50);
}
.tef-section--dark p {
	color: var(--leaf-100);
}

.tef-section__inner {
	max-width: var(--container-max);
	margin: 0 auto;
}

.tef-section--flush .tef-section__inner {
	max-width: none;
}

.tef-eyebrow {
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: 15px;
	color: var(--color-accent-primary);
	letter-spacing: var(--ls-caption);
	text-transform: uppercase;
	margin: 0 0 10px;
}

.tef-eyebrow--center {
	text-align: center;
}

.tef-section__title {
	font-family: var(--font-display);
	font-weight: var(--fw-black);
	font-size: var(--text-display-lg);
	color: var(--color-text-primary);
	margin: 0 0 var(--space-6);
}

.tef-section__lead {
	font-size: var(--text-body-md);
	line-height: 1.65;
	color: var(--color-text-secondary);
	max-width: 760px;
}

.tef-grid {
	display: grid;
	gap: var(--space-6);
}
.tef-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tef-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tef-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.tef-grid--split {
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}

/* ========================================================================
   5. COMPONENTS
   ======================================================================== */

/* --- Buttons -------------------------------------------------------- */
.tef-btn,
button.tef-btn,
input[type='submit'].tef-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: var(--font-body);
	font-weight: var(--fw-semibold);
	font-size: var(--text-body-md);
	padding: 12px 24px;
	border-radius: var(--radius-pill);
	border: 1px solid transparent;
	background: var(--color-accent-primary);
	color: var(--color-text-on-accent);
	cursor: pointer;
	text-decoration: none;
	transition: background var(--duration-fast) var(--ease-standard),
		box-shadow var(--duration-fast) var(--ease-standard),
		color var(--duration-fast) var(--ease-standard);
}

.tef-btn:hover,
.tef-btn:focus {
	background: var(--color-accent-primary-hover);
	color: var(--color-text-on-accent);
	box-shadow: var(--shadow-sm);
}

.tef-btn:active {
	background: var(--color-accent-primary-press);
	box-shadow: none;
}

.tef-btn--secondary {
	background: transparent;
	color: var(--color-accent-primary);
	border-color: var(--color-accent-primary);
}
.tef-btn--secondary:hover,
.tef-btn--secondary:focus {
	background: var(--color-accent-highlight);
	color: var(--canopy);
	box-shadow: none;
}

.tef-btn--ghost {
	background: transparent;
	color: var(--color-text-primary);
}
.tef-btn--ghost:hover {
	background: var(--color-surface-sunken);
	color: var(--color-text-primary);
}

.tef-btn--on-dark {
	background: transparent;
	color: var(--stone-50);
	border-color: var(--stone-50);
}
.tef-btn--on-dark:hover,
.tef-btn--on-dark:focus {
	background: rgba(248, 246, 238, 0.12);
	color: #fff;
	box-shadow: none;
}

.tef-btn--sm {
	padding: 8px 18px;
	font-size: var(--text-body-sm);
}
.tef-btn--lg {
	padding: 16px 32px;
	font-size: var(--text-body-lg);
}

.tef-btn--square {
	border-radius: var(--radius-sm);
	height: 48px;
	padding: 0 22px;
	font-weight: var(--fw-bold);
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.tef-btn--canopy {
	background: var(--canopy);
	color: #fff;
}
.tef-btn--canopy:hover {
	background: var(--canopy-800);
	color: #fff;
}

.tef-btn--outline-light {
	background: #fff;
	color: var(--color-text-primary);
	border-color: var(--color-border);
}
.tef-btn--outline-light:hover {
	background: var(--stone-50);
	color: var(--color-text-primary);
	box-shadow: none;
}

.tef-btn-row {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}
.tef-btn-row--center {
	justify-content: center;
}

/* --- Badge / tag ---------------------------------------------------- */
.tef-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: var(--radius-pill);
	font-family: var(--font-body);
	font-size: var(--text-caption);
	letter-spacing: var(--ls-caption);
	text-transform: uppercase;
	font-weight: var(--fw-medium);
	background: var(--color-surface-sunken);
	color: var(--color-text-secondary);
}
.tef-badge--accent {
	background: var(--color-accent-highlight);
	color: var(--canopy);
}
.tef-badge--success {
	background: #dff0e2;
	color: var(--canopy);
}
.tef-badge--warning {
	background: var(--color-warning-soft);
	color: var(--ochre-500);
}
.tef-badge--error {
	background: var(--color-error-soft);
	color: var(--rust-500);
}
.tef-badge-row {
	display: flex;
	gap: var(--space-5);
	flex-wrap: wrap;
	margin-bottom: 56px;
}

/* --- Card ----------------------------------------------------------- */
.tef-card {
	border-radius: var(--radius-lg);
	padding: var(--space-6);
	background: var(--color-surface-card);
	box-shadow: var(--shadow-sm);
	border: 1px solid transparent;
	transition: box-shadow var(--duration-normal) var(--ease-out),
		transform var(--duration-normal) var(--ease-out);
}
.tef-card:hover {
	box-shadow: var(--shadow-md);
}
.tef-card--outline {
	box-shadow: none;
	border-color: var(--color-border-subtle);
}
.tef-card--flush {
	padding: 0;
	overflow: hidden;
}

/* --- Forms ---------------------------------------------------------- */
.tef-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-family: var(--font-body);
}

.tef-field__label {
	font-size: var(--text-body-sm);
	color: var(--color-text-secondary);
}

.tef-field__label .tef-required {
	color: var(--color-error);
}

.tef-field input[type='text'],
.tef-field input[type='email'],
.tef-field input[type='tel'],
.tef-field input[type='url'],
.tef-field input[type='number'],
.tef-field input[type='search'],
.tef-field input[type='password'],
.tef-field select,
.tef-field textarea,
input[type='text'],
input[type='email'],
input[type='tel'],
input[type='url'],
input[type='number'],
input[type='search'],
input[type='password'],
select,
textarea {
	width: 100%;
	font-family: var(--font-body);
	font-size: var(--text-body-md);
	color: var(--color-text-primary);
	background: var(--color-surface-card);
	border: 1px solid var(--color-border-subtle);
	border-radius: var(--radius-sm);
	padding: 0 16px;
	height: 48px;
	transition: border-color var(--duration-fast) var(--ease-standard),
		box-shadow var(--duration-fast) var(--ease-standard);
}

textarea {
	height: auto;
	min-height: 132px;
	padding: 14px 16px;
	line-height: var(--lh-relaxed);
	resize: vertical;
}

select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234A4636' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 42px;
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--color-border-strong);
	box-shadow: 0 0 0 3px var(--color-accent-highlight);
}

.tef-field--error input,
.tef-field--error select,
.tef-field--error textarea {
	border-color: var(--color-error);
}

.tef-field__error {
	font-size: var(--text-caption);
	color: var(--color-error);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
	-webkit-text-fill-color: #2b2b26 !important;
	transition: background-color 9999s ease-in-out 0s;
	box-shadow: 0 0 0 1000px var(--stone-50) inset !important;
}

/* --- Notice / toast ------------------------------------------------- */
.tef-notice {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 18px;
	border-radius: var(--radius-sm);
	font-size: var(--text-body-sm);
	line-height: var(--lh-relaxed);
	margin-bottom: var(--space-5);
}
.tef-notice--success {
	background: #dff0e2;
	color: var(--canopy);
	border: 1px solid var(--leaf);
}
.tef-notice--error {
	background: var(--color-error-soft);
	color: var(--rust-500);
	border: 1px solid var(--rust-500);
}

/* --- Accordion ------------------------------------------------------ */
.tef-accordion {
	max-width: 780px;
	margin: 0 auto;
}
.tef-accordion--wide {
	max-width: none;
}
.tef-accordion__item {
	border-bottom: 1px solid var(--color-border);
}
.tef-accordion--boxed {
	border-top: 1px solid var(--color-border);
}
.tef-accordion__trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0;
	background: none;
	border: 0;
	cursor: pointer;
	text-align: left;
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: 16px;
	color: var(--color-text-primary);
}
.tef-accordion--uppercase .tef-accordion__trigger {
	font-size: 15px;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 18px 0;
}
.tef-accordion__icon {
	font-size: 20px;
	line-height: 1;
	flex-shrink: 0;
	color: var(--color-accent-primary);
}
.tef-accordion--uppercase .tef-accordion__icon {
	color: var(--color-text-secondary);
}
.tef-accordion__trigger[aria-expanded='true'] .tef-accordion__icon::before {
	content: '\2212';
}
.tef-accordion__trigger[aria-expanded='false'] .tef-accordion__icon::before {
	content: '+';
}
.tef-accordion__panel {
	padding: 0 0 20px;
	font-size: 15px;
	line-height: var(--lh-relaxed);
	color: var(--color-text-secondary);
}
.tef-accordion__panel[hidden] {
	display: none;
}
.tef-accordion__panel > :last-child {
	margin-bottom: 0;
}

/* --- Media frame + lightbox ---------------------------------------- */
.tef-media {
	display: block;
	width: 100%;
	height: 100%; /* fills fixed-height wrappers; resolves to auto otherwise */
	min-height: 48px;
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
	position: relative;
}
.tef-media--square {
	aspect-ratio: 1 / 1;
}
.tef-media--circle {
	border-radius: 50%;
}
.tef-media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}
.tef-media--cover img {
	object-fit: cover;
}
.tef-media__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	text-align: center;
	font-size: 13px;
	color: var(--color-text-muted);
	background: var(--stone-100);
}
.tef-zoomable {
	cursor: zoom-in;
}

.tef-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 32px;
	background: rgba(18, 60, 47, 0.88);
}
.tef-lightbox.is-open {
	display: flex;
}
.tef-lightbox img {
	max-width: 92vw;
	max-height: 86vh;
	object-fit: contain;
	border-radius: var(--radius-md);
	background: #fff;
}
.tef-lightbox__caption {
	position: absolute;
	bottom: 24px;
	left: 0;
	right: 0;
	text-align: center;
	color: var(--stone-50);
	font-size: 14px;
}
.tef-lightbox__close {
	position: absolute;
	top: 20px;
	right: 24px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, 0.9);
	color: var(--canopy);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

/* --- Marquee -------------------------------------------------------- */
@keyframes tef-marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}
.tef-marquee {
	overflow: hidden;
	width: 100%;
}
.tef-marquee__track {
	display: flex;
	align-items: center;
	width: max-content;
	gap: 56px;
	animation: tef-marquee 36s linear infinite;
}
.tef-marquee__track--slow {
	animation-duration: 50s;
	align-items: stretch;
	gap: 28px;
}
.tef-marquee:hover .tef-marquee__track {
	animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
	.tef-marquee__track {
		animation: none;
		flex-wrap: wrap;
		width: auto;
		justify-content: center;
	}
}

/* ========================================================================
   6. SECTION BLOCKS
   ======================================================================== */

/* --- Hero ----------------------------------------------------------- */
.tef-hero {
	position: relative;
	padding: 80px var(--section-pad-x);
	background-color: var(--canopy);
	background-size: cover;
	background-position: center 30%;
	background-repeat: no-repeat;
	overflow: hidden;
}
.tef-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		100deg,
		rgba(18, 60, 47, 0.92) 0%,
		rgba(18, 60, 47, 0.75) 50%,
		rgba(18, 60, 47, 0.4) 100%
	);
}
.tef-hero__inner {
	position: relative;
	max-width: 560px;
}
.tef-hero__title {
	font-family: var(--font-display);
	font-weight: var(--fw-black);
	font-size: 65px;
	line-height: var(--lh-tight);
	color: #f8f6ee;
	margin: 0 0 12px;
}
.tef-hero__text {
	font-size: 16px;
	color: #f8f6ee;
	line-height: var(--lh-relaxed);
	margin: 0 0 var(--space-5);
}
.tef-hero--center {
	text-align: center;
}
.tef-hero--center .tef-hero__inner {
	max-width: 760px;
	margin: 0 auto;
}
.tef-hero--center .tef-btn-row {
	justify-content: center;
}

/* --- Page hero (inner pages) ---------------------------------------- */
.tef-page-hero {
	padding: 72px var(--section-pad-x) 56px;
	background: var(--page-bg);
}
.tef-page-hero__inner {
	max-width: 760px;
}
.tef-page-hero__title {
	font-family: var(--font-display);
	font-weight: var(--fw-black);
	font-size: var(--text-display-lg);
	margin: 0 0 var(--space-5);
}
.tef-page-hero__text {
	font-size: 16px;
	line-height: 1.7;
	color: var(--color-text-secondary);
	margin: 0;
}

/* --- Series cards --------------------------------------------------- */
.tef-series__item {
	display: block;
	color: inherit;
}
.tef-series__media {
	height: 200px;
	margin-bottom: var(--space-4);
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
}
.tef-series__title {
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: 20px;
	color: var(--color-text-primary);
	margin: 0 0 6px;
}
.tef-series__title a {
	color: inherit;
}
.tef-series__title a:hover {
	color: var(--color-accent-primary);
}
.tef-series__text {
	font-size: 14px;
	color: var(--color-text-secondary);
	line-height: var(--lh-relaxed);
	margin: 0;
}

/* --- Logo strip ----------------------------------------------------- */
.tef-logos__intro {
	font-size: 15px;
	color: var(--color-text-secondary);
	text-align: center;
	max-width: 720px;
	margin: 0 auto var(--space-6);
}
.tef-logo-card {
	width: 220px;
	height: 120px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform var(--duration-normal) var(--ease-standard);
}
.tef-logo-card:hover {
	transform: scale(1.12);
}
.tef-logo-card img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

/* --- Testimonials --------------------------------------------------- */
.tef-testimonial {
	background: #fff;
	border-radius: var(--radius-lg);
	padding: 28px;
	box-shadow: var(--shadow-sm);
	width: 320px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
}
.tef-testimonial__stars {
	color: #fbbc05;
	font-size: 15px;
	letter-spacing: 2px;
	margin-bottom: 12px;
}
.tef-testimonial__quote {
	padding: 0;
	border: 0;
	background: none;
	border-radius: 0;
	font-size: 15px;
	line-height: var(--lh-relaxed);
	color: var(--color-text-secondary);
	font-style: italic;
	margin: 0 0 18px;
	flex: 1;
}
.tef-testimonial__name {
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: 14px;
	color: var(--color-text-primary);
}
.tef-testimonial__role {
	font-size: 13px;
	color: var(--color-text-muted);
}

/* --- Stats CTA ------------------------------------------------------ */
.tef-stats {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 40px;
	align-items: center;
}
.tef-stats__title {
	font-family: var(--font-display);
	font-weight: var(--fw-black);
	font-size: 34px;
	line-height: 1.15;
	margin: 0 0 var(--space-4);
}
.tef-stats__text {
	font-size: 15px;
	line-height: 1.65;
	margin: 0 0 28px;
}
.tef-stats__list {
	display: flex;
	flex-direction: column;
	gap: 20px;
	border-left: 1px solid rgba(248, 246, 238, 0.25);
	padding-left: var(--space-6);
}
.tef-stat__value {
	font-family: var(--font-display);
	font-weight: var(--fw-black);
	font-size: 28px;
}
.tef-stat__label {
	font-size: 13px;
	color: var(--leaf-100);
}

/* --- Services ------------------------------------------------------- */
.tef-service__icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--canopy);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}
.tef-service__title {
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: 17px;
	color: var(--color-text-primary);
	margin: 0 0 10px;
}
.tef-service__text {
	font-size: 14px;
	color: var(--color-text-secondary);
	line-height: var(--lh-relaxed);
	margin: 0;
	text-align: justify;
}

/* --- Journey timeline ----------------------------------------------- */
.tef-journey {
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.tef-journey__item {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: var(--space-5);
	border-left: 2px solid var(--color-accent-primary);
	padding-left: var(--space-5);
}
.tef-journey__tag {
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: 18px;
	color: var(--color-accent-primary);
}
.tef-journey__title {
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: 17px;
	color: var(--color-text-primary);
	margin-bottom: 6px;
}
.tef-journey__text {
	font-size: 14px;
	color: var(--color-text-secondary);
	line-height: var(--lh-relaxed);
	margin: 0;
	text-align: justify;
}

/* --- Team ----------------------------------------------------------- */
.tef-team__photo {
	width: 80px;
	height: 80px;
	margin-bottom: var(--space-4);
}
.tef-team__name {
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: 16px;
	color: var(--color-text-primary);
	margin-bottom: 4px;
}
.tef-team__role {
	font-size: 13px;
	font-weight: var(--fw-semibold);
	color: var(--color-accent-primary);
	margin-bottom: 10px;
}
.tef-team__text {
	font-size: 13px;
	color: var(--color-text-secondary);
	line-height: var(--lh-relaxed);
	margin: 0;
	text-align: justify;
}

/* --- Client groups -------------------------------------------------- */
.tef-client-group__title {
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: 15px;
	color: var(--color-text-primary);
	margin-bottom: 14px;
}
.tef-client-group__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.tef-client-group__list li {
	font-size: 13px;
	color: var(--color-text-secondary);
	line-height: var(--lh-normal);
}

/* --- Mission / value columns ---------------------------------------- */
.tef-value__title {
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: 15px;
	color: var(--color-accent-primary);
	text-transform: uppercase;
	letter-spacing: var(--ls-caption);
	margin-bottom: 10px;
}
.tef-value__text {
	font-size: 15px;
	color: var(--color-text-secondary);
	line-height: var(--lh-relaxed);
	margin: 0;
	text-align: justify;
}

/* --- Upholstery swatches -------------------------------------------- */
.tef-swatches {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: var(--space-7);
}
.tef-swatch {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 68px;
	cursor: pointer;
	background: none;
	border: 0;
	padding: 0;
}
.tef-swatch__dot {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.15);
	display: block;
}
.tef-swatch__name {
	font-size: 12px;
	color: #555;
	text-align: center;
}
.tef-swatch__preview {
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	margin-bottom: 10px;
	display: none;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	z-index: 5;
	pointer-events: none;
}
.tef-swatch:hover .tef-swatch__preview,
.tef-swatch:focus-visible .tef-swatch__preview {
	display: flex;
}
.tef-swatch__preview-dot {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	border: 3px solid #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	display: block;
}
.tef-swatch__preview-label {
	font-size: 13px;
	font-weight: var(--fw-bold);
	color: var(--color-text-primary);
	background: #fff;
	padding: 3px 10px;
	border-radius: var(--radius-pill);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
	white-space: nowrap;
}
.tef-swatches--sm .tef-swatch {
	width: 56px;
}
.tef-swatches--sm .tef-swatch__dot {
	width: 40px;
	height: 40px;
}
.tef-upholstery-features {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
}

/* --- Product cards / grid ------------------------------------------- */
.tef-range {
	margin-bottom: 56px;
}
.tef-range__head {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-bottom: var(--space-5);
	padding-bottom: 12px;
}
.tef-range__title {
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: 22px;
	margin: 0;
}
.tef-range__count {
	font-size: 13px;
	color: var(--color-text-muted);
}

.tef-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--color-surface-card);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tef-product-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}
.tef-product-card__media {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	background: #fff;
	overflow: hidden;
}
.tef-product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.35s ease;
}
.tef-product-card:hover .tef-product-card__media img {
	transform: scale(1.07);
}
.tef-product-card__watermark {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
	font-family: var(--font-display);
	font-weight: var(--fw-black);
	font-size: 34px;
	letter-spacing: 2px;
	color: var(--canopy);
	text-transform: uppercase;
	white-space: nowrap;
}
.tef-product-card:hover .tef-product-card__watermark {
	opacity: 0.08;
}
.tef-product-card__hint {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 10px 0;
	text-align: center;
	background: linear-gradient(to top, rgba(18, 60, 47, 0.55), rgba(18, 60, 47, 0));
	opacity: 0;
	transition: opacity 0.25s ease;
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: 13px;
	color: #fff;
	letter-spacing: var(--ls-caption);
	text-transform: uppercase;
	pointer-events: none;
}
.tef-product-card:hover .tef-product-card__hint {
	opacity: 1;
}
.tef-product-card__body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.tef-product-card__range {
	display: inline-block;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding: 4px 12px;
	margin-bottom: 10px;
	border-radius: var(--radius-pill);
	font-size: var(--text-caption);
	letter-spacing: var(--ls-caption);
	text-transform: uppercase;
	font-weight: var(--fw-medium);
	background: var(--color-accent-highlight);
	color: var(--canopy);
	align-self: flex-start;
}
.tef-product-card__title {
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: 16px;
	line-height: 1.3;
	color: var(--color-text-primary);
	margin: 0 0 8px;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.tef-product-card__title a {
	color: inherit;
}
.tef-product-card__excerpt {
	font-size: 13px;
	color: var(--color-text-secondary);
	line-height: var(--lh-normal);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.tef-product-card__price {
	margin-top: 10px;
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: 14px;
	color: var(--canopy);
}
.tef-product-card__link {
	position: absolute;
	inset: 0;
	z-index: 2;
}

.tef-note {
	padding: 28px;
	border-radius: var(--radius-lg);
	background: var(--warm-beech);
}
.tef-note__title {
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: 18px;
	margin: 0 0 8px;
}
.tef-note p {
	font-size: 14px;
	color: var(--color-text-secondary);
	margin: 0;
}

/* --- Single product ------------------------------------------------- */
.tef-product {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	padding: 56px var(--section-pad-x);
}
.tef-product__media {
	align-self: start;
}
.tef-product__crumbs {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 28px;
	font-size: 14px;
}
.tef-product__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: var(--fw-semibold);
	color: var(--color-text-secondary);
}
.tef-product__divider {
	width: 1px;
	height: 16px;
	background: var(--color-border);
}
.tef-product__title {
	font-family: var(--font-display);
	font-weight: var(--fw-black);
	font-size: var(--text-display-lg);
	margin: 0 0 28px;
}
.tef-product__dimensions {
	display: inline-block;
	padding: 10px 16px;
	border-radius: var(--radius-sm);
	background: var(--warm-beech);
	font-size: 15px;
	font-weight: var(--fw-semibold);
	color: var(--color-text-primary);
}

/* --- Contact -------------------------------------------------------- */
.tef-contact {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	padding: 56px var(--section-pad-x);
	background: var(--page-bg);
}
.tef-contact-list {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-bottom: var(--space-6);
	font-size: 15px;
	color: var(--color-text-secondary);
	list-style: none;
	padding: 0;
}
.tef-contact-list li {
	display: flex;
	align-items: center;
	gap: 14px;
}
.tef-contact-list__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--color-accent-highlight);
	flex-shrink: 0;
}
.tef-contact-list a {
	color: inherit;
}
.tef-map {
	width: 100%;
	height: 260px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	margin-bottom: var(--space-5);
}
.tef-map iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}
.tef-quick-actions {
	display: flex;
	gap: 10px;
}
.tef-quick-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: #fff;
	background: var(--canopy);
}
.tef-quick-actions a.is-whatsapp {
	background: #25d366;
}
.tef-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.tef-form .tef-btn {
	align-self: flex-start;
}
.tef-form__honeypot {
	position: absolute !important;
	left: -9999px;
}

/* --- Floating contact buttons --------------------------------------- */
.tef-floating {
	position: fixed;
	right: 28px;
	bottom: 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	z-index: 50;
}
.tef-floating a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	color: #fff;
	background: var(--canopy);
	box-shadow: var(--shadow-md);
}
.tef-floating a.is-whatsapp {
	background: var(--leaf);
}

/* ========================================================================
   7. HEADER / FOOTER
   ======================================================================== */
.tef-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: var(--page-bg);
	backdrop-filter: blur(var(--blur-glass));
	border-bottom: 1px solid var(--color-border-subtle);
}
.tef-header__bar {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	column-gap: var(--space-4);
	padding: 0 var(--section-pad-x);
	height: var(--header-height);
}
.tef-header__brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.tef-header__brand img {
	height: 52px;
	width: auto;
	display: block;
}
.tef-header__brand-text {
	font-family: var(--font-display);
	font-weight: var(--fw-black);
	font-size: 22px;
	color: var(--canopy);
	letter-spacing: var(--ls-tight);
}
.tef-header__tagline {
	text-align: center;
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: 15px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--color-text-secondary);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.tef-header__actions {
	display: flex;
	align-items: center;
	gap: 28px;
	justify-self: end;
}
.tef-header__link {
	font-weight: var(--fw-medium);
	font-size: 16px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--color-text-secondary);
	white-space: nowrap;
}
.tef-nav-toggle {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: 0;
	background: var(--color-accent-highlight);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 5px;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.tef-nav-toggle span {
	width: 18px;
	height: 2px;
	background: var(--canopy);
	display: block;
	transition: transform var(--duration-fast) var(--ease-standard),
		opacity var(--duration-fast) var(--ease-standard);
}
.tef-nav-toggle[aria-expanded='true'] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.tef-nav-toggle[aria-expanded='true'] span:nth-child(2) {
	opacity: 0;
}
.tef-nav-toggle[aria-expanded='true'] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.tef-nav {
	display: none;
	background: var(--page-bg);
	border-top: 1px solid var(--color-border-subtle);
	padding: 8px var(--section-pad-x) 24px;
}
.tef-nav.is-open {
	display: block;
}
.tef-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: flex-end;
	align-items: center;
}
.tef-nav li {
	position: relative;
}
.tef-nav a {
	display: inline-block;
	font-weight: var(--fw-medium);
	font-size: 15px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--color-text-secondary);
	padding: 14px 0 2px;
	white-space: nowrap;
}
.tef-nav a:hover,
.tef-nav .current-menu-item > a,
.tef-nav .current_page_item > a {
	color: var(--color-text-primary);
	font-weight: var(--fw-bold);
	border-bottom: 1px solid var(--color-text-primary);
}
.tef-nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	flex-direction: column;
	gap: 0;
	background: #fff;
	border: 1px solid var(--color-border-subtle);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-sm);
	padding: 8px 0;
	z-index: 30;
}
.tef-nav li:hover > .sub-menu,
.tef-nav li:focus-within > .sub-menu {
	display: flex;
}
.tef-nav .sub-menu a {
	display: block;
	padding: 8px 16px;
	text-transform: none;
	letter-spacing: 0;
	border: 0;
}
.tef-nav__cta {
	margin-left: 6px;
}

.tef-footer {
	background: var(--canopy);
	color: var(--stone-100);
	padding: 64px var(--section-pad-x);
	display: flex;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}
.tef-footer__brand-plate {
	background: var(--white);
	display: inline-flex;
	padding: 10px 16px;
	border-radius: var(--radius-sm);
	margin-bottom: 14px;
}
.tef-footer__brand-plate img {
	height: 32px;
	display: block;
}
.tef-footer__brand-plate .tef-header__brand-text {
	font-size: 20px;
}
.tef-footer__about {
	font-size: 14px;
	color: var(--leaf-100);
	max-width: 320px;
	line-height: var(--lh-relaxed);
	margin-bottom: 20px;
}
.tef-footer__social {
	display: flex;
	gap: 12px;
}
.tef-footer__social a {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid var(--leaf);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--leaf-100);
}
.tef-footer__social a:hover {
	background: var(--leaf);
	color: var(--canopy);
}
.tef-footer__cols {
	display: flex;
	gap: 56px;
	flex-wrap: wrap;
}
.tef-footer__heading {
	font-size: 12px;
	letter-spacing: var(--ls-caption);
	text-transform: uppercase;
	color: var(--leaf);
	margin-bottom: 14px;
	font-weight: var(--fw-semibold);
}
.tef-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.tef-footer li {
	font-size: 14px;
	margin-bottom: 10px;
	color: var(--stone-100);
}
.tef-footer a {
	color: var(--stone-100);
}
.tef-footer a:hover {
	color: var(--leaf);
}
.tef-footer__bottom {
	width: 100%;
	border-top: 1px solid rgba(248, 246, 238, 0.18);
	padding-top: 20px;
	font-size: 13px;
	color: var(--leaf-100);
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

/* ========================================================================
   8. BLOG / ARCHIVE / UTILITIES
   ======================================================================== */
.tef-entry {
	background: var(--color-surface-card);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	padding: var(--space-6);
	margin-bottom: var(--space-6);
}
.tef-entry__title {
	font-size: var(--text-heading-lg);
	margin: 0 0 10px;
}
.tef-entry__meta {
	font-size: 13px;
	color: var(--color-text-muted);
	margin-bottom: var(--space-4);
}
.tef-entry__thumb {
	margin: 0 0 var(--space-5);
	border-radius: var(--radius-md);
	overflow: hidden;
}
.tef-content > :last-child {
	margin-bottom: 0;
}
.tef-pagination {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: var(--space-6) 0;
}
.tef-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: var(--radius-pill);
	background: #fff;
	border: 1px solid var(--color-border-subtle);
	color: var(--color-text-secondary);
}
.tef-pagination .page-numbers.current {
	background: var(--color-accent-primary);
	border-color: var(--color-accent-primary);
	color: #fff;
}
.tef-sidebar {
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
}
.tef-widget {
	background: #fff;
	border-radius: var(--radius-lg);
	padding: var(--space-5);
	box-shadow: var(--shadow-sm);
}
.tef-widget__title {
	font-family: var(--font-display);
	font-size: var(--text-heading-sm);
	font-weight: var(--fw-bold);
	margin: 0 0 var(--space-3);
}
.tef-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.tef-widget li {
	padding: 6px 0;
	border-bottom: 1px solid var(--color-border-subtle);
}
.tef-comments {
	margin-top: var(--space-7);
}
.tef-comments ol {
	list-style: none;
	padding: 0;
}
.tef-comments .comment-body {
	background: #fff;
	border-radius: var(--radius-md);
	padding: var(--space-5);
	margin-bottom: var(--space-4);
}

.tef-text-center {
	text-align: center;
}
.tef-text-justify {
	text-align: justify;
}
.tef-mb-0 {
	margin-bottom: 0 !important;
}
.tef-mb-4 {
	margin-bottom: var(--space-4) !important;
}
.tef-mb-6 {
	margin-bottom: var(--space-6) !important;
}
.tef-mb-8 {
	margin-bottom: var(--space-8) !important;
}
.tef-max-640 {
	max-width: 640px;
}
.tef-max-760 {
	max-width: 760px;
}

/* ========================================================================
   9. RESPONSIVE
   ======================================================================== */
@media (max-width: 1024px) {
	:root {
		--section-pad-x: 40px;
	}
	.tef-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.tef-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.tef-header__tagline {
		display: none;
	}
}

@media (max-width: 768px) {
	:root {
		--section-pad-x: 20px;
		--section-pad-y: 48px;
		--header-height: 72px;
	}
	.tef-hero {
		padding: 48px 20px;
	}
	.tef-hero__title {
		font-size: 32px;
	}
	.tef-grid--2,
	.tef-grid--3,
	.tef-grid--split,
	.tef-stats,
	.tef-product,
	.tef-contact {
		grid-template-columns: 1fr;
		gap: var(--space-6);
	}
	.tef-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--space-4);
	}
	.tef-stats__list {
		border-left: 0;
		padding-left: 0;
	}
	.tef-journey__item {
		grid-template-columns: 1fr;
		gap: var(--space-2);
	}
	.tef-header__brand img {
		height: 40px;
	}
	.tef-header__actions {
		gap: var(--space-4);
	}
	.tef-header__link {
		display: none;
	}
	.tef-nav-toggle {
		width: 44px;
		height: 44px;
	}
	.tef-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}
	.tef-nav li {
		border-bottom: 1px solid var(--color-border-subtle);
	}
	.tef-nav a {
		display: block;
		padding: 14px 0;
		font-size: 16px;
	}
	.tef-nav .sub-menu {
		position: static;
		display: flex;
		box-shadow: none;
		border: 0;
		padding: 0 0 8px 16px;
	}
	.tef-nav__cta {
		margin: 16px 0 0;
	}
	.tef-stats__title {
		font-size: 26px;
	}
	.tef-footer {
		padding: 40px 20px;
	}
	.tef-floating {
		right: 16px;
		bottom: 16px;
	}
	.tef-product,
	.tef-contact {
		padding: 32px 20px;
	}
}

@media (max-width: 480px) {
	.tef-grid--4 {
		grid-template-columns: 1fr;
	}
	.tef-testimonial,
	.tef-logo-card {
		width: 260px;
	}
}

@media print {
	.tef-header,
	.tef-footer,
	.tef-floating,
	.tef-nav-toggle {
		display: none !important;
	}
}
