/* ==========================================================================
   Trei Ferestre – hotel boutique în Sibiu
   Var, țiglă și verde de oblon. „Ochii” de pe acoperișurile Sibiului apar
   în logo, la camere și la asistent.
   ========================================================================== */

:root {
	--tf-shutter: #1F3B33;
	--tf-shutter-deep: #142722;
	--tf-text: #3D3A35;
	--tf-muted: #6E675C;
	--tf-tile: #A6452B;
	--tf-tile-dark: #8A3620;
	--tf-tile-soft: #F3DDD3;
	--tf-lime: #F5F0E6;
	--tf-white: #FFFDF8;
	--tf-plaster: #E9DFCC;
	--tf-ochre: #D9A441;
	--tf-glass: #2C4A5A;
	--tf-line: #E2D8C5;

	--tf-serif: "Young Serif", Georgia, serif;
	--tf-sans: "Outfit", system-ui, sans-serif;
}

body {
	background: var(--tf-lime);
	color: var(--tf-text);
	font-family: var(--tf-sans);
	font-size: 1.0625rem;
	line-height: 1.6;
}

h1, h2, h3, h4 {
	font-family: var(--tf-serif);
	font-weight: 400;
	color: var(--tf-shutter);
	line-height: 1.08;
	letter-spacing: -0.01em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 1.6rem + 3.8vw, 4.8rem); }
h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3.1rem); }
h3 { font-size: 1.45rem; }
h1 em, h2 em { font-style: normal; color: var(--tf-tile); }

p { max-width: 62ch; }
a { color: var(--tf-shutter); text-decoration-color: var(--tf-tile); text-underline-offset: 0.2em; }
a:hover { color: var(--tf-tile); }
:focus-visible { outline: 3px solid var(--tf-ochre); outline-offset: 3px; }

.elementor-button { border-radius: 999px; font-weight: 600; }
.tf-btn-line .elementor-button { background: transparent; color: var(--tf-shutter); box-shadow: inset 0 0 0 2px currentColor; }
.tf-btn-line .elementor-button:hover { background: var(--tf-white); color: var(--tf-shutter); }

.tf-kicker { margin: 0; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tf-tile); }

/* ---------- „Ochiul” ---------- */

.tf-eye { display: block; width: 100%; height: auto; }
.tf-eye__lid { fill: var(--tf-tile); }
.tf-eye__glass { fill: var(--tf-glass); }
.tf-eye__bar { fill: none; stroke: var(--tf-plaster); stroke-width: 2; }
.tf-eye-wrap { max-width: 520px; margin-inline: auto; }

/* ---------- Logo: trei ferestre ---------- */

.tf-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: var(--tf-shutter);
	font-family: var(--tf-serif);
	font-size: 1.6rem;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}
.tf-logo:hover { color: var(--tf-shutter); }
.tf-logo__eyes { display: inline-flex; align-items: flex-end; gap: 2px; }
.tf-logo__eyes .tf-eye { width: 22px; }
.tf-logo__eyes .tf-eye:nth-child(2) { width: 30px; }
.tf-dark .tf-logo, .tf-dark .tf-logo:hover { color: #fff; }
.tf-dark .tf-eye__lid { fill: var(--tf-ochre); }

/* ---------- Acoperișul din hero ---------- */

.tf-roof { position: relative; padding-top: 2rem; }
.tf-roof__tiles {
	position: relative;
	height: 150px;
	border-radius: 0 0 6px 6px;
	background:
		repeating-linear-gradient(90deg, transparent 0 34px, rgba(0, 0, 0, 0.09) 34px 36px),
		repeating-linear-gradient(180deg, var(--tf-tile) 0 20px, var(--tf-tile-dark) 20px 22px);
	clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%);
}
.tf-roof__eyes { position: absolute; inset: 0 0 auto; display: flex; justify-content: center; gap: 9%; transform: translateY(18px); }
.tf-roof__eyes .tf-eye { width: clamp(70px, 12vw, 130px); }
.tf-roof__eyes .tf-eye__lid { fill: var(--tf-tile-dark); }
.tf-roof__eyes .tf-eye:nth-child(2) { transform: translateY(-12px); }
.tf-roof__wall { height: 26px; background: var(--tf-plaster); border-radius: 0 0 8px 8px; }

/* ---------- Căutarea din hero ---------- */

.tf-search, .tf-book__bar {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
	gap: 0.8rem;
	align-items: end;
	padding: 1rem;
	border-radius: 22px;
	background: var(--tf-white);
	box-shadow: 0 1px 0 var(--tf-line), 0 24px 50px -30px rgba(31, 59, 51, 0.45);
}
.tf-search label, .tf-book__bar label { min-width: 0; display: grid; gap: 0.25rem; margin: 0; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tf-muted); }
.tf-search input, .tf-search select,
.tf-book__bar input[type="date"], .tf-book__bar select {
	width: 100%;
	min-width: 0;
	min-height: 48px;
	padding: 0.55rem 0.8rem;
	border: 1.5px solid var(--tf-line);
	border-radius: 12px;
	background: var(--tf-lime);
	color: var(--tf-shutter);
	font: 500 1rem var(--tf-sans);
	text-transform: none;
	letter-spacing: 0;
}
.tf-search input:focus, .tf-search select:focus,
.tf-book__bar input:focus, .tf-book__bar select:focus { border-color: var(--tf-shutter); outline: none; }
.tf-search button {
	min-height: 48px;
	padding: 0 1.4rem;
	border: 0;
	border-radius: 999px;
	background: var(--tf-tile);
	color: #fff;
	font: 600 1rem var(--tf-sans);
	cursor: pointer;
	white-space: nowrap;
}
.tf-search button:hover { background: var(--tf-tile-dark); }
.tf-book__check { display: flex !important; align-items: center; gap: 0.5rem; min-height: 48px; padding: 0 0.4rem; text-transform: none !important; letter-spacing: 0 !important; font-size: 1rem !important; font-weight: 500 !important; color: var(--tf-shutter) !important; cursor: pointer; white-space: nowrap; }
.tf-book__check input { width: 1.2rem; height: 1.2rem; accent-color: var(--tf-tile); }

/* ---------- Disponibilitate ---------- */

.tf-book__summary { margin: 1.4rem 0 0.6rem; font-weight: 600; color: var(--tf-shutter); max-width: none; }
.tf-book__list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.tf-offer {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr) 250px;
	gap: 1.4rem;
	align-items: center;
	padding: 1.3rem;
	border-radius: 22px;
	background: var(--tf-white);
	box-shadow: inset 0 0 0 1px var(--tf-line);
}
.tf-offer__eye { padding: 1rem 0.6rem 0; border-radius: 14px; background: var(--tf-plaster); }
.tf-offer h3 { margin: 0 0 0.3rem; }
.tf-offer p { margin: 0; }
.tf-offer__facts { margin-top: 0.5rem !important; font-size: 0.92rem; color: var(--tf-muted); }
.tf-offer__price { display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem; }
.tf-offer__price strong { font: 400 1.9rem/1.1 var(--tf-serif); color: var(--tf-shutter); }
.tf-offer__price span { font-size: 0.92rem; color: var(--tf-muted); }
.tf-offer__ota { font-size: 0.85rem !important; }
.tf-offer__ota s { color: var(--tf-tile); }
.tf-offer__last { padding: 0.15rem 0.6rem; border-radius: 6px; background: #FBEBC7; color: #7A5410; font: 600 0.8rem var(--tf-sans); font-style: normal; }
.tf-offer__cta, .tf-room__cta {
	display: inline-block;
	margin-top: 0.6rem;
	padding: 0.7rem 1.3rem;
	border-radius: 999px;
	background: var(--tf-tile);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}
.tf-offer__cta:hover { background: var(--tf-tile-dark); color: #fff; }
.tf-offer.is-full, .tf-offer.is-small { background: transparent; }
.tf-offer.is-full .tf-offer__eye, .tf-offer.is-small .tf-offer__eye { filter: grayscale(1); opacity: 0.6; }
.tf-offer.is-full .tf-offer__price strong, .tf-offer.is-small .tf-offer__price strong { font: 600 1rem var(--tf-sans); color: var(--tf-muted); }
.tf-book__note { margin-top: 1rem; font-size: 0.88rem; color: var(--tf-muted); }

/* ---------- Camere (prima pagină) ---------- */

.tf-rooms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; margin: 0; padding: 0; list-style: none; }
.tf-room { display: flex; flex-direction: column; padding: 1.2rem; border-radius: 22px; background: var(--tf-white); box-shadow: inset 0 0 0 1px var(--tf-line); }
.tf-room__eye { position: relative; padding: 1.4rem 1.2rem 0; border-radius: 14px; background: var(--tf-plaster); }
.tf-room__eye span { position: absolute; top: 0.6rem; right: 0.7rem; font-size: 0.78rem; font-weight: 600; color: var(--tf-muted); }
.tf-room h3 { margin: 1rem 0 0.3rem; }
.tf-room p { margin: 0; font-size: 0.97rem; }
.tf-room__price { margin-top: auto !important; padding-top: 0.9rem; font: 400 1.5rem var(--tf-serif); color: var(--tf-shutter); }
.tf-room__price small { font: 500 0.85rem var(--tf-sans); color: var(--tf-muted); }

/* ---------- Direct față de platforme ---------- */

.tf-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.tf-compare > li { padding: 1.4rem; border-radius: 20px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.tf-compare > li:first-child { background: var(--tf-ochre); box-shadow: none; color: var(--tf-shutter-deep); }
.tf-compare small { display: block; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; opacity: 0.8; }
.tf-compare strong { display: block; margin: 0.3rem 0 0.6rem; font: 400 2.2rem/1 var(--tf-serif); }
.tf-compare > li:not(:first-child) strong { color: #fff; }
.tf-compare ul { margin: 0; padding-left: 1.1rem; font-size: 0.95rem; list-style: disc; }
.tf-compare ul li { padding: 0.15rem 0; }

/* ---------- Automatizări: după rezervare ---------- */

.tf-flow { position: relative; display: grid; gap: 0; margin: 0; padding: 0 0 0 2rem; list-style: none; }
.tf-flow::before { content: ""; position: absolute; left: 0.45rem; top: 0.6rem; bottom: 0.6rem; width: 2px; background: var(--tf-line); }
.tf-flow li { position: relative; padding: 0 0 1.5rem; }
.tf-flow li::before { content: ""; position: absolute; left: -2rem; top: 0.35rem; width: 0.95rem; height: 0.95rem; border-radius: 50%; background: var(--tf-lime); box-shadow: inset 0 0 0 3px var(--tf-tile); }
.tf-flow li:last-child { padding-bottom: 0; }
.tf-flow__when { font-weight: 600; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tf-tile); }
.tf-flow h3 { margin: 0.15rem 0 0.2rem; font-size: 1.3rem; }
.tf-flow p { margin: 0; color: var(--tf-muted); }

/* ---------- Asistentul ---------- */

.tf-chat { display: flex; flex-direction: column; border-radius: 24px; background: var(--tf-white); box-shadow: 0 1px 0 var(--tf-line), 0 24px 50px -30px rgba(31, 59, 51, 0.45); overflow: hidden; }
.tf-chat__head { display: flex; align-items: center; gap: 0.8rem; padding: 1rem 1.2rem; background: var(--tf-shutter); color: #CFDDD6; }
.tf-chat__head p { margin: 0; line-height: 1.3; }
.tf-chat__head strong { display: block; color: #fff; }
.tf-chat__head span { font-size: 0.88rem; }
.tf-chat__avatar { flex: none; display: grid; place-items: end center; width: 2.8rem; height: 2.8rem; padding: 0.3rem 0.35rem 0; border-radius: 50%; background: var(--tf-plaster); }
.tf-eye--mini { width: 100%; }
.tf-chat__log { display: flex; flex-direction: column; gap: 0.6rem; height: 300px; padding: 1.1rem; overflow-y: auto; }
.tf-chat__msg { max-width: 85%; margin: 0; padding: 0.7rem 0.95rem; border-radius: 16px; font-size: 0.97rem; line-height: 1.5; }
.tf-chat__msg--bot { align-self: flex-start; border-bottom-left-radius: 4px; background: var(--tf-lime); color: var(--tf-text); }
.tf-chat__msg--me { align-self: flex-end; border-bottom-right-radius: 4px; background: var(--tf-shutter); color: #fff; }
.tf-chat__typing { display: flex; gap: 4px; }
.tf-chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--tf-muted); animation: tf-dot 1s infinite ease-in-out; }
.tf-chat__typing i:nth-child(2) { animation-delay: 0.15s; }
.tf-chat__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes tf-dot { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tf-chat__typing i { animation: none; } }
.tf-chat__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 1.1rem 0.8rem; }
.tf-chip { padding: 0.4rem 0.8rem; border: 1.5px solid var(--tf-line); border-radius: 999px; background: transparent; color: var(--tf-shutter); font: 500 0.88rem var(--tf-sans); cursor: pointer; }
.tf-chip:hover, .tf-chip:focus { border-color: var(--tf-shutter); background: var(--tf-lime); color: var(--tf-shutter); }
.tf-chat__form { display: flex; gap: 0.5rem; padding: 0.8rem 1.1rem; border-top: 1px solid var(--tf-line); }
.tf-chat__form input { flex: 1; min-width: 0; min-height: 44px; padding: 0.5rem 0.9rem; border: 1.5px solid var(--tf-line); border-radius: 999px; background: var(--tf-lime); font: 400 1rem var(--tf-sans); }
.tf-chat__form input:focus { border-color: var(--tf-shutter); outline: none; }
.tf-chat__form button { min-height: 44px; padding: 0 1.1rem; border: 0; border-radius: 999px; background: var(--tf-tile); color: #fff; font: 600 0.95rem var(--tf-sans); cursor: pointer; }
.tf-chat__form button:hover { background: var(--tf-tile-dark); }
.tf-chat__note { margin: 0; padding: 0.8rem 1.1rem 1rem; font-size: 0.82rem; color: var(--tf-muted); background: var(--tf-lime); max-width: none; }

/* ---------- Sibiu, în minute ---------- */

.tf-walk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; margin: 0; padding: 0; list-style: none; }
.tf-walk li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--tf-line); }
.tf-walk__min { font-size: 0.85rem; color: var(--tf-muted); line-height: 1.2; }
.tf-walk__min strong { display: block; font: 400 2.3rem/1 var(--tf-serif); color: var(--tf-tile); }
.tf-walk h3 { margin: 0 0 0.2rem; font-size: 1.3rem; }
.tf-walk p { margin: 0; font-size: 0.97rem; }

/* ---------- Micul-dejun ---------- */

.tf-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.tf-menu section { padding: 1.4rem; border-radius: 20px; background: var(--tf-white); box-shadow: inset 0 0 0 1px var(--tf-line); }
.tf-menu h3 { margin: 0 0 0.6rem; }
.tf-menu ul, .tf-list { margin: 0; padding: 0; list-style: none; }
.tf-menu li, .tf-list li { position: relative; padding: 0.35rem 0 0.35rem 1.5rem; }
.tf-menu li::before, .tf-list li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 0.8rem; height: 0.4rem; border-radius: 0.4rem 0.4rem 0 0; background: var(--tf-tile); }

/* ---------- Cartonașe ---------- */

.tf-card { padding: 1.5rem; border-radius: 20px; background: var(--tf-white); box-shadow: inset 0 0 0 1px var(--tf-line); }
.tf-card h3 { margin: 0 0 0.4rem; }
.tf-card p { margin: 0; }

/* ---------- Formular ---------- */

.tf-form { border-radius: 24px; background: var(--tf-white); box-shadow: inset 0 0 0 1px var(--tf-line); }
.tf-form .elementor-field-group .elementor-field-textual,
.tf-form .elementor-field-group select { border: 1.5px solid var(--tf-line); border-radius: 12px; background: var(--tf-lime); }
.tf-form .elementor-field-group .elementor-field-textual:focus,
.tf-form .elementor-field-group select:focus { border-color: var(--tf-shutter); box-shadow: none; }
.tf-form .elementor-field-type-acceptance label { font-size: 0.9rem; }

/* ---------- Secțiunile închise ---------- */

.tf-dark { color: #CFDDD6; }
.tf-dark h1, .tf-dark h2, .tf-dark h3, .tf-dark h4, .tf-dark .elementor-heading-title { color: #fff; }
.tf-dark .elementor-widget-text-editor { color: #CFDDD6; }
.tf-dark a:not(.elementor-button) { color: #fff; }
.tf-footer p { margin-bottom: 0.3em; }

@media (max-width: 1024px) {
	.tf-rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tf-offer { grid-template-columns: 90px minmax(0, 1fr); }
	.tf-offer__price { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.8rem; padding-top: 0.9rem; border-top: 1px solid var(--tf-line); }
	.tf-offer__cta { margin-top: 0.3rem; }
}
@media (max-width: 767px) {
	.tf-search, .tf-book__bar { grid-template-columns: 1fr 1fr; }
	.tf-search button, .tf-search label:nth-of-type(3) { grid-column: 1 / -1; }
	.tf-book__check { grid-column: 1 / -1; }
	.tf-rooms, .tf-walk, .tf-menu, .tf-compare { grid-template-columns: 1fr; }
	.tf-offer { grid-template-columns: 70px minmax(0, 1fr); gap: 1rem; padding: 1rem; }
	.tf-roof__tiles { height: 100px; }
	.tf-chat__log { height: 280px; }
}
