/* =========================================================
   MovaX Logistics — main stylesheet
   Colors sampled from the reference design (share-joyfully-11.lovable.app)
   ========================================================= */

:root {
	--red: #d40c1a;
	--red-dark: #8f0912;
	--red-light: #ff4d4d;
	--ink: #13161b;
	--ink-soft: #4a4e57;
	--bg-light: #dcdee1;
	--card: #f0f2f4;
	--border: #b4b7bd;
	--dark: #0a0a0a;
	--dark-2: #161616;
	--white: #ffffff;
	--radius: 14px;
	--container: 1180px;
	--font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	color: var(--ink);
	background: var(--white);
	font-size: 16px;
	line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-muted-light { color: rgba(255,255,255,0.65); }
.text-white-muted { color: rgba(255,255,255,0.85); }
.text-accent { color: var(--red-light); }

.h2, h2.h2 {
	font-size: clamp(1.8rem, 3.2vw, 2.6rem);
	font-weight: 800;
	line-height: 1.15;
	margin: 0.4em 0;
}

.h3 {
	font-size: clamp(1.3rem, 2.2vw, 1.7rem);
	font-weight: 700;
	margin: 0;
}

.eyebrow {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--red);
	margin-bottom: 12px;
}
.eyebrow-light { color: var(--red-light); }

.section-lead {
	max-width: 640px;
	margin: 0 auto;
	color: var(--ink-soft);
	font-size: 1.05rem;
}

.section-head { margin-bottom: 44px; }

.section { padding: 88px 0; background: var(--white); }
.section-gray { background: var(--bg-light); }
.section-dark { background: var(--dark); }
.section-red {
	background: radial-gradient(120% 160% at 50% -20%, var(--dark) 0%, var(--red-dark) 45%, var(--red) 100%);
	padding: 96px 0;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 26px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.98rem;
	border: none;
	cursor: pointer;
	transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: 0.92; }

.btn-primary { background: var(--red); color: var(--white); }
.btn-outline { background: rgba(255,255,255,0.06); color: var(--white); border: 1px solid rgba(255,255,255,0.25); }
.btn-outline-light { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.55); }
.btn-block { width: 100%; justify-content: center; margin-top: 8px; }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--dark);
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 24px;
}
.site-logo { display: flex; align-items: center; }
.logo-mark { font-weight: 800; font-size: 1.15rem; color: var(--white); letter-spacing: -0.01em; }
.logo-accent { color: var(--red-light); font-weight: 800; }
.site-logo-img { height: 60px; width: auto; display: block; }
.footer-logo-img { height: 72px; width: auto; display: block; margin-bottom: 4px; }

.site-nav { display: none; }
.nav-menu { display: flex; gap: 28px; }
.nav-menu a { color: rgba(255,255,255,0.85); font-weight: 600; font-size: 0.95rem; }
.nav-menu a:hover { color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.menu-toggle {
	width: 40px; height: 40px;
	border-radius: 10px;
	border: 1px solid rgba(255,255,255,0.2);
	background: transparent;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
	cursor: pointer;
}
.menu-toggle span { width: 18px; height: 2px; background: var(--white); display: block; }

.mobile-nav {
	max-height: 0;
	overflow: hidden;
	background: var(--dark-2);
	transition: max-height 0.25s ease;
}
.mobile-nav.is-open { max-height: 480px; }
.mobile-nav-menu { padding: 8px 24px 20px; }
.mobile-nav-menu li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-nav-menu a { display: block; padding: 14px 0; color: rgba(255,255,255,0.85); font-weight: 600; }

@media (min-width: 960px) {
	.site-nav { display: block; }
	.menu-toggle { display: none; }
	.mobile-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	color: var(--white);
	padding: 90px 0 0;
	background-color: var(--dark);
	background-size: cover;
	background-position: center 30%;
	background-repeat: no-repeat;
	overflow: hidden;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(180deg, rgba(6,6,8,0.55) 0%, rgba(6,6,8,0.88) 65%, var(--dark) 100%),
		radial-gradient(120% 90% at 75% 15%, rgba(58,18,16,0.55) 0%, rgba(10,10,10,0.15) 55%);
}
.hero > .container,
.hero-stats {
	position: relative;
	z-index: 1;
}
.hero-title {
	font-size: clamp(2.4rem, 6vw, 4.2rem);
	font-weight: 800;
	line-height: 1.05;
	margin: 0 0 22px;
	max-width: 780px;
}
.hero-lead {
	max-width: 620px;
	font-size: 1.1rem;
	color: rgba(255,255,255,0.82);
	margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats { background: var(--dark-2); border-top: 1px solid rgba(255,255,255,0.08); }
.stats-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
	padding: 32px 24px;
}
.stat { display: flex; flex-direction: column; gap: 2px; color: var(--white); }
.stat-icon { font-size: 1.1rem; margin-bottom: 4px; }
.stat strong { font-size: 1.6rem; font-weight: 800; }
.stat span:last-child { color: rgba(255,255,255,0.6); font-size: 0.88rem; }

@media (min-width: 720px) {
	.stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Stores ---------- */
.stores { background: var(--bg-light); padding-top: 64px; }
.stores h2 { margin-bottom: 40px; }
.stores-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}
.store-chip {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 22px 10px;
	text-align: center;
	font-weight: 700;
	color: var(--ink);
}
.more-stores { color: var(--red); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; margin: 28px 0 64px; }

@media (min-width: 640px) { .stores-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Tag cloud ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tag-pill {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 10px 20px;
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--ink);
}
.section-dark .tag-pill { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); color: var(--white); }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.step-card {
	background: var(--dark-2);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: var(--radius);
	padding: 28px;
}
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.step-icon {
	width: 52px; height: 52px;
	border-radius: 12px;
	background: var(--red);
	display: flex; align-items: center; justify-content: center;
	font-size: 1.4rem;
}
.step-number { font-size: 2.2rem; font-weight: 800; color: rgba(212,12,26,0.8); }
.step-card h3 { color: var(--white); margin: 0 0 8px; font-size: 1.2rem; }
.step-card p { color: rgba(255,255,255,0.65); margin: 0; }

@media (min-width: 720px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Services / feature grids ---------- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.service-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px;
}
.service-icon {
	width: 52px; height: 52px;
	border-radius: 12px;
	background: rgba(212,12,26,0.12);
	display: flex; align-items: center; justify-content: center;
	font-size: 1.4rem;
	margin-bottom: 18px;
}
.service-card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.service-card p { margin: 0; color: var(--ink-soft); }

@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Rates / calculator ---------- */
.rates-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
.rate-table {
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: var(--radius);
	padding: 26px;
	color: var(--white);
}
.rate-table h3 { margin: 0 0 16px; }
.rate-row { padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.12); }
.rate-row:first-of-type { border-top: none; }
.rate-row strong { font-size: 1.6rem; }
.rate-row span { color: rgba(255,255,255,0.7); margin-left: 4px; }
.rate-row p { margin: 6px 0 0; color: rgba(255,255,255,0.65); font-size: 0.9rem; }

@media (min-width: 780px) { .rates-grid { grid-template-columns: repeat(2, 1fr); } }

.calculator-card {
	max-width: 560px;
	margin: 0 auto;
	background: #fbf4f2;
	border-radius: var(--radius);
	padding: 34px;
	color: var(--ink);
}
.calc-title { margin: 0 0 20px; font-size: 1.2rem; }
.calc-label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin: 18px 0 8px; }
.calc-input, .calc-select {
	width: 100%;
	padding: 14px 16px;
	border-radius: 10px;
	border: 1px solid var(--border);
	background: var(--bg-light);
	font-family: inherit;
	font-size: 1rem;
	color: var(--ink);
}
textarea.calc-input { resize: vertical; }

.calc-toggle { display: flex; background: var(--bg-light); border-radius: 999px; padding: 4px; gap: 4px; }
.calc-toggle-btn {
	flex: 1;
	border: none;
	background: transparent;
	padding: 12px;
	border-radius: 999px;
	font-weight: 700;
	cursor: pointer;
	color: var(--ink-soft);
}
.calc-toggle-btn.is-active { background: var(--red); color: var(--white); }

.calc-result {
	margin-top: 22px;
	background: rgba(212,12,26,0.08);
	border: 1px solid rgba(212,12,26,0.25);
	border-radius: 12px;
	padding: 20px;
}
.calc-result-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.calc-result-value { font-size: 2.2rem; font-weight: 800; margin: 6px 0; }
.calc-result-value small { font-size: 1rem; font-weight: 600; color: var(--ink-soft); }
.calc-result p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- Two column / casillero ---------- */
.two-col { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.check-list { margin: 24px 0 32px; display: grid; grid-template-columns: 1fr; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; font-weight: 600; }
.check-list li::before {
	content: "✓";
	position: absolute; left: 0; top: 0;
	width: 20px; height: 20px;
	border-radius: 50%;
	background: rgba(212,12,26,0.12);
	color: var(--red);
	font-size: 0.75rem;
	display: flex; align-items: center; justify-content: center;
}

@media (min-width: 640px) { .two-col-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .two-col { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }

/* ---------- Destinations ---------- */
.destinations-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.destination-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 26px;
}
.destination-card h3 { margin: 0 0 8px; }
.destination-card p { margin: 0; color: var(--ink-soft); }

@media (min-width: 640px) { .destinations-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .destinations-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Testimonials ---------- */
.stars { color: var(--red); font-size: 1.1rem; letter-spacing: 2px; }
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.testimonial-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 26px;
}
.testimonial-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.avatar {
	width: 44px; height: 44px;
	border-radius: 50%;
	background: var(--red);
	color: var(--white);
	font-weight: 800;
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.testimonial-head strong { display: block; font-size: 0.98rem; }
.testimonial-meta { font-size: 0.82rem; color: var(--ink-soft); }
.testimonial-card p { margin: 0; color: var(--ink-soft); font-style: italic; }

@media (min-width: 640px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-question {
	width: 100%;
	display: flex; align-items: center; justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	background: none;
	border: none;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
	color: var(--ink);
}
.faq-caret { color: var(--red); transition: transform 0.2s ease; }
.faq-item.is-open .faq-caret { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-answer p { margin: 0; padding: 0 22px 20px; color: var(--ink-soft); }

/* ---------- Contact form ---------- */
.contact-form-card {
	background: var(--white);
	color: var(--ink);
	border-radius: var(--radius);
	padding: 34px;
}
.form-row-2 { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 560px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }
.form-notice { padding: 12px 16px; border-radius: 10px; font-weight: 600; margin-bottom: 16px; }
.form-notice-ok { background: rgba(34,197,94,0.12); color: #166534; }
.form-notice-error { background: rgba(212,12,26,0.12); color: var(--red-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.75); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { max-width: 320px; color: rgba(255,255,255,0.55); margin-top: 14px; }
.footer-col-title { color: var(--white); font-size: 1rem; margin: 0 0 16px; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a { color: rgba(255,255,255,0.6); }
.footer-menu a:hover { color: var(--white); }
.footer-contact li { color: rgba(255,255,255,0.6); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; font-size: 0.85rem; }

@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	width: 56px; height: 56px;
	border-radius: 50%;
	background: #25D366;
	color: var(--white);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 24px rgba(0,0,0,0.25);
	z-index: 60;
}

/* ---------- Blog fallback ---------- */
.blog-item { margin-bottom: 40px; }
