:root{
  --accent:#FF4929;
  --accent-dark: #FFB429;
  --bg: #eff5ec;
  --muted: #7f776f;
  --text: #222426;
  --radius: 14px;
  --container-width: 1100px;
  font-family: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
}

*{box-sizing:border-box}
html,body{height:100%;margin:0;
background:linear-gradient(180deg,#fbfaf9,#f1ebe6)
;color:var(--text)}
a{color:inherit;text-decoration:none}

/* Reduced top padding so hero sits higher */
.container{
  width:90%;
  max-width:var(--container-width);
  margin:0 auto;
  padding-top:10px;    /* reduced from 36px */
  padding-bottom:36px;
}

/* Header */
.site-header .topbar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand{display:flex;align-items:center;gap:12px}
.logo-small{height:44px;display:block}
.brand-name{font-weight:800;font-family:"Montserrat",sans-serif}
.brand-tag{font-size:12px;color:var(--muted)}

/* Nav */
.main-nav .nav-links{display:flex;gap:24px;list-style:none;margin:0;padding:0;font-weight:700}
.main-nav a{padding:6px 8px;border-radius:6px}
.main-nav a:hover{color:var(--accent-dark)}

/* Buttons */
.btn{display:inline-block;padding:10px 14px;border-radius:10px;border:0;cursor:pointer;font-weight:700}
.btn.primary{background:linear-gradient(180deg,var(--accent),var(--accent-dark));color:#fff}
.btn.outline{background:transparent;border:1px solid rgba(0,0,0,0.06)}

/* HERO layout */
.hero{
  display:grid;
  grid-template-columns:1.2fr 1fr; /* left column a bit wider for larger logo */
  gap:36px;
  align-items:start; /* align to top so logo sits higher */
  padding-top:10px;
}

/* Left column fine-tune - moved logo upwards */
.hero-left{
  display:flex;
  align-items:flex-start; /* align to top so we can nudge the logo up */
  justify-content:center;
  margin-top: -40px; /* sube el bloque izquierdo; ajusta entre -20px y -80px si quieres más */
}

/* =============================
   HERO LOGO ANIMATED + SHINE
============================= */

/* Contenedor del logo (necesario para brillo) */
.logo-wrap{
  position: relative;
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 6px;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  margin-top: -28px; /* nudge the logo image upward slightly within the left column */
}

/* Imagen del logo con animación de entrada */
.logo-wrap .hero-logo {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 35px rgba(255, 255, 255, 0.826));
  margin: 0 auto;
  opacity: 0;
  transform: translateY(40px) scale(0.9) rotateX(8deg);
  animation: logoEntrance 1.6s cubic-bezier(.19,1,.22,1) forwards, 
             logoFloat 6s ease-in-out 2s infinite;
  transition: transform 0.4s ease, filter 0.4s ease;
  transform-origin: center center;
  position: relative;
}

/* Hover — pequeño zoom dinámico */
.logo-wrap .hero-logo:hover {
  transform: scale(1.03) rotateX(0deg);
  filter: drop-shadow(0 28px 45px rgba(0, 0, 0, 0.3));
}

/* ✨ Animación de entrada: sube, gira y aparece */
@keyframes logoEntrance {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.9) rotateX(8deg);
    filter: blur(4px) drop-shadow(0 0 0 rgba(0, 0, 0, 0));
  }
  60% {
    opacity: 1;
    transform: translateY(-8px) scale(1.05) rotateX(-2deg);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
  }
}

/* 💫 Flotación continua */
@keyframes logoFloat {
  0%   { transform: translateY(0) scale(1) rotateX(0deg); }
  50%  { transform: translateY(-8px) scale(1.01) rotateX(1deg); }
  100% { transform: translateY(0) scale(1) rotateX(0deg); }
}

/* 🌟 Brillo metálico recorriendo el logo */
.logo-wrap::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -40%;
  width: 40%;
  height: 220%;
  background: linear-gradient(
    130deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 45%,
    rgba(255, 255, 255, 0.2) 55%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(18deg) translateX(-120%);
  filter: blur(10px);
  mix-blend-mode: screen;
  opacity: 0;
  animation: logoShine 2s ease-out 1.4s forwards;
}

@keyframes logoShine {
  0% {
    transform: rotate(18deg) translateX(-120%);
    opacity: 0;
  }
  20% { opacity: 0.2; }
  50% {
    transform: rotate(18deg) translateX(40%);
    opacity: 0.8;
  }
  80% { opacity: 0.2; }
  100% {
    transform: rotate(18deg) translateX(140%);
    opacity: 0;
  }
}


/* Hover: pequeño zoom */
.logo-wrap .hero-logo:hover{
  transform: scale(1.03);
  filter:drop-shadow(0 28px 45px rgb(255, 255, 255));
}

/* Brillo metálico que recorre el logo */
.logo-wrap::before{
  content: '';
  position: absolute;
  top: -60%;
  left: -40%;
  width: 40%;
  height: 220%;
  background: linear-gradient(
    140deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.55) 45%,
    rgba(255,255,255,0.25) 55%,
    rgba(255,255,255,0) 100%
  );
  transform: rotate(18deg) translateX(-120%);
  filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  mix-blend-mode: screen;
  z-index: 2;
  animation: shineSweep 2.2s ease-out 0.9s forwards; /* brillo luego de la entrada */
}

/* Efecto extra al pasar el mouse */
.logo-wrap:hover::before{
  animation: shineSweep 1.3s ease-out 0s forwards;
}

/* Keyframes del brillo */
@keyframes shineSweep {
  0% {
    transform: rotate(18deg) translateX(-120%);
    opacity: 0;
  }
  15% { opacity: 0.25; }
  45% {
    transform: rotate(18deg) translateX(20%);
    opacity: 0.85;
  }
  70% {
    transform: rotate(18deg) translateX(60%);
    opacity: 0.25;
  }
  100% {
    transform: rotate(18deg) translateX(140%);
    opacity: 0;
  }
}

/* Animación de entrada del logo */
@keyframes heroLogoIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    filter: drop-shadow(0 0 0 rgba(0,0,0,0));
  }
  60% {
    opacity: 1;
    transform: translateY(-4px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =============================
   TEXT HERO (título + CTA)
============================= */
.eyebrow{color:var(--muted);font-weight:600;margin-bottom:8px;opacity:0;animation:fadeUp .9s ease-out .3s forwards;}
.hero-title{font-family:"Montserrat",sans-serif;font-size:44px;color:var(--accent);margin:0 0 14px;opacity:0;animation:fadeUp .9s ease-out .6s forwards;}
.hero-desc{color:var(--muted);max-width:520px;opacity:0;animation:fadeUp .9s ease-out .9s forwards;}
.hero-ctas{margin-top:12px;display:flex;gap:12px;opacity:0;animation:fadeUp .9s ease-out 1.2s forwards;}

@keyframes fadeUp {
  from { opacity:0; transform: translateY(20px); }
  to { opacity:1; transform: translateY(0); }
}

/* Quick links */
.quick-links{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:36px}
.quick-links article{background:#fff;padding:18px;border-radius:10px;box-shadow:0 8px 20px rgba(0,0,0,0.06)}
.link-inline{color:var(--accent);font-weight:700}

/* Product grid */
.product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px}
.product-card{background:#fff;border-radius:10px;padding:12px;text-align:center;box-shadow:0 8px 20px rgba(0,0,0,0.06)}
.product-card img{width:100%;height:120px;object-fit:cover;border-radius:6px}

/* Footer */
.site-footer{background:transparent;padding:22px 0}
.footer-inner{display:flex;justify-content:space-between;align-items:center}
.small{font-size:13px;color:var(--muted)}
.muted{color:var(--muted)}
.pipe{margin:0 8px;color:rgba(0,0,0,0.08)}

/* Modal */
.modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(10,10,10,0.45);z-index:50}
.modal[aria-hidden="false"]{display:flex}
.modal-panel{background:#fff;padding:18px;border-radius:10px;max-width:520px;width:92%;position:relative}
.modal-close{position:absolute;right:12px;top:8px;border:0;background:none;cursor:pointer;font-size:18px}

/* Forms */
input,textarea{width:100%;padding:10px;border-radius:8px;border:1px solid #e6e2de;margin-top:6px;font-size:14px}
.form-actions{display:flex;gap:10px;margin-top:12px;align-items:center}
.form-status{margin-top:10px;color:var(--muted)}

/* Decorative subtle background */
.hero::before{
  content:'';
  position:absolute;
  left:0;
  right:0;
  top:120px;
  height:360px;
  background: radial-gradient(closest-side at 20% 30%, rgba(160,140,130,0.06), transparent 30%), linear-gradient(180deg, rgba(0,0,0,0.02), transparent);
  transform: rotate(-4deg);
  filter: blur(6px);
  pointer-events:none;
  z-index:0;
}

/* Ensure hero content sits above */
.hero > * { position: relative; z-index: 1; }

/* Responsive */
@media (max-width:1200px){
  .logo-wrap{ max-width:520px; margin-top:-18px; }
  .hero{ gap:28px; }
}
@media (max-width:900px){
  .hero{ grid-template-columns:1fr; text-align:center; align-items:center; padding-top:28px; }
  .logo-wrap{ max-width:380px; margin-top:0; }
  .hero-left{ margin-top: 0; align-items:center; }
  .quick-links{ grid-template-columns:1fr; }
  .main-nav .nav-links{ display:none; }
}
@media (max-width:420px){
  .hero-title{ font-size:28px; }
  .container{ padding-top:18px; }
}

/* Reaplicar el brillo cuando JS agrega .shine-active */
.logo-wrap.shine-active::before {
  animation: shineSweep 1.8s ease-out 0s forwards;
}


/* ABOUT HERO: historia + imagen (dos columnas) */
.about-hero{
  display: grid;
  grid-template-columns: 1fr 480px; /* texto flexible + columna fija para imagen */
  gap: 36px;
  align-items: center;
  margin-top: 6px;
  margin-bottom: 28px;
}

/* Ajustes del panel izquierdo (texto) */
.about-left { padding-right: 8px; }
.about-title{
  font-family: "Montserrat", sans-serif;
  font-size: 34px;
  color: var(--accent);
  margin: 8px 0 14px;
  line-height: 1.05;
}
.about-text{
  color: var(--muted);
  margin-bottom: 12px;
  font-size: 15px;
  max-width: 66ch;
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp .8s ease-out .2s forwards;
}

/* CTAs en about */
.about-ctas{ margin-top: 12px; display:flex; gap:12px; opacity:0; animation:fadeUp .8s ease-out .5s forwards; }

/* Panel derecho (imagen) */
.about-right{ display:flex; justify-content:center; align-items:center; }
.about-figure{ margin:0; text-align:center; color:var(--muted); font-size:13px; }
.about-image{
  width:100%;
  max-width:460px;
  border-radius:10px;
  box-shadow: 0 18px 40px rgba(255, 8, 8, 0.08);
  opacity:0;
  transform: translateY(18px) scale(.995);
  animation: imageIn 1s ease-out .35s forwards;
  display:block;
}

/* small caption spacing */
.about-figure figcaption{ margin-top:8px; opacity:0.9; }

/* Reuse fadeUp keyframe if exists; otherwise keep this */
@keyframes imageIn {
  from { opacity: 0; transform: translateY(18px) scale(.995); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Responsive behavior: stack columns on smaller screens */
@media (max-width:1000px){
  .about-hero{ grid-template-columns: 1fr; gap:20px; }
  .about-right{ order: -1; } /* imagen arriba si prefieres, cambia a order: 0 para imagen abajo */
  .about-image{ max-width: 320px; margin: 0 auto; }
  .about-left{ padding-right: 0; text-align: center; }
  .about-title{ font-size: 28px; }
  .about-text{ text-align: left; max-width: none; }
}

@media (max-width:480px){
  .about-title{ font-size:22px; }
  .about-image{ max-width: 280px; }
  .container{ padding-top: 18px; }
}

/* ============================
   QUIÉNES SOMOS – Secciones
============================ */
/* =======================================
   MISION / VISION / OBJETIVOS con imagen
======================================= */

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  margin-bottom: 32px;
}

.value-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
  padding: 0 0 20px;
  transition: transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .9s ease-out forwards;
}

.value-card:nth-child(1){ animation-delay: .2s; }
.value-card:nth-child(2){ animation-delay: .4s; }
.value-card:nth-child(3){ animation-delay: .6s; }

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.08);
}

/* Imagen superior */
.value-figure {
  margin: 0;
  height: 180px;
  overflow: hidden;
  position: relative;
}
.value-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.value-card:hover .value-image {
  transform: scale(1.06);
}

/* Texto */
.value-card h3 {
  color: var(--accent);
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  margin: 16px 20px 8px;
}
.value-card p,
.value-list li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 20px 10px;
}

/* Lista */
.value-list {
  padding-left: 38px;
  margin: 0 20px;
}
.value-list li {
  list-style-type: "✔ ";
  list-style-position: outside;
}

/* Responsive */
@media (max-width: 1000px) {
  .about-values {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .value-figure { height: 160px; }
}
@media (max-width: 680px) {
  .about-values {
    grid-template-columns: 1fr;
  }
  .value-card {
    text-align: center;
  }
  .value-figure { height: 200px; }
  .value-list { padding-left: 24px; text-align: left; }
}

/* =======================================
   🔥 Fondo con imágenes de fuego laterales
======================================= */
.fire-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgb(226, 231, 230));
}

/* Imagen izquierda */
.fire-bg .fuego-izq {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: auto;
  height: 100%;
  object-fit: cover;
  animation: flameMoveIzq 10s ease-in-out infinite alternate;
  opacity: 0.9;
}

/* Imagen derecha */
.fire-bg .fuego-der {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: auto;
  height: 100%;
  object-fit: cover;
  animation: flameMoveDer 10s ease-in-out infinite alternate;
  opacity: 0.9;
}

/* Animaciones suaves para dar vida */
@keyframes flameMoveIzq {
  0% { transform: translateY(0) scale(1); filter: brightness(1);}
  50% { transform: translateY(-1%) scale(1.02); filter: brightness(1.05);}
  100% { transform: translateY(1%) scale(1); filter: brightness(1);}
}
@keyframes flameMoveDer {
  0% { transform: translateY(0) scale(1); filter: brightness(1);}
  50% { transform: translateY(1%) scale(1.02); filter: brightness(1.05);}
  100% { transform: translateY(-1%) scale(1); filter: brightness(1);}
}

/* Asegurar que el contenido esté encima */
body > *:not(.fire-bg) {
  position: relative;
  z-index: 1;
}

/* 🔧 Móviles: reducir intensidad del fuego */
@media (max-width: 900px) {
  .fire-bg .fuego-izq,
  .fire-bg .fuego-der {
    opacity: 0.5;
    animation: none;
  }
}

/* ==========================================
   CONTACT PAGE STYLING
========================================== */

.contact-section {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding-top: 40px;
}

.contact-title {
  font-family: "Montserrat", sans-serif;
  font-size: 38px;
  color: var(--accent);
  margin-bottom: 10px;
}

.contact-subtitle {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 28px;
}

.whatsapp-contact {
  margin-bottom: 40px;
}

.whatsapp-btn {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #25D366, #128C7E);
  border: none;
  color: white;
  box-shadow: 0 8px 16px rgba(18,140,126,0.3);
}

.whatsapp-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(18,140,126,0.35);
}

.contact-form {
  text-align: left;
  background: #fff;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
  animation: fadeUp 0.8s ease-out forwards;
}

.contact-form label {
  font-weight: 600;
  display: block;
  margin-top: 14px;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e2dfdb;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(184,107,9,0.15);
}

.contact-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.contact-form button.btn.primary {
  flex: 1;
  min-width: 150px;
}

.contact-form .btn.outline {
  flex: 1;
  min-width: 150px;
  text-align: center;
}

@media (max-width:600px) {
  .contact-form {
    padding: 20px;
  }
  .contact-title { font-size: 28px; }
}

/* ==========================================
   BOTÓN FLOTANTE DE WHATSAPP (DOS NÚMEROS)
========================================== */

.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  font-family: "Libre Franklin", sans-serif;
}

/* ===========================
   Animación del ícono WhatsApp
=========================== */

.whatsapp-main {
  width: 64px;
  height: 64px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  transition: transform 0.25s ease;
}

.whatsapp-main img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.25));
  animation: floatLogo 4s ease-in-out infinite; /* 👈 cambia el nombre de la animación aquí */
}

/* 💨 Flotante suave */
@keyframes floatLogo {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* ✨ Pulso sutil */
@keyframes pulseLogo {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.25));
  }
  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.35));
  }
}

/* 🔁 Rotación ligera */
@keyframes swayLogo {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(4deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(-4deg); }
  100% { transform: rotate(0deg); }
}

/* Hover: un poco más grande */
.whatsapp-main:hover img {
  transform: scale(1.1);
}


@keyframes pulseWhats {
  0% { transform: scale(1); opacity: 0.8; }
  70% { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

/* Opciones de contacto */
.whatsapp-options {
  display: none;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  animation: fadeInUp 0.3s ease forwards;
}

.whatsapp-options a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: #128C7E;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: background 0.25s ease;
}

.whatsapp-options a:hover {
  background: rgba(37, 211, 102, 0.1);
}

/* Mostrar opciones activas */
.whatsapp-float.active .whatsapp-options {
  display: flex;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 500px) {
  .whatsapp-main {
    width: 56px;
    height: 56px;
  }
  .whatsapp-main img {
    width: 34px;
    height: 34px;
  }
}



/* ===== appended responsive rules ===== */

/* ======= Responsive additions (appended) ======= */
/* mobile nav toggle button */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle .hamburger {
  width: 20px;
  height: 2px;
  background: #222;
  display: block;
  position: relative;
  border-radius:2px;
}
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: \"\";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: inherit;
  border-radius:2px;
}
.nav-toggle .hamburger::before { top: -6px; }
.nav-toggle .hamburger::after { top: 6px; }

/* default nav links layout already horizontal; on small screens hide them and show via .open */
.main-nav .nav-links { display: flex; gap: 24px; align-items: center; }
.main-nav .nav-links.open { display: flex; flex-direction: column; background: rgba(255,255,255,0.98); padding: 12px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); position: absolute; right: 18px; top: 72px; }

/* Ensure header topbar is positioned relative for absolute menu */
.site-header .topbar { position: relative; z-index: 30; }

/* Responsive adjustments */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav .nav-links { display: none; }
  .nav-actions { display: none; } /* hide contact button to save space; users use menu */
  .hero { grid-template-columns: 1fr; gap: 22px; padding-top: 18px; text-align: center; }
  .hero-left { margin-top: 0; order: -1; }
  .logo-wrap { max-width: 420px; margin: 0 auto; }
  .hero-title { font-size: 32px; line-height: 1.05; }
  .hero-desc { margin: 0 auto; max-width: 90%; }
  .hero-ctas { justify-content: center; }
}

/* smaller screens */
@media (max-width: 680px) {
  .hero-title { font-size: 26px; }
  .logo-wrap .hero-logo { max-width: 320px; }
  .hero-ctas { flex-direction: column; gap: 10px; }
  .product-grid { grid-template-columns: 1fr; }
  .catalog-card { padding: 20px; border-radius: 18px; }
  .catalog-images img { max-width: 100%; height: auto; }
}

/* very small phones */
@media (max-width: 420px) {
  .hero-title { font-size: 20px; }
  .brand-name { font-size: 16px; }
  .container { padding-left: 5vw; padding-right: 5vw; }
  .whatsapp-float { right: 12px; bottom: 12px; }
  .whatsapp-main img { width: 44px; height: 44px; }
}

/* make images fluid */
img { max-width: 100%; height: auto; display: block; }

/* Services grid */
.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
  align-items: stretch;
}

/* Card */
.service-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(7, 18, 34, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 280ms cubic-bezier(.2,.8,.2,1), box-shadow 280ms ease;
}

/* Image container */
.service-card figure {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.service-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease, filter 300ms ease;
}

/* Content */
.service-body {
  padding: 1rem;
  flex: 1 1 auto;
}
.service-body h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.05rem;
}
.service-body p {
  margin: 0;
  color: #444;
  line-height: 1.45;
  font-size: 0.95rem;
}

/* Hover / focus effect */
.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(8,20,40,0.12);
}
.service-card:hover img,
.service-card:focus-within img {
  transform: scale(1.03);
  filter: saturate(1.05);
}

/* Responsive */
@media (max-width: 1000px) {
  .services-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-list { grid-template-columns: 1fr; }
  .service-card img { height: 160px; }
}

/* ===== Modal: LAYOUT VERTICAL (apilado) =====
   Pegar al final de main.css o justo antes de </body>
================================================================= */

#waModal, #waModal * { box-sizing: border-box; }

/* Contenedor */
#waModal {
  font-family: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 18px;
}
#waModal[aria-hidden="false"] { display:flex; }

/* Panel: ahora en columna (vertical) */
#waModal .modal-panel {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 640px; /* ancho cómodo para lectura */
  box-shadow: 0 18px 48px rgba(0,0,0,0.28);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  color: #222;
  -webkit-font-smoothing:antialiased;
}

/* Botón cerrar (arriba-derecha) */
#waModal .modal-close {
  all: unset;
  position: absolute;
  right: 14px;
  top: 14px;
  cursor: pointer;
  font-size: 22px;
  padding: 6px;
  border-radius: 8px;
  color: #222;
}

/* TITULO grande arriba */
#waModal #waModalTitle {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 28px; /* grande como en tu referencia */
  line-height: 1.02;
  color: var(--accent, #ff4929);
  margin: 0;
}

/* INTRO / TEXTO explicativo */
#waModal .modal-body {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  margin-top: 4px;
}

/* FORM CONTROLS (stacked) */
#waModal label { display:block; margin-top:12px; margin-bottom:8px; font-size:14px; color:#6b6b6b; }
#waModal select, #waModal input[type="text"] {
  width:100%;
  padding:12px 14px;
  border-radius:10px;
  border:1px solid #e6e6e6;
  font-size:15px;
  background:#fff;
  color:#111;
}

/* Cantidad: input full width + badge at right inside same row */
#waModal .qty-wrapper { display:flex; gap:10px; align-items:center; }
#waModal .qty-wrapper input { flex: 1 1 auto; min-width: 0; }
#waModal .qty-unit-badge { font-size:14px; color:#444; white-space:nowrap; padding:6px 10px; border-radius:8px; background:transparent; }

/* WA buttons: apilados y full-width como en tu captura */
#waModal .wa-options {
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:6px;
}
#waModal .wa-number {
  all: unset;
  display:block;
  width:100%;
  padding:14px 16px;
  border-radius:12px;
  cursor:pointer;
  font-weight:800;
  font-size:16px;
  text-align:center;
  box-shadow: 0 10px 24px rgba(8,20,40,0.06);
}
#waModal .wa-number:first-child { background: #0b67ff; color:#fff; } /* azul como capt. */
#waModal .wa-number:last-child { background: #fff; color:#111; border:1px solid #eee; }

/* Help text (debajo de botones) */
#waModal .help-text, #waModal .small.muted {
  font-size:14px;
  color:#7f776f;
  margin-top:8px;
}

/* Focus styles accesibles */
#waModal select:focus, #waModal input:focus, #waModal .wa-number:focus, #waModal .modal-close:focus {
  outline: 3px solid rgba(11,103,255,0.12);
  outline-offset: 2px;
}

/* FORZAR el apilado también en pantallas grandes (ya está vertical) */
/* Si quieres que en pantallas muy estrechas todo se vea igual, estas reglas son suficientes */

/* Ajustes finos para móviles */
@media (max-width:420px) {
  #waModal .modal-panel { padding: 16px; max-width: 92%; }
  #waModal #waModalTitle { font-size: 22px; }
  #waModal .wa-number { font-size:15px; padding:12px; }
}

/* ======== Modal único: diseño vertical limpio ========
   Reemplaza cualquier regla anterior de #waModal / #quoteModal
===========================================================*/

/* reset box-sizing solo para modal (seguro) */
html body #waModal, html body #waModal * ,
html body #quoteModal, html body #quoteModal * { box-sizing: border-box !important; }

/* Fondo y contenedor */
html body #waModal,
html body #quoteModal {
  position: fixed !important;
  inset: 0 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(10,10,10,0.45) !important;
  z-index: 2147483647 !important;
  padding: 18px !important;
}

/* Mostrar cuando aria-hidden = false */
html body #waModal[aria-hidden="false"],
html body #quoteModal[aria-hidden="false"] {
  display: flex !important;
}

/* Panel: forzar columna (apilado), centrado y bordes */
html body #waModal .modal-panel,
html body #quoteModal .modal-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 680px !important;
  padding: 20px !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 18px 48px rgba(0,0,0,0.28) !important;
  position: relative !important;
  overflow: hidden !important; /* evita que botones sobresalgan */
}

/* Close button visible encima */
html body #waModal .modal-close,
html body #quoteModal [data-close-modal] {
  all: unset !important;
  position: absolute !important;
  right: 14px !important;
  top: 12px !important;
  cursor: pointer !important;
  font-size: 20px !important;
  z-index: 10 !important;
  padding: 6px !important;
  border-radius: 8px !important;
}

/* Título grande */
html body #waModal #waModalTitle,
html body #quoteModal h3 {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 800 !important;
  font-size: 28px !important;
  line-height: 1.04 !important;
  margin: 0 !important;
  color: var(--accent, #ff4929) !important;
}

/* Texto intro */
html body #waModal #waModalIntro,
html body #waModal .modal-body,
html body #quoteModal p {
  font-size: 15px !important;
  color: #333 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* Labels y controles (apilados) */
html body #waModal label,
html body #quoteModal label { display:block !important; margin-top:12px !important; margin-bottom:8px !important; color:#6b6b6b !important; }
html body #waModal select,
html body #waModal input[type="text"],
html body #quoteModal input,
html body #quoteModal textarea {
  width:100% !important;
  padding:12px 14px !important;
  border-radius:10px !important;
  border:1px solid #e6e6e6 !important;
  font-size:15px !important;
  background:#fff !important;
  color:#111 !important;
  box-shadow:none !important;
}

/* Wrapper de cantidad: input flexible + badge a la derecha */
html body #waModal .qty-wrapper {
  display:flex !important;
  gap:10px !important;
  align-items:center !important;
  margin-top:6px !important;
}
html body #waModal .qty-wrapper input { flex: 1 1 auto !important; min-width:0 !important; }
html body #waModal .qty-unit-badge {
  font-size:14px !important;
  color:#444 !important;
  white-space:nowrap !important;
  padding:8px 10px !important;
  border-radius:8px !important;
  background: transparent !important;
}

/* WA buttons: apilados, full width, dentro del panel */
html body #waModal .wa-options {
  display:flex !important;
  flex-direction:column !important;
  gap:12px !important;
  width:100% !important;
  margin-top:12px !important;
  z-index:1 !important;
}
html body #waModal .wa-number {
  all: unset !important;
  display:block !important;
  width:94% !important;
  padding:14px 18px !important;
  border-radius: 12px !important;
  cursor:pointer !important;
  font-weight:800 !important;
  font-size:16px !important;
  text-align:center !important;
  box-shadow: 0 10px 24px rgba(8,20,40,0.06) !important;
}

/* colores (ajusta si quieres naranja) */
html body #waModal .wa-number:first-child { background: #6d19ce !important; color:#ffffff !important; }
html body #waModal .wa-number:last-child { background: #fff !important; color:#111 !important; border:1px solid #eee !important; }

/* Ayuda al final */
html body #waModal .help-text,
html body #waModal .small.muted { margin-top:8px !important; color:#7f776f !important; font-size:14px !important; }

/* focus accesible */
html body #waModal select:focus,
html body #waModal input:focus,
html body #waModal .wa-number:focus,
html body #waModal .modal-close:focus { outline: 3px solid rgba(11,103,255,0.12) !important; outline-offset: 2px !important; }

/* Móvil: ajustar tamaños */
@media (max-width:680px) {
  html body #waModal .modal-panel { max-width: 95% !important; padding: 14px !important; }
  html body #waModal #waModalTitle { font-size:22px !important; }
  html body #waModal .wa-number { font-size:15px !important; padding:12px !important; }
  html body #quoteModal .modal-content { padding:14px !important; }
}

/* Seguridad: ocultar duplicados accidentales */
body > #waModal:not(:first-of-type) { display:none !important; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===== Contenedor flotante de íconos ===== */
.float-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-end;
  z-index: 99999;
}

/* ===== Íconos individuales ===== */
.float-item {
  position: relative;
}

.float-main {
  width: 64px;
  height: 64px;
  background: transparent; /* sin fondo */
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.float-main img {
  width: 56px;
  height: 56px;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35)); /* leve brillo */
}

/* Efecto al pasar el mouse */
.float-main:hover {
  transform: scale(1.08);
  filter: brightness(1.1);
}

/* ===== Menú desplegable de WhatsApp (igual que antes) ===== */
.float-menu {
  display: none;
  position: absolute;
  bottom: 75px;
  right: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: fadeIn 0.3s ease;
}

.float-menu a {
  display: block;
  padding: 10px 14px;
  color: #25D366;
  text-decoration: none;
  font-weight: 600;
}

.float-menu a:hover {
  background: #f5f5f5;
}

.float-item.open .float-menu {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
  .float-main {
    width: 56px;
    height: 56px;
  }

  .float-main img {
    width: 48px;
    height: 48px;
  }
}

