:root {
  --primary: #c62828;
  --primary-dark: #8e1f1f;
  --secondary: #183153;
  --secondary-soft: #25476f;
  --accent: #f4b400;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #f1f4f8;
  --text: #1d2736;
  --muted: #64748b;
  --border: #e5eaf1;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 12px 28px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: .25s ease; }
a:hover { color: var(--primary-dark); }
p { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 20px; }
section { position: relative; }
.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.top-bar {
  background: var(--secondary);
  color: rgba(255,255,255,.88);
  font-size: 14px;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.contact-info span { white-space: nowrap; }
.top-offer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-weight: 600;
}
.top-offer:hover { background: rgba(255,255,255,.2); color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15,23,42,.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 88px;
}
.logo img {
  width: auto;
  max-height: 62px;
}
#main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}
#main-nav a {
  color: var(--secondary);
  font-weight: 700;
  font-size: 15px;
  position: relative;
}
#main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
#main-nav a:hover::after,
#main-nav a:focus::after { transform: scaleX(1); }
.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--secondary);
  border-radius: 99px;
}

.btn,
.btn-outline,
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 700;
  transition: .25s ease;
  border: none;
  cursor: pointer;
}
.btn {
  background: linear-gradient(135deg, var(--primary), #e53935);
  color: #fff;
  box-shadow: 0 14px 28px rgba(198,40,40,.22);
}
.btn:hover { color: #fff; transform: translateY(-2px); }
.btn-outline {
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-light {
  background: #fff;
  color: var(--secondary);
}
.btn-light:hover { transform: translateY(-2px); color: var(--secondary); }

.hero-modern {
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(8,15,29,.45), rgba(8,15,29,.68)), url('/assets/images/hero-field.webp') center/cover no-repeat;
  color: #fff;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(320px,.85fr);
  gap: 40px;
  align-items: center;
  padding: 72px 0 80px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 18px;
}
.hero-modern h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.04;
  letter-spacing: -.02em;
}
.hero-modern p {
  max-width: 700px;
  color: rgba(255,255,255,.9);
  font-size: 18px;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.highlight-pill {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
}
.highlight-pill strong {
  display: block;
  font-size: 20px;
  margin-bottom: 4px;
}
.highlight-pill span {
  color: rgba(255,255,255,.82);
  font-size: 14px;
}
.hero-panel {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.hero-panel-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero-panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-panel h3 {
  margin: 0 0 10px;
  font-size: 24px;
}
.hero-panel p {
  font-size: 15px;
  margin-bottom: 0;
}
.info-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.info-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-weight: 600;
  font-size: 14px;
}

section.section-block { padding: 84px 0; }
.section-intro {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}
.section-intro .section-kicker,
.section-title,
.page-header .page-kicker { text-transform: uppercase; letter-spacing: .08em; }
.section-kicker,
.page-kicker {
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 12px;
}
.section-title,
.page-title {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  color: var(--secondary);
}
.section-intro p,
.page-header p { color: var(--muted); font-size: 17px; }

.stat-grid,
.feature-grid,
.news-grid,
.categories,
.dealer-grid,
.card-grid {
  display: grid;
  gap: 22px;
}
.stat-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.feature-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.news-grid,
.categories,
.dealer-grid,
.card-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }

.stat-card,
.feature-card,
.category-card,
.news-card,
.dealer-card,
.info-card,
.testimonial-item,
.contact-card,
.value-card,
.panel,
.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.stat-card {
  padding: 26px;
  text-align: left;
}
.stat-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: clamp(24px, 3vw, 34px);
}
.stat-card span { color: var(--muted); font-weight: 600; }

.feature-card { padding: 26px; }
.feature-card h3,
.info-card h3,
.value-card h3,
.contact-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--secondary);
}
.feature-card p,
.info-card p,
.value-card p,
.contact-card p { color: var(--muted); margin-bottom: 0; }
.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(198,40,40,.12), rgba(24,49,83,.10));
  color: var(--primary);
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 18px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .95fr);
  gap: 34px;
  align-items: center;
}
.media-card {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
  min-height: 100%;
}
.media-card img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}
.content-card {
  padding: 34px;
}
.content-card h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  color: var(--secondary);
}
.content-card p { color: var(--muted); }
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.bullet-list li {
  position: relative;
  padding: 0 0 0 28px;
  margin-bottom: 14px;
  color: var(--text);
}
.bullet-list li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 7px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.category-card,
.news-card { overflow: hidden; }
.category-card img,
.news-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.category-card:hover,
.news-card:hover,
.dealer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 52px rgba(15,23,42,.12);
}
.category-card h3,
.news-card h4 { margin: 0 0 10px; color: var(--secondary); }
.category-card p,
.news-card p { color: var(--muted); }
.product-card-body,
.news-card .card-body { padding: 22px; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--primary);
}
.card-link::after { content: "→"; transition: transform .2s ease; }
.card-link:hover::after { transform: translateX(4px); }

.value-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.value-card { padding: 22px; }
.value-card p { margin-bottom: 0; }

.testimonials {
  background: linear-gradient(180deg, #fff, #f7fafc);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}
.testimonial-item {
  padding: 28px;
  position: relative;
}
.testimonial-item p {
  color: var(--muted);
  font-size: 15px;
}
.testimonial-item span {
  display: block;
  margin-top: 18px;
  font-weight: 800;
  color: var(--secondary);
}
.testimonial-item::before {
  content: "“";
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 52px;
  line-height: 1;
  color: rgba(198,40,40,.12);
  font-family: Georgia, serif;
}

.cta-band {
  background: linear-gradient(135deg, var(--secondary), #29517e);
  color: #fff;
  border-radius: 28px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow);
}
.cta-band h3 { margin: 0 0 10px; font-size: 32px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.84); }
.cta-band .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.page-header {
  min-height: 360px;
  display: flex;
  align-items: end;
  padding: 120px 0 44px;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,16,28,.25), rgba(10,16,28,.72));
  z-index: -1;
}
.page-header .container { color: #fff; max-width: 920px; }
.page-header p { color: rgba(255,255,255,.88); margin-bottom: 0; }

.content-section { padding: 72px 0; }
.rich-text h2 {
  margin: 0 0 14px;
  font-size: 30px;
  color: var(--secondary);
}
.rich-text p,
.rich-text li { color: var(--muted); }
.rich-text ul { margin-bottom: 26px; }
.rich-text > * + * { margin-top: 16px; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}
.detail-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}
.detail-media img {
  border-radius: 20px;
  width: 100%;
  box-shadow: var(--shadow);
  object-fit: cover;
}
.detail-content,
.contact-form-wrap,
.contact-info-wrap { padding: 28px; }
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}
.field { margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  outline: none;
}
.field input:focus,
.field textarea:focus {
  border-color: rgba(198,40,40,.5);
  box-shadow: 0 0 0 4px rgba(198,40,40,.08);
}
.field textarea { min-height: 160px; resize: vertical; }
.alert {
  padding: 14px 18px;
  border-radius: 14px;
  margin-bottom: 18px;
  font-weight: 600;
}
.alert-success {
  background: #e8f7ec;
  color: #22663a;
  border: 1px solid #cdebd5;
}
.alert-error {
  background: #fff0f0;
  color: #a12626;
  border: 1px solid #f0c7c7;
}
.info-list {
  display: grid;
  gap: 16px;
}
.info-list .info-item {
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--surface-2);
}
.info-item strong {
  display: block;
  color: var(--secondary);
  margin-bottom: 6px;
}
.info-item span, .info-item a { color: var(--muted); }

.dealer-card { padding: 22px; }
.dealer-card p { color: var(--muted); margin: 0 0 8px; }
.dealer-card strong { color: var(--secondary); }

.site-footer {
  background: #101b2d;
  color: rgba(255,255,255,.82);
  padding: 78px 0 28px;
  margin-top: 84px;
}
.footer-columns {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}
.footer-column h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 20px;
}
.footer-column p { color: rgba(255,255,255,.72); }
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.footer-menu a { color: rgba(255,255,255,.72); }
.footer-menu a:hover,
.footer-column a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 36px;
  padding-top: 24px;
  text-align: center;
  color: rgba(255,255,255,.58);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .hero-grid,
  .split-layout,
  .detail-layout,
  .contact-layout,
  .footer-columns,
  .stat-grid,
  .feature-grid,
  .categories,
  .news-grid,
  .dealer-grid,
  .testimonial-grid,
  .card-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { max-width: 700px; }
}

@media (max-width: 860px) {
  .top-bar .container { flex-direction: column; align-items: flex-start; }
  .site-header .container { min-height: 78px; }
  .menu-toggle { display: inline-flex; }
  #main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: .25s ease;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 16px;
  }
  #main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  #main-nav ul { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-highlights,
  .field-grid,
  .hero-grid,
  .split-layout,
  .detail-layout,
  .contact-layout,
  .footer-columns,
  .stat-grid,
  .feature-grid,
  .categories,
  .news-grid,
  .dealer-grid,
  .testimonial-grid,
  .card-grid,
  .value-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .page-header { min-height: 320px; padding-top: 110px; }
  .hero-modern { min-height: auto; }
  .hero-grid { padding: 56px 0 64px; }
}

@media (max-width: 580px) {
  .hero-modern h1 { font-size: 34px; }
  .section-title, .page-title { font-size: 30px; }
  .contact-info span { white-space: normal; }
  .content-card,
  .contact-form-wrap,
  .contact-info-wrap,
  .feature-card,
  .testimonial-item,
  .dealer-card,
  .stat-card { padding: 22px; }
  .hero-panel { padding: 14px; }
}

/* Slider, floating actions and premium detail additions */
.hero-slider { position: relative; background: #0d1728; isolation: isolate; }
.hero-slider-track { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity 1s ease, transform 7s ease; }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slider::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,15,29,.78), rgba(8,15,29,.46) 48%, rgba(8,15,29,.68)); }
.slider-dots { display: flex; gap: 10px; margin-top: 22px; }
.slider-dots button { width: 11px; height: 11px; border-radius: 999px; border: 0; background: rgba(255,255,255,.42); cursor: pointer; padding: 0; }
.slider-dots button.active { width: 32px; background: #fff; }
.hero-modern.hero-slider { background-image: none !important; }

.product-premium-grid { display: grid; grid-template-columns: minmax(320px, 1.15fr) minmax(300px, .85fr); gap: 28px; align-items: start; }
.product-photo-stack { display: grid; gap: 18px; }
.product-main-photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.product-main-photo img { width: 100%; height: 520px; object-fit: cover; }
.product-mini-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.product-mini-row img { height: 132px; width: 100%; object-fit: cover; border-radius: 16px; border: 1px solid var(--border); }
.product-side { display: grid; gap: 18px; }
.product-side .content-card { padding: 26px; }
.spec-list { display: grid; gap: 12px; margin: 20px 0 0; }
.spec-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 15px; border-radius: 14px; background: var(--surface-2); }
.spec-item strong { color: var(--secondary); }
.spec-item span { color: var(--muted); text-align: right; }
.action-card { background: linear-gradient(135deg, var(--secondary), #244a76); color: #fff; border: none; }
.action-card h3 { color: #fff; }
.action-card p { color: rgba(255,255,255,.8); }
.action-card .btn-light { margin-top: 12px; }

.floating-actions { position: fixed; right: 22px; bottom: 22px; z-index: 1500; display: grid; gap: 12px; }
.float-btn { min-width: 166px; min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 999px; color: #fff; font-weight: 800; box-shadow: 0 18px 35px rgba(15,23,42,.22); border: 0; cursor: pointer; font: inherit; }
.whatsapp-float { background: #25D366; }
.quote-float { background: linear-gradient(135deg, var(--primary), #ef4444); }
.float-btn:hover { color: #fff; transform: translateY(-2px); }
.quick-quote-panel { position: fixed; right: 22px; bottom: 142px; width: min(390px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 30px 80px rgba(15,23,42,.22); padding: 22px; z-index: 1501; opacity: 0; visibility: hidden; transform: translateY(14px); transition: .25s ease; }
.quick-quote-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
.quick-quote-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.quick-quote-head h3 { margin: 0 0 4px; color: var(--secondary); }
.quick-quote-head p { margin: 0; color: var(--muted); font-size: 14px; }
.quick-close { width: 34px; height: 34px; border: 1px solid var(--border); background: #fff; border-radius: 10px; cursor: pointer; font-size: 18px; }
.quick-quote-panel .field { margin-bottom: 10px; }
.quick-quote-panel .field input, .quick-quote-panel .field textarea { padding: 11px 13px; border-radius: 12px; }
.quick-quote-panel .field textarea { min-height: 94px; }
.quick-quote-panel .btn { width: 100%; }

@media (max-width: 900px) {
  .product-premium-grid { grid-template-columns: 1fr; }
  .product-main-photo img { height: 380px; }
  .floating-actions { right: 14px; bottom: 14px; }
  .float-btn { min-width: 148px; }
  .quick-quote-panel { right: 14px; bottom: 126px; }
}
@media (max-width: 560px) {
  .product-mini-row { grid-template-columns: 1fr; }
  .product-mini-row img { height: 180px; }
  .floating-actions { left: 14px; right: 14px; grid-template-columns: 1fr 1fr; }
  .float-btn { min-width: 0; padding: 0 10px; font-size: 14px; }
}
