/* ============================================
   Campos Market And Carniceria — Styles
   Palette: Teal (#0d9488) + Slate Grey (#1e293b, #334155, #475569, #64748b, #94a3b8, #cbd5e1, #e2e8f0, #f1f5f9, #f8fafc)
   Accent: Warm Orange (#f97316)
   ============================================ */

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

:root {
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --orange-400: #fb923c;
  --orange-500: #f97316;
  --orange-600: #ea580c;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --shadow-sm: 0 1px 3px rgba(15,23,42,0.08);
  --shadow-md: 0 4px 16px rgba(15,23,42,0.10);
  --shadow-lg: 0 12px 40px rgba(15,23,42,0.14);
  --shadow-xl: 0 20px 60px rgba(15,23,42,0.18);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background: var(--slate-50);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal-600);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--teal-700); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.938rem;
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-sm { padding: 8px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

.btn-accent {
  background: var(--teal-600);
  color: #fff;
  border-color: var(--teal-600);
  box-shadow: 0 4px 14px rgba(13,148,136,0.35);
}
.btn-accent:hover {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(13,148,136,0.4);
}

.btn-outline-light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.22);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-accent {
  background: transparent;
  color: var(--teal-600);
  border-color: var(--teal-600);
}
.btn-outline-accent:hover {
  background: var(--teal-600);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================
   SECTION HELPERS
   ============================================ */
.section {
  padding: 100px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.813rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 16px;
}
.label-dot {
  width: 8px;
  height: 8px;
  background: var(--teal-600);
  border-radius: 50%;
  display: inline-block;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--slate-900);
  margin-bottom: 20px;
}

.text-accent {
  color: var(--teal-600);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--slate-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

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

.lead {
  font-size: 1.125rem;
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: 24px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248,250,252,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-200);
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(248,250,252,0.96);
  box-shadow: var(--shadow-md);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
}
.nav-logo-mark {
  width: 40px;
  height: 40px;
  background: var(--teal-600);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
}
.nav-logo-text {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--slate-800);
}
.nav-logo-text .accent { color: var(--teal-600); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate-700);
  padding: 8px 16px;
  border-radius: 50px;
  transition: all 0.2s;
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--teal-600);
  background: var(--teal-50);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
}
.hamburger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--slate-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,23,42,0.88) 0%,
    rgba(13,148,136,0.72) 50%,
    rgba(15,23,42,0.85) 100%
  );
}

/* Geometric shapes */
.geo-shape {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}
.geo-circle-1 {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(13,148,136,0.15);
  border: 2px solid rgba(13,148,136,0.2);
  top: -100px;
  right: -100px;
}
.geo-triangle {
  width: 0;
  height: 0;
  border-left: 120px solid transparent;
  border-right: 120px solid transparent;
  border-bottom: 208px solid rgba(249,115,22,0.12);
  bottom: 15%;
  right: 8%;
  transform: rotate(15deg);
}
.geo-dots {
  width: 120px;
  height: 120px;
  bottom: 20%;
  left: 5%;
  background-image: radial-gradient(circle, rgba(13,148,136,0.4) 2px, transparent 2px);
  background-size: 16px 16px;
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 72px;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,148,136,0.2);
  border: 1px solid rgba(13,148,136,0.4);
  color: var(--teal-200);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.813rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
}
.hero-title .text-accent {
  color: var(--teal-400);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--slate-300);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid rgba(148,163,184,0.2);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
}
.stat-num .stat-unit {
  font-size: 1rem;
  color: var(--teal-400);
}
.stat-label {
  font-size: 0.813rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(148,163,184,0.3);
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--slate-400);
  text-decoration: none;
  transition: color 0.2s;
}
.scroll-indicator:hover { color: var(--teal-400); }
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--slate-400), transparent);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: var(--slate-50);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-img-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.about-img-accent {
  position: absolute;
  bottom: -40px;
  right: -40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--slate-50);
}
.about-img-accent img {
  width: 260px;
  height: 200px;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--orange-500);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(249,115,22,0.35);
}

.about-content .section-title { margin-top: 4px; }

.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-50);
  color: var(--teal-600);
}
.feature-icon--orange {
  background: #fff3e0;
  color: var(--orange-500);
}
.feature-item strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--slate-800);
  margin-bottom: 4px;
}
.feature-item span {
  font-size: 0.938rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ============================================
   PRODUCTS
   ============================================ */
.products {
  background: var(--slate-100);
  position: relative;
}
.products-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.product-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--slate-200);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-200);
}
.product-card--featured {
  border: 2px solid var(--teal-600);
  box-shadow: var(--shadow-md);
}
.product-card--featured:hover {
  box-shadow: var(--shadow-xl), 0 0 0 4px rgba(13,148,136,0.1);
}

.product-card-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--teal-600), var(--teal-400));
}
.product-card--featured .product-card-accent {
  background: linear-gradient(90deg, var(--orange-500), var(--orange-400));
}

.product-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--orange-500);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 50px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-card-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-icon {
  width: 64px;
  height: 64px;
  background: var(--teal-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-600);
  transition: all 0.2s;
}
.product-icon--orange {
  background: #fff3e0;
  color: var(--orange-500);
}
.product-card:hover .product-icon {
  background: var(--teal-600);
  color: #fff;
  transform: scale(1.05);
}
.product-card:hover .product-icon--orange {
  background: var(--orange-500);
  color: #fff;
}

.product-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--slate-900);
  line-height: 1.3;
}
.product-desc {
  font-size: 0.938rem;
  color: var(--slate-600);
  line-height: 1.7;
}
.product-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.product-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--slate-700);
  font-weight: 500;
}
.product-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal-600);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   VISIT
   ============================================ */
.visit {
  background: var(--slate-50);
  position: relative;
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  transition: all 0.2s;
}
.contact-card:hover {
  border-color: var(--teal-200);
  box-shadow: var(--shadow-md);
}
.contact-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card-icon--teal {
  background: var(--teal-50);
  color: var(--teal-600);
}
.contact-card-icon--orange {
  background: #fff3e0;
  color: var(--orange-500);
}
.contact-card strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.contact-card span,
.contact-card a {
  font-size: 1rem;
  color: var(--slate-800);
  line-height: 1.6;
}
.contact-card a:hover { color: var(--teal-600); }

/* Map placeholder */
.visit-map {
  position: relative;
}
.map-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
  background: var(--slate-200);
  aspect-ratio: 4/3;
}
.map-placeholder-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--slate-100), var(--slate-200));
}
.map-icon {
  color: var(--teal-600);
  opacity: 0.6;
}
.map-placeholder-inner p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--slate-800);
  line-height: 1.6;
}
.map-deco {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(13,148,136,0.08);
  border: 2px solid rgba(13,148,136,0.12);
  bottom: -60px;
  right: -60px;
  pointer-events: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 0.938rem;
  line-height: 1.7;
  color: var(--slate-400);
  max-width: 320px;
}
.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-links strong,
.footer-contact strong {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--slate-200);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-links ul,
.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a,
.footer-contact a {
  color: var(--slate-400);
  font-size: 0.938rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--teal-400); }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.938rem;
  line-height: 1.6;
}
.footer-contact svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--teal-500);
}

.footer-bottom {
  border-top: 1px solid var(--slate-800);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--slate-500);
}
.footer-bottom a {
  color: var(--slate-400);
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--teal-400); }

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-grid,
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-img-accent {
    right: 0;
    bottom: -24px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(248,250,252,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
  }
  .nav-toggle { display: block; }

  .hero-content { padding-top: 72px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 20px; }
  .stat-divider { display: none; }

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

  .about-img-main img { height: 300px; }
  .about-img-accent { position: relative; bottom: 0; right: 0; margin-top: 16px; }
  .about-img-accent img { width: 100%; height: 200px; }
  .about-badge { top: -12px; left: 12px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .geo-circle-1 { width: 300px; height: 300px; }
  .geo-triangle { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 1.85rem; }
  .section-title { font-size: 1.75rem; }
  .product-card-body { padding: 24px 20px; }
}
