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

:root {
  --primary: #e2042c;
  --primary-hover: #b00322;
  --accent: #46bae3;
  --accent-hover: #20a6d6;
  --text: #595959;
  --heading: #333;
  --white: #fff;
  --black: #000;
  --gray-light: #f8f8f8;
  --gray-medium: #e0e0e0;
  --radius: 1.406rem;
  --header-height: 76px;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
  padding-top: var(--header-height);
}

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

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--primary); height: var(--header-height);
  display: flex; align-items: center;
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 0 2rem;
}
.header-left { display: flex; align-items: center; gap: 1rem; }
.logo-link { display: block; }
.logo { height: 48px; width: auto; }

/* Navigation */
.nav { display: flex; gap: 0.25rem; }
.nav-link {
  display: inline-flex; align-items: center; padding: 0.5rem 1.75rem;
  font-size: 1rem; font-weight: 400; white-space: nowrap; line-height: 1.25;
  border-radius: var(--radius); border: 2px solid transparent;
  color: var(--white); background: transparent; transition: all 0.2s;
  font-family: var(--font-heading);
}
.nav-link:hover, .nav-link.active {
  background: var(--white); color: var(--primary);
}

/* Hamburger */
.hamburger {
  display: none; padding: 0; cursor: pointer; background: none; border: 0;
  font: inherit; color: var(--white); outline: none; overflow: visible;
  width: 32px; height: 24px; position: relative;
}
.hamburger-box { width: 32px; height: 24px; display: inline-block; position: relative; }
.hamburger-inner {
  display: block; top: 50%; margin-top: -2px;
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  width: 32px; height: 3px; background-color: var(--white); border-radius: 3px;
  position: absolute; transition: transform 0.15s ease;
}
.hamburger-inner::before, .hamburger-inner::after { content: ""; display: block; }
.hamburger-inner::before { top: -9px; }
.hamburger-inner::after { bottom: -9px; }
.hamburger.is-active .hamburger-inner { transform: rotate(45deg); }
.hamburger.is-active .hamburger-inner::before { top: 0; opacity: 0; }
.hamburger.is-active .hamburger-inner::after { bottom: 0; transform: rotate(-90deg); }

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 999; padding: 1.5rem; overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu-section { margin-bottom: 1.5rem; }
.mobile-menu-title {
  font-family: var(--font-heading); font-size: 0.85rem; text-transform: uppercase;
  color: var(--primary); font-weight: 600; margin-bottom: 0.5rem; letter-spacing: 0.5px;
}
.mobile-menu-link {
  display: block; padding: 0.75rem 0; color: var(--heading); font-size: 1rem;
  border-bottom: 1px solid var(--gray-medium);
}
.mobile-menu-link:hover { color: var(--primary); }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }

/* Sections */
section { position: relative; }

/* Hero Section */
.hero {
  position: relative; min-height: 85vh; display: flex; align-items: center;
  overflow: hidden; background: #111; /* background was #6b1930, let's use dark */
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
.hero-video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.55;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero .container { display: flex; align-items: center; min-height: 85vh; }
.hero-left { flex: 1; display: flex; justify-content: center; }
.hero-right { flex: 1; padding: 2rem; text-align: left; }
.hero-img { max-width: 500px; border-radius: 8px; }

/* Sticker Logo */
.sticker-container {
  display: inline-flex; justify-content: center; margin-bottom: 1rem;
}
.sticker-wrapper { position: relative; display: inline-block; }
.sticker-clip {
  position: relative; width: 80px; height: 80px; border-radius: 50%;
  overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}
.sticker-front {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--accent); z-index: 3; border-radius: 50%;
  clip-path: polygon(0 0, 70% 0, 70% 70%, 0 70%);
}
.sticker-back {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--primary); z-index: 2; border-radius: 50%;
}
.sticker-clip::after {
  content: ''; position: absolute; bottom: 0; right: 0;
  width: 32%; height: 32%; background: rgba(0,0,0,0.15);
  z-index: 5; border-radius: 100% 0 50% 0;
}

/* Hero text */
.hero h1 {
  font-family: var(--font-heading); font-size: 3.5rem; font-weight: 700;
  color: var(--white); line-height: 1.15; margin-bottom: 0.25rem;
}
.hero h2 {
  font-family: var(--font-heading); font-size: 1.5rem; font-weight: 400;
  color: rgba(255,255,255,0.9); line-height: 1.3; margin-bottom: 1rem;
}
.hero-desc {
  font-size: 1.1rem; color: rgba(255,255,255,0.85); line-height: 1.6; margin-bottom: 1.5rem;
}
.hero-whatsapp {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: #25D366; color: var(--white); padding: 0.8rem 2rem;
  border-radius: var(--radius); font-weight: 600; font-size: 1.05rem;
  transition: background 0.2s; border: none; cursor: pointer;
  font-family: var(--font-heading);
}
.hero-whatsapp:hover { background: #1da851; color: var(--white); }
.hero-whatsapp img { height: 24px; width: 24px; }

/* Section widgets common */
.section-widget {
  position: relative; padding: 5rem 0;
}
.section-widget.bg-light { background: var(--gray-light); }
.section-widget.bg-dark { background: #1a1a2e; color: var(--white); }
.section-widget.bg-red { background: var(--primary); color: var(--white); }
.section-widget.bg-white { background: var(--white); }
.section-widget.bg-gradient {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: var(--white);
}

.section-inner {
  display: flex; align-items: center; gap: 3rem;
}
.section-inner.reverse { flex-direction: row-reverse; }
.section-img { flex: 1; }
.section-img img { width: 100%; border-radius: 4px; }
.section-img.rounded img { border-radius: 16px; }
.section-text { flex: 1; }
.section-text.center { text-align: center; flex: 1 1 100%; }
.section-label {
  font-family: var(--font-heading); font-size: 0.9rem; text-transform: uppercase;
  letter-spacing: 1px; color: var(--accent); margin-bottom: 0.5rem; font-weight: 600;
}
.section-title {
  font-family: var(--font-heading); font-size: 2.35rem; font-weight: 700;
  line-height: 1.15; color: var(--heading); margin-bottom: 1rem;
}
.bg-dark .section-title, .bg-red .section-title, .bg-gradient .section-title,
.hero .section-title { color: var(--white); }
.section-desc {
  font-size: 1.05rem; line-height: 1.65; margin-bottom: 1.5rem;
}
.bg-dark .section-desc, .bg-red .section-desc, .bg-gradient .section-desc { color: rgba(255,255,255,0.85); }
.section-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 2.5rem; font-size: 1rem; line-height: 1.25;
  border-radius: var(--radius); border: 2px solid var(--primary);
  background: var(--primary); color: var(--white);
  font-family: var(--font-heading); font-weight: 500;
  cursor: pointer; transition: all 0.2s;
}
.section-btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: var(--white); }
.section-btn.outline {
  background: transparent; color: var(--primary);
}
.section-btn.outline:hover { background: var(--primary); color: var(--white); }
.bg-dark .section-btn.outline, .bg-red .section-btn.outline, .bg-gradient .section-btn.outline {
  border-color: var(--white); color: var(--white);
}
.bg-dark .section-btn.outline:hover, .bg-red .section-btn.outline:hover, .bg-gradient .section-btn.outline:hover {
  background: var(--white); color: var(--primary);
}

/* Wave cuts */
.cut-bottom-incline::after {
  content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px;
  background: var(--white); clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.cut-bottom-decline::after {
  content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px;
  background: var(--white); clip-path: polygon(0 0, 100% 100%, 100% 100%, 0 100%);
}
.cut-bottom-circle::after {
  content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px;
  background: var(--white); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.cut-top-incline::before {
  content: ''; position: absolute; top: -1px; left: 0; width: 100%; height: 60px;
  background: var(--white); clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.cut-top-decline::before {
  content: ''; position: absolute; top: -1px; left: 0; width: 100%; height: 60px;
  background: var(--white); clip-path: polygon(100% 0, 0 0, 0 100%);
}
.cut-top-circle::before {
  content: ''; position: absolute; top: -1px; left: 0; width: 100%; height: 60px;
  background: var(--white); border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

/* Join spacing */
.join-below { padding-bottom: 0; }
.join-above { padding-top: 0; }

/* Full-width image section */
.section-full-img { padding: 0; }
.section-full-img img { width: 100%; display: block; }

/* Map markers */
.map-markers { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 1.5rem; }
.map-marker {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); opacity: 0.6;
}

/* Footer */
.footer {
  background: #1a1a2e; color: var(--white); padding: 3rem 0 0;
  position: relative;
}
.footer::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 50px;
  background: var(--white); clip-path: polygon(0 0, 100% 0, 100% 100%);
  z-index: 1;
}
.footer-grid {
  display: grid; grid-template-columns: 200px 1fr 1fr 1fr;
  gap: 2rem; position: relative; z-index: 2;
}
.footer-logo img { height: 48px; width: auto; margin-bottom: 1rem; }
.footer-block h4 {
  font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600;
  margin-bottom: 1rem; color: var(--white);
}
.footer-block ul { list-style: none; }
.footer-block li { margin-bottom: 0.6rem; }
.footer-block a {
  color: rgba(255,255,255,0.75); display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.95rem; transition: color 0.2s;
}
.footer-block a:hover { color: var(--white); }
.footer-block .social-icon {
  display: inline-block; width: 20px; height: 20px;
  mask-size: contain; mask-repeat: no-repeat; mask-position: center;
  -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center;
  flex-shrink: 0;
}
.footer-block li span:not(.material-icons):not(.social-icon) {
  display: flex; align-items: center; gap: 0.5rem;
}
.footer-bottom {
  margin-top: 2rem; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  position: relative; z-index: 2;
}
.footer-bottom-left { font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer-bottom-right { display: flex; align-items: center; gap: 1.5rem; }
.footer-bottom-right img { height: 32px; width: auto; }

/* Floating menu */
.float-menu {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 998;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem;
}
.float-back-top {
  width: 44px; height: 44px; border-radius: 50%; background: var(--white);
  border: 1px solid var(--gray-medium); display: flex; align-items: center;
  justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.2s;
}
.float-back-top:hover { background: var(--gray-light); }
.float-whatsapp {
  display: flex; align-items: center; gap: 0.5rem;
  background: #25D366; color: var(--white); padding: 0.65rem 1.25rem;
  border-radius: var(--radius); font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4); cursor: pointer;
  transition: background 0.2s; border: none; font-family: var(--font-heading);
}
.float-whatsapp:hover { background: #1da851; }
.float-whatsapp img { height: 20px; width: 20px; }

/* Animations */
.anim-on {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.anim-on.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 991px) {
  :root { --header-height: 64px; }
  .nav { display: none; }
  .hamburger { display: inline-block; }
  .section-inner { flex-direction: column !important; gap: 2rem; }
  .section-widget { padding: 3rem 0; }
  .section-title { font-size: 1.75rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero h2 { font-size: 1.2rem; }
  .hero .container { flex-direction: column; min-height: auto; padding: 4rem 1.5rem; }
  .hero { min-height: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
  .container { padding: 0 1rem; }
  .header .container { padding: 0 1rem; }
  .section-title { font-size: 1.5rem; }
  .hero h1 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .section-btn { padding: 0.55rem 1.75rem; font-size: 0.95rem; }
}

/* Material icons */
.material-icons { font-size: 1.2rem; vertical-align: middle; }

/* Map section styles */
.section-map-img { text-align: center; }
.section-map-img img { max-width: 650px; margin: 0 auto; border-radius: 8px; }

/* Delivery section */
.delivery-content { display: flex; align-items: center; gap: 3rem; }
.delivery-content.reverse { flex-direction: row-reverse; }
.delivery-img { flex: 1; }
.delivery-img img { width: 100%; max-width: 550px; border-radius: 4px; }
.delivery-text { flex: 1; text-align: center; }

@media (max-width: 991px) {
  .delivery-content, .delivery-content.reverse { flex-direction: column; }
  .delivery-img img { max-width: 100%; }
}

/* ============================================
   Páginas internas (Empresa / Etiquetas / Contacto)
   ============================================ */

/* Encabezado de página interna */
.page-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: var(--white); padding: 4.5rem 0 5.5rem; position: relative; text-align: center;
}
.page-hero::after {
  content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px;
  background: var(--white); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.page-hero h1 {
  font-family: var(--font-heading); font-size: 2.75rem; font-weight: 700;
  color: var(--white); line-height: 1.15; margin-bottom: 0.75rem;
}
.page-hero p {
  font-size: 1.1rem; color: rgba(255,255,255,0.85); max-width: 720px;
  margin: 0 auto; line-height: 1.6;
}
.breadcrumb {
  font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 1rem;
  font-family: var(--font-heading);
}
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--white); }

/* Grilla de tarjetas */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem; margin-top: 2.5rem;
}
.card {
  background: var(--white); border: 1px solid var(--gray-medium);
  border-radius: 16px; padding: 2rem; transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.card-icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--primary);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.card-icon .material-icons { font-size: 1.6rem; color: var(--white); }
.card-icon.accent { background: var(--accent); }
.card h3 {
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600;
  color: var(--heading); margin-bottom: 0.75rem;
}
.card p { font-size: 1rem; line-height: 1.65; }
.bg-light .card { background: var(--white); }
.bg-dark .card, .bg-gradient .card {
  background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12);
}
.bg-dark .card h3, .bg-gradient .card h3 { color: var(--white); }
.bg-dark .card p, .bg-gradient .card p { color: rgba(255,255,255,0.8); }

/* Listas con check */
.check-list { list-style: none; margin-top: 1rem; }
.check-list li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  margin-bottom: 0.7rem; font-size: 1rem; line-height: 1.55;
}
.check-list .material-icons { color: var(--accent); font-size: 1.15rem; margin-top: 0.15rem; flex-shrink: 0; }
.bg-dark .check-list li, .bg-red .check-list li, .bg-gradient .check-list li { color: rgba(255,255,255,0.85); }
.bg-red .check-list .material-icons { color: var(--white); }

/* Materiales */
.material-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}
.material-item {
  border-left: 4px solid var(--primary); padding: 0.35rem 0 0.35rem 1.25rem;
}
.material-item.accent { border-left-color: var(--accent); }
.material-item h4 {
  font-family: var(--font-heading); font-size: 1.02rem; font-weight: 600;
  color: var(--heading); margin-bottom: 0.4rem; text-transform: uppercase;
  letter-spacing: 0.4px; line-height: 1.3;
}
.material-item p { font-size: 0.97rem; line-height: 1.6; }

/* Hitos / cifras */
.stat-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem; margin-top: 3rem; text-align: center;
}
.stat-num {
  font-family: var(--font-heading); font-size: 2.75rem; font-weight: 700;
  color: var(--primary); line-height: 1;
}
.bg-dark .stat-num, .bg-gradient .stat-num { color: var(--accent); }
.stat-label {
  font-size: 0.95rem; margin-top: 0.5rem; text-transform: uppercase;
  letter-spacing: 0.6px; font-family: var(--font-heading);
}
.bg-dark .stat-label, .bg-gradient .stat-label { color: rgba(255,255,255,0.75); }

/* Contacto */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem; margin-top: 2.5rem;
}
.contact-card {
  background: var(--white); border: 1px solid var(--gray-medium); border-radius: 16px;
  padding: 2rem; text-align: center; transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column; align-items: center;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.contact-card .card-icon { margin-left: auto; margin-right: auto; }
.contact-card h3 {
  font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600;
  color: var(--heading); margin-bottom: 0.5rem;
}
.contact-card p { font-size: 1rem; line-height: 1.6; margin-bottom: 1.25rem; }
.contact-card .section-btn { margin-top: auto; }
.contact-map {
  margin-top: 3rem; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--gray-medium);
}
.contact-map iframe { width: 100%; height: 420px; border: 0; display: block; }

/* Utilidades */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }

@media (max-width: 991px) {
  .page-hero { padding: 3rem 0 4rem; }
  .page-hero h1 { font-size: 2rem; }
  .stat-num { font-size: 2.15rem; }
  .contact-map iframe { height: 320px; }
}
