/*
Theme Name:   VendeMax (Kadence Child)
Theme URI:    https://vendemax.pe
Description:  Tema hijo de Kadence para VendeMax: estilos de secciones, tarjetas e íconos de la web del ERP.
Author:       VendeMax
Template:     kadence
Version:      1.0.0
Text Domain:  kadence-vendemax
*/

:root {
	--vm-navy: #0a1f44;
	--vm-navy-2: #0d2a5c;
	--vm-blue: #0b3a8c;
	--vm-blue-2: #1652c4;
	--vm-orange: #f26b1d;
	--vm-orange-2: #d9560b;
	--vm-ink: #0f1b33;
	--vm-text: #4a5873;
	--vm-muted: #8592a8;
	--vm-line: #e3e9f4;
	--vm-soft: #f4f7fc;
	--vm-radius: 18px;
	--vm-shadow: 0 1px 2px rgba(10, 31, 68, .06), 0 8px 24px rgba(10, 31, 68, .06);
	--vm-shadow-lg: 0 24px 60px rgba(10, 31, 68, .18);
	--vm-wrap: 1200px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
.content-area { margin-top: 0; margin-bottom: 0; }
.entry-content > .alignfull:first-child { margin-top: 0; }
.entry-content > .alignfull { margin-bottom: 0; }
.entry-content > .alignfull + .alignfull { margin-top: 0; }

.vm-section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.vm-section.vm-tight { padding: clamp(48px, 6vw, 72px) 0; }
.vm-soft { background: var(--vm-soft); }
.vm-wrap { max-width: var(--vm-wrap); margin-left: auto !important; margin-right: auto !important; padding-left: 24px; padding-right: 24px; }
:is(.vm-wrap, .vm-wrap > .wp-block-group__inner-container) > * { margin-top: 0; }

p.vm-eyebrow, .vm-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	color: var(--vm-orange) !important; margin: 0 0 14px !important;
}
.vm-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.vm-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px) !important; text-align: center; }
.vm-head .vm-eyebrow { justify-content: center; }
.vm-head h2, .vm-split h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 16px; }
.vm-head p, .vm-lead { font-size: 18px; line-height: 1.65; color: var(--vm-text); margin: 0; }

/* ---------- Buttons ---------- */
.wp-block-button__link { border-radius: 12px; font-weight: 700; padding: 15px 26px; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.wp-block-button__link:hover { transform: translateY(-2px); }
.vm-btn-primary .wp-block-button__link { background: var(--vm-orange); color: #fff; box-shadow: 0 10px 24px rgba(242, 107, 29, .35); }
.vm-btn-primary .wp-block-button__link:hover { background: var(--vm-orange-2); color: #fff; }
.vm-btn-ghost .wp-block-button__link { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .28); box-shadow: none; }
.vm-btn-ghost .wp-block-button__link:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.vm-btn-outline .wp-block-button__link { background: transparent; color: var(--vm-blue); border: 1.5px solid var(--vm-blue); }
.vm-btn-outline .wp-block-button__link:hover { background: var(--vm-blue); color: #fff; }

/* ---------- Icons (classes .vm-i-* defined in functions.php) ---------- */
.vm-ico { position: relative; padding-top: 72px; }
.vm-ico::before {
	content: ""; position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 14px;
	background: linear-gradient(135deg, rgba(11, 58, 140, .12), rgba(22, 82, 196, .05));
}
.vm-ico::after {
	content: ""; position: absolute; top: 13px; left: 13px; width: 26px; height: 26px; background: var(--vm-blue);
	-webkit-mask: var(--vm-icon) center / contain no-repeat; mask: var(--vm-icon) center / contain no-repeat;
}
.vm-ico.vm-orange::before { background: linear-gradient(135deg, rgba(242, 107, 29, .18), rgba(242, 107, 29, .06)); }
.vm-ico.vm-orange::after { background: var(--vm-orange); }

/* ---------- Hero ---------- */
.vm-hero {
	position: relative; overflow: hidden; color: #fff;
	padding: clamp(56px, 8vw, 104px) 0 clamp(120px, 12vw, 160px);
	background:
		radial-gradient(900px 480px at 85% 10%, rgba(242, 107, 29, .22), transparent 60%),
		radial-gradient(800px 600px at 0% 100%, rgba(22, 82, 196, .45), transparent 60%),
		linear-gradient(160deg, var(--vm-navy) 0%, var(--vm-navy-2) 55%, var(--vm-blue) 100%);
}
.vm-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.vm-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
:is(.vm-hero-grid, .vm-hero-grid > .wp-block-group__inner-container) > * { margin: 0 !important; }
.vm-badge {
	display: inline-flex !important; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
	font-size: 14px; font-weight: 600; color: #dbe6ff; margin: 0 0 22px !important;
}
.vm-badge mark { white-space: nowrap; flex: none; background: var(--vm-orange) !important; color: #fff !important; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 800; letter-spacing: .03em; }
.vm-hero h1 { color: #fff; font-size: clamp(38px, 5.4vw, 62px); line-height: 1.06; letter-spacing: -.03em; margin: 0 0 20px; }
.vm-hero h1 mark { background: none !important; color: var(--vm-orange) !important; }
.vm-hero .vm-lead { color: #c5d3ee; font-size: clamp(17px, 1.6vw, 19px); margin: 0 0 26px; max-width: 560px; }
.vm-hero .wp-block-buttons { gap: 12px; margin: 30px 0 0; }
.vm-hero-note { font-size: 14px; color: #9fb2d8; margin: 16px 0 0 !important; }

/* Check lists */
ul.vm-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
ul.vm-checks li { position: relative; padding-left: 32px; line-height: 1.5; }
ul.vm-checks li::before {
	content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: rgba(242, 107, 29, .18);
}
ul.vm-checks li::after {
	content: ""; position: absolute; left: 5px; top: 6px; width: 12px; height: 12px; background: var(--vm-orange);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.vm-hero ul.vm-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); color: #e6edfb; font-weight: 500; }

/* Dashboard mockup */
.vm-mock { position: relative; }
.vm-mock-window {
	background: #fff; color: var(--vm-ink); border-radius: 20px; box-shadow: var(--vm-shadow-lg), 0 0 0 1px rgba(255, 255, 255, .1);
	overflow: hidden; transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center;
}
.vm-mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #f3f6fb; border-bottom: 1px solid var(--vm-line); }
.vm-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d5dcea; }
.vm-mock-bar i:first-child { background: #ff6159; } .vm-mock-bar i:nth-child(2) { background: #ffbd2e; } .vm-mock-bar i:nth-child(3) { background: #28c941; }
.vm-mock-bar span { margin-left: 10px; font-size: 12px; color: var(--vm-muted); font-weight: 600; }
.vm-mock-body { padding: 18px; display: grid; gap: 14px; }
.vm-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vm-kpi { border: 1px solid var(--vm-line); border-radius: 12px; padding: 12px; }
.vm-kpi small { display: block; font-size: 11px; color: var(--vm-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.vm-kpi b { display: block; font-size: 19px; margin-top: 4px; color: var(--vm-ink); }
.vm-kpi em { font-style: normal; font-size: 11px; font-weight: 700; color: #16a34a; }
.vm-kpi em.down { color: var(--vm-orange); }
.vm-chart { border: 1px solid var(--vm-line); border-radius: 12px; padding: 12px 12px 6px; }
.vm-chart-head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--vm-ink); margin-bottom: 6px; }
.vm-chart-head span { color: var(--vm-muted); font-weight: 600; }
.vm-chart svg { display: block; width: 100%; height: auto; }
.vm-rows { border: 1px solid var(--vm-line); border-radius: 12px; overflow: hidden; }
.vm-row { display: grid; grid-template-columns: 1.2fr 1.4fr .9fr auto; gap: 8px; align-items: center; padding: 9px 12px; font-size: 12px; border-top: 1px solid var(--vm-line); }
.vm-row:first-child { border-top: 0; }
.vm-row b { font-weight: 700; color: var(--vm-ink); }
.vm-row span { color: var(--vm-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vm-pill { font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #dcfce7; color: #15803d; white-space: nowrap; }
.vm-float {
	position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--vm-ink);
	border-radius: 14px; padding: 10px 14px; box-shadow: var(--vm-shadow-lg); font-size: 13px; font-weight: 700; line-height: 1.3;
}
.vm-float small { display: block; font-weight: 500; color: var(--vm-muted); font-size: 11.5px; }
.vm-float .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #25d366; color: #fff; flex: none; }
.vm-float .dot.o { background: var(--vm-orange); }
.vm-float svg { width: 18px; height: 18px; }
.vm-float-1 { left: -28px; bottom: 34px; animation: vm-bob 5s ease-in-out infinite; }
.vm-float-2 { right: -14px; top: -18px; animation: vm-bob 6s ease-in-out infinite reverse; }
@keyframes vm-bob { 50% { transform: translateY(-8px); } }

/* ---------- Stats strip ---------- */
.vm-stats-wrap { position: relative; z-index: 2; margin-top: -84px !important; padding-bottom: 8px; }
.vm-stats {
	display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 22px; box-shadow: var(--vm-shadow-lg);
	border: 1px solid var(--vm-line); overflow: hidden;
}
:is(.vm-stats, .vm-stats > .wp-block-group__inner-container) > * { margin: 0 !important; padding: 28px 24px; text-align: center; border-left: 1px solid var(--vm-line); }
:is(.vm-stats, .vm-stats > .wp-block-group__inner-container) > *:first-child { border-left: 0; }
.vm-stat-n { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.02em; line-height: 1; color: var(--vm-blue); margin: 0 0 8px !important; }
.vm-stat-n mark { background: none !important; color: var(--vm-orange) !important; }
.vm-stat-l { font-size: 15px; color: var(--vm-text); margin: 0 !important; }

/* ---------- Card grids ---------- */
.vm-grid { display: grid; gap: 22px; }
:is(.vm-grid, .vm-grid > .wp-block-group__inner-container) > * { margin: 0 !important; }
.vm-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vm-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vm-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vm-card {
	background: #fff; border: 1px solid var(--vm-line); border-radius: var(--vm-radius); padding: 30px 28px;
	box-shadow: var(--vm-shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.vm-card:hover { transform: translateY(-4px); box-shadow: var(--vm-shadow-lg); border-color: rgba(11, 58, 140, .2); }
:is(.vm-card, .vm-card > .wp-block-group__inner-container) > * { margin-top: 0; }
.vm-card h3 { font-size: 20px; line-height: 1.3; margin: 0 0 10px; letter-spacing: -.01em; }
.vm-card p { color: var(--vm-text); font-size: 16px; line-height: 1.6; margin: 0; }
.vm-card.vm-dark { background: linear-gradient(160deg, var(--vm-navy), var(--vm-blue)); border-color: transparent; color: #dbe6ff; }
.vm-card.vm-dark h3 { color: #fff; }
.vm-card.vm-dark p { color: #c5d3ee; }
.vm-card.vm-dark .vm-ico::before { background: rgba(255, 255, 255, .12); }
.vm-card.vm-dark .vm-ico::after { background: #fff; }

/* ---------- Split feature ---------- */
.vm-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
:is(.vm-split, .vm-split > .wp-block-group__inner-container) > * { margin: 0 !important; }
.vm-split ul.vm-checks { margin-top: 26px; color: var(--vm-ink); font-weight: 500; }
.vm-split ul.vm-checks li span { display: block; font-weight: 400; color: var(--vm-text); font-size: 15px; }
.vm-split .wp-block-buttons { margin-top: 30px; }

/* Phone mockup */
.vm-phone-stage {
	position: relative; border-radius: 28px; padding: 40px 24px; display: grid; place-items: center; min-height: 460px;
	background: radial-gradient(circle at 30% 20%, rgba(242, 107, 29, .18), transparent 55%), linear-gradient(160deg, #e9f0fc, #f7f9fd);
}
.vm-phone { width: 270px; background: #0f1b33; border-radius: 36px; padding: 10px; box-shadow: var(--vm-shadow-lg); }
.vm-phone-screen { background: #efe7de; border-radius: 28px; overflow: hidden; min-height: 400px; }
.vm-phone-top { background: #075e54; color: #fff; padding: 14px 16px; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.vm-phone-top i { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--vm-blue); font-style: normal; font-weight: 800; font-size: 13px; }
.vm-phone-top small { display: block; font-weight: 400; opacity: .8; font-size: 11px; }
.vm-msgs { padding: 14px 12px; display: grid; gap: 8px; }
.vm-msg { max-width: 88%; background: #fff; border-radius: 10px; padding: 8px 10px; font-size: 12.5px; line-height: 1.45; color: #1f2937; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.vm-msg.me { justify-self: end; background: #d9fdd3; }
.vm-doc { display: flex; gap: 10px; align-items: center; background: #f4f7fc; border-radius: 8px; padding: 8px; margin-bottom: 6px; }
.vm-doc b { display: block; font-size: 12px; }
.vm-doc small { color: var(--vm-muted); font-size: 11px; }
.vm-doc span { width: 30px; height: 36px; border-radius: 4px; background: #e5484d; color: #fff; font-size: 9px; font-weight: 800; display: grid; place-items: center; flex: none; }
.vm-msg time { display: block; text-align: right; font-size: 10px; color: #6b7280; margin-top: 2px; }

/* ---------- Chips (rubros) ---------- */
ul.vm-chips { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1000px; }
ul.vm-chips li {
	margin: 0; padding: 11px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--vm-line);
	font-weight: 600; color: var(--vm-ink); box-shadow: 0 1px 2px rgba(10, 31, 68, .05); transition: all .15s ease;
}
ul.vm-chips li:hover { border-color: var(--vm-orange); color: var(--vm-orange); transform: translateY(-2px); }

/* ---------- Steps ---------- */
.vm-steps { counter-reset: vm-step; }
.vm-step { position: relative; counter-increment: vm-step; }
.vm-step::before {
	content: counter(vm-step, decimal-leading-zero); position: absolute; top: 30px; right: 28px;
	font-size: 15px; font-weight: 800; color: var(--vm-orange); background: rgba(242, 107, 29, .12);
	border-radius: 10px; padding: 6px 10px; line-height: 1;
}

/* ---------- Dark band / CTA ---------- */
.vm-dark-band { background: linear-gradient(160deg, var(--vm-navy), var(--vm-navy-2)); color: #c5d3ee; }
.vm-dark-band h2, .vm-dark-band h3 { color: #fff; }
.vm-dark-band .vm-head p { color: #c5d3ee; }
.vm-dark-band .vm-card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.vm-dark-band .vm-card h3 { color: #fff; }
.vm-dark-band .vm-card p { color: #b3c3e3; }
.vm-dark-band .vm-card:hover { border-color: rgba(242, 107, 29, .5); }
.vm-dark-band .vm-ico::before { background: rgba(242, 107, 29, .15); }
.vm-dark-band .vm-ico::after { background: var(--vm-orange); }

.vm-cta {
	position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px, 6vw, 72px); text-align: center; color: #fff;
	background: radial-gradient(600px 300px at 100% 0%, rgba(242, 107, 29, .45), transparent 60%), linear-gradient(135deg, var(--vm-blue), var(--vm-navy));
	box-shadow: var(--vm-shadow-lg);
}
:is(.vm-cta, .vm-cta > .wp-block-group__inner-container) > * { position: relative; }
.vm-cta h2 { color: #fff; font-size: clamp(28px, 3.8vw, 42px); line-height: 1.15; letter-spacing: -.02em; margin: 0 auto 14px; max-width: 760px; }
.vm-cta p { color: #d3defa; font-size: 18px; max-width: 640px; margin: 0 auto; }
.vm-cta .wp-block-buttons { justify-content: center; gap: 12px; margin-top: 30px; }

/* ---------- FAQ ---------- */
.vm-faq { max-width: 860px; margin: 0 auto !important; display: grid; gap: 12px; }
:is(.vm-faq, .vm-faq > .wp-block-group__inner-container) > * { margin: 0 !important; }
.vm-faq details { background: #fff; border: 1px solid var(--vm-line); border-radius: 14px; padding: 0; transition: box-shadow .2s ease; }
.vm-faq details[open] { box-shadow: var(--vm-shadow); }
.vm-faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; color: var(--vm-ink); position: relative; font-size: 17px; }
.vm-faq summary::-webkit-details-marker { display: none; }
.vm-faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--vm-orange); transition: transform .2s ease; }
.vm-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.vm-faq details > *:not(summary) { padding: 0 24px 20px; margin: 0; color: var(--vm-text); line-height: 1.65; }

/* ---------- Inner page hero ---------- */
.vm-page-hero {
	position: relative; overflow: hidden; color: #fff; text-align: center; padding: clamp(56px, 8vw, 96px) 0;
	background: radial-gradient(700px 360px at 90% 0%, rgba(242, 107, 29, .25), transparent 60%), linear-gradient(160deg, var(--vm-navy), var(--vm-blue));
}
.vm-page-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.1; letter-spacing: -.02em; margin: 0 auto 16px; max-width: 820px; }
.vm-page-hero p { color: #c5d3ee; font-size: 19px; max-width: 680px; margin: 0 auto !important; }
.vm-page-hero .vm-eyebrow { justify-content: center; }

/* ---------- Mission / vision ---------- */
.vm-mv .vm-card { padding: 36px; }
.vm-mv h3 { font-size: 24px; }

/* ---------- Contact ---------- */
.vm-contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
:is(.vm-contact, .vm-contact > .wp-block-group__inner-container) > * { margin: 0 !important; }
.vm-form-card { background: #fff; border: 1px solid var(--vm-line); border-radius: 22px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--vm-shadow); }
.vm-form-card h2 { font-size: 26px; margin: 0 0 6px; }
.vm-form-card > p { color: var(--vm-text); margin: 0 0 22px; }
.vm-info { display: grid; gap: 16px; }
:is(.vm-info, .vm-info > .wp-block-group__inner-container) > * { margin: 0 !important; }
.vm-info .vm-card { position: relative; padding: 22px 22px 22px 92px; }
.vm-info .vm-ico { position: static; padding-top: 0; }
.vm-info .vm-ico::before { top: 50%; left: 22px; transform: translateY(-50%); }
.vm-info .vm-ico::after { top: 50%; left: 35px; transform: translateY(-50%); }
.vm-info .vm-card h3 { font-size: 14px; color: var(--vm-muted); font-weight: 600; margin: 0 0 2px; }
.vm-info .vm-card p { color: var(--vm-ink); font-weight: 700; font-size: 17px; }
.vm-info .vm-card p a { color: inherit; text-decoration: none; }

/* Fluent Forms look */
.fluentform .ff-el-group { margin-bottom: 18px; }
.fluentform .ff-el-input--label label { font-weight: 600; color: var(--vm-ink); font-size: 14px; }
.fluentform .ff-el-form-control { border: 1px solid var(--vm-line) !important; border-radius: 12px !important; padding: 12px 14px !important; background: var(--vm-soft) !important; font-size: 16px !important; transition: border-color .15s, box-shadow .15s, background .15s; }
.fluentform .ff-el-form-control:focus { border-color: var(--vm-blue-2) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(22, 82, 196, .12) !important; }
.fluentform .ff-btn-submit { background: var(--vm-orange) !important; border: 0 !important; border-radius: 12px !important; padding: 15px 28px !important; font-weight: 700 !important; font-size: 16px !important; box-shadow: 0 10px 24px rgba(242, 107, 29, .3); width: 100%; }
.fluentform .ff-btn-submit:hover { background: var(--vm-orange-2) !important; }

/* ---------- Header & footer tweaks ---------- */
#masthead .site-main-header-wrap .site-header-row-container-inner { border-bottom: 1px solid var(--vm-line); }
#masthead .item-is-fixed .site-header-row-container-inner, #masthead .item-is-stuck .site-header-row-container-inner { box-shadow: 0 6px 24px rgba(10, 31, 68, .08); }
.header-button.button { box-shadow: 0 8px 20px rgba(242, 107, 29, .3); }
.site-footer .widget-title { color: #fff; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer .widget_nav_menu ul, .site-footer ul.vm-foot-links { list-style: none; margin: 0; padding: 0; }
.site-footer .widget_nav_menu li, .site-footer ul.vm-foot-links li { margin: 0 0 10px; }
.site-footer a { text-decoration: none; }
.site-footer .vm-foot-logo img { max-width: 210px; height: auto; }
.site-footer .vm-foot-about { color: #9fb2d8; line-height: 1.65; margin: 16px 0 0; max-width: 340px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.vm-hero-grid, .vm-split, .vm-contact { grid-template-columns: 1fr; }
	.vm-mock { max-width: 620px; margin: 0 auto !important; }
	.vm-mock-window { transform: none; }
	.vm-grid-3, .vm-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vm-stats { grid-template-columns: repeat(2, 1fr); }
	:is(.vm-stats, .vm-stats > .wp-block-group__inner-container) > *:nth-child(3) { border-left: 0; }
	:is(.vm-stats, .vm-stats > .wp-block-group__inner-container) > *:nth-child(n+3) { border-top: 1px solid var(--vm-line); }
}
@media (max-width: 680px) {
	.vm-wrap { padding-left: 16px; padding-right: 16px; }
	.vm-grid-3, .vm-grid-2, .vm-grid-4 { grid-template-columns: 1fr; }
	.vm-hero ul.vm-checks { grid-template-columns: 1fr; }
	.vm-hero .wp-block-buttons .wp-block-button { width: 100%; }
	.vm-hero .wp-block-button__link { width: 100%; }
	.vm-float-1 { left: 8px; bottom: -22px; }
	.vm-float-2 { right: 8px; top: -22px; }
	.vm-row { grid-template-columns: 1fr auto; }
	.vm-row span { display: none; }
	.vm-kpi b { font-size: 15px; }
	.vm-kpi { padding: 10px 8px; }
	.vm-kpi small { font-size: 9px; letter-spacing: 0; }
	.vm-kpi em { font-size: 10px; }
	:is(.vm-stats, .vm-stats > .wp-block-group__inner-container) > * { padding: 22px 12px; }
	.vm-phone { width: 240px; }
}
@media (prefers-reduced-motion: reduce) {
	.vm-float-1, .vm-float-2 { animation: none; }
	.vm-card, .wp-block-button__link { transition: none; }
}

.vm-center { display: flex; justify-content: center; margin-top: 44px !important; }
.vm-center .wp-block-buttons { justify-content: center; }

/* Footer colours on navy */
.site-footer, .site-footer p, .site-footer li { color: #9fb2d8; }
.site-footer a { color: #c5d3ee; transition: color .15s ease; }
.site-footer a:hover { color: var(--vm-orange); }
.site-footer .site-bottom-footer-wrap { border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.site-footer .footer-html-inner p { color: #7f93bd; margin: 0; }

/* Kadence wraps group content in an inner container; let our layouts reach the real children. */
.wp-block-group[class*="vm-"] > .wp-block-group__inner-container { display: contents; }

/* Legal pages */
.vm-legal { max-width: 860px; }
.vm-legal h2 { font-size: 22px; margin: 40px 0 12px; }
.vm-legal p, .vm-legal li { color: var(--vm-text); line-height: 1.75; }
.vm-legal ul { padding-left: 1.2em; margin: 0 0 16px; }
.vm-legal li { margin-bottom: 8px; }
.vm-legal-date { font-size: 14px; color: var(--vm-muted) !important; }
.fluentform .ff_t_c, .fluentform .ff-el-tc label { font-size: 14px; color: var(--vm-text); }
