@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;900&display=swap');

:root {
  --black: #000000;
  --white: #ffffff;
  --orange: #ff6600;
}

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

.text-orange {
  color: var(--orange) !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  color: var(--black);
  background: var(--white);
  font-family: 'Outfit', Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 100px;
  /* Mobile header height */
}

@media (min-width: 992px) {
  body {
    padding-top: 150px;
    /* Topbar + Header height */
  }
}

a {
  color: inherit;
  text-decoration: none;
}

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

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--orange);
}

.topbar {
  background: var(--black);
  color: var(--white);
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 2px solid var(--orange);
}

.topbar-links,
.topbar-social,
.footer-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.topbar-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.topbar-contact-item span {
  color: var(--orange);
  font-weight: bold;
  margin: 0 5px;
}

.topbar-contact-item a {
  color: var(--white);
  transition: color 0.3s ease;
}

.topbar-contact-item a:hover {
  color: var(--orange);
}

@media (max-width: 991px) {
  .topbar-social {
    display: none;
  }
}

.topbar a:hover,
.footer a:hover {
  color: var(--orange);
}

.topbar i,
.footer i {
  color: var(--orange);
  font-size: 1.1rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3000;
  background: var(--white);
  border-bottom: 4px solid var(--orange);
  transition: all 0.3s ease;
}

@media (min-width: 992px) {
  .site-header {
    top: 48px;
    /* Initial topbar height */
  }

  .site-header.header-scrolled {
    top: 0;
  }
}

.site-header.header-scrolled {
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 5px 0;
}

.brand img {
  width: 180px;
  height: auto;
  padding: 12px 0;
  transition: all 0.3s ease;
}

.site-header.header-scrolled .brand img {
  width: 140px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 15px;
  color: var(--black);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  border-bottom: 3px solid var(--white);
}

.main-nav a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.nav-toggle {
  display: none;
  background: var(--orange);
  border: 2px solid var(--black);
  font-size: 32px;
  color: var(--black);
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2100;
}

.nav-toggle.is-open {
  background: var(--black);
  color: var(--orange);
  border-color: var(--orange);
}

.nav-close {
  display: none;
}

.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--black);
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 880px;
  padding-top: 80px;
  padding-bottom: 80px;
}

.eyebrow {
  color: var(--orange);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 15px;
  display: block;
}

.hero h1 {
  font-size: clamp(42px, 8vw, 86px);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero h2 {
  font-size: clamp(18px, 3vw, 30px);
  font-weight: 600;
  margin-bottom: 40px;
  color: var(--white);
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 32px;
  border-radius: 4px;
  font-weight: 900;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid currentColor;
}

.btn-orange {
  background: var(--orange);
  color: var(--black);
}

.btn-orange:hover {
  background: var(--black);
  color: var(--orange);
}

.btn-white {
  background: var(--white);
  color: var(--black);
}

.btn-white:hover {
  background: var(--black);
  color: var(--white);
}

.section {
  padding: 96px 0;
  background: var(--white);
  color: var(--black);
}

.section-black {
  background: var(--black);
  color: var(--white);
}

.section-orange {
  background: var(--orange);
  color: var(--black);
}

.section-title {
  margin-bottom: 54px;
}

.section-title h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  margin-bottom: 15px;
  line-height: 1.08;
}

.section-title p {
  font-size: 18px;
}

.feature-img {
  width: 100%;
  min-height: 340px;
  object-fit: cover;
  border: 6px solid var(--black);
  border-radius: 8px;
}

.section-black .feature-img,
.section-orange .feature-img {
  border-color: var(--white);
}

.content-panel,
.text-card,
.note-panel,
.contact-card,
.spec-card,
.application-grid article,
.product-card {
  background: var(--white);
  color: var(--black);
  border: 3px solid var(--black);
  border-radius: 8px;
}

.content-panel {
  padding: 40px;
  border-left: 10px solid var(--orange);
  height: 100%;
}

.content-panel h3,
.text-card h3,
.note-panel h3,
.contact-card h3,
.spec-card h3,
.application-grid h3,
.product-card h3,
.value-card h3 {
  font-weight: 900;
  margin-bottom: 15px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 30px;
}

.quick-grid span,
.value-list span,
.benefit-row span {
  background: var(--black);
  color: var(--white);
  padding: 10px 14px;
  text-align: center;
  border-radius: 4px;
  font-weight: 800;
  border: 2px solid var(--orange);
}

.section-orange .benefit-row span {
  background: var(--black);
  color: var(--white);
  border-color: var(--white);
}

.value-card {
  padding: 40px;
  border: 3px solid var(--orange);
  border-radius: 8px;
  height: 100%;
  background: var(--black);
  color: var(--white);
}

.value-card i {
  font-size: 40px;
  color: var(--orange);
  margin-bottom: 20px;
  display: block;
}

.value-card h3 {
  color: var(--orange);
}

.core-values {
  margin-top: 60px;
  text-align: center;
}

.core-values h3 {
  margin-bottom: 30px;
}

.pillar-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid var(--orange);
  text-align: left;
  height: 100%;
  transition: transform 0.3s ease;
}

.pillar-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.pillar-item strong {
  display: block;
  font-size: 18px;
  color: var(--orange);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.pillar-item p {
  font-size: 14px;
  margin: 0;
  color: #ccc;
  line-height: 1.5;
}

.benefit-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 24px;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.application-grid article {
  padding: 30px;
  border: 3px solid var(--black);
  border-radius: 8px;
  background: var(--white);
  transition: all 0.3s ease;
}

.application-grid article:hover {
  border-color: var(--orange);
  transform: translateY(-5px);
}

.application-grid i {
  font-size: 32px;
  color: var(--orange);
  margin-bottom: 15px;
  display: block;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 36px;
}

.product-card {
  display: flex;
  overflow: hidden;
}

.product-card img {
  width: 40%;
  object-fit: cover;
  border-right: 3px solid var(--black);
}

.product-card>div {
  padding: 30px;
  width: 60%;
}

.product-card h3,
.spec-card h3,
.text-card h3 {
  color: var(--orange);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.steps article {
  text-align: center;
  padding: 30px;
  border: 3px solid var(--orange);
  border-radius: 8px;
}

.steps span {
  font-size: 60px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.advantage-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  height: 100%;
  transition: all 0.3s ease;
}

.advantage-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}

.advantage-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--orange);
  text-transform: uppercase;
  font-weight: 700;
}

.advantage-card p {
  font-size: 14px;
  margin: 0;
  color: #ccc;
  line-height: 1.6;
}

.spec-card {
  padding: 30px;
  border-bottom: 8px solid var(--orange);
}

.spec-card i {
  font-size: 32px;
  color: var(--orange);
  margin-bottom: 15px;
  display: block;
}

.spec-card h3 {
  border-bottom: 2px solid var(--black);
  padding-bottom: 10px;
}

.text-card {
  padding: 30px;
  height: 100%;
}

.note-panel {
  padding: 40px;
  margin-top: 30px;
  border-left: 10px solid var(--orange);
}

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

.gallery-grid a {
  border: 4px solid var(--orange);
  border-radius: 12px;
  overflow: hidden;
  background: var(--black);
  display: block;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-grid a:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255, 102, 0, 0.2);
  border-color: var(--white);
  z-index: 10;
}

.gallery-grid img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-grid a:hover img {
  transform: scale(1.1);
}

/* Partners Section */
.partners-slider {
  overflow: hidden;
  padding: 40px 0;
  background: var(--white);
  border-top: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  position: relative;
}

.partners-track {
  display: flex;
  width: calc(250px * 60);
  /* 30 logos * 2 sets for infinite loop */
  animation: scroll 60s linear infinite;
}

.partners-track:hover {
  animation-play-state: paused;
}

.partner-slide {
  width: 250px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
}

.partner-slide img {
  max-width: 180px;
  max-height: 80px;
  width: auto;
  height: auto;
  filter: grayscale(0%);
  opacity: 1;
  transition: all 0.3s ease;
}

.partner-slide img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-250px * 30));
  }
}

.contact-card {
  padding: 40px;
  height: 100%;
}

@media (max-width: 768px) {
  .contact-card {
    padding: 20px;
  }
}

.contact-card img {
  width: 200px;
  margin-bottom: 30px;
}

.contact-card a {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-weight: 700;
}

.contact-card i {
  color: var(--orange);
  font-size: 1.2rem;
}

.contact-item-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  white-space: nowrap;
}

.contact-item-row a {
  display: inline-flex;
  gap: 0;
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .contact-item-row {
    font-size: 12px;
    gap: 4px;
  }
}

.contact-item-row strong {
  flex: 0 0 auto;
}

.contact-item-row span {
  color: var(--orange);
  font-weight: bold;
}

.map {
  width: 100%;
  height: 100%;
  min-height: 450px;
  border: 3px solid var(--orange);
  border-radius: 8px;
}

.footer {
  background: var(--black);
  color: var(--white);
  padding: 42px 0;
  border-top: 4px solid var(--orange);
}

.footer-social a {
  font-size: 24px;
}

.float-call,
.float-whatsapp,
.float-social {
  position: fixed;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: 2px solid var(--orange);
}

.float-whatsapp {
  bottom: 20px;
  border-color: #25D366;
}

.float-call {
  bottom: 80px;
  border-color: #0078FF;
}

.float-social.facebook {
  bottom: 140px;
  border-color: #1877F2;
}

.float-social.insta {
  bottom: 200px;
  border-color: #E4405F;
}

.float-social.youtube {
  bottom: 260px;
  border-color: #FF0000;
}

.float-social.linkedin {
  bottom: 320px;
  border-color: #0077B5;
}

.float-social i {
  font-size: 24px;
  transition: color 0.3s ease;
}

.float-social.facebook i {
  color: #1877F2;
}

.float-social.insta i {
  color: #E4405F;
}

.float-social.linkedin i {
  color: #0077B5;
}

.float-social.youtube i {
  color: #FF0000;
}

.float-whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
}

.float-call:hover {
  background: #0078FF;
  border-color: #0078FF;
}

.float-social.facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
}

.float-social.insta:hover {
  background: #E4405F;
  border-color: #E4405F;
}

.float-social.linkedin:hover {
  background: #0077B5;
  border-color: #0077B5;
}

.float-social.youtube:hover {
  background: #FF0000;
  border-color: #FF0000;
}

.float-social:hover i {
  color: var(--white);
}

.float-whatsapp:hover img,
.float-call:hover img {
  filter: brightness(0) invert(1);
}

.float-call:hover,
.float-whatsapp:hover,
.float-social:hover {
  transform: scale(1.1);
}

.float-call img,
.float-whatsapp img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

@media (max-width: 991px) {
  .nav-toggle {
    display: flex;
  }

  /* Overlay behind mobile nav */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 2500;
  }

  .nav-overlay.active {
    display: block;
  }

  /* Lock body scroll when nav is open */
  body.nav-open {
    overflow: hidden;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 82vw;
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 40px 40px;
    z-index: 3100;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
    border-left: 5px solid var(--orange);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  /* Close button inside nav */
  .nav-close {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    margin-bottom: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 36px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
  }

  .main-nav a {
    color: var(--white);
    font-size: 18px;
    width: 100%;
    border-bottom: 2px solid var(--orange);
    padding: 14px 0;
  }

  .main-nav a:hover {
    color: var(--orange);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    flex-direction: column;
  }

  .product-card img,
  .product-card>div {
    width: 100%;
  }

  .product-card img {
    border-right: 0;
    border-bottom: 3px solid var(--black);
    min-height: 260px;
  }
}

@media (max-width: 767px) {
  .topbar-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hero {
    min-height: 620px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .section {
    padding: 30px 0;
  }


  .quick-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  background: rgba(255, 255, 255, 0.03);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 102, 0, 0.2);
}

.form-group {
  margin-bottom: 5px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--orange);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control,
.form-select {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: var(--white) !important;
  padding: 12px 18px !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.1) !important;
  outline: none !important;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* Custom Select Arrow */
.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ff6600' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 1.25rem center !important;
  background-size: 16px 12px !important;
  appearance: none !important;
}

@media (max-width: 767px) {
  .contact-form {
    padding: 25px;
  }
}
