/* Psiholog Toma Loreta – stiluri site.
   Așezare după șablonul Kadence „Meditation” (g73): alb și crem, titluri Cormorant Garamond, text Jost,
   arcade la imagini, butoane drepte; culorile din siglă: turcoaz (#4f8a8a) și un roz discret ca accent. */
:root {
	--tl-teal: #4f8a8a;
	--tl-teal-dark: #356666;
	--tl-pink: #e9a3c2;
	--tl-pink-soft: #f8e6ee;
	--tl-ink: #262626;
	--tl-text: #4a4f4c;
	--tl-muted: #6c706b;
	--tl-line: #ece8db;
	--tl-cream: #f6f3ea;
	--tl-cream-2: #ece8db;
	--tl-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
}
body { background: #fff; color: var(--tl-text); }
::selection { background: var(--tl-pink-soft); }
h1, h2, h3, h4 { font-family: var(--tl-serif); font-weight: 500; letter-spacing: 0; color: var(--tl-ink); text-wrap: balance; }
a { color: var(--tl-teal-dark); }
a:hover { color: var(--tl-teal); }
.entry-content p, .entry-content li { text-wrap: pretty; }

/* ---------- animații ---------- */
.tl-js .tl-reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.tl-js .tl-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .tl-js .tl-reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- elemente comune ---------- */
.tl-label { font-family: var(--tl-serif); font-style: italic; font-size: 1.25rem !important; color: var(--tl-teal) !important; margin: 0 0 .5rem !important; letter-spacing: 0; }
.tl-label::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--tl-pink); vertical-align: middle; margin-right: 12px; }
.tl-label-center::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--tl-pink); vertical-align: middle; margin-left: 12px; }
.tl-title { font-size: clamp(2rem, 4vw, 2.9rem) !important; line-height: 1.12; max-width: 22ch; margin: 0 auto 1.1rem !important; }
.tl-lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem) !important; line-height: 1.7; color: var(--tl-muted); max-width: 62ch; }
.has-text-align-center.tl-lead { margin-left: auto !important; margin-right: auto !important; }
.tl-muted { color: var(--tl-muted); font-size: .95rem; }
.tl-big { font-family: var(--tl-serif); font-size: 1.55rem !important; line-height: 1.3; color: var(--tl-ink); margin: 0 0 1.2rem !important; }
.tl-big a { color: var(--tl-ink); text-decoration: none; border-bottom: 1px solid var(--tl-pink); }
.tl-big a:hover { color: var(--tl-teal-dark); }
.tl-center { justify-content: center; }

/* butoane: drepte, majuscule spațiate (ca în șablon) */
.tl-btn, .entry-content .wp-block-button__link, .site-header .header-button, .mobile-header-button-wrap .button {
	font-family: var(--tl-serif) !important; font-size: 1rem !important; font-weight: 600 !important; letter-spacing: 1.5px; text-transform: uppercase; border-radius: 0 !important;
}
.tl-btn { display: inline-block; background: var(--tl-teal); color: #fff !important; text-decoration: none; padding: .95em 2em; border: 1px solid var(--tl-teal); transition: background .25s, color .25s, border-color .25s; }
.tl-btn:hover, .tl-btn:focus-visible { background: var(--tl-teal-dark); border-color: var(--tl-teal-dark); color: #fff !important; }
.entry-content .wp-block-button__link { padding: .95em 2em; background: var(--tl-teal); color: #fff; border: 1px solid var(--tl-teal); }
.entry-content .wp-block-button__link:hover { background: var(--tl-teal-dark); border-color: var(--tl-teal-dark); color: #fff; }
.tl-btn-outline .wp-block-button__link { background: transparent; color: var(--tl-ink); border-color: var(--tl-ink); }
.tl-btn-outline .wp-block-button__link:hover { background: var(--tl-ink); color: #fff; border-color: var(--tl-ink); }
.site-header .header-button { padding: .8em 1.6em !important; }

/* ---------- antet ---------- */
.site-header .site-branding a.brand img { max-height: none; }
.site-main-header-inner-wrap { gap: 1rem; }
.header-navigation .sub-menu { box-shadow: 0 18px 40px -22px rgba(38,38,38,.35); border-top: 2px solid var(--tl-pink); }
.header-navigation .sub-menu a { font-size: .95rem; letter-spacing: .3px; text-transform: none; }
.main-navigation .menu > li.current-menu-item > a, .main-navigation .menu > li.current-menu-ancestor > a,
.secondary-navigation .menu > li.current-menu-item > a { color: var(--tl-teal-dark); }
.header-navigation .menu > li > a { position: relative; }
.header-navigation .menu > li.current-menu-item > a::after, .header-navigation .menu > li.current-menu-ancestor > a::after { content: ""; position: absolute; left: calc(var(--kadence-nav-spacing, 1.4em) / 2); right: calc(var(--kadence-nav-spacing, 1.4em) / 2); bottom: .6em; height: 1px; background: var(--tl-pink); }
.header-social-wrap .social-button { width: 40px; height: 40px; }

/* titlul paginilor: bandă crem, ca în șablon */
.entry-hero .entry-header { padding-block: 2rem; }
.entry-hero h1.entry-title { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.entry-hero .kadence-breadcrumbs { font-size: .85rem; letter-spacing: 1px; text-transform: uppercase; color: var(--tl-muted); }
.entry-hero .kadence-breadcrumbs a { color: var(--tl-teal-dark); text-decoration: none; }

/* ---------- prima pagină: erou (imagine mare cu text + două imagini în dreapta) ---------- */
.tl-hero { padding: 26px 20px 0; }
.tl-hero-grid { display: grid; grid-template-columns: 2.1fr 1fr; gap: 26px; }
.tl-hero-main { position: relative; min-height: 600px; overflow: hidden; }
.tl-hero-main > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tl-hero-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,34,34,.68) 0%, rgba(20,34,34,.35) 55%, rgba(20,34,34,.05) 100%); }
.tl-hero-text { position: relative; z-index: 1; max-width: 680px; padding: clamp(2rem, 6vw, 4.5rem); color: #fff; display: flex; flex-direction: column; justify-content: center; min-height: 600px; box-sizing: border-box; }
.tl-hero-text .tl-label { color: #fff !important; }
.tl-hero-text .tl-label::before { background: var(--tl-pink); }
.tl-hero-text h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.9rem); line-height: 1.06; margin: 0 0 1.2rem; }
.tl-hero-text p { font-size: 1.12rem; line-height: 1.65; margin: 0 0 2rem; color: rgba(255,255,255,.92); }
.tl-hero-text .tl-btn { align-self: flex-start; background: #fff; color: var(--tl-ink) !important; border-color: #fff; }
.tl-hero-text .tl-btn:hover { background: var(--tl-pink-soft); border-color: var(--tl-pink-soft); }
.tl-hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 26px; }
.tl-hero-side img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 0; }
.tl-hero-side img:first-child { border-radius: 999px 999px 0 0; }

/* ---------- arcade: cele trei servicii principale ---------- */
.tl-intro { padding: clamp(4rem, 8vw, 7rem) 20px clamp(3rem, 6vw, 5rem); text-align: center; }
.tl-arches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin: 3rem 0 2.6rem; }
.tl-arch-card { text-decoration: none; color: var(--tl-ink); display: block; }
.tl-arch-img { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 999px 999px 0 0; }
.tl-arch-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.tl-arch-card:hover .tl-arch-img img { transform: scale(1.05); }
.tl-arch-title { display: block; font-family: var(--tl-serif); font-size: 1.75rem; margin-top: 1.1rem; }
.tl-arch-card:hover .tl-arch-title { color: var(--tl-teal-dark); }
.entry-content .tl-arch-photo img { border-radius: 999px 999px 0 0; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* ---------- benzi crem ---------- */
.tl-band { background: var(--tl-cream); padding: clamp(4rem, 8vw, 6.5rem) 20px; }
.tl-about-grid { display: grid; grid-template-columns: 1fr 1.05fr 1.15fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.tl-about-grid h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.08; margin: 0; }
.tl-about-photo { margin: 0; }
.tl-about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 999px 999px 0 0; display: block; }
.tl-about-grid p { margin: 0 0 1.1rem; }
.tl-about-grid .tl-btn { margin-top: .8rem; }

/* ---------- două carduri crem cu imagine rotundă ---------- */
.tl-cards-sec { padding: clamp(4rem, 8vw, 6.5rem) 20px; text-align: center; }
.tl-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 3rem; text-align: center; }
.tl-cards-3 { grid-template-columns: repeat(3, 1fr); margin-top: 2.5rem; }
.tl-card { background: var(--tl-cream); padding: 2.6rem 2.2rem 2.4rem; display: flex; flex-direction: column; align-items: center; }
.tl-card-img { width: 180px; height: 180px; border-radius: 50%; overflow: hidden; margin-bottom: 1.5rem; border: 6px solid #fff; }
.tl-card-img img { width: 100%; height: 100%; object-fit: cover; }
.tl-card h3 { font-size: 1.85rem; margin: 0 0 .7rem; }
.tl-card h3 a { color: var(--tl-ink); text-decoration: none; }
.tl-card h3 a:hover { color: var(--tl-teal-dark); }
.tl-card p { color: var(--tl-muted); margin: 0 0 1.6rem; flex: 1; }

/* ---------- acordeon „Te pot ajuta dacă…” ---------- */
.tl-help-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.tl-help-grid h2, .tl-faq h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin: 0 0 1.8rem; }
.tl-acc { border-bottom: 1px solid var(--tl-cream-2); background: #fff; margin-bottom: 10px; }
.tl-acc summary { list-style: none; cursor: pointer; padding: 1.15rem 3.4rem 1.15rem 1.5rem; position: relative; font-family: var(--tl-serif); font-size: 1.35rem; line-height: 1.3; color: var(--tl-ink); }
.tl-acc summary::-webkit-details-marker { display: none; }
.tl-acc summary::first-letter { text-transform: uppercase; }
.tl-acc summary::after { content: "+"; position: absolute; right: 1.4rem; top: 50%; transform: translateY(-50%); font-family: var(--tl-serif); font-size: 1.8rem; color: var(--tl-teal); transition: transform .3s; }
.tl-acc[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.tl-acc summary:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: -2px; }
.tl-acc p { padding: 0 1.5rem 1.3rem; margin: 0; color: var(--tl-muted); }
.tl-help-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; }
.tl-help-imgs img { width: 100%; aspect-ratio: 3 / 4.4; object-fit: cover; display: block; }
.tl-help-imgs img:first-child { border-radius: 999px 999px 0 0; aspect-ratio: 3 / 5; }

/* ---------- citat lung + imagine + text ---------- */
.tl-quote-sec { padding: clamp(4rem, 8vw, 7rem) 20px; }
.tl-quote-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.tl-quote-grid h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.2; font-style: italic; margin: 0 0 2.4rem; }
.tl-quote-grid img { width: 100%; aspect-ratio: 16 / 9; object-position: center 40%; object-fit: cover; display: block; }
.tl-quote-box { background: var(--tl-cream); padding: 2.6rem 2.4rem; border-top: 3px solid var(--tl-pink); }
.tl-quote-box p { margin: 0 0 1.1rem; }
.tl-quote-box .tl-btn { margin-top: .8rem; }

/* ---------- banda de contact ---------- */
.tl-contact-band { background: var(--tl-teal-dark); color: #fff; }
.tl-contact-band h2, .tl-contact-band a, .tl-contact-band .tl-big a { color: #fff; }
.tl-contact-band .tl-label { color: var(--tl-pink) !important; }
.tl-contact-band .tl-big { color: #fff; font-size: 1.4rem !important; }
.tl-contact-grid { display: grid; grid-template-columns: 1.3fr 1.2fr auto; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.tl-contact-grid h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin: 0 0 .6rem; }
.tl-contact-grid p { margin: 0; }
.tl-contact-band .tl-btn { background: #fff; color: var(--tl-ink) !important; border-color: #fff; }
.tl-contact-band .tl-btn:hover { background: var(--tl-pink-soft); border-color: var(--tl-pink-soft); }

/* ---------- pagini interioare ---------- */
.entry-content .tl-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 999px 999px 0 0; }
.entry-content > .wp-block-columns { gap: clamp(2rem, 5vw, 4.5rem); margin-bottom: 3.5rem; }
.entry-content h2.wp-block-heading { font-size: clamp(1.9rem, 3vw, 2.4rem); margin-top: 2.6rem; }
.entry-content ul.wp-block-list { padding-left: 0; list-style: none; }
.entry-content ul.wp-block-list li { position: relative; padding: .35rem 0 .35rem 1.8rem; }
.entry-content ul.wp-block-list li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 14px; height: 1px; background: var(--tl-teal); }
.tl-principles { margin-top: 2rem; }
.tl-principles h2 { margin-top: 0 !important; max-width: 24ch; }
.tl-steps { counter-reset: s; list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; }
.tl-steps li { counter-increment: s; position: relative; padding: 1.1rem 0 1.1rem 3.6rem; border-bottom: 1px solid var(--tl-cream-2); }
.tl-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: .85rem; font-family: var(--tl-serif); font-size: 1.7rem; color: var(--tl-teal); font-style: italic; }
.tl-steps-big { grid-template-columns: 1fr; max-width: 820px; margin-bottom: 3.5rem; }
.tl-steps-big strong { font-family: var(--tl-serif); font-size: 1.35rem; font-weight: 600; color: var(--tl-ink); display: block; margin-bottom: .2rem; }
.tl-faq { margin-top: 1rem; }
.tl-cta { background: var(--tl-cream); padding: 2.6rem 2.4rem; margin-top: 3.5rem; border-top: 3px solid var(--tl-pink); text-align: center; }
.tl-cta h3 { font-size: 2rem; margin: 0 0 .5rem; }
.tl-cta .tl-label::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--tl-pink); vertical-align: middle; margin-left: 12px; }
.tl-cta .wp-block-buttons { justify-content: center; }
.tl-contact { background: var(--tl-cream); padding: 2.4rem 2.2rem 1.4rem; margin-bottom: 1.5rem; }
.tl-contact .tl-label { font-size: 1.1rem !important; }
.tl-map { position: relative; aspect-ratio: 4 / 4.2; background: var(--tl-cream); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; gap: .6rem; }
.tl-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tl-map p { color: var(--tl-muted); max-width: 34ch; margin: 0 0 .6rem; }
.tl-map button { font-family: var(--tl-serif); font-size: 1rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; background: var(--tl-teal); color: #fff; border: 0; border-radius: 0; padding: .95em 2em; cursor: pointer; }
.tl-map button:hover { background: var(--tl-teal-dark); }

/* ---------- subsol ---------- */
.site-footer .site-middle-footer-inner-wrap { padding-top: 4rem; padding-bottom: 1rem; }
.site-footer .tl-footer-logo, .site-footer .widget_media_image img { width: 170px; height: auto; margin: 0 auto; display: block; }
.site-footer .widget_media_image { text-align: center; }
.site-footer .footer-navigation .menu { justify-content: center; }
.tl-footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 2rem; font-size: .98rem; margin-bottom: 1.4rem; }
.tl-footer-contact a { color: var(--tl-ink); text-decoration: none; }
.tl-footer-contact a:hover { color: var(--tl-teal-dark); }
.tl-footer-copy { font-size: .86rem; color: var(--tl-muted); border-top: 1px solid var(--tl-cream-2); padding-top: 1.2rem; }
.tl-footer-copy a { color: var(--tl-muted); }

/* ---------- 404 ---------- */
.tl-404-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin: 2rem 0 1rem; }
.tl-404-links a { background: var(--tl-cream); padding: 1.3rem 1.4rem; text-decoration: none; color: var(--tl-ink); border-top: 2px solid transparent; transition: border-color .2s; }
.tl-404-links a:hover { border-color: var(--tl-pink); }
.tl-404-links strong { display: block; font-family: var(--tl-serif); font-size: 1.4rem; font-weight: 600; }
.tl-404-links span { color: var(--tl-muted); font-size: .92rem; }

/* ---------- ecrane mici ---------- */
@media (max-width: 1024px) {
	.tl-hero-grid { grid-template-columns: 1fr; }
	.tl-hero-side { display: none; }
	.tl-about-grid { grid-template-columns: 1fr 1fr; }
	.tl-about-grid > div:first-child { grid-column: 1 / -1; }
	.tl-contact-grid { grid-template-columns: 1fr 1fr; }
	.tl-cards-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
	.tl-hero { padding: 0; }
	.tl-hero-main, .tl-hero-text { min-height: 540px; }
	.tl-hero-main::after { background: linear-gradient(0deg, rgba(20,34,34,.78) 0%, rgba(20,34,34,.45) 60%, rgba(20,34,34,.2) 100%); }
	.tl-hero-text { justify-content: flex-end; padding: 2rem 20px 2.4rem; }
	.tl-arches { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
	.tl-about-grid, .tl-help-grid, .tl-quote-grid, .tl-contact-grid, .tl-cards, .tl-cards-3, .tl-steps { grid-template-columns: 1fr; }
	.tl-about-photo { max-width: 360px; }
	.tl-help-imgs { display: none; }
	.tl-card { padding: 2rem 1.4rem; }
	.tl-acc summary { font-size: 1.2rem; padding-left: 1.1rem; }
	.tl-cta, .tl-contact, .tl-quote-box { padding: 2rem 1.4rem; }
}
.tl-help-imgs:has(> img:only-child) { grid-template-columns: 1fr; }
.tl-help-imgs > img:only-child { aspect-ratio: 4 / 5; }
/* Kadence anulează spațiul lateral al secțiunilor pe toată lățimea; îl punem înapoi */
.entry-content .alignfull.tl-band { padding-left: 20px !important; padding-right: 20px !important; }
@media (min-width: 768px) { .entry-content .alignfull.tl-band, .entry-content .alignfull.tl-hero { padding-left: 32px !important; padding-right: 32px !important; } }
