/* ==========================================================================
   DELHI ROTI MACHINERY - BESPOKE LIGHT THEME WITH MOBILE RESPONSIVE ENGINE
   ========================================================================== */

:root {
  --bg-body: #f8fafc;
  --bg-white: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-accent-light: #fff7ed;
  
  --border-light: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-brand: #ea580c;

  --color-navy: #0f172a;
  --color-slate: #334155;
  --color-muted: #64748b;

  --color-orange: #ea580c;
  --color-orange-hover: #c2410c;
  --color-orange-soft: rgba(234, 88, 12, 0.08);

  --color-blue: #0284c7;
  --color-blue-soft: rgba(2, 132, 199, 0.08);

  --color-green: #059669;
  --color-green-soft: rgba(5, 150, 105, 0.08);

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.09);
  --shadow-orange: 0 10px 25px -5px rgba(234, 88, 12, 0.3);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--color-slate);
  line-height: 1.5;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.25;
  word-wrap: break-word;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  max-width: 100%;
  white-space: normal;
}

.badge-orange {
  background: var(--color-orange-soft);
  color: var(--color-orange);
  border: 1px solid rgba(234, 88, 12, 0.25);
}

.badge-blue {
  background: var(--color-blue-soft);
  color: var(--color-blue);
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.badge-green {
  background: var(--color-green-soft);
  color: var(--color-green);
  border: 1px solid rgba(5, 150, 105, 0.25);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  white-space: normal;
  text-align: center;
  max-width: 100%;
}

.btn-primary {
  background: var(--color-orange);
  color: #ffffff;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: var(--color-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(234, 88, 12, 0.45);
}

.btn-secondary {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--color-navy);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  font-weight: 700;
}

.btn-whatsapp:hover {
  background: #1eb956;
  transform: translateY(-2px);
}

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

/* Top Bar */
.top-bar {
  background: var(--color-navy);
  color: #cbd5e1;
  padding: 0.4rem 0;
  font-size: 0.8rem;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.top-bar-info {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Sticky Header Navbar */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  position: relative;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--color-orange);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: var(--shadow-orange);
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--color-orange);
}

/* Navigation Menu & Dropdowns */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-slate);
  padding: 0.4rem 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-orange);
}

.arrow {
  font-size: 0.72rem;
  transition: transform 0.2s ease;
}

/* Dropdown Sub-menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.4rem 0;
  list-style: none;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown:hover .arrow {
  transform: rotate(180deg);
  color: var(--color-orange);
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-slate);
  transition: var(--transition-fast);
}

.dropdown-menu li a:hover {
  background: var(--bg-accent-light);
  color: var(--color-orange);
  padding-left: 1.35rem;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  color: var(--color-navy);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: var(--bg-subtle);
}

/* Hero Section */
.hero {
  padding: 2.25rem 0 1.75rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-body) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.25rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.4rem;
  margin: 0.6rem 0;
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: 1rem;
  color: var(--color-muted);
  margin-bottom: 1.35rem;
  max-width: 580px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.stat-item h3 {
  font-size: 1.5rem;
  color: var(--color-orange);
}

.stat-item p {
  font-size: 0.78rem;
  color: var(--color-muted);
  font-weight: 500;
}

.hero-image-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-md);
}

.hero-image-card img {
  border-radius: var(--radius-md);
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  background: var(--bg-subtle);
  padding: 0.75rem;
}

.hero-floating-tag {
  position: absolute;
  bottom: -12px;
  left: 20px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: var(--shadow-md);
}

/* Feature Strip */
.features-strip {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 1.15rem 0;
  box-shadow: var(--shadow-sm);
}

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

.feature-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.feature-box-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--color-orange-soft);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Sections */
.section {
  padding: 2.25rem 0;
}

.section-bg {
  background: var(--bg-subtle);
}

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

.section-header h2 {
  font-size: 1.85rem;
  margin: 0.4rem 0;
}

.section-header p {
  color: var(--color-muted);
  font-size: 0.92rem;
}

/* STATE ACCORDION CARD UI */
.locations-container {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.state-accordion-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.state-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.state-card-header {
  width: 100%;
  padding: 1.15rem 1.4rem;
  background: var(--bg-white);
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  cursor: pointer;
  transition: var(--transition-fast);
}

.state-card-header:hover {
  background: var(--bg-accent-light);
  color: var(--color-orange);
}

.state-card.active .state-card-header {
  background: var(--bg-accent-light);
  color: var(--color-orange);
  border-bottom: 1px solid rgba(234, 88, 12, 0.2);
}

.state-card-icon {
  font-size: 0.88rem;
  color: var(--color-orange);
  transition: transform 0.25s ease;
}

.state-card.active .state-card-icon {
  transform: rotate(180deg);
}

.state-card-body {
  padding: 1.25rem;
  display: none;
  background: var(--bg-body);
}

.state-card.active .state-card-body {
  display: block;
}

.location-pills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.65rem;
}

.location-pill {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.location-pill:hover {
  background: var(--bg-accent-light);
  border-color: var(--color-orange);
  transform: translateY(-2px);
}

.location-region-tag {
  font-size: 0.72rem;
  color: var(--color-muted);
  font-weight: normal;
  margin-left: auto;
}

/* Catalog Filter & Cards */
.catalog-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.35rem;
}

.filter-btn {
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--color-slate);
  font-size: 0.84rem;
  font-weight: 500;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--color-orange);
  color: #ffffff;
  border-color: var(--color-orange);
  box-shadow: var(--shadow-orange);
}

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

.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

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

.product-img-wrapper {
  position: relative;
  height: 180px;
  background: #f1f5f9;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img-wrapper img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.product-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
}

.product-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-model-code {
  font-size: 0.75rem;
  color: var(--color-orange);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.product-title {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  color: var(--color-navy);
}

.product-tagline {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0.9rem;
}

.product-specs-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: var(--bg-body);
  padding: 0.65rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-size: 0.8rem;
  border: 1px solid var(--border-light);
}

.spec-mini-item span {
  display: block;
  color: var(--color-muted);
  font-size: 0.72rem;
}

.spec-mini-item strong {
  color: var(--color-navy);
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-light);
}

.product-price {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-green);
}

.product-price span {
  display: block;
  font-size: 0.7rem;
  color: var(--color-muted);
  font-weight: 400;
}

/* Calculator Section */
.calculator-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--color-navy);
}

.form-control, .form-range {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  color: var(--color-navy);
  font-size: 0.88rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-orange);
  background: var(--bg-white);
}

.calc-results-box {
  background: var(--bg-accent-light);
  border: 1px solid rgba(234, 88, 12, 0.25);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(234, 88, 12, 0.15);
}

.result-row:last-child {
  border-bottom: none;
}

.result-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-orange);
}

/* Specs Comparison Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

.specs-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background: var(--bg-white);
  font-size: 0.85rem;
  text-align: left;
}

.specs-table th, .specs-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
}

.specs-table th {
  background: var(--color-navy);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.specs-table tbody tr:nth-child(even) {
  background: var(--bg-body);
}

.specs-table tbody tr:hover {
  background: var(--bg-accent-light);
}

/* FAQs Light Accordion */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 0.9rem 1.15rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
}

.faq-answer {
  padding: 0 1.15rem 0.9rem;
  color: var(--color-slate);
  font-size: 0.88rem;
  display: none;
  line-height: 1.5;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--color-orange);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 2rem;
}

.contact-info-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

.info-item {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.info-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--color-orange-soft);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-size: 1.35rem;
  color: var(--color-muted);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--color-green);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-normal);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Floating Widgets: WhatsApp (Green Left) & Call (Royal Blue Right with Pulse Glow) */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 52px;
  height: 52px;
  background: #25D366;
  color: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  z-index: 1500;
  transition: var(--transition-normal);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #20ba5a;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.call-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.5);
  z-index: 1500;
  transition: var(--transition-normal);
}

.call-float:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.7);
}

/* Footer */
.footer {
  background: var(--color-navy);
  color: #94a3b8;
  padding: 2.75rem 0 1.5rem;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ==========================================================================
   STRICT MOBILE RESPONSIVE CSS FIXES FOR DEVTOOLS & REAL PHONES
   ========================================================================== */

@media (max-width: 992px) {
  .top-bar-content {
    flex-direction: column;
    text-align: center;
    gap: 0.3rem;
  }

  .top-bar-info {
    justify-content: center;
    flex-direction: column;
    gap: 0.2rem;
  }

  .hero-grid, .calc-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-light);
    z-index: 1500;
  }

  .nav-menu.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 0.85rem;
  }

  .logo-text {
    font-size: 1rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-description {
    margin: 0 auto 1.25rem;
    font-size: 0.92rem;
  }

  .hero-actions {
    justify-content: center;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.88rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
  }

  .stat-item h3 {
    font-size: 1.2rem;
  }

  .stat-item p {
    font-size: 0.7rem;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

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

  .location-pills-grid {
    grid-template-columns: 1fr;
  }

  .location-pill {
    padding: 0.65rem 0.75rem;
    font-size: 0.84rem;
  }

  .state-card-header {
    padding: 0.85rem 0.95rem;
    font-size: 0.95rem;
  }

  .calculator-card, .contact-info-card, .locations-container {
    padding: 1.15rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .modal-container {
    width: 95%;
    padding: 1rem;
    max-height: 85vh;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }

  .top-bar {
    font-size: 0.75rem;
    padding: 0.3rem 0;
  }

  .top-bar-content > div:last-child {
    display: none;
  }

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

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

  .whatsapp-float {
    bottom: 1.15rem;
    left: 1.15rem;
    width: 48px;
    height: 48px;
  }

  .call-float {
    bottom: 1.15rem;
    right: 1.15rem;
    width: 48px;
    height: 48px;
  }
}
