:root {
  --primary-gold: #C9A34E;
  --gold-hover: #E1B965;
  --dark-gray: #1C1C1C;
  --neutral-gray: #2A2A2A;
  --white: #FFFFFF;
  --light-gray: #DDDDDD;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--dark-gray);
  color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/** {
  outline: 1px solid red !important;
}*/

/* =================== HEADER =================== */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  background: transparent;
}

.header-box {
  width: 90%;
  max-width: 1200px;
  background-color: rgba(28, 28, 28, 0.75);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}

.logo img {
  height: 40px;
}

nav {
  display: flex;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--gold-hover);
}
/* CALL NOW BOTTON*/

.nav-call {
  display: flex;
  align-items: center;
}

.call-now-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-gold);
  color: var(--dark-gray);
  font-weight: 800;
  text-decoration: none;
  line-height: 1;
  transition: transform 0.2s, background-color 0.2s;
}

.call-now-nav:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

/*HIDDEN ONLY FULL SCREEN*/
.call-now-icon {
  display: none;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

/* SUBMENU ESTILO TRANSPARENTE */

.dropdown {
  position: relative; /* <== Clave para que el submenu se alinee bien */
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(28, 28, 28, 0.9); /* transparente como el header */
  top: 100%;
  left: -100px;
  min-width: 160px;
  border-radius: 6px;
  z-index: 999;
  padding: 10px 0;
  backdrop-filter: blur(6px);
}

.dropdown-content li {
  padding: 8px 16px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* === MOBILE HEADER === */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  }

.nav-links {
  flex-direction: column;
  background-color: rgba(28, 28, 28, 0.9);
  backdrop-filter: blur(6px);
  border-radius: 0 0 12px 12px;
  display: none;
  padding: 20px;
  text-align: center;
  width: 100%;
  max-width: 320px;
  margin: 0 auto; /* Esto centra el menú en pantallas pequeñas */
}

  .nav-links.show {
    display: flex;
  }

  .dropdown-content {
    position: static;
    background-color: transparent;
    padding-left: 0;
  }

  .dropdown-content li {
    padding: 6px 0;
  }

  /*VISIBLE MOBILE*/
  .nav-call {
    display: none;
  }
}
/*BOTTON VISIBLE ON MOBILE*/
@media (max-width: 768px) {
  /* En mobile, el header-box ahora centra controles */
  .header-box {
    gap: 10px;
  }

  /* Mostrar icono */
  .call-now-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 28px;
    border-radius: 999px;
    background: rgba(201, 163, 78, 0.14);
    border: 1px solid rgba(201, 163, 78, 0.35);
    color: var(--primary-gold);
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
  }

  /* Para que quede "en medio" visualmente: switch + icon juntos */
  .lang-switch {
    margin-left: auto;
  }

  .call-now-icon {
    margin-right: auto;
  }
}

/* Switch lang*/
/* CONTENEDOR */
.lang-switch{
  display:inline-flex;
  align-items:center;
}

/* OCULTAR CHECKBOX REAL */
.lang-toggle{
  position:absolute;
  opacity:0;
  width:1px;
  height:1px;
}

/* TRACK (fondo del switch) */
.lang-label{
  width:72px;              /* ⬅ más pequeño */
  height:28px;
  border-radius:999px;
  display:inline-block;
  cursor:pointer;
  position:relative;
  overflow:hidden;
  user-select:none;

  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);

  /* Estado default: EN (USA) */
  background:
    radial-gradient(circle at 14px 14px, rgba(255,255,255,.85) 0 1.5px, transparent 2px),
    radial-gradient(circle at 22px 9px, rgba(255,255,255,.85) 0 1.5px, transparent 2px),
    radial-gradient(circle at 26px 18px, rgba(255,255,255,.85) 0 1.5px, transparent 2px),
    linear-gradient(90deg, #0A3161 0 42%, transparent 42%),
    repeating-linear-gradient(
      0deg,
      #B31942 0 4px,
      #FFFFFF 4px 8px
    );
}

/* KNOB (círculo que se mueve) */
.lang-knob{
  position:absolute;
  top:4px;
  left:4px;
  width:30px;
  height:20px;
  border-radius:999px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .25s ease;
}

/* TEXTO DENTRO DEL KNOB */
.lang-text{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: .4px;
  font-size: 11px;          /* ⬅ más pequeño */
  color:#111;
  text-transform: uppercase;
}

/* Estado checked: ES (España) */
.lang-toggle:checked + .lang-label{
  background:
    linear-gradient(
      0deg,
      #AA151B 0 30%,
      #F1BF00 30% 70%,
      #AA151B 70% 100%
    );
}

/* Mover knob a la derecha cuando ES */
.lang-toggle:checked + .lang-label .lang-knob{
  transform: translateX(36px);
}



/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  background: linear-gradient(to bottom, var(--dark-gray) 50%, var(--primary-gold));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 80px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  color: var(--primary-gold);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); 
  margin: 0 0 20px;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--light-gray);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); 
  margin-bottom: 30px;
}


/*Slide borrar si no funciona*/ 
.hero-slider {
  position: relative;
  width: 100%;
  max-width: 760px;
  height: 520px;
  margin: 10px auto 20px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.slide {
  position: absolute;
  width: 500px;
  max-width: 90vw;
  opacity: 0;
  transition: opacity 0.6s ease-in-out, transform 0.6s ease;
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.4));
}

.slide.active {
  opacity: 0.7;
  transform: scale(1.02);
  z-index: 2;
}

.hero-model {
  width: 520px;
  height: 520px;
  max-width: 90vw;
  border-radius: 16px;
}


/*hasta aqui*/

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--primary-gold);
  border: none;
  padding: 10px 15px;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.3s;
}

.slider-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.prev-btn {
  left: 30px;
}

.next-btn {
  right: 30px;
}

/*hasta aqui borrar*/
@media (max-width: 1200px) {
  .hero-model {
    width: 460px;
    height: 460px;
  }
}
@media (max-width: 700px) {
  .hero-model {
    width: 360px;
    height: 360px;
  }
}

.hero-description {
  position: relative;
  z-index: 2;
}

.hero-description p {
  font-size: 1.2rem;
  color: var(--light-gray);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); 
  margin-bottom: 30px;
}

.hero-cta {
  position: relative;
  z-index: 3;
  margin-top: -30px;
}

.hero-cta .cta-button {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}


/* Botón */
.cta-button {
  background-color: var(--primary-gold);
  color: var(--dark-gray);
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}
.cta-button:hover {
  background-color: var(--gold-hover);
}

/* Light effect */
.hero-light {
  position: absolute;
  top: 150px;
  left: -200px;
  width: 1200px;
  height: 800px;
  background: linear-gradient(120deg, rgba(233, 195, 107, 0.3), transparent 70%);
  transform: rotate(20deg);
  animation: moveLight 8s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes moveLight {
  0% {
    transform: rotate(20deg) translateX(0);
    opacity: 0.3;
  }
  50% {
    transform: rotate(20deg) translateX(30px);
    opacity: 0.4;
  }
  100% {
    transform: rotate(20deg) translateX(0);
    opacity: 0.3;
  }
}

/* Particles */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.particles span {
  position: absolute;
  display: block;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: floatUp linear infinite;
}

/* Animación individual con duración aleatoria */
@keyframes floatUp {
  0% {
    transform: translateY(100vh);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-10vh);
    opacity: 0;
  }
}


/*soultion SECTION*/
.benefit-wrapper {
  padding: 80px 20px;
  background: 
    linear-gradient( #C9A34E, #1C1C1C);
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  background-position: left center, top center;
  text-align: center;
}


.benefit-cards {
  padding: 60px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .benefit-cards {
    grid-template-columns: repeat(2, 1fr); /* Pantallas medianas: 2 columnas */
  }
}

@media (max-width: 600px) {
  .benefit-cards {
    grid-template-columns: 1fr; /* Móvil: 1 por fila */
  }
}

.card {
  background-color: var(--neutral-gray);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.card img {
  width: 40px;
  height: auto;
  margin-bottom: 16px;
  filter: brightness(0) saturate(100%) invert(85%) sepia(70%) saturate(600%) hue-rotate(10deg) brightness(805%) contrast(100%);
}

.card p {
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Electronic Tag */

/* reutiliza el estilo de .price-tag que ya tenías */
.price-tag {
  width: 220px;
  height: 200px;
  background-color: #fff;
  border: 3px solid #ccc;
  border-radius: 6px;
  font-family: 'Arial', sans-serif;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  padding: 10px;
  box-sizing: border-box;
  position: relative;
}

.tag-header {
  background-color: #d40000;
  color: white;
  font-weight: bold;
  text-align: center;
  padding: 6px 0;
  font-size: 18px;
  margin-bottom: 10px;
}

.price-line {
  display: flex;
  justify-content: center;
  align-items: baseline;
  font-size: 32px;
  color: #d40000;
  font-weight: bold;
  margin-bottom: 10px;
}

.currency {
  font-size: 24px;
  margin-right: 4px;
}

.details {
  font-size: 12px;
  color: #000;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 10px;
}

/* Tag borrar */

/* Igualar dimensiones con las animaciones Lottie */
.animation-item .tag-demo {
  width: 100%;
  max-width: 400px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 0px;
}

/* Ajustar el componente interno (por si quieres centrar dentro también) */
.animation-item .price-tag {
  width: 50%;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding: 0px;
}


/*Lotie Animation Section*/

.animation-section {
  padding: 50px 20px;
  background: 
    url('/Butcher/Resources/Italian_Deli_Counter_Display_Showcasing_original_3032609.png') no-repeat left center,
    linear-gradient(to bottom, #2A2A2A, #1C1C1C);
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  background-position: left center, top center;
  text-align: center;
  color: var(--white);
}

.section-title {
  font-size: 2rem;
  color: var(--primary-gold);
  margin-bottom: 60px;
}

.animation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.animation-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.animation-title {
  margin-bottom: 16px;
  font-size: 1.2rem;
  color: var(--light-gray);
}

.lottie-box {
  width: 400px;
  height: 400px;
}

@media (max-width: 1250px) {
  .animation-grid {
    grid-template-columns: 1fr; /* una sola columna en móviles */
    gap: 40px;
  }

  .lottie-box {
    width: 100%;
    max-width: 400px;
    height: auto;
  }
}

/*Calendly*/

.calendar-section {
  background: linear-gradient(to bottom, var(--dark-gray), var(--primary-gold));
  padding: 80px 20px;
  color: var(--white);
}

.calendar-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.calendar-text {
  flex: 1;
  min-width: 280px;
}

.calendar-text h2 {
  font-size: 2rem;
  color: var(--primary-gold);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); 
  margin-bottom: 16px;
}

.calendar-text p {
  font-size: 1.1rem;
  color: var(--light-gray);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); 
}

.calendar-widget {
  flex: 1;
  min-width: 320px;
}



/*Form*/

/* ===== CONTACT FORM ===== */

.contact-section {
  padding: 80px 0;
  background: linear-gradient(to bottom, #C9A34E, #1C1C1C);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;
}

.contact-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  min-height: 500px;
}


.form-wrapper {
  flex: 1;
  max-width: 500px;
  background-color: var(--dark-gray);
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 40px 20px;
  margin-right: 5%;
  z-index: 2;
  box-shadow: 0 0 20px rgba(201, 163, 78, 0.4);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--primary-gold);
}

.form-group input {
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid var(--primary-gold);
  background-color: #1c1c1c;
  color: var(--white);
  font-size: 16px;
}

.form-group input:focus {
  outline: none;
  border-color: #e1c16f;
}

.cta-button {
  padding: 14px 24px;
  background-color: var(--primary-gold);
  color: var(--dark-gray);
  border: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-self: center;
}

.cta-button:hover {
  background-color: #e1b965;
}

.success-message {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  border: 2px solid var(--primary-gold);
  background-color: #1f1f1f;
  color: var(--primary-gold);
  font-family: "Libre Baskerville", serif;
  font-size: 16px;
  border-radius: 8px;
  text-align: center;
}

/* ===== SMS CONSENT BLOCK ===== */
.sms-consent {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(225, 185, 101, 0.35);
}

.sms-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  user-select: none;
}

.sms-checkbox input[type="checkbox"]{
  width: 18px;
  height: 18px;
  accent-color: var(--primary-gold);
}

.sms-disclaimer {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,0.82);
}

.sms-disclaimer a {
  color: var(--primary-gold);
  text-decoration: underline;
}

.sms-consent-error {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(200, 40, 40, 0.85);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 10px 12px;
  border-radius: 8px;
}

/* ===== TERMS CONSENT ===== */
.terms-consent {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(225, 185, 101, 0.35);
}

.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
  cursor: pointer;
  user-select: none;
}

.terms-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--primary-gold);
}

.terms-checkbox a {
  color: var(--primary-gold);
  text-decoration: underline;
}

.terms-consent-error {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(200, 40, 40, 0.85);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 10px 12px;
  border-radius: 8px;
}

/*Captcha*/
.g-recaptcha {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;
  transform: scale(1.05); /* Opcional: agranda un poco el captcha */
  transform-origin: center;
}

/* Llamar ahora */
.call-now {
  margin-top: 20px;
  text-align: center;
}

.call-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-gold);
  color: var(--dark-gray);
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  border-radius: 30px;
  transition: box-shadow 0.3s ease;
}

.call-button:hover {
  box-shadow: 0 0 12px rgba(201, 163, 78, 0.7);
  background-color: #e1b965;
}

/* Responsive Mobile */
@media screen and (max-width: 1220px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
    padding: 0 16px;
  }

  .form-image {
  display: none; /* Oculta imagen en mobile */
  }

  .contact-section {
      background: linear-gradient(to bottom, #C9A34E, #1C1C1C); 
  }

  .form-wrapper {
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
  }
}

/* Footer */
/* Footer */
/* ===== FOOTER ===== */
.site-footer {
  background-color: var(--dark-gray);
  color: var(--white);
  text-align: center;
  padding: 40px 20px;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-link {
  color: var(--primary-gold);
  text-decoration: none;
  margin: 0 10px;
}

.footer-link:hover {
  text-decoration: underline;
}

.contact-title {
  color: var(--primary-gold);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

/* ===== SOCIAL ICONS ===== */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 20px 0;
}

.social-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  fill: var(--primary-gold);
  transition: transform 0.2s ease, fill 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.15);
  fill: var(--gold-hover);
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 600px) {
  .social-icons {
    gap: 14px;
  }
}

