/* =========================================================================
   FAVESAM - Cabecera (barra superior, logo, buscador, contacto) y pie
   ========================================================================= */

:root {
	--fvl-dark: #426315;
	--fvl-darker: #2c430c;
	--fvl-green: #8DBC43;
	--fvl-ink: #1f2a17;
	--fvl-text: #55605a;
	--fvl-line: #e3e9dc;
	--fvl-soft: #f3f7ec;
	--fvl-foot: #1b2414;
	--fvl-foot-2: #151c10;
}

/* ---------- Barra superior ---------- */
.fv-topbar {
	background: var(--fvl-soft);
	border-bottom: 1px solid var(--fvl-line);
	font-family: 'PT Sans', sans-serif;
	font-size: 13px;
	color: var(--fvl-text);
}
.fv-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
}
.fv-topbar-inner::before, .fv-topbar-inner::after { display: none; }
.fv-topbar-claim { margin: 0; }
.fv-topbar-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.fv-topbar-links .fa { color: var(--fvl-dark); margin-right: 6px; }
.fv-topbar-links a { color: var(--fvl-text) !important; }
.fv-topbar-links a:hover { color: var(--fvl-dark) !important; }

/* ---------- Logo + buscador + contacto ---------- */
.fv-header { background: #fff; }
.fv-header-inner {
	display: flex;
	align-items: center;
	gap: 32px;
	min-height: 104px;
}
.fv-header-inner::before, .fv-header-inner::after { display: none; }
.fv-logo { flex: 0 0 auto; display: block; }
.fv-logo img { display: block; width: 200px; height: auto; }

.fv-search {
	position: relative;
	flex: 1 1 auto;
	max-width: 460px;
	margin: 0;
}
.fv-search input {
	width: 100%;
	height: 48px;
	padding: 0 58px 0 22px;
	border: 2px solid var(--fvl-line);
	border-radius: 999px;
	background: #fff;
	font-family: 'PT Sans', sans-serif;
	font-size: 15px;
	color: var(--fvl-ink);
	transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none;
}
.fv-search input::placeholder { color: #8b958d; }
.fv-search input:focus { outline: none; border-color: var(--fvl-green); box-shadow: 0 0 0 4px rgba(141, 188, 67, .18); }
.fv-search button {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: var(--fvl-dark);
	color: #fff;
	font-size: 15px;
	cursor: pointer;
	transition: background-color .2s;
}
.fv-search button:hover { background: var(--fvl-green); }

.fv-header-contact { display: flex; gap: 26px; margin-left: auto; }
.fv-contact-item {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--fvl-ink) !important;
	text-decoration: none !important;
	white-space: nowrap;
}
.fv-contact-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--fvl-soft);
	color: var(--fvl-dark);
	font-size: 19px;
	transition: background-color .2s, color .2s;
}
.fv-contact-item:hover .fv-contact-ico { background: var(--fvl-dark); color: #fff; }
.fv-contact-item small {
	display: block;
	font-family: 'PT Sans', sans-serif;
	font-size: 12px;
	color: var(--fvl-text);
	line-height: 1.3;
}
.fv-contact-item strong {
	display: block;
	font-family: 'Montserrat', sans-serif;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

@media (max-width: 1199px) {
	.fv-contact-addr { display: none; }
	.fv-header-inner { gap: 24px; }
}
@media (max-width: 991px) {
	.fv-topbar-claim { display: none; }
	.fv-topbar-inner { justify-content: center; }
	.fv-header-inner { flex-wrap: wrap; gap: 14px 20px; min-height: 0; padding-top: 16px; padding-bottom: 16px; }
	.fv-logo img { width: 160px; }
	.fv-search { order: 3; flex: 0 0 100%; max-width: none; }
}
@media (max-width: 600px) {
	.fv-topbar { display: none; }
	.fv-header-inner { justify-content: space-between; }
	.fv-logo img { width: 140px; }
	.fv-header-contact { margin-left: 0; }
	.fv-contact-item small { display: none; }
	.fv-contact-item strong { font-size: 15px; }
	.fv-contact-ico { width: 38px; height: 38px; font-size: 16px; }
}

/* =========================================================================
   Pie
   ========================================================================= */
.fv-footer {
	position: relative;
	background: var(--fvl-foot);
	color: rgba(255, 255, 255, .72);
	font-family: 'PT Sans', sans-serif;
	font-size: 15px;
	margin-top: 110px;
}
.fv-footer a { color: rgba(255, 255, 255, .82) !important; text-decoration: none !important; transition: color .2s; }
.fv-footer a:hover { color: var(--fvl-green) !important; }
.fv-footer ul { list-style: none; margin: 0; padding: 0; }
.fv-footer h3 {
	margin: 0 0 18px;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #fff;
}
.fv-footer h3::after {
	content: "";
	display: block;
	width: 28px;
	height: 3px;
	margin-top: 10px;
	border-radius: 3px;
	background: var(--fvl-green);
}

/* Tarjeta de contacto que sube sobre el contenido */
.fv-footer-contact {
	position: relative;
	top: -60px;
	margin-bottom: -20px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	background: linear-gradient(110deg, var(--fvl-dark) 0%, var(--fvl-green) 100%);
	border-radius: 16px;
	box-shadow: 0 18px 40px rgba(20, 30, 10, .25);
	overflow: hidden;
}
.fv-fc-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 26px 28px;
	color: #fff;
}
.fv-fc-item + .fv-fc-item { border-left: 1px solid rgba(255, 255, 255, .2); }
.fv-fc-ico {
	flex: 0 0 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .16);
	font-size: 22px;
	color: #fff;
}
.fv-fc-item h4 {
	margin: 0 0 4px;
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #fff;
}
.fv-fc-item p { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .92); }
.fv-footer .fv-fc-item a { color: #fff !important; }
.fv-footer .fv-fc-item a:hover { text-decoration: underline !important; color: #fff !important; }

/* Columnas */
.fv-footer-cols {
	display: grid;
	grid-template-columns: 1.15fr 1.5fr 1.15fr 1fr;
	gap: 40px;
	padding-top: 20px;
	padding-bottom: 56px;
}
.fv-footer-cols::before, .fv-footer-cols::after { display: none; }
.fv-footer-logo { width: 150px; height: auto; margin-bottom: 18px; }
.fv-fcol-about p { line-height: 1.7; margin: 0 0 18px; }
.fv-badges-mini { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px !important; }
.fv-badges-mini li {
	padding: 4px 10px;
	border: 1px solid rgba(141, 188, 67, .5);
	border-radius: 999px;
	font-family: 'Montserrat', sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .5px;
	color: var(--fvl-green);
}
.fv-social {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}
.fv-social .fa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	font-size: 16px;
	transition: background-color .2s, color .2s;
}
.fv-social:hover .fa { background: var(--fvl-green); color: #fff; }

.fv-flinks li { margin: 0 0 9px; }
.fv-flinks a { display: inline-block; line-height: 1.4; }
.fv-flinks a:hover { transform: translateX(3px); }
.fv-flinks .fa { margin-right: 6px; opacity: .6; }
.fv-flinks-2col { column-count: 2; column-gap: 24px; }
.fv-flinks-2col li { break-inside: avoid; }

.fv-fcol-call p { margin: 0 0 14px; line-height: 1.6; }
.fv-callme { display: flex; flex-direction: column; gap: 10px; margin: 0 0 28px; }
.fv-callme input {
	height: 46px;
	padding: 0 16px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 10px;
	background: rgba(255, 255, 255, .06);
	color: #fff;
	font-size: 15px;
}
.fv-callme input::placeholder { color: rgba(255, 255, 255, .5); }
.fv-callme input:focus { outline: none; border-color: var(--fvl-green); background: rgba(255, 255, 255, .1); }
.fv-callme button {
	height: 46px;
	border: 0;
	border-radius: 10px;
	background: var(--fvl-green);
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s;
}
.fv-callme button .fa { margin-right: 6px; }
.fv-callme button:hover { background: #a2cf5b; }
.fv-footer h3.fv-fcol-sub { margin-bottom: 12px; }
.fv-fhours { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0; font-size: 14px; }
.fv-fhours dt { font-weight: 400; }
.fv-fhours dd { margin: 0; color: #fff; font-weight: 700; text-align: right; }

/* Franja inferior */
.fv-footer-bottom { background: var(--fvl-foot-2); border-top: 1px solid rgba(255, 255, 255, .06); }
.fv-footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 60px;
	font-size: 13px;
}
.fv-footer-bottom-inner::before, .fv-footer-bottom-inner::after { display: none; }
.fv-footer-bottom p { margin: 0; color: rgba(255, 255, 255, .55); }
.fv-totop {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	font-size: 20px;
}
.fv-footer .fv-totop:hover { background: var(--fvl-green); color: #fff !important; }

@media (max-width: 1199px) {
	.fv-footer-cols { grid-template-columns: 1fr 1.4fr 1fr; }
	.fv-fcol-call { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
	.fv-fcol-call > h3:first-child, .fv-fcol-call > p, .fv-callme { grid-column: 1; }
	.fv-fcol-call .fv-fcol-sub { grid-column: 2; grid-row: 1; }
	.fv-fcol-call .fv-fhours { grid-column: 2; grid-row: 2 / span 2; align-self: start; }
}
@media (max-width: 991px) {
	.fv-footer-contact { grid-template-columns: 1fr; }
	.fv-fc-item + .fv-fc-item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
	.fv-fc-item { padding: 18px 22px; }
	.fv-footer-cols { grid-template-columns: 1fr 1fr; }
	.fv-fcol-about { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.fv-footer { margin-top: 90px; }
	.fv-footer-cols { grid-template-columns: 1fr; gap: 32px; }
	.fv-fcol-call { display: block; }
	.fv-footer-bottom-inner { min-height: 56px; }
}

/* =========================================================================
   Resultados del buscador
   ========================================================================= */
.fv-results-head {
	background: var(--fvl-soft);
	border-bottom: 1px solid var(--fvl-line);
	padding: 48px 0 40px;
	font-family: 'PT Sans', sans-serif;
	color: var(--fvl-text);
}
.fv-results-head h1 {
	margin: 0 0 6px;
	font-family: 'Raleway', sans-serif;
	font-size: 32px;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	color: var(--fvl-ink);
}
.fv-results-head h1::before { display: none; }
.fv-results-head p { margin: 0 0 20px; font-size: 16px; }
.fv-search-inline { max-width: 560px; }
.fv-results-alt { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 24px !important; }
.fv-results { padding-top: 36px; padding-bottom: 20px; }
.fv-results-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
}
.fv-result {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid var(--fvl-line);
	border-radius: 14px;
	overflow: hidden;
	color: var(--fvl-ink) !important;
	text-decoration: none !important;
	font-family: 'PT Sans', sans-serif;
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.fv-result:hover { transform: translateY(-3px); border-color: var(--fvl-green); box-shadow: 0 14px 30px rgba(31, 42, 23, .12); }
.fv-result-img { display: flex; align-items: center; justify-content: center; height: 170px; padding: 14px; background: #fff; border-bottom: 1px solid var(--fvl-line); }
.fv-result-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.fv-result-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 8px; flex: 1; }
.fv-result-fam { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--fvl-dark); }
.fv-result-name { font-size: 15px; line-height: 1.4; }
.fv-result-ref { font-size: 13px; color: var(--fvl-text); }
.fv-result-go { padding: 8px 18px 16px; font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--fvl-dark); }
@media (max-width: 600px) {
	.fv-results-head { padding: 32px 0 28px; }
	.fv-results-head h1 { font-size: 24px; }
	.fv-results-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.fv-result-img { height: 120px; }
	.fv-result-body { padding: 12px 12px 4px; }
	.fv-result-name { font-size: 14px; }
	.fv-result-go { padding: 6px 12px 12px; }
}
