:root {
  --primary: #f44321;
  --primary-dark: #d73718;
  --primary-light: #ff6a4d;

  --kraft: #d7b58c;
  --kraft-dark: #b78d5f;

  --eco: #4f7c5a;

  --bg: #f8f7f5;
  --white: #ffffff;

  --text: #1f1f1f;
  --text-light: #666;

  --border: #ece8e1;

  --shadow:
    0 10px 40px rgba(0, 0, 0, .08);

  --radius: 24px;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.container {
  width: min(1200px, 90%);
  margin: auto;
}

.section {
  padding: 120px 0;
}

/* SOCIAL SIDEBAR */

.social-sidebar {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.social-link {
  width: 56px;
  height: 56px;

  border-radius: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
  font-weight: 700;

  transition: .35s;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, .2);
}

.social-link:hover {
  transform:
    translateX(-6px) scale(1.08);
}

.social-link svg {
  height: 30px;
}

.facebook {
  background: #1877f2;
}

.youtube {
  background: #ff0000;
}

.whatsapp {
  background: #25d366;
}

/* TOPBAR */

.topbar {
  background: var(--primary);
  color: white;
  font-size: 14px;
  padding: 12px 0;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.topbar-left,
.topbar-right {
  display: flex;
  gap: 20px;
}

/* HEADER */

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  transition: .4s;
}

.header.scrolled {
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.navbar {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 65px;
}

.header .logo .inblack,
.header.scrolled .logo .inwhite {
  display: block;
}

.header .logo .inwhite,
.header.scrolled .logo .inblack {
  display: none;
}

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
}

.nav-links a {
  color: white;
  font-weight: 500;
  position: relative;
}

.header.scrolled .nav-links a {
  color: var(--text);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: .3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* =========================================
   MEGA MENU PREMIUM
========================================= */
.mega-parent{
  position:relative;
}
/* HOVER BRIDGE */
.mega-parent::before{
  content:'';
  position:absolute;
  left:0;
  top:100%;
  width:100%;
  height:40px;
}
/* PANEL */
.mega-menu{
  position:absolute;
  top:calc(100% + 30px);
  left:50%;
  transform:
  translateX(-50%)
  translateY(12px);
  width:820px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.35);
  border-radius:32px;
  padding:34px;
  opacity:0;
  visibility:hidden;
  transition: opacity .25s ease, transform .25s ease;
  box-shadow: 0 30px 80px rgba(0,0,0,.14);
  z-index:999;
}
/* SHOW */
.mega-parent:hover .mega-menu{
  opacity:1;
  visibility:visible;
  transform: translateX(-50%) translateY(0);
}
/* GRID */
.mega-grid{
  display:grid;
  grid-template-columns:
  repeat(3,1fr);
  gap:16px;
}

/* ITEM */
.mega-item{
  height:84px;
  display:flex;
  align-items:center;
  gap:16px;
  padding:18px;
  border-radius:22px;
  transition:.3s;
  position:relative;
  overflow:hidden;
}
/* BG EFFECT */
.mega-item::before{
  content:'';
  position:absolute;
  inset:0;
  background:
  linear-gradient(135deg, rgba(244,67,33,.08), rgba(244,67,33,.02));
  opacity:0;
  transition:.3s;
}
.mega-item:hover::before{
  opacity:1;
}
.mega-item:hover{
  transform:translateY(-3px);
}
/* ICON */
.mega-icon{
  width:52px;
  height:52px;
  border-radius:16px;
  background:
  linear-gradient(135deg, var(--primary), var(--primary-light));
  display:flex;
  align-items:center;
  justify-content:center;
  color:white;
  font-size:22px;
  flex-shrink:0;
  position:relative;
  z-index:2;
}
.mega-icon img {
  width: 30px;
}
/* TEXT */
.mega-item span:last-child{
  color:var(--text);
  font-weight:600;
  font-size:15px;
  position:relative;
  z-index:2;
  transition:.3s;
}
.mega-item:hover span:last-child{
  color:var(--primary);
}
/* FLOATING EFFECT */
.header.scrolled .mega-menu{
  top:calc(100% + 44px);
}
/* RESPONSIVE */
@media(max-width:1100px){
  .mega-menu{
    display:none;
  }
  .mega-parent.active .mega-menu{
    display:block;
    position:relative;
    width:100%;
    top:0;
    left:0;
    transform:none;
    opacity:1;
    visibility:visible;
    margin-top:20px;
    padding:24px;
    border-radius:24px;
  }
  .mega-grid{
    grid-template-columns:1fr;
  }
}


.mobile-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

/* BUTTONS */
.btn-primary {
  background: var(--primary);
  color: white;

  padding: 15px 28px;

  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-weight: 600;

  transition: .35s;
}

.btn-primary:hover {
  background: var(--primary-dark);

  transform:
    translateY(-3px);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, .4);

  color: white;

  padding: 15px 28px;

  border-radius: 999px;

  transition: .35s;
  text-align: center;
}

.btn-outline:hover {
  background: white;
  color: var(--text);
}

/* HERO */

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(to right,
      rgba(0, 0, 0, .8),
      rgba(0, 0, 0, .4));
}

.hero-gradient {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at right,
      rgba(244, 67, 33, .15),
      transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;

  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;

  color: white;

  max-width: 720px;
}

.hero-tag {
  display: inline-flex;
  width: fit-content;

  padding: 12px 18px;

  background: rgba(255, 255, 255, .08);

  border: 1px solid rgba(255, 255, 255, .1);

  backdrop-filter: blur(10px);

  border-radius: 999px;

  margin-bottom: 28px;
}

.hero h1 {
  font-size: 72px;
  line-height: 1.05;
  margin-bottom: 28px;
}

.hero p {
  font-size: 20px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-indicator span {
  width: 32px;
  height: 52px;
  border: 2px solid white;
  border-radius: 999px;
  display: block;
  position: relative;
}

.scroll-indicator span::before {
  content: '';

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: white;

  position: absolute;

  left: 50%;
  top: 10px;

  transform: translateX(-50%);

  animation: scroll 2s infinite;
}

@keyframes scroll {

  0% {
    opacity: 0;
    top: 10px;
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    top: 28px;
  }

}

/* SECTION */

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-header.light {
  color: white;
}

.section-tag {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-header h2 {
  font-size: 48px;
  margin: 20px 0;
}

.section-header p {
  max-width: 700px;
  margin: auto;
  color: var(--text-light);
  line-height: 1.8;
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image img {
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.about-content h2 {
  font-size: 52px;
  line-height: 1.2;
  margin: 20px 0;
}

.about-content p {
  color: var(--text-light);
  line-height: 1.9;
}

.about-features {
  display: flex;
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  flex: 1;
}

.feature-card h3 {
  color: var(--primary);
  font-size: 32px;
  margin-bottom: 10px;
}

/* PRODUCTS */

.products {
  background: white;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.wrapper-card {
  display: block;
  color: unset;
}

.product-card {
  background: var(--bg);

  padding: 50px 30px;

  border-radius: 28px;

  transition: .4s;

  text-align: center;

  border: 1px solid transparent;
}

.product-card:hover {
  transform: translateY(-10px);

  background: white;

  border-color: var(--border);

  box-shadow: var(--shadow);
}

.product-icon {
  width: 90px;
  height: 90px;

  border-radius: 24px;

  background:
    linear-gradient(135deg,
      var(--primary),
      var(--primary-light));

  display: flex;
  align-items: center;
  justify-content: center;

  margin: auto auto 24px;

  font-size: 38px;
}

.product-card h3 {
  font-size: 22px;
}

/* TESTIMONIALS */

.testimonials {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
}

.testimonials-bg {
  position: absolute;
  inset: 0;

  background: url("https://www.papelerabicentenario.com/assets/paginaweb/images/testimonial_bg.jpg") center/cover fixed;
}

.testimonials-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(rgba(0, 0, 0, .78),
      rgba(0, 0, 0, .72));
}

.testimonial-slider {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  gap: 30px;
}

.testimonial-wrapper {
  overflow: hidden;
  width: 100%;
}

.testimonial-track {
  display: flex;
  transition: .5s ease;
}

.testimonial-card {
  min-width: 100%;

  background:
    rgba(255, 255, 255, .08);

  backdrop-filter: blur(12px);

  border:
    1px solid rgba(255, 255, 255, .1);

  padding: 60px;

  border-radius: 30px;

  color: white;
  text-align: center;
}

.testimonial-card p {
  font-size: 28px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.testimonial-card h4 {
  font-size: 22px;
}

.slider-btn {
  width: 60px;
  height: 60px;

  border: none;

  border-radius: 50%;

  background: rgba(255, 255, 255, .12);

  color: white;

  cursor: pointer;

  transition: .3s;

  flex-shrink: 0;
}

.slider-btn:hover {
  background: var(--primary);

  transform: scale(1.08);
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 52px;
  margin: 20px 0;
}

.contact-info p {
  color: var(--text-light);
  line-height: 1.8;
}

.info-cards {
  margin-top: 40px;

  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: white;

  padding: 24px;

  border-radius: 24px;

  display: flex;
  align-items: center;
  gap: 20px;

  box-shadow: var(--shadow);

  transition: .3s;
}

.info-card:hover {
  transform: translateY(-4px);
}

.info-icon {
  width: 58px;
  height: 58px;

  border-radius: 18px;

  background:
    rgba(244, 67, 33, .1);

  flex-shrink: 0;

  align-content: center;
  text-align: center;
}

.info-icon svg {
  width: 30px;
}

.contact-form {
  background: white;

  padding: 50px;

  border-radius: 32px;

  box-shadow: var(--shadow);

  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {

  padding: 18px;

  border-radius: 16px;

  border: 1px solid var(--border);

  font-family: inherit;

  transition: .3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  outline: none;
}

.contact-form textarea {
  min-height: 160px;
  resize: none;
}

/* FOOTER */

.footer {
  background: #111;
  color: white;
  padding-top: 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1.2fr;
  gap: 60px;
}

.footer-brand img {
  width: 180px;
  margin-bottom: 30px;
}

.footer-brand p {
  color: #bbb;
  line-height: 1.9;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links h4 {
  margin-bottom: 20px;
}

.footer-links a {
  color: #bbb;
  transition: .3s;
}

.footer-links a:hover {
  color: white;
}

.footer-map iframe {
  width: 100%;
  height: 260px;
  border: none;
  border-radius: 24px;
}

.footer-bottom {
  margin-top: 70px;

  padding: 30px;

  border-top:
    1px solid rgba(255, 255, 255, .08);

  text-align: center;

  color: #999;
}

/* RESPONSIVE */

@media(max-width:1100px) {
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .mobile-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 32px;
    color: white;
    cursor: pointer;
  }
  .header.scrolled .mobile-toggle {
    color: var(--text);
  }
  .mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 30px;
    display: none;
    flex-direction: column;
    gap: 20px;
  }
  .mobile-menu.active {
    display: flex;
  }
  .mobile-menu a {
    color: var(--text);
  }
}

@media(max-width:992px) {
  .hero h1 {
    font-size: 56px;
  }
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:768px) {
  .section {
    padding: 90px 0;
  }
  .hero {
    height: 95vh;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero p {
    font-size: 18px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .about-features {
    flex-direction: column;
  }
  .testimonial-card {
    padding: 40px 30px;
  }
  .testimonial-card p {
    font-size: 22px;
  }
  .slider-btn {
    display: none;
  }
  .topbar-content {
    flex-direction: column;
    gap: 10px;
  }
  .topbar-left,
  .topbar-right {
    flex-direction: column;
    gap: 6px;
  }
  .social-sidebar {
    right: 14px;
  }
}

.page-hero{
  position:relative;
  padding: 180px 0 120px;
  background: linear-gradient( 135deg, var(--primary), var(--primary-dark));
  overflow:hidden;
}
.page-hero::before{
  content:'';
  position:absolute;
  width:600px;
  height:600px;
  background: rgba(255,255,255,.05);
  border-radius:50%;
  top:-200px;
  right:-150px;
}
.page-hero-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(to right, rgba(0,0,0,.18), transparent);
}
.page-hero-content{
  position:relative;
  z-index:2;
  color:white;
}
.breadcrumb{
  all: revert;
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:28px;
  font-size:15px;
}
.breadcrumb a{
  color:rgba(255,255,255,.8);
  transition:.3s;
}
.breadcrumb a:hover{
  color:white;
}
.page-hero h1{
  font-size:72px;
  font-weight:700;
  margin-bottom:20px;
}
.page-hero p{
  all: revert;
  max-width:650px;
  font-size:20px;
  line-height:1.8;
  color: rgba(255,255,255,.85);
}
@media(max-width:768px){
  .page-hero{
    padding: 150px 0 90px;
  }
  .page-hero h1{
    font-size:48px;
  }
  .page-hero p{
    font-size:18px;
  }
}