/*
Theme Name: Gradfeld
Theme URI: https://gradfeld.az
Author: AI Agent
Description: Gradfeld Xaricdə Təhsil üçün bir səhifəlik landing mövzusu. Mətnlər Görünüş → Fərdiləşdir bölməsindən, xidmət, paket və qəbullar admin menyusundan redaktə olunur.
Version: 1.2.2
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: gradfeld
*/

:root {
	--ink: #0e1233;
	--ink-2: #1a2050;
	--text: #3c4366;
	--muted: #6b7194;
	--line: #e4e7f2;
	--bg: #ffffff;
	--bg-soft: #f5f6fc;
	--blue: #517bfe;
	--cyan: #09b8ff;
	--violet: #b46dfe;
	--pink: #f773af;
	--yellow: #f4c842;
	--whatsapp: #25d366;
	--grad: linear-gradient(120deg, var(--cyan) 0%, var(--blue) 45%, var(--violet) 100%);
	--grad-warm: linear-gradient(120deg, var(--blue) 0%, var(--violet) 55%, var(--pink) 100%);
	--grad-brand: linear-gradient(135deg, #3d5cf8 0%, #5a45f0 45%, #8243e6 80%, #b44fd2 110%);
	--radius: 20px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(14, 18, 51, .04), 0 12px 32px -12px rgba(14, 18, 51, .14);
	--shadow-lg: 0 30px 60px -20px rgba(31, 37, 110, .35);
	--font-head: "Montserrat", system-ui, sans-serif;
	--font-body: "Inter", system-ui, sans-serif;
	--header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent; font: 600 15px/1.2 var(--font-body); cursor: pointer; text-align: center; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 56px; padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(81, 123, 254, .7); }
.btn-primary:hover { box-shadow: 0 16px 32px -12px rgba(81, 123, 254, .8); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .35); }
.btn-light .icon { color: var(--blue); }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .16); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 10px 24px -12px rgba(37, 211, 102, .8); }
.btn[disabled] { opacity: .6; pointer-events: none; }

.eyebrow { display: inline-flex; align-items: center; gap: .5em; margin: 0 0 14px; font: 700 13px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.eyebrow-light { color: #cfd8ff; }
.eyebrow-light .icon { color: var(--yellow); }
.badge { display: inline-block; padding: 6px 12px; border-radius: 999px; font: 700 12px/1 var(--font-body); letter-spacing: .02em; }
.badge-yellow { background: var(--yellow); color: var(--ink); }
.badge-demo { background: rgba(180, 109, 254, .12); color: #7b3fd4; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background-color .3s ease, box-shadow .3s ease; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled, .nav-open .site-header { background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-logo { height: 42px; width: auto; }
.site-header:not(.is-scrolled) .brand-logo { filter: brightness(0) invert(1); }
.nav-open .site-header .brand-logo { filter: none; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a:not(.btn) { color: rgba(255, 255, 255, .85); font-weight: 500; font-size: 15px; transition: color .2s; }
.main-nav a:not(.btn):hover { color: #fff; }
.is-scrolled .main-nav a:not(.btn) { color: var(--text); }
.is-scrolled .main-nav a:not(.btn):hover { color: var(--blue); }
.nav-cta { min-height: 44px; padding: 10px 20px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.is-scrolled .nav-toggle, .nav-open .nav-toggle { background: var(--bg-soft); color: var(--ink); }
.nav-toggle .icon { width: 24px; height: 24px; }

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.main-nav { position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 24px; background: #fff; box-shadow: 0 20px 40px -20px rgba(14, 18, 51, .3); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
	.main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.main-nav a:not(.btn) { color: var(--ink); padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
	.nav-cta { margin-top: 16px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding: calc(var(--header-h) + 56px) 0 64px; color: #e8eaff; background: var(--grad-brand); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
	radial-gradient(45% 55% at 88% 18%, rgba(9, 184, 255, .35), transparent 70%),
	radial-gradient(50% 60% at 0% 100%, rgba(247, 115, 175, .45), transparent 70%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; 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: 64px 64px; mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; text-transform: uppercase; font-size: clamp(2rem, 4.2vw, 3.3rem); letter-spacing: -0.01em; }
.hero-text { font-size: 1.15rem; color: #eef0ff; max-width: 34em; }
mark { padding: 0 .22em; border-radius: .18em; background: var(--yellow); color: var(--ink); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
h2 mark { background: rgba(180, 109, 254, .18); color: inherit; }
.consult-body h2 mark { background: var(--yellow); color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 20px; }
.hero-quiz-link { display: inline-flex; align-items: center; gap: .4em; color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .35); padding-bottom: 2px; }
.hero-quiz-link:hover { border-color: var(--yellow); }
.hero-quiz-link .icon { transition: transform .2s; }
.hero-quiz-link:hover .icon { transform: translateX(4px); }

.hero-visual { position: relative; max-width: 480px; justify-self: end; width: 100%; }
.hero-3d img { width: 100%; filter: drop-shadow(0 30px 40px rgba(20, 10, 80, .35)); }
.hero-photo { position: relative; border-radius: 220px 220px 28px 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-2); box-shadow: var(--shadow-lg); }
.hero-photo::before { content: ""; position: absolute; inset: -2px; z-index: 1; border-radius: inherit; padding: 2px; background: var(--grad-warm); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .96); color: var(--ink); font-size: 14px; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
.float-chip strong { font-family: var(--font-head); font-size: 18px; }
.chip-a { left: -40px; bottom: 18%; }
.chip-b { right: -24px; top: 14%; animation-delay: -3s; font-weight: 600; }
.chip-b img { width: 32px; height: 32px; }
.chip-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .float-chip { animation: none; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius); background: rgba(255, 255, 255, .1); backdrop-filter: blur(10px); }
.stat { padding: 26px 28px; display: flex; flex-wrap: wrap; align-items: baseline; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .2); }
.stat-value, .stat-suffix { font: 800 clamp(2rem, 3.4vw, 2.75rem)/1 var(--font-head); color: #fff; font-variant-numeric: tabular-nums; }
.stat-suffix { color: var(--yellow); }
.stat-label { flex-basis: 100%; margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .82); }
.stat-text .stat-value { display: inline-flex; align-items: center; min-height: clamp(2rem, 3.4vw, 2.75rem); font-size: clamp(1.3rem, 2.1vw, 1.75rem); line-height: 1.15; }

@media (max-width: 960px) {
	.hero-grid { grid-template-columns: 1fr; gap: 40px; }
	.hero-visual { justify-self: center; max-width: 380px; }
	.chip-a { left: -12px; }
	.chip-b { right: -8px; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(3) { border-left: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
}
@media (max-width: 520px) {
	.hero { padding-top: calc(var(--header-h) + 28px); }
	/* Sized so the longest word ("UNİVERSİTETLƏRİNƏ") always fits one line instead of breaking. */
	.hero h1 { font-size: clamp(1.25rem, calc((100vw - 40px) / 13.5), 2rem); }
	.hero-actions .btn { width: 100%; padding-inline: 16px; }
	.stat { padding: 20px 18px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.07rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Admissions */
.admissions { background: var(--bg-soft); }
.admissions-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 280px); gap: 20px; overflow-x: auto; padding: 4px max(20px, calc((100vw - 1200px) / 2)) 24px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.admission-card { scroll-snap-align: start; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.admission-media { position: relative; aspect-ratio: 4 / 3; background: var(--grad); }
.admission-media img { width: 100%; height: 100%; object-fit: cover; }
.admission-media .badge { position: absolute; left: 12px; top: 12px; }
.admission-placeholder { display: grid; place-items: center; height: 100%; color: #fff; }
.admission-placeholder .icon { width: 48px; height: 48px; }
.admission-body { padding: 18px 20px 20px; }
.admission-body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.admission-body p { margin: 0; font-size: 14px; color: var(--muted); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { position: relative; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .25s, box-shadow .25s, transform .25s; }
.service-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.service-step { position: absolute; right: 24px; top: 24px; font: 800 14px/1 var(--font-head); color: #c5cae0; }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 14px; background: linear-gradient(135deg, rgba(9, 184, 255, .12), rgba(180, 109, 254, .16)); color: var(--blue); }
.service-icon .icon { width: 26px; height: 26px; }
.service-card p { margin: 0; color: var(--muted); font-size: 15px; }
.services-note { margin: 32px auto 0; max-width: 640px; text-align: center; font-size: 15px; color: var(--muted); }
@media (max-width: 960px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }

/* Packages */
.packages { background: var(--bg-soft); }
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.package-card { position: relative; display: flex; flex-direction: column; padding: 36px 30px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.package-card.is-featured { border: 0; background: linear-gradient(#fff, #fff) padding-box, var(--grad-warm) border-box; border: 2px solid transparent; box-shadow: var(--shadow-lg); transform: translateY(-12px); }
.package-badge { position: absolute; top: -13px; left: 30px; }
.package-grid.is-pair { grid-template-columns: repeat(2, minmax(0, 480px)); justify-content: center; }
.package-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 8px; }
.package-card h3 { font-size: 1.5rem; margin: 0; }
.package-price { margin: 0; font: 800 1.75rem/1 var(--font-head); color: var(--blue); white-space: nowrap; }
.package-desc { color: var(--muted); font-size: 15px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.package-features { display: grid; align-content: start; gap: 12px; margin: 8px 0 24px; flex: 1; }
.package-notes { margin: 0 0 24px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg-soft); font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.package-notes p { margin: 0; }
.package-notes p + p { margin-top: 6px; }
.package-features li { display: flex; gap: 10px; font-size: 15px; color: var(--text); }
.package-features .icon { margin-top: 2px; color: var(--blue); }
@media (max-width: 960px) {
	.package-grid, .package-grid.is-pair { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
	.package-card.is-featured { transform: none; }
}

/* Consultation */
.consult-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; }
.consult-main { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; border-radius: 28px; overflow: hidden; background: var(--grad-brand); color: #eef0ff; }
.consult-main::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 0% 100%, rgba(247, 115, 175, .45), transparent 70%), radial-gradient(50% 60% at 100% 0%, rgba(9, 184, 255, .3), transparent 70%); pointer-events: none; }
.consult-photo { position: relative; padding: 32px 0 32px 32px; }
.consult-photo img { width: 100%; filter: drop-shadow(0 24px 30px rgba(20, 10, 80, .35)); }
.consult-body { position: relative; padding: 44px 40px; }
.consult-body h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.steps { display: grid; gap: 16px; margin: 24px 0 30px; }
.steps li { display: flex; gap: 14px; font-size: 15px; }
.steps strong { display: block; color: #fff; }
.step-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: var(--yellow); flex: none; }
.callback-card { padding: 36px 32px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.callback-card > p { color: var(--muted); }
/* Beside the long lead form the panel stacks, so it does not leave a tall empty gradient. */
@media (min-width: 1081px) {
	.consult-main { grid-template-columns: 1fr; align-content: center; }
	.consult-photo { padding: 40px 40px 0; max-width: 440px; margin-inline: auto; }
	.consult-body { padding: 24px 48px 48px; }
}
@media (max-width: 1080px) {
	.consult-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	.consult-main { grid-template-columns: 1fr; }
	.consult-photo { padding: 28px 28px 0; max-width: 360px; margin-inline: auto; }
	.consult-body { padding: 32px 24px; }
	.consult-body .btn { width: 100%; }
	.callback-card { padding: 28px 22px; }
}

/* Forms */
.lead-form { display: grid; gap: 14px; margin-top: 20px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); font: 400 16px/1.3 var(--font-body); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(81, 123, 254, .15); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236b7194' stroke-width='1.8'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
fieldset.field legend { margin-bottom: 8px; font: 600 14px/1.4 var(--font-body); color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
.chip-options { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-option { position: relative; cursor: pointer; }
.chip-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-option span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; color: var(--ink); transition: border-color .15s, background-color .15s, color .15s; }
.chip-option:hover span { border-color: var(--blue); }
.chip-option input:checked + span { border-color: var(--blue); background: rgba(81, 123, 254, .1); color: var(--blue); font-weight: 600; }
.chip-option input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.multi-select { position: relative; }
.multi-select summary { min-height: 50px; padding: 12px 40px 12px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236b7194' stroke-width='1.8'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; color: var(--ink); font: 400 16px/1.3 var(--font-body); list-style: none; cursor: pointer; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: block; line-height: 24px; transition: border-color .2s, box-shadow .2s; }
.multi-select summary::-webkit-details-marker { display: none; }
.multi-select[open] summary, .multi-select summary:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(81, 123, 254, .15); }
.multi-options { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 6px); max-height: 260px; overflow-y: auto; padding: 6px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow-lg); }
.field .multi-option { display: flex; margin: 0; font-weight: 500; }
.multi-option { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 15px; color: var(--ink); cursor: pointer; }
.multi-option:hover { background: var(--bg-soft); }
.multi-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); flex: none; }
.package-pick { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: var(--radius-sm); background: rgba(81, 123, 254, .08); font-size: 14px; color: var(--ink); }
.package-pick[hidden] { display: none; }
.package-pick button { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.package-pick button:hover { background: #fff; color: var(--ink); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { margin: 0; font-size: 12.5px; color: var(--muted); }
.form-status { margin: 0; min-height: 1.2em; font-size: 14px; }
.form-status.is-error { color: #d0315c; }
.lead-success { text-align: center; padding: 12px 0 0; }
.success-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 16px; border-radius: 50%; background: rgba(37, 211, 102, .14); color: #12a150; }
.success-icon .icon { width: 30px; height: 30px; }

/* Quiz */
.quiz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.quiz-intro p { color: var(--muted); font-size: 1.07rem; }
.quiz-intro .badge { margin-bottom: 16px; }
.quiz-visual { width: min(360px, 80%); border-radius: 28px; margin: 28px 0; box-shadow: var(--shadow); }
.quiz-note { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: var(--radius-sm); background: rgba(244, 200, 66, .16); color: #7a5a00; font-size: 14px; font-weight: 500; }
.quiz-card { position: relative; min-height: 460px; padding: 40px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.quiz-step { display: none; }
.quiz-step.is-active { display: block; animation: step-in .35s ease; }
@keyframes step-in { from { opacity: 0; transform: translateX(12px); } }
@media (prefers-reduced-motion: reduce) { .quiz-step.is-active { animation: none; } }
.quiz-kicker { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.quiz-card h3 { font-size: 1.6rem; }
.quiz-card [data-quiz-start] p { color: var(--muted); margin-bottom: 28px; }
.quiz-progress { height: 6px; margin-bottom: 24px; border-radius: 99px; background: var(--bg-soft); overflow: hidden; }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; transition: width .35s ease; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 20px; font: 700 1.3rem/1.3 var(--font-head); color: var(--ink); }
.quiz-options { display: grid; gap: 10px; }
.quiz-option { width: 100%; min-height: 54px; padding: 14px 18px; text-align: left; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font: 500 15.5px/1.4 var(--font-body); cursor: pointer; transition: border-color .15s, background-color .15s; }
.quiz-option:hover { border-color: var(--blue); background: rgba(81, 123, 254, .04); }
.quiz-option.is-selected { border-color: var(--blue); background: rgba(81, 123, 254, .1); }
.quiz-back { margin-top: 18px; padding: 8px 0; border: 0; background: none; color: var(--muted); font: 500 14px var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.quiz-result { text-align: center; }
.score-ring { --score: 0; display: grid; place-items: center; width: 150px; height: 150px; margin: 0 auto 20px; border-radius: 50%; background: conic-gradient(var(--blue) calc(var(--score) * 1%), var(--bg-soft) 0); transition: --score 1s ease; }
.score-ring span { display: flex; align-items: baseline; justify-content: center; padding-top: 38px; width: 120px; height: 120px; border-radius: 50%; background: #fff; font: 700 1.1rem var(--font-head); color: var(--ink); }
.score-ring strong { font-size: 2.6rem; line-height: 1; }
.quiz-result p { color: var(--muted); }
.quiz-result-actions { display: grid; gap: 10px; margin-top: 24px; }
@property --score { syntax: "<number>"; inherits: false; initial-value: 0; }
@media (max-width: 960px) {
	.quiz-grid { grid-template-columns: 1fr; gap: 32px; }
	.quiz-visual { display: none; }
	.quiz-note { margin-top: 16px; }
}
@media (max-width: 520px) { .quiz-card { padding: 28px 20px; min-height: 0; } }

/* Contact */
.contact { background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: stretch; }
.contact-lead { color: var(--muted); font-size: 1.07rem; }
.contact-list { display: grid; gap: 22px; margin: 28px 0 32px; }
.contact-list li { display: flex; gap: 16px; }
.contact-list strong { display: block; color: var(--ink); font-size: 14px; margin-bottom: 2px; }
.contact-list .line { display: block; }
.contact-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--blue); box-shadow: var(--shadow); flex: none; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.social-links { display: grid; gap: 4px; }
.social-links a { display: inline-flex; align-items: center; gap: 8px; }
.social-links .icon { width: 1.1em; height: 1.1em; }
.contact-note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.contact-map { min-height: 420px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: #e8ebf5; }
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } .contact-map, .contact-map iframe { min-height: 320px; } }
@media (max-width: 520px) { .contact-actions .btn { width: 100%; } }

/* Footer & floating */
.site-footer { position: relative; background: var(--ink); color: #a6acd0; font-size: 15px; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad-warm); }
.site-footer a:not(.btn) { color: #d9ddf5; transition: color .2s; }
.site-footer a:not(.btn):hover { color: #fff; }
.footer-main { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 32px 64px; padding: 56px 0 40px; }
.footer-logo { height: 44px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 26em; margin: 0; line-height: 1.7; }
.footer-side { display: grid; justify-items: end; gap: 24px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; font-weight: 500; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background .2s, border-color .2s; }
.footer-socials a:hover { background: var(--grad); border-color: transparent; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.footer-bottom p { margin: 0; }
@media (max-width: 760px) {
	.footer-main { flex-direction: column; gap: 28px; padding: 48px 0 32px; }
	.footer-side { justify-items: start; }
	.footer-nav { gap: 10px 22px; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
}
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--whatsapp); color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .icon { width: 30px; height: 30px; }
.mobile-bar { display: none; }
@media (max-width: 720px) {
	.wa-float { display: none; }
	.mobile-bar { position: fixed; inset: auto 0 0; z-index: 45; display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); box-shadow: 0 -8px 24px -12px rgba(14, 18, 51, .25); transform: translateY(110%); transition: transform .3s ease; }
	.mobile-bar:has(.btn:only-child) { grid-template-columns: 1fr; }
	.show-mobile-bar .mobile-bar { transform: none; }
	.mobile-bar .btn { min-height: 48px; padding: 10px 12px; font-size: 14px; gap: .4em; white-space: nowrap; }
	/* Keeps the last content (map controls, footer) above the fixed bar. */
	body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}
@media (max-width: 400px) {
	.mobile-bar { grid-template-columns: 1fr auto; }
	.mobile-bar .btn-primary .icon, .mobile-bar .btn-whatsapp .mb-label { display: none; }
	.mobile-bar .btn-whatsapp { width: 52px; padding: 0; }
}
