:root {
	--brand: #1a3a5c;
	--brand-dark: #102540;
	--brand-soft: #e8edf3;
	--cta: #d44f00;
	--cta-dark: #ad3e00;
	--ink: #1e1e1e;
	--muted: #595959;
	--line: #dadada;
	--soft: #f2f4f7;
	--font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

html, body { overflow-x: hidden; }

body {
	margin: 0;
	font-family: var(--font-main);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.65;
	color: var(--ink);
	background: #ffffff;
}

img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 {
	font-weight: 700;
	line-height: 1.65;
	margin: 0 0 14px;
	color: var(--brand);
}
h1 { font-size: 2.3rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.06rem; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 7px; }
strong { font-weight: 700; }

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--brand);
	color: #fff;
	padding: 10px 16px;
	z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; }

.btn {
	display: inline-block;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	border: 0;
	border-radius: 5px;
	padding: 14px 28px;
	cursor: pointer;
	transition: background-color 0.18s ease;
}
.btn-cta { background: var(--cta); color: #ffffff; }
.btn-cta:hover { background: var(--cta-dark); color: #ffffff; }
.btn-ghost {
	background: transparent;
	color: #ffffff;
	border: 2px solid rgba(255,255,255,0.8);
	padding: 12px 26px;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #ffffff; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
	position: relative;
	background: var(--brand);
	border-bottom: 3px solid var(--cta);
}
.header-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 66px;
}
.site-logo { display: inline-flex; flex-shrink: 0; }
.site-logo img { height: 44px; width: auto; }

.nav-toggle { display: none; }

.nav-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	padding: 4px;
}
.nav-burger span {
	display: block;
	width: 26px;
	height: 3px;
	background: #ffffff;
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.main-nav .nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 4px;
}
.main-nav .nav-list li { margin: 0; }
.main-nav a {
	text-decoration: none;
	color: rgba(255,255,255,0.88);
	font-size: 0.97rem;
	padding: 8px 13px;
	border-radius: 4px;
	display: block;
}
.main-nav a:hover { color: #ffffff; background: rgba(255,255,255,0.1); }
.main-nav .nav-cta a,
.main-nav .menu-item-cta a {
	background: var(--cta);
	color: #ffffff;
	padding: 10px 18px;
}
.main-nav .nav-cta a:hover,
.main-nav .menu-item-cta a:hover { background: var(--cta-dark); }

/* ============================================================
   HERO AUTOPORTE
   ============================================================ */
.hero {
	position: relative;
	background-color: var(--brand-dark);
	background-image: url("img/hero.jpg");
	background-size: cover;
	background-position: center top;
	fetchpriority: high;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(10, 28, 50, 0.76);
}
.hero-inner {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	padding: 60px 24px 70px;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: start;
}
.hero-text { color: #f0f3f8; padding-top: 8px; }
.hero-text h1 {
	color: #ffffff;
	font-size: 2.55rem;
	margin-bottom: 18px;
	letter-spacing: -0.02em;
}
.hero-text h1 strong { color: var(--cta); font-weight: 700; }
.hero-sub {
	font-size: 1.12rem;
	color: #d0d8e8;
	margin-bottom: 28px;
}
.hero-checks { list-style: none; margin: 0; padding: 0; }
.hero-checks li {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin-bottom: 12px;
	color: #e8edf5;
	font-size: 1rem;
}
.hero-checks li::before {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	min-width: 20px;
	border-radius: 50%;
	background: var(--cta);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='12' height='12'%3E%3Cpath fill='%23ffffff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2Z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	margin-top: 2px;
}

.hero-cta-row {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 30px;
}

/* Form card */
.form-card {
	background: #ffffff;
	border-radius: 8px;
	padding: 28px 24px 24px;
	box-shadow: 0 12px 40px rgba(0,0,0,0.32);
}
.form-title {
	font-size: 1.35rem;
	margin-bottom: 6px;
	color: var(--brand);
}
.form-intro {
	font-size: 0.93rem;
	color: var(--muted);
	margin-bottom: 18px;
}

.form-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.form-field { margin-bottom: 13px; }
.form-field label {
	display: block;
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 5px;
}
.form-field input {
	width: 100%;
	padding: 10px 12px;
	border: 1.5px solid var(--line);
	border-radius: 4px;
	font-family: var(--font-main);
	font-size: 0.97rem;
	font-weight: 400;
	color: var(--ink);
	background: #fff;
	transition: border-color 0.15s ease;
}
.form-field input:focus {
	outline: none;
	border-color: var(--brand);
}
.form-field input::placeholder { color: #aaa; }

.form-feedback {
	padding: 11px 14px;
	border-radius: 4px;
	margin-bottom: 14px;
	font-size: 0.93rem;
	font-weight: 400;
}
.form-feedback-ok { background: #e6f4ea; color: #1a4d2a; border: 1px solid #b2d9bc; }
.form-feedback-err { background: #fdf0ef; color: #7a1a13; border: 1px solid #f0b9b4; }

.form-legal {
	font-size: 0.8rem;
	color: #888;
	margin-top: 10px;
	text-align: center;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.page-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 56px 24px 72px;
}

.page-content h2 { color: var(--brand); }
.page-content h3 { color: var(--brand); }

.page-content img {
	border-radius: 6px;
	box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

/* Section blocks */
.section-block {
	margin-bottom: 56px;
}
.section-block:last-child { margin-bottom: 0; }

/* Feature grid */
.feat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
	margin: 24px 0 40px;
}
.feat-item {
	border: 1.5px solid var(--line);
	border-radius: 6px;
	padding: 22px 20px;
}
.feat-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feat-item p { font-size: 0.96rem; margin: 0; color: var(--muted); }

/* Photo gallery */
.photo-strip {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin: 24px 0;
}
.photo-strip img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	border-radius: 5px;
	box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* FAQ */
.faq-list { list-style: none; padding: 0; margin: 0; }
.faq-item {
	border-bottom: 1px solid var(--line);
	padding: 18px 0;
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
	font-weight: 700;
	color: var(--brand);
	margin-bottom: 8px;
}
.faq-a { color: var(--ink); margin: 0; }

/* CTA band */
.cta-band {
	background: var(--brand);
	color: #ffffff;
	padding: 44px 24px;
	text-align: center;
}
.cta-band h2, .cta-band h3 { color: #ffffff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.88); margin-bottom: 22px; }
.cta-band li { color: rgba(255,255,255,0.88); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
	background: var(--brand-dark);
	color: rgba(255,255,255,0.82);
	padding: 52px 24px 0;
}
.footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 36px;
	padding-bottom: 44px;
}
.footer-col-title {
	display: block;
	font-weight: 700;
	color: #ffffff;
	font-size: 0.97rem;
	margin-bottom: 14px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	font-size: 0.85rem;
}
.footer-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.footer-list li {
	font-size: 0.93rem;
	margin-bottom: 8px;
	color: rgba(255,255,255,0.75);
}
.footer-list a {
	color: rgba(255,255,255,0.75);
	text-decoration: none;
}
.footer-list a:hover { color: #ffffff; }
.footer-about p {
	font-size: 0.93rem;
	color: rgba(255,255,255,0.72);
	margin: 10px 0 0;
}
.footer-logo { height: 40px; width: auto; }

.footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.12);
	max-width: 1200px;
	margin: 0 auto;
	padding: 18px 0 22px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	font-size: 0.82rem;
	color: rgba(255,255,255,0.5);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
	.footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
	h1 { font-size: 1.75rem; }
	h2 { font-size: 1.45rem; }

	.header-inner { padding: 0 16px; }

	.nav-burger { display: flex; }
	.main-nav { display: none; width: 100%; }
	.nav-toggle:checked ~ .main-nav {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--brand-dark);
		z-index: 100;
		border-top: 1px solid rgba(255,255,255,0.15);
		padding: 12px 0;
	}
	.nav-toggle:checked ~ .main-nav .nav-list {
		flex-direction: column;
		gap: 0;
		padding: 0 16px 8px;
	}
	.nav-toggle:checked ~ .main-nav .nav-list li { width: 100%; }
	.nav-toggle:checked ~ .main-nav .nav-list a {
		padding: 12px 8px;
		border-bottom: 1px solid rgba(255,255,255,0.08);
		border-radius: 0;
	}

	.site-header { position: relative; }

	.hero-inner {
		grid-template-columns: 1fr;
		padding: 40px 16px 48px;
		gap: 32px;
	}
	.hero-text h1 { font-size: 1.9rem; }
	.hero-cta-row { flex-direction: column; }

	.form-row { grid-template-columns: 1fr; }
	.form-card { padding: 22px 16px 20px; }

	.page-content { padding: 36px 16px 52px; }

	.footer-inner { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
	.footer-bottom { flex-direction: column; gap: 6px; }

	.photo-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
	.photo-strip { grid-template-columns: 1fr; }
	.photo-strip img { height: 220px; }
}
