/* ==========================================================================
   1. Variables & Typography System
   ========================================================================== */
:root {
  --color-primary-red: #CC0000;
  --color-secondary-red: #D80F0F;
  --color-bg-topbar: #2A2A2A;
  --color-bg-dark: #2A2A2A;
  --color-bg-card: #383838;
  --color-bg-light: #D9D9D9;

  --color-text-main: #000000;
  --color-text-muted: #434343;
  --color-text-light: #FFFFFF;
  --color-white: #FFFFFF;
  --color-border-dark: #383838;
  --color-border-light: #C8C8C8;

  --font-h1: 700 56px/84.2px 'Manrope', sans-serif;
  --font-h2: 700 36px/59px 'Manrope', sans-serif;
  --font-h3: 600 22px/39.1px 'Manrope', sans-serif;
  --font-body: 400 16px/28.2px 'Roboto', sans-serif;
  --font-small: 400 14px/21px 'Roboto', sans-serif;
  --font-button: 600 15px/24.6px 'Manrope', sans-serif;
  --font-header: 500 15px/1.2 'Manrope', sans-serif;
}

/* ==========================================================================
   2. Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.2s ease-in-out; }
ul { list-style: none; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .container { padding: 0 104px; }
}

h1 { font: var(--font-h1); }
h2 { font: var(--font-h2); }
h3 { font: var(--font-h3); }

.eyebrow {
  display: inline-block;    
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 16px; 
  width: fit-content;
  max-width: 100%;
}

.inner-hero .eyebrow {
  justify-self: start; 
}

.eyebrow::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(100% + 16px);
  height: 2px;    
  background: var(--color-primary-red);
  transform: skewX(-12deg) scaleX(0); 
  transform-origin: left bottom;      
}

.hero-home .eyebrow::after {
  animation: slideInLine 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.reveal.visible .eyebrow::after {
  animation: slideInLine 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; 
}

@keyframes slideInLine {
  0% {
    transform: skewX(-12deg) scaleX(0) translateX(-15px);
    opacity: 0;
    box-shadow: 0 0 0 0 var(--color-secondary-red);
    background: var(--color-secondary-red);
  }
  50% {
    transform: skewX(-12deg) scaleX(0.85) translateX(0);
    opacity: 1;
    box-shadow: 0 0 0 2px var(--color-secondary-red);
    background: var(--color-secondary-red);
  }
  100% {
    transform: skewX(-12deg) scaleX(1) translateX(0);
    opacity: 1;
    box-shadow: 0 0 0 0 transparent;
    background: var(--color-primary-red);
  }
}

/* ==========================================================================
   3. Buttons & Controls
   ========================================================================== */
.btn-group { display: flex; gap: 48px; align-items: center; }

.btn {
  font: var(--font-button);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

/* btn-primary */
.btn-primary {
  background-color: transparent;
  color: var(--color-primary-red);   
  border-color: var(--color-primary-red);   
}
.btn-primary:hover {
  background-color: var(--color-primary-red);
  color: var(--color-white);
  border-color: var(--color-primary-red);
  transform: translateY(-2px);
}

/* btn-secondary */
.btn-secondary {
  background-color: var(--color-primary-red);
  color: var(--color-white);
  border-color: var(--color-primary-red);
}
.btn-secondary:hover {
  background-color: transparent;
  color: var(--color-primary-red);
  border-color: var(--color-primary-red);
  transform: translateY(-2px);
}

/* CTA red section: override so buttons are visible on red */
.cta-section .btn-primary {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}
.cta-section .btn-primary:hover {
  background-color: #FFFFFF;
  color: var(--color-primary-red);
  border-color: #FFFFFF;
}

.cta-section .btn-secondary {
  background-color: #FFFFFF;
  color: var(--color-primary-red);
  border-color: #FFFFFF;
}
.cta-section .btn-secondary:hover {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

/* ==========================================================================
   4. Header & Navigation
   ========================================================================== */
.top-bar {
  background-color: var(--color-bg-topbar);
  color: var(--color-white);
  font: var(--font-small);
  height: 36px;
  display: flex;
  align-items: center;
}

.header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo img { width: 138px; height: 40px; object-fit: contain; }

.nav { display: flex; gap: 32px; }
.nav a { font: var(--font-header); color: var(--color-text-main); letter-spacing: 0.5px; }
.nav a:hover { color: var(--color-primary-red); }

.lang-toggle { display: flex; align-items: center; gap: 0; }
.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font: var(--font-header);
  font-weight: 600;
  color: var(--color-text-main);
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 0;
}
.lang-btn.active { background-color: var(--color-primary-red); color: var(--color-white); }
.lang-btn:not(.active):hover { background-color: #F2F2F2; }

/* ==========================================================================
   5. Inner Page Hero
   ========================================================================== */
.inner-hero {
  background-color: var(--color-bg-light);
  padding: 80px 0;
  text-align: left;
}

.inner-hero .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 32px;
  row-gap: 0;
}

.inner-hero .eyebrow {
  grid-column: 1 / 4;
  margin-top: 0 !important;
  margin-bottom: 24px !important;
}

.inner-hero h1 {
  font: var(--font-h1);
  font-size: 48px;
  line-height: 1.2 !important;
  color: var(--color-text-main);
  margin-top: 0 !important;
  margin-bottom: 16px !important;
  grid-column: 1 / 4;
}

.inner-hero .desc {
  font: var(--font-body);
  color: var(--color-text-main);
  grid-column: 1 / 2;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

@media (max-width: 1024px) {
  .inner-hero .container {
    grid-template-columns: 1fr;
  }
  .inner-hero .eyebrow,
  .inner-hero h1,
  .inner-hero .desc {
    grid-column: 1 / 2;
  }
}

/* ==========================================================================
   6. CTA Section
   ========================================================================== */
.cta-section {
  background-color: var(--color-primary-red);
  color: var(--color-white);
  padding: 48px 0;
  display: flex;
  align-items: center;
}
.cta-section .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.cta-text { max-width: 60%; }
.cta-section h3 { font: var(--font-h3); margin-bottom: 8px; color: var(--color-white); }
.cta-section p { font: var(--font-body); margin-bottom: 0; color: var(--color-white); }
.cta-section .btn-group { margin: 0; flex-shrink: 0; }

/* ==========================================================================
   7. Footer
   ========================================================================== */
.footer {
  background-color: var(--color-bg-dark);
  color: var(--color-white);
  min-height: 402px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo { height: 40px; width: auto; margin-bottom: 20px; }
.footer-desc { line-height: 1.6; color: var(--color-white); }

.col-2 { display: flex; justify-content: flex-start; gap: 48px; }
.footer-nav { display: flex; flex-direction: column; gap: 48px; }
.footer-nav a {
  font-family: var(--font-header);
  font-weight: 500;
  font-size: 15px;
  line-height: 21px;
  color: var(--color-white);
}
.footer-nav a:hover { opacity: 0.7; }

.footer-info-block { margin-bottom: 16px; }
.footer-heading {
  font-family: var(--font-header);
  font-weight: 500;
  font-size: 15px;
  line-height: 21px;
  color: var(--color-white);
  margin-bottom: 8px;
}
.footer-small {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 21px;
  color: var(--color-white);
  margin-bottom: 0;
}

.info-row { display: flex; margin-bottom: 4px; }
.info-label {
  font-family: var(--font-header);
  font-weight: 500;
  font-size: 14px;
  line-height: 21px;
  width: 80px;
  flex-shrink: 0;
  color: var(--color-white);
}
.info-value {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 21px;
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid var(--color-border-dark);
  padding-top: 24px;
  text-align: left;
}
.footer-copyright {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  line-height: 21px;
  color: var(--color-white);
  margin: 0;
}

/* ==========================================================================
   8. Floating WhatsApp & Utility
   ========================================================================== */
.floating-wa {
  position: fixed;
  right: 32px;
  bottom: 32px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  background: transparent;                 /* no green base */
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

/* Pulse ring: soft green halo behind the icon */
.floating-wa::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #25D366;
  opacity: 0.5;
  animation: wa-pulse 2s ease-out infinite;
  z-index: -1;
}

@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

.floating-wa:hover {
  transform: translateY(-5px) scale(1.05);
}
.floating-wa:hover img { animation: wiggle 0.3s ease-in-out; }

@keyframes wiggle {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  50% { transform: rotate(10deg); }
  75% { transform: rotate(-10deg); }
  100% { transform: rotate(0deg); }
}

.floating-wa img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

/* Bubble */
.wa-bubble {
  position: absolute;
  right: 68px;
  bottom: 50%;
  transform: translateY(50%) scale(0.8);
  transform-origin: bottom right;
  background-color: var(--color-white);
  color: #25D366;
  font-family: var(--font-header);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}
.wa-bubble::after {
  content: '';
  position: absolute;
  right: -5px;
  bottom: 12px;
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--color-white);
}

.floating-wa:hover .wa-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateY(50%) scale(1);
}

/* Mobile: always show bubble */
@media (max-width: 768px) {
  .floating-wa {
    right: 20px;
    bottom: 20px;
    width: 52px;
    height: 52px;
  }

  .floating-wa img {
    width: 52px;
    height: 52px;
  }

  .wa-bubble {
    right: 62px;
    opacity: 1;
    visibility: visible;
    transform: translateY(50%) scale(1);
    font-size: 12px;
    padding: 8px 12px;
  }
}
/* ==========================================================================
   9. Mobile Menu (=768)
   ========================================================================== */

/* Hamburger button: hidden by default */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
  transition: transform 0.3s ease;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-main);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Expanded: whole button rotates 90° — three horizontal lines become three vertical lines */
.menu-toggle.active {
  transform: rotate(90deg);
}

/* Dropdown panel: hidden by default */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  z-index: 105;
}

.mobile-menu.open {
  max-height: 500px;
  opacity: 1;
  padding: 24px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0;
}

.mobile-nav a {
  font: var(--font-header);
  font-size: 16px;
  color: var(--color-text-main);
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border-light);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--color-primary-red); }

body.menu-open { overflow: hidden; }

/* Mobile language toggle — Version B-inline (next to hamburger) */
.mobile-lang-inline {
  display: none;
  align-items: center;
  gap: 0;
  margin-right: 0;
}

.mobile-lang-inline .lang-btn {
  width: 36px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font: var(--font-header);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-main);
  cursor: pointer;
}

.mobile-lang-inline .lang-btn.active {
  background-color: var(--color-primary-red);
  color: var(--color-white);
}

/* =768: hide desktop nav, show hamburger + inline language */
@media (max-width: 768px) {
  .nav { display: none; }
  .lang-toggle { display: none; }
  .mobile-lang-inline { display: flex; }
  .menu-toggle { display: flex; }
  .mobile-menu { display: block; }

  .header-inner {
    justify-content: flex-start;
  }

  .header-inner .logo {
    margin-right: auto;
  }

  .menu-toggle {
    margin-left: 32px;
  }
}

/* ==========================================================================
   10. Responsive — CTA & Footer (=768)
   ========================================================================== */
@media (max-width: 768px) {
  /* CTA: stack vertically */
  .cta-section .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .cta-text {
    max-width: 100%;
  }

  .cta-section .btn-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }

  .cta-section .btn {
    width: 100%;
  }

  /* Footer: single column */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
  }

  .col-2 {
    gap: 32px;
  }

  .footer-nav {
    gap: 16px;
  }
}

/* ==========================================================================
   11. Top Bar — status + contact links
   ========================================================================== */
.top-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.top-bar-status {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.top-bar-links a.tel-link {
  color: #FFD54F;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s ease;
}

.top-bar-links a.wa-link {
  color: #25D366;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s ease;
}

.top-bar-links a:hover {
  opacity: 0.7;
}

.top-bar .sep {
  opacity: 0.4;
}

@media (max-width: 768px) {
  .top-bar-inner {
    gap: 16px;
  }

  .top-bar-status .sep,
  .top-bar-status > span:last-child {
    display: none;
  }

  .top-bar-status,
  .top-bar-links {
    font-size: 12px;
  }
}
/* Footer clickable links */
.footer a.info-value {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s ease;
}

.footer a.info-value:hover {
  opacity: 0.7;
}

/* Footer logo link */
.footer-logo-link {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo-link .footer-logo {
  margin-bottom: 0;
}

/* ==========================================================================
   12. Scroll Reveal (fade-up)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* Also disable the WhatsApp pulse + wiggle */
  .floating-wa::before {
    animation: none;
  }
  .floating-wa:hover img {
    animation: none;
  }
}

/* ==========================================================================
   13. Clickable / zoomable images
   ========================================================================== */
.prod-img {
  transition: transform 0.25s ease;
}
.prod-img:hover {
  transform: scale(1.08);
}

.nav a.active {
  color: var(--color-primary-red);
  font-weight: 600; 
  position: relative;
}

.nav a.active {
  color: var(--color-primary-red);
  font-weight: 600; 
  position: relative;
}

.nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px; 
  width: 100%;
  height: 2px;
  background-color: var(--color-primary-red);
}


.mobile-nav a.active {
  color: var(--color-primary-red);
}

/* ==========================================================================
   Global Lightbox
   ========================================================================== */
.zoomable, .prod-img, .card-img-placeholder img, .gallery-section img {
  cursor: zoom-in;
}

.lightbox {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; user-select: none; }
.lightbox-close {
  position: absolute; top: 24px; right: 24px; width: 44px; height: 44px;
  background: transparent; border: 2px solid #FFF; color: #FFF; font-size: 24px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.15); }