/* ============================================
   CARNICERÍA NANO · ESTILOS
   Plum + Amber · Vibrant Modern
   ============================================ */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #2D1F3D;
  background: #FFFAF5;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
h1, h2, h3 { font-family: 'Fredoka', sans-serif; line-height: 1.2; }

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
  --plum: #6B2F5C;
  --plum-deep: #4A1E3F;
  --plum-light: #8E4572;
  --plum-pale: #F3E5F0;
  --amber: #E8913A;
  --amber-light: #F5B06A;
  --amber-pale: #FFF3E0;
  --cream: #FFFAF5;
  --white: #FFFFFF;
  --dark: #1A1024;
  --gray: #6B6278;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(107, 47, 92, 0.08);
  --shadow-lg: 0 12px 48px rgba(107, 47, 92, 0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- UTILITIES ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.text-amber { color: var(--amber); }
.text-plum { color: var(--plum); }

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--plum);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Fredoka', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232, 145, 58, 0.35);
}
.btn-primary:hover {
  background: #D47E2A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 145, 58, 0.45);
}
.btn-outline {
  background: transparent;
  color: var(--plum);
  border: 2px solid var(--plum);
}
.btn-outline:hover {
  background: var(--plum);
  color: #fff;
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 250, 245, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(107, 47, 92, 0.08);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(107, 47, 92, 0.1);
}
.site-header .container {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon { font-size: 28px; }
.logo-text {
  font-family: 'Fredoka', sans-serif;
  font-size: 18px;
  color: var(--plum);
}
.logo-text strong { color: var(--amber); }
.logo-sub {
  font-size: 12px;
  color: var(--gray);
  margin-left: -4px;
  margin-top: -2px;
}

/* NAV */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.main-nav a {
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 15px;
  color: var(--plum);
  transition: var(--transition);
}
.main-nav a:hover { background: var(--plum-pale); }
.btn-nav {
  background: var(--plum) !important;
  color: #fff !important;
  font-weight: 600 !important;
}
.btn-nav:hover { background: var(--plum-deep) !important; }

/* MOBILE TOGGLE */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  z-index: 1001;
}
.nav-toggle-line {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--plum);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
  background: var(--cream);
}
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}
.shape-1 {
  width: 600px; height: 600px;
  background: var(--plum);
  top: -200px; left: -150px;
}
.shape-2 {
  width: 400px; height: 400px;
  background: var(--amber);
  bottom: -100px; right: 20%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}
.shape-3 {
  width: 200px; height: 200px;
  background: var(--plum-light);
  top: 30%; right: 5%;
  border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
}
.shape-4 {
  width: 120px; height: 120px;
  background: var(--amber-light);
  bottom: 20%; left: 10%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}
.shape-5 {
  width: 80px; height: 80px;
  background: var(--plum);
  top: 15%; left: 40%;
  border-radius: 50%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 60px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--plum-pale);
  color: var(--plum);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--amber);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero-title {
  font-size: clamp(40px, 5vw, 68px);
  color: var(--dark);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-title .text-amber { color: var(--amber); }
.hero-title .text-plum { color: var(--plum); }
.hero-desc {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray);
  font-weight: 500;
}
.trust-item svg { color: var(--amber); flex-shrink: 0; }

/* HERO IMAGE */
.hero-image { position: relative; }
.hero-img-wrapper {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--amber);
  border-radius: 50%;
  opacity: 0.2;
  z-index: -1;
}
.hero-floating-card {
  position: absolute;
  bottom: 40px;
  left: -40px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: float 4s ease-in-out infinite;
  z-index: 2;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.fc-emoji { font-size: 36px; }
.fc-emoji + div { display: flex; flex-direction: column; }
.fc-emoji + div strong {
  font-family: 'Fredoka', sans-serif;
  font-size: 15px;
  color: var(--dark);
}
.fc-emoji + div span {
  font-size: 13px;
  color: var(--gray);
}

/* ---------- SECTION LABELS ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--plum);
  margin-bottom: 16px;
}
.label-line {
  display: block;
  width: 32px;
  height: 3px;
  background: var(--amber);
  border-radius: 2px;
  flex-shrink: 0;
}
.label-line--plum { background: var(--plum); }
.label-line--light { background: var(--amber-light); }
.section-label--light { color: rgba(255,250,245,0.7); }

/* ---------- SECTION TITLES ---------- */
.section-title {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.section-title--plum { color: var(--plum); }
.section-title--light { color: #fff; }

/* ---------- PRODUCTS ---------- */
.products {
  position: relative;
  padding: 120px 0;
  background: var(--white);
  overflow: hidden;
}
.products-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(107,47,92,0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(232,145,58,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.products .container { position: relative; z-index: 1; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.product-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(107, 47, 92, 0.06);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.pc-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.pc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .pc-img img { transform: scale(1.06); }
.pc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(107,47,92,0.5), transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition);
}
.product-card:hover .pc-overlay { opacity: 1; }
.pc-tag {
  background: var(--amber);
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pc-tag--amber { background: var(--plum); }
.pc-body {
  padding: 20px 24px 24px;
}
.pc-body h3 {
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 8px;
}
.pc-body p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}
.products-note {
  text-align: center;
  margin-top: 48px;
  font-size: 16px;
  color: var(--gray);
}
.products-note a {
  color: var(--plum);
  font-weight: 600;
  border-bottom: 2px solid var(--amber);
  transition: var(--transition);
}
.products-note a:hover { color: var(--amber); }

/* ---------- ABOUT ---------- */
.about {
  padding: 120px 0;
  background: var(--cream);
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual { position: relative; }
.about-img-stack { position: relative; z-index: 1; }
.ais-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.ais-main img { width: 100%; height: 100%; object-fit: cover; }
.ais-accent {
  position: absolute;
  top: -24px;
  right: -24px;
  width: 200px;
  height: 200px;
  background: var(--amber);
  border-radius: var(--radius);
  opacity: 0.15;
  z-index: -1;
}
.ais-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--plum);
  color: #fff;
  padding: 20px 28px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.ab-number {
  font-family: 'Fredoka', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--amber-light);
  line-height: 1;
}
.ab-text { font-size: 13px; opacity: 0.85; }
.about-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.as-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}
.as-circle-1 {
  width: 160px; height: 160px;
  background: var(--plum);
  top: -40px; right: 40px;
}
.as-circle-2 {
  width: 80px; height: 80px;
  background: var(--amber);
  bottom: 60px; left: -30px;
}
.as-square {
  position: absolute;
  width: 60px; height: 60px;
  background: var(--plum-light);
  opacity: 0.08;
  border-radius: 12px;
  transform: rotate(45deg);
  top: 50%; left: -50px;
}
.about-content { max-width: 520px; }
.about-content > p {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.75;
}
.about-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.af-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--dark);
  font-weight: 500;
}
.af-icon {
  width: 44px;
  height: 44px;
  background: var(--plum-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plum);
  flex-shrink: 0;
}

/* ---------- SCHEDULE ---------- */
.schedule {
  padding: 120px 0;
  background: var(--plum);
  position: relative;
  overflow: hidden;
}
.schedule-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sbs-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.sbs-1 { width: 400px; height: 400px; top: -150px; right: -100px; }
.sbs-2 { width: 250px; height: 250px; bottom: -80px; left: -60px; }
.sbs-rect {
  position: absolute;
  width: 120px; height: 120px;
  background: rgba(232,145,58,0.1);
  border-radius: 20px;
  transform: rotate(30deg);
  top: 20%; left: 5%;
}
.schedule-card {
  position: relative;
  z-index: 1;
}
.schedule-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.schedule-desc {
  font-size: 17px;
  color: rgba(255,250,245,0.7);
  line-height: 1.7;
  margin-top: 20px;
}
.schedule-table {
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
}
.st-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  padding: 16px 28px;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition);
}
.st-row:last-child { border-bottom: none; }
.st-row:hover { background: rgba(255,255,255,0.05); }
.st-row--header {
  background: rgba(232,145,58,0.2);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  color: var(--amber-light);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.st-row span:first-child {
  font-weight: 600;
  color: #fff;
}
.st-row span:last-child {
  color: rgba(255,250,245,0.75);
  text-align: right;
}
.st-row--closed span:last-child {
  color: var(--amber-light);
  font-weight: 600;
}

/* ---------- CONTACT ---------- */
.contact {
  padding: 120px 0;
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-desc {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.cd-item {
  display: flex;
  gap: 16px;
}
.cd-icon {
  width: 52px;
  height: 52px;
  background: var(--plum-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plum);
  flex-shrink: 0;
}
.cd-item strong {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 4px;
}
.cd-item p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.5;
}
.cd-item a {
  color: var(--plum);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.cd-item a:hover { color: var(--amber); border-bottom-color: var(--amber); }

/* FORM */
.contact-form-wrap {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid rgba(107,47,92,0.06);
  box-shadow: var(--shadow);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--plum);
}
.form-group input,
.form-group textarea {
  padding: 14px 16px;
  border: 2px solid rgba(107,47,92,0.12);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--plum);
  box-shadow: 0 0 0 4px rgba(107,47,92,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #b8a8c0; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 32px 20px;
  background: #E8F5E9;
  border-radius: var(--radius-sm);
  margin-top: 8px;
}
.form-success .fs-icon { color: #43A047; }
.form-success strong {
  font-family: 'Fredoka', sans-serif;
  font-size: 18px;
  color: #2E7D32;
}
.form-success p { font-size: 14px; color: #558B2F; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--dark);
  color: rgba(255,250,245,0.6);
  padding: 60px 0 32px;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.footer-top .logo-icon { font-size: 32px; }
.footer-top .logo-text {
  font-family: 'Fredoka', sans-serif;
  font-size: 20px;
  color: #fff;
}
.footer-top .logo-text strong { color: var(--amber-light); }
.footer-tagline {
  font-size: 15px;
  margin-bottom: 40px;
  max-width: 400px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,250,245,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-inner { gap: 40px; }
  .about-grid { gap: 48px; }
  .schedule-inner { gap: 48px; }
  .contact-grid { gap: 48px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--cream);
    box-shadow: var(--shadow-lg);
    padding: 100px 32px 40px;
    transition: right 0.35s ease;
    z-index: 1000;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 12px 16px; border-radius: var(--radius-sm); }
  .btn-nav { text-align: center; margin-top: 12px; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 0;
  }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-floating-card { left: 50%; transform: translateX(-50%); bottom: -10px; }
  .hero-image { order: -1; max-width: 400px; margin: 0 auto; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-content { max-width: 100%; }

  .schedule-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .st-row { grid-template-columns: 110px 1fr; padding: 14px 20px; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-form-wrap { padding: 28px; }

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

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 36px; }
  .products-grid { grid-template-columns: 1fr; }
  .hero-floating-card { display: none; }
}
