/*
Theme Name:  Terapie cu Plu Imago
Theme URI:   https://terapiecupluimago.ro
Author:      Daniel Talpă
Description: One-page landing theme for Daniel Talpă, Imago Relational Therapist. Iași & Online.
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: terapiecupluimago
*/

/* =============================================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================================= */

:root {
	--color-primary:       #c3230e;
	--color-secondary:     #f8be61;
	--color-dark:          #1a1a1a;
	--color-muted:         #5a5a5a;
	--color-bg:            #ffffff;
	--color-bg-soft:       #fdf6ee;
	--color-bg-dark:       #1e1209;
	--color-border:        #ede4d8;
	--color-hero-bg:       #2a0a06;
	--color-hero-bg-mid:   #3d1008;
	--color-accent-warm:   #f8be61;
	--color-text-on-dark:  #f5ede4;

	--font-base:        'Roboto', sans-serif;
	--font-size-base:   16px;
	--line-height-base: 1.75;

	--space-xs:   8px;
	--space-sm:   16px;
	--space-md:   24px;
	--space-lg:   48px;
	--space-xl:   96px;

	--header-height: 72px;
	--container-max: 1180px;
	--radius-btn:    4px;
}

/* =============================================================================
   2. RESET & BASE
   ============================================================================= */

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-base);
	font-size: var(--font-size-base);
	font-weight: 400;
	line-height: var(--line-height-base);
	color: var(--color-dark);
	background-color: var(--color-bg);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	display: block;
}

ul,
ol {
	list-style: none;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	cursor: pointer;
	background: none;
	border: none;
	font-family: var(--font-base);
}

/* =============================================================================
   3. TYPOGRAPHY
   ============================================================================= */

h1,
h2,
h3,
h4 {
	font-family: var(--font-base);
	color: var(--color-dark);
	line-height: 1.15;
}

h1 {
	font-size: clamp(36px, 5vw, 56px);
	font-weight: 700;
	letter-spacing: -0.02em;
}

h2 {
	font-size: clamp(28px, 3.5vw, 40px);
	font-weight: 300;
}

h3 {
	font-size: 22px;
	font-weight: 500;
}

p {
	margin-bottom: var(--space-sm);
	color: var(--color-muted);
}

p:last-child {
	margin-bottom: 0;
}

strong {
	font-weight: 700;
	color: var(--color-dark);
}

em {
	font-style: italic;
}

/* =============================================================================
   4. LAYOUT UTILITIES
   ============================================================================= */

.container {
	max-width: var(--container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--space-md);
	width:100%;
	padding-right: var(--space-md);
}

.section-padding {
	padding-top: var(--space-xl);
	padding-bottom: var(--space-xl);
}

.split-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}

.split-layout--reverse {
	direction: rtl;
}

.split-layout--reverse > * {
	direction: ltr;
}

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

/* Eyebrow label */
.eyebrow {
	display: block;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-primary);
	margin-bottom: var(--space-sm);
}

/* Primary button */
.btn-primary {
	display: inline-block;
	background-color: var(--color-accent-warm);
	color: #000;
	font-family: var(--font-base);
	font-size: 15px;
	font-weight: 500;
	padding: 14px 32px;
	border-radius: var(--radius-btn);
	transition: background-color 0.2s ease, transform 0.15s ease;
	letter-spacing: 0.01em;
}

.btn-primary:hover {
	background-color: #a31c09;
	transform: translateY(-1px);
}

/* Image placeholder */
.img-placeholder {
	background-color: var(--color-bg-soft);
	border: 2px dashed var(--color-border);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
}

.img-placeholder i {
	font-size: 48px;
	color: var(--color-border);
}

.img-placeholder span {
	font-size: 13px;
	color: var(--color-muted);
	font-weight: 400;
}

/* Aspect ratios */
.img-placeholder--portrait {
	aspect-ratio: 4 / 5;
}

.img-placeholder--portrait-sm {
	aspect-ratio: 3 / 4;
}

/* Badge */
.badge {
	display: inline-block;
	background-color: rgba(195, 35, 14, 0.07);
	color: var(--color-primary);
	border: 1px solid rgba(195, 35, 14, 0.15);
	font-size: 11px;
	font-weight: 500;
	padding: 3px 10px;
	border-radius: 3px;
	margin-top: 8px;
}

/* Thin section divider */
.section-divider {
	height: 1px;
	background-color: var(--color-border);
	border: none;
}

/* Credential list */
.credentials-list {
	margin-top: var(--space-md);
}

.credentials-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	font-size: 15px;
	color: var(--color-dark);
	font-weight: 500;
	border-bottom: 1px solid var(--color-border);
}

.credentials-list li:last-child {
	border-bottom: none;
}

.credentials-list .credential-icon {
	color: var(--color-primary);
	font-size: 10px;
	flex-shrink: 0;
}

/* =============================================================================
   6. HEADER
   ============================================================================= */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: var(--header-height);
	display: flex;
	align-items: center;
	background-color: transparent;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header:not(.scrolled) .primary-nav a {
	color: rgba(245, 237, 228, 0.85);
	opacity: 1;
}

.site-header:not(.scrolled) .primary-nav a:hover,
.site-header:not(.scrolled) .primary-nav a.active {
	color: var(--color-accent-warm);
	opacity: 1;
}

.site-header:not(.scrolled) .logo-fallback {
	color: var(--color-text-on-dark);
}

.site-header:not(.scrolled) .hamburger-bar {
	background-color: var(--color-text-on-dark);
}

.site-header.scrolled {
	background-color: var(--color-bg);
	box-shadow: 0 2px 20px rgba(42, 10, 6, 0.08);
	transition: all 0.3s ease;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

/* Logo */
.site-logo {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.site-logo img {
	height: 44px;
	width: auto;
}

.logo-fallback {
	font-size: 17px;
	font-weight: 700;
	color: var(--color-dark);
	letter-spacing: -0.01em;
}

/* Desktop nav */
.primary-nav {
	display: flex;
	align-items: center;
	gap: 36px;
}

.primary-nav a {
	font-size: 14px;
	font-weight: 500;
	color: var(--color-dark);
	opacity: 0.75;
	transition: opacity 0.2s ease, color 0.2s ease;
	position: relative;
}

.primary-nav a::after {
	content: '';
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 0;
	height: 1px;
	background-color:var(--color-accent-warm);
	transition: width 0.25s ease;
}

.primary-nav a:hover,
.primary-nav a.active {
	opacity: 1;
	color: var(--color-dark);
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
	width: 100%;
}

/* Hamburger */
.hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	padding: 4px;
}

.hamburger-bar {
	display: block;
	width: 24px;
	height: 1.5px;
	background-color: var(--color-dark);
	transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile nav overlay */
.nav-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background-color: var(--color-bg);
	z-index: 999;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.nav-overlay.is-open {
	display: flex;
	opacity: 1;
	z-index: 1001;
}

.nav-overlay a {
	font-size: 24px;
	font-weight: 300;
	color: var(--color-dark);
	padding: 12px 0;
	letter-spacing: -0.01em;
	transition: color 0.2s ease;
}

.nav-overlay a:hover {
	color: var(--color-primary);
}

.nav-close {
	position: absolute;
	top: 20px;
	right: 24px;
	font-size: 28px;
	color: var(--color-dark);
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* =============================================================================
   7. FOOTER
   ============================================================================= */

.site-footer {
	background-color: var(--color-bg-dark);
	color: var(--color-text-on-dark);
	border-top: 3px solid var(--color-primary);
}

.footer-main {
	padding: 64px 0 48px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 48px;
}

.footer-col h4 {
	color: var(--color-text-on-dark);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.footer-logo-text {
	font-size: 18px;
	font-weight: 700;
	color: var(--color-text-on-dark);
	display: block;
	margin-bottom: 8px;
}

.footer-tagline {
	font-size: 14px;
	color: rgba(245, 237, 228, 0.5);
	margin-bottom: 0;
}

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-links a {
	font-size: 14px;
	color: rgba(245, 237, 228, 0.65);
	transition: color 0.2s ease;
}

.footer-links a:hover {
	color: var(--color-accent-warm);
}

.footer-contact-item {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 14px;
	color: rgba(245, 237, 228, 0.65);
}

.footer-contact-item i {
	color: var(--color-accent-warm);
	width: 16px;
	text-align: center;
	flex-shrink: 0;
}

.footer-bottom {
	border-top: 1px solid rgba(245, 237, 228, 0.1);
	padding: 20px 0;
}

.footer-bottom p {
	font-size: 13px;
	color: rgba(245, 237, 228, 0.4);
	margin: 0;
	text-align: center;
}

/* =============================================================================
   8. HERO SECTION
   ============================================================================= */

#hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	background-color: var(--color-hero-bg);
	padding-top: var(--header-height);
	position: relative;
	overflow: hidden;
}

#hero::after {
	content: '';
	position: absolute;
	top: -80px;
	right: -80px;
	width: 500px;
	height: 500px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500' viewBox='0 0 500 500'%3E%3Ccircle cx='420' cy='80' r='300' fill='none' stroke='%23f8be61' stroke-width='1.5' opacity='0.13'/%3E%3Ccircle cx='420' cy='80' r='200' fill='none' stroke='%23f8be61' stroke-width='1' opacity='0.08'/%3E%3Ccircle cx='420' cy='80' r='380' fill='none' stroke='%23f8be61' stroke-width='0.75' opacity='0.06'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
	pointer-events: none;
	z-index: 0;
}

.hero-inner {
	position: relative;
	z-index: 1;
}

.hero-inner {
	display: grid;
	grid-template-columns: 55fr 45fr;
	gap: 80px;
	align-items: center;
	min-height: calc(100vh - var(--header-height));
	padding-top: 48px;
	padding-bottom: 48px;
}

.hero-content {
	animation: fadeInLeft 0.8s ease both;
}

.hero-content .eyebrow {
	margin-bottom: 20px;
	color: var(--color-accent-warm);
	opacity: 0.85;
}

.hero-content h1 {
	margin-bottom: 28px;
	color: #ffffff;
}

.hero-content p {
	font-size: 17px;
	line-height: 1.8;
	margin-bottom: 20px;
	max-width: 520px;
	color: var(--color-text-on-dark);
	opacity: 0.88;
}

.hero-content .btn-primary {
	margin-top: 12px;
	border: 2px solid transparent;
}

.hero-content .btn-primary:hover {
	background: transparent;
	border-color: var(--color-accent-warm);
	color: var(--color-accent-warm);
	transform: none;
}

.hero-image {
	animation: fadeInRight 0.8s ease 0.3s both;
}

.hero-image .img-placeholder {
	max-width: 440px;
	margin-left: auto;
}

/* =============================================================================
   9. PENTRU CINE SECTION
   ============================================================================= */

#pentru-cine {
	background-color: var(--color-bg-soft);
}

.pentru-cine-intro {
	max-width: 680px;
	margin: 0 auto 64px;
	text-align: center;
}

.pentru-cine-intro h2 {
	margin-top: 8px;
	margin-bottom: 20px;
	color: var(--color-dark);
}

.pentru-cine-intro p {
	font-size: 17px;
	line-height: 1.8;
}

.cases-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px 48px;
}

.case-item {
	padding-bottom: 28px;
	border-bottom: 1px solid var(--color-border);
}

.case-item:nth-last-child(-n+2) {
	border-bottom: none;
}

.case-header {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-bottom: 10px;
}

.case-header i {
	color: var(--color-primary);
	margin-top: 4px;
	flex-shrink: 0;
	font-size: 13px;
}

.case-header h3 {
	font-size: 16px;
	font-weight: 700;
	color: var(--color-dark);
	line-height: 1.4;
}

.case-item p {
	font-size: 15px;
	line-height: 1.7;
	padding-left: 25px;
	margin-bottom: 8px;
}

.case-item .badge {
	margin-left: 25px;
}

.pentru-cine-closing {
	max-width: 580px;
	margin: 48px auto 0;
	text-align: center;
	font-style: italic;
	color: var(--color-muted);
	font-size: 15px;
	line-height: 1.8;
}

/* =============================================================================
   10. ABORDARE SECTION
   ============================================================================= */

#abordare {
	background-color: var(--color-bg);
}

.abordare-inner {
	display: grid;
	grid-template-columns: 45fr 55fr;
	gap: 80px;
	align-items: center;
}

.abordare-image .img-placeholder {
	max-width: 400px;
}

.abordare-content .eyebrow {
	margin-bottom: 12px;
}

.abordare-content h2 {
	margin-bottom: 20px;
	color: var(--color-dark);
}

.abordare-content > p {
	font-size: 17px;
	margin-bottom: 36px;
}

.approach-block {
	padding: 20px 20px 20px 24px;
	margin-bottom: 24px;
}

.approach-block--imago {
	border-left: 3px solid var(--color-primary);
}

.approach-block--research {
	border-left: 3px solid var(--color-secondary);
}

.approach-block h3 {
	margin-bottom: 10px;
	color: var(--color-dark);
}

.approach-block p {
	font-size: 15px;
	line-height: 1.75;
	margin: 0;
}

.abordare-note {
	font-style: italic;
	font-size: 14px;
	color: var(--color-muted);
	margin-top: 32px;
	line-height: 1.8;
}

/* =============================================================================
   11. PROCES SECTION
   ============================================================================= */

#proces {
	background-color: var(--color-bg-soft);
}

.proces-intro {
	max-width: 600px;
	margin: 0 auto 72px;
	text-align: center;
}

.proces-intro h2 {
	margin-top: 8px;
	color: var(--color-dark);
}

.steps-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	position: relative;
}

.step-item {
	position: relative;
	padding: 0 32px 0 0;
}

.step-item:last-child {
	padding-right: 0;
}

.step-item::after {
	content: '';
	position: absolute;
	top: 36px;
	right: 0;
	width: 1px;
	height: 60px;
	background-color: var(--color-border);
}

.step-item:last-child::after {
	display: none;
}

.step-number {
	font-size: 72px;
	font-weight: 700;
	color: var(--color-primary);
	opacity: 0.10;
	line-height: 1;
	margin-bottom: -16px;
	display: block;
	font-variant-numeric: tabular-nums;
}

.step-title {
	font-size: 17px;
	font-weight: 700;
	color: var(--color-dark);
	margin-bottom: 12px;
	position: relative;
	z-index: 1;
}

.step-body {
	font-size: 14px;
	line-height: 1.75;
	color: var(--color-muted);
	margin: 0;
}

/* =============================================================================
   12. TESTIMONIALE SECTION
   ============================================================================= */

#testimoniale {
	background-color: var(--color-bg);
}

.testimoniale-intro {
	max-width: 600px;
	margin: 0 auto 64px;
	text-align: center;
}

.testimoniale-intro h2 {
	margin-top: 8px;
	color: var(--color-dark);
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 56px;
}

.testimonial-item {
	position: relative;
}

.quote-mark {
	display: block;
	font-size: 80px;
	line-height: 0.8;
	color: var(--color-accent-warm);
	font-family: Georgia, serif;
	margin-bottom: 20px;
	font-weight: 700;
	opacity: 0.5;
}

.testimonial-item blockquote {
	font-style: italic;
	font-size: 16px;
	line-height: 1.8;
	color: var(--color-dark);
	margin-bottom: 20px;
}

.testimonial-attribution {
	font-size: 13px;
	font-weight: 500;
	color: var(--color-muted);
	letter-spacing: 0.02em;
}

/* =============================================================================
   13. DESPRE SECTION
   ============================================================================= */

#despre {
	background-color: var(--color-bg-soft);
}

.despre-inner {
	display: grid;
	grid-template-columns: 55fr 45fr;
	gap: 80px;
	align-items: start;
}

.despre-content .eyebrow {
	margin-bottom: 12px;
}

.despre-content h2 {
	margin-bottom: 6px;
	color: var(--color-dark);
}

.despre-subheading {
	font-style: italic;
	font-size: 16px;
	color: var(--color-muted);
	margin-bottom: 28px;
	display: block;
}

.despre-content p {
	font-size: 16px;
	line-height: 1.8;
	margin-bottom: 18px;
}

.despre-image .img-placeholder {
	max-width: 400px;
	margin-left: auto;
}

/* =============================================================================
   14. CONTACT SECTION
   ============================================================================= */

#contact {
	background-color: var(--color-bg);
	border-top: 3px solid var(--color-accent-warm);
}

.contact-inner {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 80px;
	align-items: start;
}

.contact-content .eyebrow {
	margin-bottom: 12px;
}

.contact-content h2 {
	margin-bottom: 16px;
	color: var(--color-dark);
}

.contact-content > p {
	font-size: 17px;
	line-height: 1.8;
	margin-bottom: 32px;
}

.contact-location {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.contact-location-item {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 15px;
	color: var(--color-dark);
	font-weight: 500;
}

.contact-location-item i {
	color: var(--color-primary);
	width: 20px;
	text-align: center;
	font-size: 16px;
}

.cf7-placeholder {
	border: 2px dashed var(--color-border);
	min-height: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-bg-soft);
	border-radius: 4px;
}

.cf7-placeholder-text {
	text-align: center;
	color: var(--color-muted);
	font-size: 14px;
	font-style: italic;
}

/* =============================================================================
   15. ANIMATIONS & TRANSITIONS
   ============================================================================= */

@keyframes fadeInLeft {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fadeInRight {
	from {
		opacity: 0;
		transform: translateX(30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.animate-on-scroll {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Staggered delays for sibling items */
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }
.animate-on-scroll:nth-child(7) { transition-delay: 0.6s; }

/* =============================================================================
   16. RESPONSIVE — TABLET 768px
   ============================================================================= */

@media (min-width: 768px) and (max-width: 1023px) {
	.hero-inner {
		grid-template-columns: 1fr;
		gap: 48px;
		text-align: center;
	}

	.hero-content p {
		max-width: 100%;
	}

	.hero-image .img-placeholder {
		max-width: 380px;
		margin: 0 auto;
		aspect-ratio: 16 / 9;
	}

	.abordare-inner {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.abordare-image {
		order: 2;
	}

	.abordare-content {
		order: 1;
	}

	.steps-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px;
	}

	.step-item::after {
		display: none;
	}

	.testimonials-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.testimonial-item {
		padding-bottom: 40px;
		border-bottom: 1px solid var(--color-border);
	}

	.testimonial-item:last-child {
		border-bottom: none;
		padding-bottom: 0;
	}

	.despre-inner {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.despre-image .img-placeholder {
		max-width: 100%;
		margin: 0;
		aspect-ratio: 16 / 9;
	}

	.contact-inner {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
	}
}

/* =============================================================================
   17. RESPONSIVE — MOBILE < 768px
   ============================================================================= */

@media (max-width: 767px) {
	:root {
		--space-xl: 64px;
	}

	/* Header */
	.primary-nav {
		display: none;
	}

	.hamburger {
		display: flex;
	}

	/* Hero */
	.hero-inner {
		grid-template-columns: 1fr;
		gap: 40px;
		min-height: auto;
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.hero-image .img-placeholder {
		max-width: 100%;
		aspect-ratio: 4 / 3;
	}

	/* Cases */
	.cases-grid {
		grid-template-columns: 1fr;
	}

	.case-item:nth-last-child(-n+2) {
		border-bottom: 1px solid var(--color-border);
	}

	.case-item:last-child {
		border-bottom: none;
	}

	/* Abordare */
	.abordare-inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.abordare-image {
		order: 2;
	}

	.abordare-content {
		order: 1;
	}

	.abordare-image .img-placeholder {
		max-width: 100%;
		aspect-ratio: 4 / 3;
	}

	/* Proces */
	.steps-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.step-item {
		padding: 0 0 40px 0;
		border-bottom: 1px solid var(--color-border);
	}

	.step-item:last-child {
		border-bottom: none;
		padding-bottom: 0;
	}

	.step-item::after {
		display: none;
	}

	/* Testimoniale */
	.testimonials-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.testimonial-item {
		padding-bottom: 40px;
		border-bottom: 1px solid var(--color-border);
	}

	.testimonial-item:last-child {
		border-bottom: none;
		padding-bottom: 0;
	}

	/* Despre */
	.despre-inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.despre-image .img-placeholder {
		max-width: 100%;
		margin: 0;
		aspect-ratio: 4 / 3;
	}

	/* Contact */
	.contact-inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	/* Footer */
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	/* Split layout utility */
	.split-layout {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.split-layout--reverse {
		direction: ltr;
	}
}

/* =============================================================================
   Contact Form 7 — Custom styles
   ============================================================================= */

.cf7-contact-form {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.cf7-row {
	display: flex;
	gap: 24px;
}

.cf7-row--two-cols .cf7-field-group {
	flex: 1 1 0;
	min-width: 0;
}

.cf7-row--submit {
	margin-top: 8px;
}

.cf7-field-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
}

.cf7-field-group label {
	font-size: 14px;
	font-weight: 600;
	color: var(--color-dark);
}

.cf7-required {
	color: var(--color-primary);
	margin-left: 2px;
}

.cf7-contact-form .wpcf7-form-control:not([type="submit"]):not(.wpcf7-acceptance) {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	font-size: 15px;
	color: var(--color-dark);
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
	font-family: var(--font-base);
}

.cf7-contact-form .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(195, 35, 14, 0.12);
}

.cf7-contact-form textarea.wpcf7-form-control {
	min-height: 140px;
	resize: vertical;
}

.cf7-contact-form .wpcf7-not-valid-tip {
	font-size: 12px;
	color: var(--color-primary);
	margin-top: 4px;
}

.cf7-contact-form .wpcf7-form-control.wpcf7-not-valid {
	border-color: var(--color-primary);
}

.cf7-field-group--checkbox {
	flex-direction: row;
	align-items: flex-start;
	gap: 10px;
}

.cf7-contact-form .wpcf7-acceptance,
.cf7-contact-form .wpcf7-list-item {
	border: none;
	background: none;
	padding: 0;
	margin: 0;
}

.cf7-acceptance__input {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--color-primary);
	flex-shrink: 0;
	cursor: pointer;
}

.cf7-acceptance__label {
	font-size: 14px;
	color: var(--color-muted);
	line-height: 1.5;
}

.cf7-link {
	color: var(--color-primary);
	text-decoration: underline;
}

.cf7-submit {
	display: inline-block;
	padding: 14px 36px;
	background: var(--color-primary);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.1s ease;
	font-family: var(--font-base);
}

.cf7-submit:hover {
	background: #a11d0b;
}

.cf7-submit:active {
	transform: scale(0.98);
}

.wpcf7-response-output {
	margin-top: 16px;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
}

@media (max-width: 640px) {
	.cf7-row--two-cols {
		flex-direction: column;
	}
}
