/* Navigation - Based on PencilDev "nav" frame */

/* Main navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 6px 6px 6px 12px;
}

/* Inner container - same background, holds logo + links + CTA */
.navbar-container {
  display: flex;
  align-items: center;
  width: 100%;
  border-radius: var(--corner-default);
  overflow: visible;
}

/* Logo container - same background as links */
.navbar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 12px 20px 12px 16px;
  background: var(--navsurface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  gap: 8.19px;
  border-radius: var(--corner-default) 0 0 var(--corner-default);
  border-top: 1px solid var(--border-primary);
  border-bottom: 1px solid var(--border-primary);
  border-left: 1px solid var(--border-primary);
}

/* Logo - Full 210x33px size */
.logo-img {
  width: 150px;
  height: 24px;
}

.logo-img-mobile {
  display: none;
  width: 100px;
  height: 16px;
}

/* Links container - directly next to logo */
.navbar-links {
  display: flex;
  align-items: center;
  height: 54px;
  overflow: visible;
}

/* Individual nav link */
.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 54px;
  width: 110px;
  padding: 0 6px;
  background: var(--navsurface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-primary);
  border-bottom: 1px solid var(--border-primary);
  border-left: 1px solid var(--border-primary);
  font-family: var(--main-fontfamily);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  overflow: visible;
}

.nav-link:hover {
  background: var(--navsurface);
}

/* SERVICIOS link - top-right and bottom-right border radius */
.nav-link-servicios {
  width: 120px;
  border-radius: 0 var(--corner-default) var(--corner-default) 0;
  border-right: 1px solid var(--border-primary);
  position: relative;
  overflow: visible !important;
  cursor: pointer;
  justify-content: center;
}

/* Reserve extra room so text doesn't crowd the dropdown arrow */
.nav-link-servicios .hover-reveal {
  padding-right: 14px;
}

/* Dropdown arrow icon */
.servicios-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  transition: transform 0.25s ease;
}

#servicios-dropdown-trigger:hover .servicios-arrow {
  transform: translateY(-50%) rotate(180deg);
}

/* ============================================
   SERVICIOS DROPDOWN MENU
   ============================================ */
.servicios-dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  width: 220px;
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(90px);
  -webkit-backdrop-filter: blur(90px);
  border: 1px solid var(--border-primary);
  border-radius: 0 0 var(--corner-default) var(--corner-default);
  border-top: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1002;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.servicios-dropdown--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Show dropdown on hover - CSS only */
#servicios-dropdown-trigger:hover .servicios-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

/* Invisible bridge to keep hover when moving to dropdown */
#servicios-dropdown-trigger::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 2px;
}

.servicios-dropdown-inner {
  background-color: var(--surface-brand);
  backdrop-filter: blur(90px);
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  gap: 0;
  padding: 4px 0;
}

.servicios-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  font-family: var(--main-fontfamily);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-inverted);
  text-decoration: none;
  transition: background-color 0.2s ease;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  min-width: 0;
  white-space: nowrap;
}

.servicios-dropdown-item:last-child {
  border-bottom: none;
}

.servicios-dropdown-item:hover {
  background: var(--surface-accent);
  color: var(--text-primary);
}

.servicios-dropdown-item span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Responsive */
@media only screen and (max-width: 900px) {
  .servicios-dropdown {
    top: calc(100% + 2px);
    left: 0;
    width: 180px;
  }
}

/* CTA wrapper - on the right side */
.cta-wrapper {
  display: flex;
  align-items: center;
  padding: 0px;
  margin-left: 0px;
}

/* CTA Container - absolute positioning for overlap effect */
.cta-container {
  position: relative;
  width: 180px;
  height: 54px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* WhatsApp button - green, behind CTA, slides right on hover */
.cta-whatsapp {
  position: absolute;
  top: 0;
  left: 14.24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: #30CC78;
  border-radius: var(--corner-default);
  border: none;
  z-index: 1;
  transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-whatsapp svg {
  width: 26px;
  height: 26px;
  color: #ffffff;
}

/* Contact button - yellow, on top */
.cta-contact {
  position: absolute;
  top: 0;
  left: 14.24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 54px;
  background: var(--surface-accent, #FFD705);
  border-radius: var(--corner-default);
  font-family: var(--main-fontfamily);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary, #1A1C1F);
  text-decoration: none;
  cursor: pointer;
  z-index: 2;
  overflow: hidden;
  transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Bottom-to-top hover reveal layers */
.cta-contact .cta-card-reveal {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateY(100%);
  z-index: 1;
  pointer-events: none;
}

.cta-contact .cta-card-reveal--brand {
  background: var(--surface-default, #ffffff);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-contact .cta-card-reveal--accent {
  background: var(--surface-brand, #182439);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

/* Hover: sweep both layers up */
.cta-contact:hover .cta-card-reveal--brand {
  transform: translateY(0);
}

.cta-contact:hover .cta-card-reveal--accent {
  transform: translateY(0);
}

/* Hover-out: accent leaves first, then brand */
.cta-contact:not(:hover) .cta-card-reveal--accent {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-contact:not(:hover) .cta-card-reveal--brand {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.08s;
}

/* Hover-in stagger */
.cta-contact:hover .cta-card-reveal--brand {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-contact:hover .cta-card-reveal--accent {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

/* Content stays above reveal layers */
.cta-contact-label {
  position: relative;
  z-index: 2;
  transition: color 0.15s ease 0.25s;
}

.cta-contact:hover .cta-contact-label {
  color: var(--text-inverted, #F5F6F7);
  animation: ctaContactTextColorSweep 0.5s ease forwards;
}

@keyframes ctaContactTextColorSweep {
  0%   { color: var(--text-primary, #1A1C1F); }
  35%  { color: var(--text-primary, #1A1C1F); }
  65%  { color: var(--text-inverted, #F5F6F7); }
  100% { color: var(--text-inverted, #F5F6F7); }
}

.cta-contact-label {
  font-size: 14px;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  overflow: hidden;
  height: 1.2em;
  line-height: 1.2;
}

/* CTA hover: WhatsApp slides right - 5px beside contact button */
.cta-container:hover .cta-whatsapp {
  transform: translateX(100px);
}

/* CTA hover: contact button brightens */
.cta-container:hover .cta-contact {
  filter: brightness(1.12);
}

/* ============================================
   LANGUAGE TOGGLE BUTTON - far right of navbar
   ============================================ */
.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-left: auto;
  height: 54px;
  padding: 0 16px;
  background: var(--surface-brand);
  border: 1px solid var(--border-primary);
  border-left: none;
  border-radius: 0 var(--corner-default) var(--corner-default) 0;
  cursor: pointer;
  font-family: var(--primary-fontfamily);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background 0.2s ease;
}

.lang-toggle-label {
  color: var(--text-tertiary);
  transition: color 0.2s ease;
}

.lang-toggle-label.active {
  color: var(--text-accent);
}

.lang-toggle-divider {
  color: var(--text-tertiary);
  font-size: 12px;
}

.lang-toggle:hover {
  background: var(--surface-brand);
}

.lang-toggle.drawer-active-hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* ============================================
   MOBILE HAMBURGER BUTTON (hidden on desktop)
   ============================================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 100%;
  background: var(--surface-brand);
  border: none;
  border-radius: 0px;
  cursor: pointer;
  margin-left: auto;
  padding: 8px;
  gap: 5px;
  -webkit-appearance: none;
  appearance: none;
}

.hamburger-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.5s;
}

.hamburger-icon.rotate {
  transform: rotate(-90deg);
}

/* ============================================
   DRAWER OVERLAY
   ============================================ */
/* Hamburger hidden when drawer is open */
.hamburger.panel-hide {
  display: none !important;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0);
  visibility: visible;
  transition: background 0.45s ease, visibility 0.45s ease;
}

.drawer-overlay.panel-hide {
  visibility: hidden;
  pointer-events: none;
  background: rgba(0, 0, 0, 0);
}

.drawer-overlay:not(.panel-hide) {
  background: rgba(0, 0, 0, 0.45);
}

.drawer {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: var(--surface-brand);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(0);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-hide .drawer {
  transform: translateX(-100%);
}

/* Staggered entrance for drawer content items */
.drawer-link,
.drawer-accordion-item,
.drawer-cta,
.drawer-contact-info {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.35s ease, transform 0.35s ease, background 200ms ease;
}

.drawer-overlay:not(.panel-hide) .drawer-link,
.drawer-overlay:not(.panel-hide) .drawer-accordion-item,
.drawer-overlay:not(.panel-hide) .drawer-cta,
.drawer-overlay:not(.panel-hide) .drawer-contact-info {
  opacity: 1;
  transform: translateX(0);
}

.drawer-overlay:not(.panel-hide) .drawer-link:nth-child(1) { transition-delay: 0.12s; }
.drawer-overlay:not(.panel-hide) .drawer-link:nth-child(2) { transition-delay: 0.18s; }
.drawer-overlay:not(.panel-hide) .drawer-link:nth-child(3) { transition-delay: 0.24s; }
.drawer-overlay:not(.panel-hide) .drawer-accordion-item   { transition-delay: 0.24s; }
.drawer-overlay:not(.panel-hide) .drawer-cta:nth-child(1)  { transition-delay: 0.30s; }
.drawer-overlay:not(.panel-hide) .drawer-cta:nth-child(2)  { transition-delay: 0.36s; }
.drawer-overlay:not(.panel-hide) .drawer-contact-info      { transition-delay: 0.42s; }

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

.drawer-logo {
  width: 120px;
  height: 20px;
}

.drawer-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
}

.drawer-close svg {
  width: 24px;
  height: 24px;
  color: var(--text-inverted);
}

.drawer-content {
  background-color: var(--surface-brand);
  display: flex;
  flex-direction: column;
  padding: 0px;
  gap: 50px;
  flex: 1;
  overflow-y: auto;
}

.drawer-contact-info {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 15px;
  border-top: 1px solid rgba(245, 246, 247, 0.15);
}

.drawer-contact-item {
  font-family: var(--main-fontfamily);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-inverted);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.drawer-contact-item:hover {
  opacity: 1;
}

.drawer-links-container,
.drawer-cta-container {
  margin: 0;
  padding: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  width: 100%;
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 100%;
  padding: 0 15px;
  margin: 0;
  background: var(--surface-brand);
  border-bottom: 1px solid var(--border-secondary);
  border-radius: 0px;
  font-family: var(--main-fontfamily);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-inverted);
  text-decoration: none;
  transition: background 200ms ease;
}

.drawer-link:hover {
  background: var(--surface-accent);
  color: var(--text-primary);
}

.drawer-divider {
  height: 1px;
  background: var(--border-light);
  margin: 10px 0;
}

.drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  margin: 0;
  padding: 0;
  border-radius: 9999px;
  font-family: var(--main-fontfamily);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: filter 200ms ease;
}

.drawer-cta.whatsapp {
  background: #30CC78;
  color: var(--surface-primary);
  margin-bottom: 10px;
  width: 95%;
  border-radius: 9999px;
}

.drawer-cta.contact {
  background: var(--surface-accent);
  color: var(--text-primary);
  border: 0px solid var(--border-primary);
  width: 95%;
}

.drawer-cta:hover {
  filter: brightness(1.1);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media only screen and (max-width: 900px) {
  .navbar {
    padding: 6px 8px 6px 12px;
  }

  .navbar-logo {
    height: 54px;
    padding: 10px 16px 10px 12px;
  }

  .logo-img {
    width: 120px;
    height: 19px;
  }

  .navbar-links {
    height: 54px;
  }

  .nav-link {
    height: 54px;
    width: 90px;
    font-size: 13px;
    padding: 0 6px;
  }

  .nav-link-servicios {
    width: 120px;
  }

  .nav-link-servicios .hover-reveal {
    padding-right: 20px;
  }

  .cta-wrapper {
    padding: 4px;
  }

  .cta-container {
    width: 150px;
    height: 54px;
  }

  .cta-whatsapp {
    width: 54px;
    height: 54px;
    left: 12px;
  }

  .cta-whatsapp svg {
    width: 22px;
    height: 22px;
  }

  .cta-contact {
    width: 90px;
    height: 54px;
    left: 12px;
    top: 0;
    border-radius: var(--corner-default);
    font-size: 13px;
  }

  /* CTA hover: WhatsApp slides right - right beside contact button */
  .cta-container:hover .cta-whatsapp {
    transform: translateX(90px);
  }

  /* Hero wrapper tablet */
  .hero-wrapper {
    height: 280px;
    padding: 10px 10px 0 10px;
    align-items: flex-start;
    transition: align-items 0.3s ease;
  }

  .hero-logo-container {
    width: 100%;
    height: auto;
    justify-content: flex-start;
    transition: justify-content 0.3s ease;
  }

  .hero-typography-logo {
    width: 400px;
    height: auto;
    margin-top: 140px;
    max-width: 100%;
  }

  .hero-divider {
    width: 100%;
  }

  /* Hero bottom tablet */
  .hero-bottom {
    padding: 30px 40px;
    gap: 120px;
    align-items: flex-start;
  }
}

@media only screen and (max-width: 600px) {
  /* Navbar takes 10% of viewport height on mobile */
  .navbar {
    height: 10vh;
    min-height: 50px;
  }
  
  .navbar-container {
    height: 100%;
  }

  /* Hide desktop nav elements on mobile */
  .navbar-links,
  .cta-wrapper {
    display: none !important;
  }

  /* Language toggle on mobile */
  .lang-toggle {
    font-family: var(--main-fontfamily);
    margin-left: auto;
    height: 100%;
    padding: 0 12px;
    font-size: 12px;
    border-radius: 0;
    border: 1px solid var(--border-primary);
    border-left: none;
    border-right: none;
  }

  /* Show hamburger on mobile */
  .hamburger {
    display: flex;
    height: 100%;
    width: 71px;
    margin-left: 0;
    border-radius: var(--corner-default);
  }

  /* Smaller logo on mobile */
  .navbar-logo {
    display: flex;
    height: 100%;
    padding: 8px 12px;
    border-radius: 0px;
    background: var(--navsurface);
    border: 1px solid black;
  }

  .logo-img {
    display: none;
  }

  .logo-img-mobile {
    display: block;
    width: 150px;
    height: 24px;
  }

  /* Hero wrapper mobile */
  .hero-wrapper {
    height: auto;
    padding: 8px 8px 0 8px;
    align-items: center;
  }

  .hero-logo-container {
    width: 100%;
    height: auto;
    justify-content: center;
  }

  .hero-typography-logo {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin-top: 80px;
  }

  .hero-divider {
    width: 100%;
  }

  /* Hero bottom mobile */
  .hero-bottom {
    margin-top: 30px;
    padding: 24px 24px;
    gap: 60px;
    align-items: flex-start;
  }

  /* CTA Card mobile */
  .cta-card {
    align-self: flex-start;
    width: 160px;
    height: 85px;
  }

  .cta-card-text-area {
    padding: 12px 14px 0 14px;
  }

  .cta-card-label {
    font-size: 16px;
  }

  .cta-card-arrow-area {
    padding: 0 12px 12px 12px;
  }

  .cta-card-arrow {
    width: 22px;
    height: 22px;
  }
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Background Container */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

/* Video Background */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Mobile: video background only, no fallback image */
@media only screen and (max-width: 768px) {
  .hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
  }
}

/* Dark Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 7, 22, 0.4);
  z-index: 2;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 50px;
  width: 100%;
  height: 100%;
  min-height: 100vh;
}

/* Wrapper with Typography Logo */
.hero-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  width: 100%;
  max-width: 100%;
  height: 248px;
  padding: 10px 10px 0 10px;
  gap: 4px;
  transition: align-items 0.3s ease;
}

.hero-divider {
  width: 100%;
  height: 2px;
  background: var(--text-inverted);
}

.hero-logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  padding-inline: 28px;
  height: 248px;
  transition: justify-content 0.3s ease;
}

.hero-typography-logo {
  width: 850px;
  max-width: 100%;
  height: 300px;
  margin-top: 150px;
}

/* Bottom Container with Headlines */
.hero-bottom {
  
  display: flex;
  border-top: 3px solid var(--border-light);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  padding: 100px 28px 0 28px ;
  gap: 80px;
  margin-bottom: 60px;
}

.hero-headline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.hero-headline br {
  display: none;
}

.hero-headline .headline-text {
  font-family: var(--main-fontfamily);
  font-size: clamp(12vw, 6vw, 12vw);
  font-weight: 50;
  letter-spacing: 0.001em;
  line-height: 1;
  color: var(--text-inverted);
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
  display: inline-block;
  position: relative;
}

/* Block Reveal Animation */
.has-animation {
  position: relative;
  display: inline-block;
}

.has-animation.headline-text {
  opacity: 0;
}

.has-animation.animate-in {
  opacity: 1;
  animation: textHidden 0.1s 0.6s forwards;
}

.has-animation.animate-in:before,
.has-animation.animate-in:after {
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  z-index: 10;
}

.has-animation.animate-in:before {
  background-color: var(--surface-accent);
}

.has-animation.animate-in:after {
  background-color: var(--text-brand);
  animation-delay: 0.3s;
}

.has-animation.animation-ltr.animate-in:before {
  animation: revealLTR 0.8s ease;
}

.has-animation.animation-ltr.animate-in:after {
  animation: revealLTR 0.5s 0.3s ease;
}

.has-animation.animation-rtl.animate-in:before {
  animation: revealRTL 0.8s ease;
}

.has-animation.animation-rtl.animate-in:after {
  animation: revealRTL 0.5s 0.3s ease;
}

@keyframes revealRTL {
  0% {
    width: 0;
    right: 0;
  }
  65% {
    width: 100%;
    right: 0;
  }
  100% {
    width: 0;
    right: 100%;
  }
}

@keyframes revealLTR {
  0% {
    width: 0;
    left: 0;
  }
  65% {
    width: 100%;
    left: 0;
  }
  100% {
    width: 0;
    left: 100%;
  }
}

@keyframes textHidden {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media only screen and (max-width: 540px) {
  .hero-headline .headline-text {
    text-align: left;
  }
}

.text-white {
  color: white;
}

.text-highlight {
  color: white;
  padding: 28px 24px;
}

.text-yellow {
  background: var(--surface-accent);
  color: var(--text-brand);
  padding: 28px;
}

/* Section Placeholder */
.section-placeholder {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-primary);
  padding: 50px;
}

.section-placeholder h2 {
  font-family: var(--sec-fontfamily);
  font-size: 32px;
  color: var(--text-primary);
}

/* ============================================
   DESCRIPTION SECTION
   ============================================ */
.description-section {
  width: 100%;
  min-height: 426px;
  height: auto;
  background: var(--surface-primary);
  border-bottom: 1px solid var(--border-dark);
  overflow: hidden;
}

.description-wrapper {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

/* Left column — image + decorative lines */
.description-left {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 10px;
  width: 497px;
  flex-shrink: 0;
  padding: 140px 66px 0 84px;
  height: 100%;
}

.description-line {
  display: block;
  height: 1px;
  background: #D9D9D9;
  flex-shrink: 0;
}

.description-line--long {
  width: 27px;
}

.description-line--short {
  width: 3px;
}

.description-img {
  width: 130px;
  height: 171px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Right column — text */
.description-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 83px;
  flex: 1;
  padding: 73px 71px 87px 32px;
  border-left: 1px solid var(--border-dark);
  height: 100%;
}

.description-text-container {
  display: flex;
  justify-content: flex-end;
  padding: 22px;
}

.description-text {
  font-family: var(--main-fontfamily);
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-primary);
  max-width: 569px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: right;
}

/* Description section responsive */
@media only screen and (max-width: 1100px) {
  .description-text {
    max-width: 450px;
  }
}

@media only screen and (max-width: 900px) {
  .description-section {
    height: auto;
  }

  .description-wrapper {
    flex-direction: column;
  }

  .description-left {
    width: 100%;
    padding: 60px 40px 0 40px;
    justify-content: flex-end;
    height: 100%;
  }

  .description-right {
    border-left: none;
    border-top: 1px solid var(--border-dark);
    padding: 40px;
  }

  .description-text {
    font-size: clamp(20px, 2.5vw, 24px);
  }
}

@media only screen and (max-width: 600px) {
  .description-left {
    padding: 40px 24px 30px 24px;
  }

  .description-right {
    padding: 30px 24px;
    border-top: none;
  }

  .description-text {
    font-size: 20px;
  }

  .description-text-container {
    padding: 0;
  }
}

/* ============================================
   VPS SECTION (Value Proposition)
   ============================================ */
.vps-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

/* --- Wrapper 01: two-column --- */
.vps-wrapper01 {
  display: flex;
  gap: 28px;
  width: 100%;
  height: 1504px;
  padding: 28px;
  background: var(--surface-primary);
  overflow: hidden;
}

.vps-w01-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 121px 0 78px 0;
  gap: 82px;
  overflow: hidden;
}

.vps-w01-right {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 118px 0 8px 0;
  gap: 30px;
  overflow: hidden;
}

/* Shared stat block */
.vps-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  width: 100%;
  max-width: 588px;
}

.vps-stat-number {
  font-family: var(--main-fontfamily);
  font-size: clamp(120px, 21vw, 300px);
  font-weight: 500;
  color: #000000;
  letter-spacing: -9px;
  line-height: 0.95;
}

.vps-stat-label {
  font-family: var(--main-fontfamily);
  font-size: clamp(40px, 6.1vw, 88px);
  font-weight: 500;
  color: black;
  letter-spacing: -2.65px;
  line-height: 0.95;
}

/* Mobile-only subtitle (hidden on desktop) */
.vps-mobile-subtitle {
  display: none;
}

/* Wrapper 01 images */
.vps-w01-left-img {
  width: 100%;
  height: 886px;
  overflow: hidden;
  padding: 8px 0;
}

.vps-w01-left-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vps-w01-right-img {
  width: 100%;
  height: 634px;
  overflow: hidden;
  padding: 8px;
}

.vps-w01-right-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Subtitle text shared */
.vps-subtitle-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vps-subtitle {
  font-family: var(--main-fontfamily);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-primary);
}

/* --- Wrapper 02: vertical stat → image → text --- */
.vps-wrapper02 {
  width: 100%;
  padding: 0 28px 28px 28px;
  background: var(--surface-primary);
  overflow: hidden;
  border-bottom: solid 1px var(--border-primary);
}

.vps-w02-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 62px;
  padding: 0px 0 78px 0;
  overflow: hidden;
}

.vps-stat--end {
  align-items: flex-end;
}

.vps-w02-content {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  gap: 56px;
}

.vps-w02-img {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 0 0 8px 0;
}

.vps-w02-img img {
  width: 100%;
  height: 770px;
  object-fit: cover;
  display: block;
}

.vps-w02-text-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 0;
  width: 429px;
}

.vps-w02-text-container .vps-subtitle {
  max-width: 429px;
}

/* VPS responsive — tablet */
@media only screen and (max-width: 900px) {
  .vps-wrapper01 {
    flex-direction: column;
    height: auto;
    padding: 15px 8px;
    gap: 12px;
  }

  .vps-w01-left {
    padding: 15px 0;
    gap: 20px;
  }

  .vps-w01-right {
    display: none;
  }

  .vps-stat {
    max-width: 100%;
    padding: 0 22px 0 31px;
    gap: 13px;
  }

  .vps-stat-number {
    font-size: 127px;
    color: var(--text-primary);
    letter-spacing: -3.81px;
  }

  .vps-stat-label {
    font-size: 54.5px;
    color: black;
    letter-spacing: -1.64px;
  }

  .vps-mobile-subtitle {
    display: block;
    font-family: var(--main-fontfamily);
    font-size: 15.3px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.46px;
    line-height: 1.35;
    text-align: right;
    width: 100%;
    max-width: 323px;
    align-self: flex-end;
    margin-right: 0px;
  }

  .vps-w01-left-img {
    height: 342px;
    padding: 0;
  }

  .vps-w01-left-img img {
    object-fit: cover;
  }

  /* Wrapper 02 mobile */
  .vps-wrapper02 {
    padding: 28px 8px;
    border-bottom: 1px solid var(--border-primary);
  }

  .vps-w02-col {
    padding: 15px 0;
    gap: 49px;
    align-items: flex-end;
  }

  .vps-stat--end {
    align-items: flex-end;
    gap: 21px;
  }

  .vps-w02-content {
    flex-direction: column;
    width: auto;
    max-width: 319px;
    align-self: flex-end;
  }

  .vps-w02-img img {
    height: 245px;
    width: 70vw;
  }

  .vps-w02-text-container {
    display: none;
  }
}

/* VPS responsive — small mobile */
@media only screen and (max-width: 600px) {
  .vps-stat-number {
    font-size: clamp(80px, 34vw, 127px);
  }

  .vps-stat-label {
    font-size: clamp(36px, 14.5vw, 54.5px);
  }

  .vps-w01-left-img {
    height: 280px;
  }

  .vps-w02-img img {
    height: 200px;
  }
}

/* CTA Card - Cotizar Proyecto */
.cta-card {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  width: 100%;
  max-width: 400px;
  height: 80px;
  background: var(--surface-default, #ffffff);
  border-radius: var(--corner-default);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Bottom-to-top hover reveal layers */
.cta-card-reveal {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateY(100%);
  z-index: 1;
  pointer-events: none;
}

.cta-card-reveal--brand {
  background: var(--surface-brand, #182439);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-card-reveal--accent {
  background: var(--surface-accent, #FFD705);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

/* Hover: sweep both layers up */
.cta-card:hover .cta-card-reveal--brand {
  transform: translateY(0);
}

.cta-card:hover .cta-card-reveal--accent {
  transform: translateY(0);
}

/* Hover-out: accent leaves first, then brand */
.cta-card .cta-card-reveal--accent {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-card .cta-card-reveal--brand {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.08s;
}

.cta-card:hover .cta-card-reveal--brand {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-card:hover .cta-card-reveal--accent {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

/* Content stays above reveal layers */
.cta-card-text-area,
.cta-card-arrow-area {
  position: relative;
  z-index: 2;
}

/* Text color: dark at rest, inverted mid-sweep, dark at final */
.cta-card .cta-card-label {
  color: var(--text-primary, #1A1C1F);
  transition: color 0.15s ease 0.25s;
}

.cta-card:hover .cta-card-label {
  color: var(--text-primary, #1A1C1F);
  animation: ctaTextColorSweep 0.5s ease forwards;
}

.cta-card .cta-card-arrow {
  transition: filter 0.15s ease 0.25s;
}

.cta-card:hover .cta-card-arrow {
  animation: ctaArrowColorSweep 0.5s ease forwards;
}

/* Text color keyframes: dark → inverted → dark */
@keyframes ctaTextColorSweep {
  0%   { color: var(--text-primary, #1A1C1F); }
  35%  { color: var(--text-inverted, #F5F6F7); }
  65%  { color: var(--text-inverted, #F5F6F7); }
  100% { color: var(--text-primary, #1A1C1F); }
}

/* Arrow color keyframes: dark → light → dark */
@keyframes ctaArrowColorSweep {
  0%   { filter: none; }
  35%  { filter: brightness(0) saturate(100%) invert(1); }
  65%  { filter: brightness(0) saturate(100%) invert(1); }
  100% { filter: none; }
}

.cta-card-text-area {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0 24px;
}

.cta-card-label {
  font-family: var(--sec-fontfamily);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary, #1A1C1F);
  letter-spacing: 0.5px;
}

.cta-card-arrow-area {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 24px 0 0;
}

.cta-card-arrow-area .hover-reveal {
  width: 28px;
  height: 28px;
}

.cta-card-arrow-area .hover-reveal-text {
  height: 28px;
}

.cta-card-arrow {
  display: block;
  width: 28px;
  height: 28px;
  color: var(--text-brand);
  flex-shrink: 0;
}

/* ============================================
   FEATURED PROJECTS SECTION (Mobile First)
   ============================================ */
.featured-projects {
  display: flex;
  flex-direction: column;
  align-items: flex start;
  width: 100%;
  padding: 60px 40px;
  background: var(--surface-primary);
  border-bottom: 1px solid var(--border-dark);
}

/* Cap inner content width on large screens */
.featured-projects-header,
.fp-projects-list,
.fp-see-all-btn {
  width: 100%;
  max-width: 1440px;
}

.featured-projects-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.fp-header-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fp-header-label {
  font-family: var(--sec-fontfamily);
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 2px;
}

/* Featured Projects responsive — tablet */
@media only screen and (max-width: 900px) {
  .fp-header-title {
    font-size: 54.5px;
    color: var(--text-primary);
    letter-spacing: -1.64px;
  }
}

/* Featured Projects responsive — small mobile */
@media only screen and (max-width: 600px) {
  .fp-header-title {
    font-size: clamp(32px, 14.5vw, 54.5px);
  }
}

.fp-header-title {
  font-family: var(--main-fontfamily);
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -2.65px;
  line-height: 0.95;
}

.fp-projects-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  column-gap: 20px;
}

.fp-project-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-primary);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.fp-project-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--surface-secondary);
  position: relative;
}

.fp-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fp-project-image .fp-project-date {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--sec-fontfamily);
  font-size: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 500;
  color: var(--text-inverted);
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 8px;
}

.fp-project-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 20px 20px 0;
  gap: 24px;
  position: relative;
}


.fp-project-name {
  font-family: var(--main-fontfamily);
  font-size: 28px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 2.7em;
}

.fp-project-name .fp-slide-text {
  flex-shrink: 0;
  height: 2.7em;
  line-height: 1.35;
  display: block;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.fp-project-card:hover .fp-project-name .fp-slide-text {
  transform: translateY(-100%);
}

.fp-project-name--accent {
  color: var(--text-accent2, #1444F0);
}

.fp-project-arrow {
  width: 32px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 32px;
  margin-top: 3px;
}

.fp-project-arrow .fp-slide-text {
  flex-shrink: 0;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.fp-project-card:hover .fp-project-arrow .fp-slide-text {
  transform: translateY(-100%);
}

.fp-project-arrow img {
  width: 32px;
  height: 32px;
  display: block;
}

.fp-arrow--accent img {
  filter: brightness(0) saturate(100%) invert(21%) sepia(93%) saturate(4961%) hue-rotate(228deg) brightness(96%) contrast(95%);
}

.fp-see-all-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  background: var(--surface-brand, #182439);
  color: var(--text-inverted, #F5F6F7);
  font-family: var(--main-fontfamily);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
}

.fp-see-all-btn .cta-card-reveal {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateY(100%);
  z-index: 1;
  pointer-events: none;
}

.fp-see-all-btn .cta-card-reveal--brand {
  background: var(--surface-default, #ffffff);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.fp-see-all-btn .cta-card-reveal--accent {
  background: var(--surface-accent, #FFD705);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.fp-see-all-btn:hover .cta-card-reveal--brand {
  transform: translateY(0);
}

.fp-see-all-btn:hover .cta-card-reveal--accent {
  transform: translateY(0);
}

/* Hover-out: accent leaves first, then brand */
.fp-see-all-btn:not(:hover) .cta-card-reveal--accent {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fp-see-all-btn:not(:hover) .cta-card-reveal--brand {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.08s;
}

/* Hover-in stagger */
.fp-see-all-btn:hover .cta-card-reveal--brand {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.fp-see-all-btn:hover .cta-card-reveal--accent {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.fp-see-all-btn-text {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  overflow: hidden;
  height: 1.4em;
  line-height: 1.4;
  color: var(--text-inverted, #F5F6F7);
  transition: color 0.15s ease 0.25s;
}

.fp-see-all-btn-arrow {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  color: var(--text-inverted, #F5F6F7);
  transition: transform 0.3s ease, color 0.15s ease 0.25s;
}

/* Back variant: arrow sits to the left of text, above the header */
.fp-see-all-btn--back {
  justify-content: space-around;
  padding-inline: 10px;
  display: inline-flex;
  flex-direction: row;
  gap: 12px;
  width: auto;
  align-self: flex-start;
  margin-top: 0;
  margin-bottom: 60px;
}

.fp-see-all-btn--back .fp-see-all-btn-arrow {
  order: -1;
}

.fp-see-all-btn:hover .fp-see-all-btn-arrow {
  transform: translateX(-4px);
  color: var(--text-primary, #1A1C1F);
}

.fp-see-all-btn:hover .fp-see-all-btn-text {
  color: var(--text-primary, #1A1C1F);
  animation: fpSeeAllTextColorSweep 0.5s ease forwards;
}

@keyframes fpSeeAllTextColorSweep {
  0%   { color: var(--text-inverted, #F5F6F7); }
  35%  { color: var(--text-inverted, #F5F6F7); }
  65%  { color: var(--text-primary, #1A1C1F); }
  100% { color: var(--text-primary, #1A1C1F); }
}

.fp-see-all-btn-text .hover-reveal-text {
  display: block;
  flex-shrink: 0;
  height: 1.4em;
  line-height: 1.4;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.fp-see-all-btn:hover .fp-see-all-btn-text .hover-reveal-text {
  transform: translateY(-100%);
}

.fp-see-all-btn:hover .fp-see-all-btn-text {
  color: var(--text-primary);
  animation: fpSeeAllTextColorSweep 0.5s ease forwards;
}

@keyframes fpSeeAllTextColorSweep {
  0%   { color: var(--text-inverted); }
  35%  { color: var(--text-primary); }
  65%  { color: var(--text-primary); }
  100% { color: var(--text-primary); }
}

/* Featured Projects responsive — tablet */
@media only screen and (max-width: 900px) {
  .fp-header-title {
    font-size: 54.5px;
    color: var(--text-primary);
    letter-spacing: -1.64px;
  }

  .featured-projects-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
  }

  .fp-projects-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    column-gap: 20px;
  }

  .fp-project-card:nth-child(3),
  .fp-project-card:nth-child(4) {
    display: none;
  }

  .fp-see-all-btn {
    display: flex;
    align-items: center;
    margin-top: 32px;
    width: auto;
  }
}

/* Featured Projects responsive — small mobile */
@media only screen and (max-width: 600px) {
  .fp-header-title {
    font-size: clamp(36px, 14.5vw, 54.5px);
  }

  .featured-projects-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
  }

  .fp-projects-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    column-gap: 20px;
  }

  .fp-project-card:nth-child(3),
  .fp-project-card:nth-child(4) {
    display: none;
  }

  .fp-see-all-btn {
    width: 100%;
    margin-top: 24px;
  }
}

/* Featured Projects Desktop */
@media only screen and (min-width: 901px) {
  .featured-projects {
    padding: 60px 28px;
    position: relative;
  }

  .featured-projects-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
  }

  .fp-header-text {
    flex-direction: column;
    gap: 8px;
  }

  .fp-projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    column-gap: 20px;
  }

  .fp-project-image {
    height: 0;
    padding-bottom: 65%;
  }

  .fp-project-image img {
    position: absolute;
    inset: 0;
  }

  .fp-project-content {
    padding: 24px 24px 24px 0;
  }

  .fp-project-name {
    font-size: 32px;
    height: 2.7em;
  }

  .fp-project-name .fp-slide-text {
    height: 2.7em;
    line-height: 1.35;
  }

  .fp-see-all-btn:not(.fp-see-all-btn--back) {
    position: absolute;
    top: 40px;
    right: 28px;
    width: auto;
    padding: 0 48px;
    height: 54px;
    margin-top: 0;
    flex-shrink: 0;
    margin-top: 24px;
  }

  .fp-see-all-btn--back {
    width: auto;
    padding: 0 32px;
    align-self: flex-start;
  }
}

/* ============================================
   SCROLL REVEAL ANIMATION
   ============================================ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Drawer Accordion Styles */
.drawer-accordion-item {
  position: relative;
  width: 100%;
}

.drawer-accordion-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  border-bottom: 1px solid var(--border-secondary);
  cursor: pointer;
}

.drawer-accordion-arrow {
  position: absolute;
  right: 20px;
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, filter 0.2s ease;
}

.drawer-accordion-toggle:hover .drawer-accordion-arrow {
  filter: brightness(0) invert(0.1);
}

.drawer-accordion-item.active .drawer-accordion-arrow {
  transform: rotate(180deg);
}

.drawer-accordion-item.active .drawer-accordion-toggle:hover .drawer-accordion-arrow {
  filter: brightness(0) invert(0.1);
}

.drawer-accordion-content {
  display: none;
  background-color: var(--surface-brand);
}

.drawer-accordion-item.active .drawer-accordion-content {
  display: block;
}

.drawer-sublink {
  background-color: var(--surface-secondary);
  display: block;
  padding: 12px 20px;
  color: var(--text-primary);
  font-size: 14px;
  border-bottom: 1px solid var(--border-primary);
  text-decoration: none;
}

.drawer-sublink:last-child {
  border-bottom: none;
}

.drawer-sublink:hover {
  background-color: var(--surface--secondary-hover);
}