/* Tebere Hardware and Farm Inputs Ltd — Main Styles */

:root {
	--blue-900: #0c2340;
	--blue-800: #1e3a8a;
	--blue-700: #1d4ed8;
	--blue-600: #2563eb;
	--blue-500: #3b82f6;
	--blue-100: #dbeafe;
	--blue-50: #eff6ff;
	--red-800: #991b1b;
	--red-700: #b91c1c;
	--red-600: #dc2626;
	--red-500: #ef4444;
	--red-100: #fee2e2;
	--neutral-200: #e2e8f0;
	--neutral-100: #f1f5f9;
	--cream: #f8fafc;
	--white: #ffffff;
	--text: #0f172a;
	--text-muted: #64748b;
	--accent: var(--red-600);
	--shaktiman: #ea580c;
	--whatsapp: #25d366;
	--shadow: 0 4px 24px rgba(30, 58, 138, 0.1);
	--shadow-lg: 0 12px 40px rgba(30, 58, 138, 0.14);
	--radius: 12px;
	--radius-lg: 18px;
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--header-h: 72px;
	--transition: 0.25s ease;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font);
	color: var(--text);
	background: var(--cream);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--blue-700);
	text-decoration: none;
	transition: color var(--transition);
}

a:hover {
	color: var(--blue-900);
}

.container {
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 1.25rem;
}

/* Skip link */
.skip-link {
	position: absolute;
	top: -100px;
	left: 1rem;
	z-index: 9999;
	padding: 0.5rem 1rem;
	background: var(--blue-700);
	color: var(--white);
	border-radius: var(--radius);
}

.skip-link:focus {
	top: 1rem;
}

/* Header */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: var(--header-h);
	background: rgba(248, 250, 252, 0.94);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(37, 99, 235, 0.12);
	transition: box-shadow var(--transition);
}

.site-header.scrolled {
	box-shadow: var(--shadow);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-h);
	gap: 1rem;
}

.logo-link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--text);
	text-decoration: none;
}

.logo-mark {
	width: 48px;
	height: 48px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--blue-700), var(--red-600));
	color: var(--white);
	font-weight: 800;
	font-size: 0.95rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.logo-text strong {
	display: block;
	font-size: 0.95rem;
	line-height: 1.2;
}

.logo-text span {
	font-size: 0.72rem;
	color: var(--text-muted);
}

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	padding: 8px;
	background: none;
	border: none;
	cursor: pointer;
}

.nav-toggle span {
	width: 24px;
	height: 2px;
	background: var(--blue-800);
	border-radius: 2px;
	transition: var(--transition);
}

.main-nav ul {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-nav a {
	display: block;
	padding: 0.5rem 0.85rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text);
	border-radius: 8px;
}

.main-nav a:hover {
	background: var(--blue-100);
	color: var(--blue-800);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.35rem;
	font-size: 0.95rem;
	font-weight: 700;
	font-family: inherit;
	border-radius: 10px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
	text-decoration: none;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-primary {
	background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
	color: var(--white);
	box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
	color: var(--white);
	box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
}

.btn-whatsapp {
	background: var(--whatsapp);
	color: var(--white);
	box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
	color: var(--white);
	background: #20bd5a;
}

.btn-sm {
	padding: 0.5rem 1rem;
	font-size: 0.85rem;
}

.btn-outline {
	background: transparent;
	border-color: var(--blue-700);
	color: var(--blue-800);
}

.btn-outline:hover {
	background: var(--blue-100);
	color: var(--blue-900);
}

.btn-light {
	background: var(--white);
	color: var(--blue-800);
}

.btn-light:hover {
	color: var(--blue-900);
}

/* Hero */
.hero {
	position: relative;
	min-height: 92vh;
	display: flex;
	align-items: center;
	padding: calc(var(--header-h) + 3rem) 0 4rem;
	overflow: hidden;
}

.hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

/* Hero background crossfade carousel */
.hero-carousel {
	position: absolute;
	inset: 0;
}

.hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	z-index: 0;
	transition: opacity 2s ease-in-out;
	will-change: opacity;
}

.hero-slide.is-active {
	opacity: 1;
	z-index: 1;
}

.hero-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.04);
	transition: transform 8s ease-out;
}

.hero-slide.is-active img {
	transform: scale(1);
}

.hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(
		105deg,
		rgba(12, 35, 64, 0.93) 0%,
		rgba(30, 58, 138, 0.82) 48%,
		rgba(153, 27, 27, 0.5) 100%
	);
}

.hero-content {
	position: relative;
	z-index: 3;
	max-width: 640px;
	color: var(--white);
}

.hero-badge {
	display: inline-block;
	padding: 0.35rem 0.85rem;
	background: rgba(220, 38, 38, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.hero h1 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.75rem, 4vw, 2.65rem);
	font-weight: 800;
	line-height: 1.15;
}

.hero-tagline {
	font-size: clamp(1rem, 2.5vw, 1.25rem);
	font-weight: 600;
	color: var(--blue-100);
	margin: 0 0 1rem;
}

.hero-intro {
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.88);
	margin: 0 0 1.75rem;
	max-width: 520px;
}

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* Sections */
section {
	padding: 5rem 0;
}

.section-header {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 2.75rem;
}

.section-header h2 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	color: var(--blue-900);
}

.section-header p {
	margin: 0;
	color: var(--text-muted);
	font-size: 1.05rem;
}

.section-label {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--red-600);
	margin-bottom: 0.5rem;
}

/* Reveal animation */
.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

/* About section */
.about-section {
	background: var(--white);
}

.about-lead {
	max-width: 820px;
	margin: 0 auto 2rem;
	text-align: center;
}

.about-lead p {
	margin: 0;
	font-size: 1.1rem;
	color: var(--text-muted);
	line-height: 1.75;
}

.about-mission {
	max-width: 820px;
	margin: 0 auto 2.5rem;
	padding: 1.5rem 1.75rem;
	background: linear-gradient(135deg, var(--blue-50), var(--red-100));
	border-left: 4px solid var(--red-600);
	border-radius: var(--radius-lg);
}

.about-mission h3 {
	margin: 0 0 0.5rem;
	color: var(--blue-900);
	font-size: 1.15rem;
}

.about-mission p {
	margin: 0;
	color: var(--text);
	font-size: 1.05rem;
	line-height: 1.65;
}

.about-columns,
.about-extra {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	margin-bottom: 2.5rem;
}

.about-block h3 {
	margin: 0 0 1rem;
	color: var(--blue-900);
	font-size: 1.1rem;
}

.about-block p {
	margin: 0;
	color: var(--text-muted);
	line-height: 1.65;
}

.about-block ul {
	margin: 0;
	padding-left: 1.2rem;
	color: var(--text-muted);
}

.about-block li {
	margin-bottom: 0.65rem;
	line-height: 1.55;
}

.about-block strong {
	color: var(--blue-800);
}

.about-steps {
	margin-bottom: 2.5rem;
}

.about-steps > h3 {
	text-align: center;
	margin: 0 0 1.5rem;
	color: var(--blue-900);
}

.steps-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.step-card {
	background: var(--cream);
	border: 1px solid var(--neutral-200);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
	text-align: center;
	transition: box-shadow var(--transition), transform var(--transition);
}

.step-card:hover {
	box-shadow: var(--shadow);
	transform: translateY(-3px);
}

.step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--blue-700), var(--red-600));
	color: var(--white);
	font-weight: 800;
	font-size: 0.95rem;
	margin-bottom: 0.75rem;
}

.step-card h4 {
	margin: 0 0 0.4rem;
	color: var(--blue-900);
	font-size: 1rem;
}

.step-card p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--text-muted);
}

.about-cta {
	text-align: center;
	max-width: 720px;
	margin: 0 auto;
	padding: 2rem;
	background: var(--blue-50);
	border-radius: var(--radius-lg);
	border: 1px solid var(--neutral-200);
}

.about-cta h3 {
	margin: 0 0 1rem;
	color: var(--blue-900);
}

.about-contact-list {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
	text-align: left;
	color: var(--text-muted);
}

.about-contact-list li {
	margin-bottom: 0.5rem;
	line-height: 1.55;
}

.about-closing {
	margin: 0 0 1.25rem;
	font-size: 1.05rem;
	color: var(--text);
	font-style: italic;
}

/* Reviews section */
.reviews-section {
	background: linear-gradient(180deg, var(--blue-50) 0%, var(--cream) 100%);
}

.reviews-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}

.review-card {
	background: var(--white);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
	border: 1px solid var(--neutral-200);
	box-shadow: var(--shadow);
	transition: transform var(--transition), box-shadow var(--transition);
	display: flex;
	flex-direction: column;
}

.review-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.review-stars {
	color: #f59e0b;
	font-size: 1rem;
	letter-spacing: 0.1em;
	margin-bottom: 0.75rem;
}

.review-card blockquote {
	margin: 0 0 1.25rem;
	flex: 1;
}

.review-card blockquote p {
	margin: 0;
	font-size: 0.95rem;
	color: var(--text);
	line-height: 1.6;
}

.review-author {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding-top: 1rem;
	border-top: 1px solid var(--neutral-200);
}

.review-author img {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	border: 2px solid var(--blue-100);
}

.review-author strong {
	display: block;
	color: var(--blue-900);
	font-size: 0.95rem;
}

.review-author span {
	display: block;
	font-size: 0.8rem;
	color: var(--text-muted);
	margin-top: 0.15rem;
}

/* Products grid */
.products {
	background: var(--white);
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.5rem;
}

.product-card {
	background: var(--cream);
	border-radius: var(--radius-lg);
	padding: 1.75rem;
	border: 1px solid var(--neutral-200);
	transition: box-shadow var(--transition), transform var(--transition);
}

.product-card:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-4px);
}

.product-icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--blue-100), var(--red-100));
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	color: var(--blue-700);
}

.product-card h3 {
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
	color: var(--blue-900);
}

.product-card p {
	margin: 0;
	font-size: 0.95rem;
	color: var(--text-muted);
}

.product-card .card-img {
	margin: -0.5rem -0.5rem 1rem;
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 16/10;
}

.product-card .card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Machinery */
.machinery {
	background: linear-gradient(180deg, var(--blue-50) 0%, var(--cream) 100%);
}

.machinery-brand {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.machinery-brand span {
	font-size: 0.9rem;
	color: var(--text-muted);
}

.brand-pill {
	background: var(--shaktiman);
	color: var(--white);
	font-weight: 800;
	padding: 0.4rem 1rem;
	border-radius: 8px;
	font-size: 0.95rem;
	letter-spacing: 0.04em;
}

.machinery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
}

.machinery-card {
	background: var(--white);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow);
	border: 1px solid var(--neutral-200);
	transition: transform var(--transition), box-shadow var(--transition);
}

.machinery-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.machinery-card .thumb {
	aspect-ratio: 4/3;
	overflow: hidden;
	background: #f0ebe3;
}

.machinery-card .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.machinery-card:hover .thumb img {
	transform: scale(1.04);
}

.machinery-card .body {
	padding: 1.25rem;
}

.machinery-card h3 {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
	color: var(--blue-900);
}

.machinery-card p {
	margin: 0;
	font-size: 0.88rem;
	color: var(--text-muted);
}

/* Spare parts */
.spare-parts {
	background: var(--white);
}

.spare-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.spare-block {
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--neutral-200);
	background: var(--cream);
}

.spare-block img {
	width: 100%;
	aspect-ratio: 16/10;
	object-fit: cover;
}

.spare-block .content {
	padding: 1.5rem;
}

.spare-block h3 {
	margin: 0 0 0.5rem;
	color: var(--blue-900);
}

.spare-block ul {
	margin: 0;
	padding-left: 1.2rem;
	color: var(--text-muted);
}

.spare-block li {
	margin-bottom: 0.35rem;
}

/* Focus section */
.focus-section {
	background: var(--blue-900);
	color: var(--white);
	padding: 5rem 0;
}

.focus-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}

.focus-card {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-lg);
	padding: 2rem;
	text-align: center;
	transition: background var(--transition), transform var(--transition);
}

.focus-card:hover {
	background: rgba(255, 255, 255, 0.12);
	transform: translateY(-4px);
}

.focus-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: var(--blue-600);
	display: flex;
	align-items: center;
	justify-content: center;
}

.focus-card h3 {
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
}

.focus-card p {
	margin: 0;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.85);
}

/* Gallery */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 0.75rem;
}

.gallery-item {
	position: relative;
	border: none;
	padding: 0;
	cursor: pointer;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--neutral-200);
	aspect-ratio: 1;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.gallery-item:hover img {
	transform: scale(1.06);
}

.gallery-item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(30, 58, 138, 0);
	transition: background 0.3s ease;
}

.gallery-item:hover::after {
	background: rgba(30, 58, 138, 0.28);
}

/* Lightbox */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 2000;
	background: rgba(0, 0, 0, 0.92);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
	opacity: 1;
	visibility: visible;
}

.lightbox img {
	max-width: 95vw;
	max-height: 85vh;
	object-fit: contain;
	border-radius: var(--radius);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
	position: absolute;
	background: rgba(255, 255, 255, 0.15);
	border: none;
	color: var(--white);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	font-size: 1.5rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
	background: rgba(255, 255, 255, 0.3);
}

.lightbox-close {
	top: 1.5rem;
	right: 1.5rem;
	font-size: 2rem;
	line-height: 1;
}

.lightbox-prev {
	left: 1.5rem;
	top: 50%;
	transform: translateY(-50%);
}

.lightbox-next {
	right: 1.5rem;
	top: 50%;
	transform: translateY(-50%);
}

.lightbox-caption {
	position: absolute;
	bottom: 1.5rem;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.9rem;
	text-align: center;
	max-width: 90%;
}

/* Contact */
.contact-section {
	background: var(--cream);
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	align-items: start;
}

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.contact-item {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.contact-item .icon-wrap {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: var(--blue-100);
	color: var(--blue-700);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.contact-item h4 {
	margin: 0 0 0.2rem;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-muted);
}

.contact-item p,
.contact-item a {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	color: var(--text);
}

.contact-form {
	background: var(--white);
	padding: 2rem;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	border: 1px solid var(--neutral-200);
}

.contact-form label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 0.35rem;
	color: var(--text);
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	margin-bottom: 1rem;
	border: 1px solid var(--neutral-200);
	border-radius: 8px;
	font-family: inherit;
	font-size: 1rem;
	background: var(--cream);
	transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--blue-600);
}

.contact-form textarea {
	min-height: 120px;
	resize: vertical;
}

.hours-box {
	margin-top: 1rem;
	padding: 1rem;
	background: var(--blue-100);
	border-radius: var(--radius);
	font-size: 0.95rem;
}

.hours-box strong {
	color: var(--blue-800);
}

/* Footer */
.site-footer {
	background: var(--blue-900);
	color: rgba(255, 255, 255, 0.8);
	padding: 2.5rem 0;
	text-align: center;
	font-size: 0.9rem;
}

.site-footer p {
	margin: 0.25rem 0;
}

.site-footer a {
	color: var(--blue-100);
}

.nav-cta-desktop {
	display: none;
}

.main-nav .btn {
	border: none;
	margin-left: 0.25rem;
}

.focus-header {
	color: var(--white);
}

.focus-header h2 {
	color: var(--white);
}

.focus-header p {
	color: rgba(255, 255, 255, 0.88);
}

.focus-header .section-label {
	color: var(--red-100);
}

.form-heading {
	margin: 0 0 1rem;
	font-size: 1.15rem;
	color: var(--blue-900);
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* WhatsApp chat widget */
.chat-widget {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 1500;
	font-family: var(--font);
}

.chat-fab {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: none;
	background: var(--whatsapp);
	color: var(--white);
	cursor: pointer;
	box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform var(--transition), box-shadow var(--transition);
}

.chat-fab:hover {
	transform: scale(1.06);
	box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

.chat-fab-label {
	position: absolute;
	right: 70px;
	bottom: 18px;
	background: var(--white);
	color: var(--text);
	padding: 0.4rem 0.75rem;
	border-radius: 8px;
	font-size: 0.8rem;
	font-weight: 600;
	box-shadow: var(--shadow);
	white-space: nowrap;
	pointer-events: none;
}

.chat-panel {
	position: absolute;
	right: 0;
	bottom: 76px;
	width: min(360px, calc(100vw - 2.5rem));
	background: var(--white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--neutral-200);
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px) scale(0.98);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.chat-panel.open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}

.chat-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 1rem 1.1rem;
	background: linear-gradient(135deg, var(--blue-800), var(--blue-700));
	color: var(--white);
}

.chat-header strong {
	display: block;
	font-size: 1rem;
}

.chat-header span {
	font-size: 0.78rem;
	opacity: 0.9;
}

.chat-close {
	background: rgba(255, 255, 255, 0.15);
	border: none;
	color: var(--white);
	width: 32px;
	height: 32px;
	border-radius: 8px;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	flex-shrink: 0;
}

.chat-messages {
	padding: 1rem;
	max-height: 200px;
	overflow-y: auto;
	background: var(--blue-50);
}

.chat-bubble {
	max-width: 92%;
	padding: 0.65rem 0.85rem;
	border-radius: 12px 12px 12px 4px;
	font-size: 0.88rem;
	line-height: 1.45;
	margin-bottom: 0.5rem;
}

.chat-bubble.bot {
	background: var(--white);
	color: var(--text);
	border: 1px solid var(--neutral-200);
}

.chat-bubble.user {
	background: var(--blue-700);
	color: var(--white);
	margin-left: auto;
	border-radius: 12px 12px 4px 12px;
}

.chat-quick {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	padding: 0 1rem 0.75rem;
	background: var(--blue-50);
}

.chat-quick button {
	border: 1px solid var(--blue-200, #bfdbfe);
	background: var(--white);
	color: var(--blue-800);
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.35rem 0.6rem;
	border-radius: 999px;
	cursor: pointer;
	font-family: inherit;
	transition: background var(--transition);
}

.chat-quick button:hover {
	background: var(--blue-100);
}

.chat-form {
	padding: 0.75rem 1rem 1rem;
	border-top: 1px solid var(--neutral-200);
}

.chat-form input,
.chat-form textarea {
	width: 100%;
	padding: 0.6rem 0.75rem;
	margin-bottom: 0.5rem;
	border: 1px solid var(--neutral-200);
	border-radius: 8px;
	font-family: inherit;
	font-size: 0.9rem;
}

.chat-form textarea {
	min-height: 72px;
	resize: vertical;
}

.chat-form button[type="submit"] {
	width: 100%;
	padding: 0.7rem;
	border: none;
	border-radius: 8px;
	background: var(--whatsapp);
	color: var(--white);
	font-weight: 700;
	font-size: 0.9rem;
	cursor: pointer;
	font-family: inherit;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
}

.chat-form button[type="submit"]:hover {
	background: #20bd5a;
}

/* Responsive */
@media (max-width: 900px) {
	.nav-toggle {
		display: flex;
	}

	.main-nav {
		position: fixed;
		top: var(--header-h);
		left: 0;
		right: 0;
		background: var(--white);
		border-bottom: 1px solid var(--neutral-200);
		padding: 1rem;
		transform: translateY(-120%);
		opacity: 0;
		visibility: hidden;
		transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
		box-shadow: var(--shadow-lg);
	}

	.main-nav.open {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}

	.main-nav ul {
		flex-direction: column;
		align-items: stretch;
	}

	.main-nav a {
		padding: 0.75rem 1rem;
	}

	.contact-grid {
		grid-template-columns: 1fr;
	}

	.hero {
		min-height: 85vh;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero-slide {
		transition: none;
	}

	.hero-slide img {
		transform: none;
		transition: none;
	}

	.hero-slide:not(.is-active) {
		visibility: hidden;
	}
}

/* ——— Mobile (phones) ——— */
@media (max-width: 767px) {
	body {
		padding-bottom: 5rem;
	}

	section {
		padding: 3.25rem 0;
	}

	.logo-text span {
		display: none;
	}

	.hero {
		min-height: 88vh;
		text-align: center;
	}

	.hero-content {
		margin: 0 auto;
	}

	.hero-intro {
		margin-left: auto;
		margin-right: auto;
	}

	.hero-cta {
		justify-content: center;
		flex-direction: column;
	}

	.hero-cta .btn {
		width: 100%;
	}

	.card-grid,
	.machinery-grid,
	.spare-grid,
	.focus-grid,
	.about-columns,
	.about-extra,
	.steps-grid,
	.reviews-grid {
		grid-template-columns: 1fr;
	}

	.gallery-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.5rem;
	}

	.section-header {
		margin-bottom: 2rem;
	}

	.chat-panel {
		right: -0.5rem;
		width: calc(100vw - 1.5rem);
	}

	.chat-fab-label {
		display: none;
	}

	.contact-form {
		padding: 1.25rem;
	}
}

/* ——— Tablet ——— */
@media (min-width: 768px) and (max-width: 1023px) {
	.card-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.machinery-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.gallery-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ——— Desktop / Laptop ——— */
@media (min-width: 1024px) {
	:root {
		--header-h: 80px;
	}

	.nav-cta-desktop {
		display: list-item;
	}

	.hero {
		min-height: 94vh;
	}

	.hero-content {
		max-width: 720px;
	}

	.hero h1 {
		font-size: 2.85rem;
	}

	.hero-cta .btn {
		min-width: 160px;
	}

	.card-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.machinery-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.reviews-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.gallery-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 1rem;
	}

	.contact-grid {
		gap: 3.5rem;
	}

	.main-nav a {
		font-size: 0.92rem;
	}
}

@media (min-width: 1280px) {
	.container {
		max-width: 1200px;
	}

	.gallery-grid {
		grid-template-columns: repeat(5, 1fr);
	}

	.reviews-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}
