/* ==========================================================================
   SSVTM — Footer
   Four columns on the logo's deep jade, with a hairline bottom bar.
   ========================================================================== */

.ssvtm.ssvtm-footer {
	position: relative;
	background: linear-gradient(180deg, #231b17 0%, #1b1411 100%);
	color: rgba(244, 240, 233, 0.74);
	font-size: 14.5px;
	overflow: hidden;
}
.ssvtm.ssvtm-footer::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 2;
	background: linear-gradient(90deg, transparent 5%, rgba(201, 164, 106, 0.7) 50%, transparent 95%);
}

/* ---- Columns ---- */
.ssvtm .ssvtm-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.75fr) minmax(0, 1fr) minmax(0, 1.3fr);
	gap: 40px clamp(32px, 4vw, 64px);
	padding-top: clamp(56px, 6vw, 76px);
	padding-bottom: clamp(44px, 5vw, 60px);
}
.ssvtm .ssvtm-logo--footer { display: block; width: 300px; max-width: 100%; color: var(--ssvtm-ivory); }
.ssvtm .ssvtm-logo--footer .ssvtm-logo__img { width: 100%; height: auto; max-height: none; }
.ssvtm .ssvtm-footer__tagline { margin: 14px 0 0; font: 600 10px/1 var(--ssvtm-sans); letter-spacing: 0.32em; text-transform: uppercase; color: rgba(227, 200, 154, 0.9); }
.ssvtm .ssvtm-footer__intro { max-width: 36ch; margin: 20px 0 0; line-height: 1.8; color: rgba(244, 240, 233, 0.72); }

.ssvtm .ssvtm-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.ssvtm .ssvtm-social a {
	display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
	border: 1px solid rgba(244, 240, 233, 0.22); color: rgba(244, 240, 233, 0.88);
	transition: background-color 0.35s, border-color 0.35s, color 0.35s, transform 0.4s var(--ssvtm-ease);
}
.ssvtm .ssvtm-social a:hover { background: var(--ssvtm-ivory); border-color: var(--ssvtm-ivory); color: var(--ssvtm-espresso); transform: translateY(-2px); }
.ssvtm .ssvtm-social .ssvtm-icon { width: 15px; height: 15px; }

.ssvtm .ssvtm-footer__title {
	position: relative; margin: 4px 0 24px; padding-bottom: 14px;
	font: 600 11px/1.4 var(--ssvtm-sans); letter-spacing: 0.24em; text-transform: uppercase; color: #e3c89a;
}
.ssvtm .ssvtm-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 1px; background: var(--ssvtm-logo-red); }

.ssvtm .ssvtm-footer__links { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ssvtm .ssvtm-footer__links a { display: inline-flex; align-items: center; color: rgba(244, 240, 233, 0.76); transition: color 0.3s; }
.ssvtm .ssvtm-footer__links a::before { content: ""; width: 0; height: 1px; margin-right: 0; background: #e3c89a; transition: width 0.4s var(--ssvtm-ease), margin 0.4s var(--ssvtm-ease); }
.ssvtm .ssvtm-footer__links a:hover { color: #fff; }
.ssvtm .ssvtm-footer__links a:hover::before { width: 12px; margin-right: 8px; }

.ssvtm .ssvtm-footer__phone { display: inline-block; margin-bottom: 18px; font: 500 1.6rem/1.1 var(--ssvtm-serif); font-size-adjust: 0.415; letter-spacing: 0.01em; color: var(--ssvtm-ivory); transition: color 0.3s; }
.ssvtm .ssvtm-footer__phone:hover { color: #e3c89a; }
.ssvtm .ssvtm-footer__lines { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ssvtm .ssvtm-footer__lines li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 12px; align-items: start; line-height: 1.65; }
.ssvtm .ssvtm-footer__lines .ssvtm-icon { width: 15px; height: 15px; margin-top: 0.25em; color: #e3c89a; }
.ssvtm .ssvtm-footer__lines a { color: rgba(244, 240, 233, 0.76); overflow-wrap: anywhere; transition: color 0.3s; }
.ssvtm .ssvtm-footer__lines a:hover { color: #fff; }

/* ---- Bottom bar ---- */
.ssvtm-footer__bottom {
	position: relative;
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px 24px;
	padding-top: 20px; padding-bottom: 22px;
	background: linear-gradient(rgba(244, 240, 233, 0.12), rgba(244, 240, 233, 0.12)) var(--ssvtm-gutter) 0 / calc(100% - var(--ssvtm-gutter) * 2) 1px no-repeat;
	font-size: 12.5px; color: rgba(244, 240, 233, 0.56);
}
.ssvtm .ssvtm-footer__bottom p { margin: 0; }
.ssvtm .ssvtm-footer__credit { text-align: center; }
.ssvtm .ssvtm-footer__credit a { color: #e3c89a; font-weight: 600; transition: color 0.3s; }
.ssvtm .ssvtm-footer__credit a:hover { color: #fff; }
.ssvtm .ssvtm-totop { justify-self: end; display: inline-flex; align-items: center; gap: 10px; font: 600 10.5px/1 var(--ssvtm-sans); letter-spacing: 0.22em; text-transform: uppercase; color: rgba(244, 240, 233, 0.8); }
.ssvtm .ssvtm-totop__ring { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(244, 240, 233, 0.26); border-radius: 50%; transition: background-color 0.35s, border-color 0.35s, color 0.35s; }
.ssvtm .ssvtm-totop__ring .ssvtm-icon { width: 12px; height: 12px; transform: rotate(-45deg); }
.ssvtm .ssvtm-totop:hover .ssvtm-totop__ring { background: var(--ssvtm-ivory); border-color: var(--ssvtm-ivory); color: var(--ssvtm-espresso); }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
	.ssvtm .ssvtm-footer__top { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.35fr); }
	.ssvtm .ssvtm-footer__brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 48px; align-items: start; }
	.ssvtm .ssvtm-footer__brand > :not(.ssvtm-logo):not(.ssvtm-footer__tagline) { grid-column: 2; }
	.ssvtm .ssvtm-footer__intro { grid-row: 1 / span 2; margin-top: 0; }
	.ssvtm .ssvtm-footer__brand .ssvtm-social { grid-row: 3; margin-top: 18px; }
}
@media (max-width: 700px) {
	.ssvtm .ssvtm-footer__top { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
	.ssvtm .ssvtm-footer__brand { display: block; }
	.ssvtm .ssvtm-logo--footer { width: 260px; }
	.ssvtm .ssvtm-footer__intro { margin-top: 18px; }
	.ssvtm .ssvtm-footer__contact { grid-column: 1 / -1; }
	.ssvtm .ssvtm-footer__bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.ssvtm .ssvtm-totop { justify-self: center; }
}
