/* ===========================
   RESET & BASE (Mobile-First)
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #1a56db;
  --primary-dark: #1342a8;
  --primary-light: #e8eefb;
  --accent: #f59e0b;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --border: #e5e7eb;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px; /* space for mobile sticky CTA */
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--primary);
}
.btn-white:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.btn-outline-white {
  border-color: #fff;
  color: #fff;
  background: transparent;
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--primary);
}

.btn-full { width: 100%; }

.btn-xl {
  padding: 20px 48px;
  font-size: 1.3rem;
  border-radius: var(--radius);
  letter-spacing: 0.5px;
}

/* ===========================
   HEADER
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.logo:hover { color: var(--text); }

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.logo-icon-light {
  background: rgba(255,255,255,0.15);
}

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-weight: 700; font-size: 1rem; }
.logo-sub { font-size: 0.75rem; color: var(--text-light); }

/* Desktop nav hidden on mobile */
.nav-desktop { display: none; }
.nav-desktop a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-desktop a:hover { background: var(--bg-alt); color: var(--primary); }
.nav-desktop .nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
}
.nav-desktop .nav-cta:hover { background: var(--primary-dark); color: #fff; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0 20px 20px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--text);
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-cta-mobile {
  background: var(--primary);
  color: #fff !important;
  text-align: center;
  padding: 14px !important;
  border-radius: var(--radius-sm);
  margin-top: 8px;
  border-bottom: none !important;
}

/* ===========================
   HERO
   =========================== */
.hero {
  padding: 24px 0 24px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
}

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

.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 10px;
  color: var(--text);
}

.hero-spanish-badge {
  display: inline-block;
  background: #16a34a;
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  margin-left: 8px;
}

.hero-accent {
  color: var(--primary);
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 540px;
  margin: 0 auto 16px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}
.trust-item svg { color: #16a34a; flex-shrink: 0; }

/* ===========================
   HERO RATING (5 stars center)
   =========================== */
.hero-rating {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-stars {
  display: flex;
  gap: 4px;
  color: var(--accent);
}

.hero-rating-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

/* ===========================
   HERO TESTIMONIALS (top of page)
   =========================== */
.hero-testimonials {
  padding: 24px 0;
  background: var(--bg-alt);
}
.hero-testimonials .section-header {
  margin-bottom: 20px;
}

/* ===========================
   SECTION SHARED STYLES
   =========================== */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1rem;
}

/* ===========================
   SERVICES
   =========================== */
.services {
  padding: 64px 0;
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.service-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===========================
   PRODUCTS
   =========================== */
.products {
  padding: 64px 0;
  background: var(--bg-alt);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-img {
  background: var(--primary-light);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-placeholder { color: var(--primary); opacity: 0.5; }

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

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.category-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  transition: all var(--transition);
}
.category-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-tile-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}
.category-tile.active {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}
.product-category {
  display: none;
  margin-bottom: 48px;
}
.product-category.active {
  display: block;
}
.product-category-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-category-back {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 8px;
}

.product-info { padding: 20px; }
.product-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.product-info p { color: var(--text-light); font-size: 0.85rem; margin-bottom: 10px; }

.product-price {
  display: inline-block;
  background: #ecfdf5;
  color: #16a34a;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ===========================
   ABOUT
   =========================== */
.about {
  padding: 64px 0;
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.about-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
}

.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}
.about-photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

.about-card {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}
.about-card-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.about-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.about-card p { font-size: 0.9rem; opacity: 0.9; line-height: 1.6; }

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials {
  padding: 64px 0;
  background: var(--bg-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.stars { color: var(--accent); display: flex; gap: 2px; margin-bottom: 14px; }

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-light); }

/* ===========================
   CTA BANNER
   =========================== */
.cta-banner {
  padding: 56px 0;
  background: var(--primary);
  color: #fff;
  text-align: center;
}

.cta-banner h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 12px; }
.cta-banner p { opacity: 0.9; margin-bottom: 28px; font-size: 1rem; }

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

/* ===========================
   CONTACT
   =========================== */
.contact {
  padding: 64px 0;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-info h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 12px; }
.contact-info > p { color: var(--text-light); margin-bottom: 28px; }

.contact-details { display: flex; flex-direction: column; gap: 20px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-item svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.contact-item span,
.contact-item a { font-size: 0.9rem; color: var(--text-light); }
.contact-item a:hover { color: var(--primary); }

/* Contact Form */
.contact-form {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-group textarea { resize: vertical; }

/* ===========================
   MAP
   =========================== */
.map-section {
  padding: 0 0 64px;
  background: var(--bg);
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: #111827;
  color: #d1d5db;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.site-footer .logo { color: #fff; }
.site-footer .logo-sub { color: #9ca3af; }

.footer-brand p {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #9ca3af;
  line-height: 1.6;
}

.footer-links h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.footer-links a,
.footer-links span {
  display: block;
  color: #9ca3af;
  font-size: 0.85rem;
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.social-link {
  width: 40px;
  height: 40px;
  background: #1f2937;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: all 0.2s ease;
}
.social-link:hover {
  background: #1877f2;
  color: #fff;
}
.social-link[aria-label="Yelp"]:hover {
  background: #d32323;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: #6b7280; }
.footer-seo { margin-top: 8px; font-size: 0.75rem; color: #4b5563; }

/* ===========================
   MOBILE STICKY CTA
   =========================== */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  display: flex;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
}

.sticky-call,
.sticky-msg {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.sticky-call {
  background: var(--primary);
  color: #fff;
}
.sticky-call:hover { background: var(--primary-dark); color: #fff; }

.sticky-msg {
  color: var(--primary);
  background: #fff;
}
.sticky-msg:hover { background: var(--primary-light); }

/* ===========================
   ACTIVE NAV LINK
   =========================== */
.nav-active {
  color: var(--primary) !important;
  font-weight: 600;
}

/* ===========================
   PAGE HERO (inner pages)
   =========================== */
.page-hero {
  padding: 48px 0;
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
  text-align: center;
}
.page-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.page-hero p {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto;
}

/* ===========================
   PRODUCTS CTA
   =========================== */
.products-cta {
  text-align: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.products-cta p {
  color: var(--text-light);
  margin-bottom: 16px;
}

/* ===========================
   BLOG
   =========================== */
.blog-section {
  padding: 64px 0;
  background: var(--bg);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.blog-loading {
  text-align: center;
  padding: 48px 0;
  color: var(--text-light);
  font-size: 1rem;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.blog-card-img {
  background: var(--primary-light);
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-content {
  padding: 24px;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

.blog-card-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 8px 0 12px;
}

.blog-card-content > p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 20px 0 8px;
}

.blog-body p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.blog-body a {
  color: var(--primary);
  font-weight: 600;
}

/* ===========================
   FORM SUCCESS MESSAGE
   =========================== */
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success h3 {
  font-size: 1.3rem;
  color: #16a34a;
  margin-bottom: 8px;
}
.form-success p {
  color: var(--text-light);
}

/* ===========================
   TABLET (640px+)
   =========================== */
@media (min-width: 640px) {
  .hero h1 { font-size: 2.5rem; }
  .hero-actions { flex-direction: row; justify-content: center; }
  .hero-trust { flex-direction: row; justify-content: center; gap: 24px; }

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

  .cta-actions { flex-direction: row; justify-content: center; }

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

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

  .page-hero h1 { font-size: 2.5rem; }
}

/* ===========================
   DESKTOP (1024px+)
   =========================== */
@media (min-width: 1024px) {
  body { padding-bottom: 0; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }

  .hamburger { display: none; }
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .nav-mobile { display: none !important; }
  .mobile-sticky-cta { display: none; }

  .hero { padding: 80px 0 96px; }
  .hero h1 { font-size: 3.25rem; }
  .hero-sub { font-size: 1.1rem; }

  .services { padding: 80px 0; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }

  .products { padding: 80px 0; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }

  .about { padding: 80px 0; }
  .about-grid { grid-template-columns: 1.2fr 0.8fr; align-items: center; }

  .testimonials { padding: 80px 0; }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }

  .contact { padding: 80px 0; }
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }

  .page-hero { padding: 64px 0; }
  .page-hero h1 { font-size: 3rem; }

  .blog-section { padding: 80px 0; }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
