/* --------------------------------------------------
   Modo Versátil - Main Stylesheet
   Faithful recreation for Cloudflare Pages
-------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Dosis:wght@400;500;700&family=Lato:wght@300;400;700&family=Raleway:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

:root {
  --font-title: 'Abril Fatface', cursive, Georgia, serif;
  --font-body: 'Raleway', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-menu: 'Lato', sans-serif;
  --font-subhead: 'Dosis', sans-serif;

  --color-primary: #353B41;
  --color-text: #7F7F7F;
  --color-dark: #252525;
  --color-accent: #c72425;
  --color-bg-light: rgba(225, 232, 238, 0.25);
  --color-border: #E7E7E7;
  --color-white: #FFFFFF;

  --header-height: 90px;
  --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-accent);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.col-12 { width: 100%; padding: 0 15px; }
.col-md-4 { width: 100%; padding: 0 15px; }
.col-md-6 { width: 100%; padding: 0 15px; }
.col-md-8 { width: 100%; padding: 0 15px; }

@media (min-width: 768px) {
  .col-md-4 { width: 33.333333%; }
  .col-md-6 { width: 50%; }
  .col-md-8 { width: 66.666667%; }
}

.text-center { text-align: center; }
.text-left { text-align: left; }

/* --------------------------------------------------
   Header & Navigation
-------------------------------------------------- */
#sp-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--color-white);
  z-index: 1000;
  transition: box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo a {
  display: inline-flex;
  align-items: center;
}

.logo-image {
  height: 60px;
  width: auto;
}

.logo-image-phone {
  height: 50px;
  width: auto;
  display: none;
}

.nav-menu-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu-desktop > li {
  position: relative;
}

.nav-menu-desktop > li > a,
.nav-menu-desktop > li > span.menu-separator {
  font-family: var(--font-menu);
  font-size: 16px;
  font-weight: 500;
  color: #333333;
  padding: 12px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.nav-menu-desktop > li.active > a,
.nav-menu-desktop > li.active > span.menu-separator,
.nav-menu-desktop > li > a:hover,
.nav-menu-desktop > li > span.menu-separator:hover {
  color: #111111;
  font-weight: 600;
}

.nav-menu-desktop > li.active > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-dark);
}

/* Phone Nav Item */
.nav-menu-desktop .phone-nav-link {
  font-weight: 600;
  color: var(--color-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-menu-desktop .phone-nav-link i {
  font-size: 14px;
}

/* Dropdown Menu */
.nav-menu-desktop .has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 220px;
  background: var(--color-white);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease-in-out;
  border-radius: 4px;
  border-top: 3px solid var(--color-dark);
  z-index: 100;
}

.dropdown-menu li a {
  font-family: var(--font-menu);
  font-size: 14px;
  color: #555555;
  padding: 10px 20px;
  display: block;
  transition: var(--transition);
}

.dropdown-menu li.active a,
.dropdown-menu li a:hover {
  background-color: #f7f7f7;
  color: #000;
  padding-left: 24px;
}

/* Offcanvas Hamburger */
.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1010;
}

.burger-icon {
  width: 26px;
  height: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-dark);
  transition: var(--transition);
}

/* Offcanvas Overlay & Drawer */
.offcanvas-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1090;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.offcanvas-overlay.open {
  opacity: 1;
  visibility: visible;
}

.offcanvas-menu {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100%;
  background: var(--color-white);
  z-index: 1100;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: 25px 20px;
  box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15);
}

.offcanvas-menu.open {
  left: 0;
}

.offcanvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.offcanvas-header .logo-image-phone {
  display: block;
  height: 45px;
}

.close-offcanvas {
  background: none;
  border: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
}

.offcanvas-nav {
  display: flex;
  flex-direction: column;
}

.offcanvas-nav li {
  border-bottom: 1px solid #f1f1f1;
}

.offcanvas-nav li a,
.offcanvas-nav li .mobile-submenu-toggle {
  font-family: var(--font-menu);
  font-size: 16px;
  color: #333;
  padding: 14px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.offcanvas-nav li.active > a {
  font-weight: 700;
  color: var(--color-accent);
}

.offcanvas-submenu {
  display: none;
  background: #fbfbfb;
  padding: 5px 0 5px 20px;
}

.offcanvas-submenu.open {
  display: block;
}

.offcanvas-submenu li {
  border-bottom: none;
}

.offcanvas-submenu li a {
  font-size: 14px;
  padding: 10px 15px;
  color: #666;
}

/* --------------------------------------------------
   Hero Section (Home)
-------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  padding: 140px 20px;
  margin-bottom: 60px;
  overflow: hidden;
  background-color: #222;
  background-image: url('../images/home/mv--vestuario-slide01.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

.hero-video-bg iframe {
  width: 100vw;
  height: 56.25vw; /* 16:9 ratio */
  min-height: 100vh;
  min-width: 177.77vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 80px;
  line-height: 1.15;
  margin-bottom: 25px;
  letter-spacing: 1px;
  color: #FFFFFF;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: #FFFFFF;
  max-width: 750px;
  margin: 0 auto;
  font-weight: 400;
}

/* --------------------------------------------------
   General Page Header (Inner pages)
-------------------------------------------------- */
.page-title-section {
  padding: 90px 0 30px;
  text-align: center;
}

.page-title-section .main-title {
  font-family: var(--font-title);
  font-size: 56px;
  line-height: 1.1;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.page-title-section .main-subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text);
  font-weight: 500;
  max-width: 700px;
  margin: 0 auto;
}

.divider-line {
  margin: 40px auto;
  height: 1px;
  background-color: var(--color-border);
  width: 100%;
  max-width: 1200px;
}

/* --------------------------------------------------
   Content Sections
-------------------------------------------------- */
.section-experience {
  padding: 30px 0 60px;
  text-align: center;
}

.section-experience .title-large {
  font-family: var(--font-title);
  font-size: 56px;
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: 25px;
  font-weight: 700;
}

.section-experience .text-desc {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text);
  font-weight: 500;
  max-width: 800px;
  margin: 0 auto;
}

/* Split Feature Section (Values, Quality, Services) */
.section-split {
  padding: 60px 0;
  background-color: var(--color-white);
}

.section-split.bg-tinted {
  background-color: var(--color-bg-light);
}

.split-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.split-info {
  width: 100%;
  margin-bottom: 30px;
}

.split-tag {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  color: #000000;
  margin-bottom: 20px;
}

.split-title {
  font-family: var(--font-title);
  font-size: 42px;
  line-height: 1.25;
  color: var(--color-primary);
  margin-bottom: 25px;
  font-weight: 400;
}

.split-desc {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text);
  font-weight: 500;
}

.split-desc strong {
  color: #333;
}

.split-desc ul {
  list-style: disc;
  margin-left: 20px;
  margin-top: 15px;
}

.split-desc ul li {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.split-media {
  width: 100%;
}

.image-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.image-card {
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.single-feature-img {
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.single-feature-img.no-shadow {
  box-shadow: none;
  background: transparent;
}

.single-feature-img img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 768px) {
  .split-info {
    width: 38%;
    padding-right: 30px;
    margin-bottom: 0;
  }
  .split-media {
    width: 62%;
    padding-left: 30px;
  }
}

/* --------------------------------------------------
   Carousel Section (Home)
-------------------------------------------------- */
.section-carousel {
  padding: 80px 0 60px;
  text-align: center;
}

.section-carousel .carousel-heading {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  color: #000000;
  max-width: 900px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.section-carousel .carousel-subtitle {
  font-family: var(--font-title);
  font-size: 42px;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 50px;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: 1200px;
  padding: 10px 0 40px;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  gap: 20px;
}

.carousel-slide {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 280px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
}

.carousel-slide:hover {
  transform: scale(1.02);
}

.carousel-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
}

.carousel-dot {
  width: 25px;
  height: 4px;
  background: #000000;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0.3;
}

.carousel-dot.active {
  background: var(--color-accent);
  opacity: 1;
  width: 35px;
}

@media (max-width: 991px) {
  .carousel-slide {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 600px) {
  .carousel-slide {
    flex: 0 0 100%;
  }
}

/* --------------------------------------------------
   Product Gallery Grids & Lightbox (Colchões, Estofos, Vestuário, etc.)
-------------------------------------------------- */
.gallery-section {
  padding: 20px 0 70px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 1 / 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  background-color: #f5f5f5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item .overlay-zoom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay-zoom {
  opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 88vw;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2010;
}

.lightbox-btn:hover {
  background: var(--color-accent);
  color: #fff;
}

.lightbox-close {
  top: 25px;
  right: 25px;
}

.lightbox-prev {
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
}

/* --------------------------------------------------
   Contact Page Styles
-------------------------------------------------- */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 60px;
}

@media (min-width: 992px) {
  .contact-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-card-title {
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 700;
  color: #000000;
  margin-bottom: 35px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #333;
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  margin-bottom: 4px;
}

.contact-item-text p {
  font-size: 13px;
  color: var(--color-text);
}

.map-container {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  min-height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
}

/* Contact Form */
.contact-form-section {
  background-color: #FAFAFA;
  padding: 70px 0 90px;
  border-top: 1px solid var(--color-border);
}

.contact-form-wrap {
  background: #FFFFFF;
  padding: 45px;
  border-radius: 6px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
  max-width: 900px;
  margin: 0 auto;
}

.form-heading {
  font-family: var(--font-title);
  font-size: 32px;
  color: #252525;
  margin-bottom: 35px;
  text-transform: uppercase;
  text-align: center;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  color: #333;
  transition: var(--transition);
  background-color: #FAFAFA;
}

.form-control:focus {
  outline: none;
  border-color: #333;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.btn-primary {
  background-color: var(--color-dark);
  color: #FFFFFF;
  border: none;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background-color: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.form-status {
  margin-top: 15px;
  padding: 12px;
  border-radius: 4px;
  display: none;
  font-size: 14px;
}
.form-status.success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

/* --------------------------------------------------
   Footer & Scroll to Top
-------------------------------------------------- */
#sp-footer {
  background: #191B1D;
  color: #888888;
  padding: 35px 0;
  text-align: center;
  font-size: 14px;
}

#sp-footer a {
  color: #CCCCCC;
}

#sp-footer a:hover {
  color: var(--color-accent);
}

.sp-scroll-up {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.sp-scroll-up.show {
  opacity: 1;
  visibility: visible;
}

.sp-scroll-up:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-3px);
}

/* --------------------------------------------------
   Responsive Tweaks
-------------------------------------------------- */
@media (max-width: 991px) {
  .nav-menu-desktop {
    display: none;
  }
  .burger-btn {
    display: block;
  }
  .logo-image {
    display: none;
  }
  .logo-image-phone {
    display: inline-block;
  }
  .hero-title {
    font-size: 44px;
  }
  .page-title-section .main-title {
    font-size: 38px;
  }
  .section-experience .title-large {
    font-size: 38px;
  }
  .split-title {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 34px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .page-title-section .main-title {
    font-size: 32px;
  }
  .section-experience .title-large {
    font-size: 30px;
  }
  .split-title {
    font-size: 26px;
  }
  .image-grid-2 {
    grid-template-columns: 1fr;
  }
}
