/* =========================================================
   TRAST-BUD WEBSITE
   Main styles
   ========================================================= */


/* =========================================================
   1. VARIABLES
   ========================================================= */

:root {
  --bg: #0b0906;
  --bg-soft: #15110c;
  --card: #1e1811;

  --gold: #d6a84d;
  --gold-light: #f2c76e;
  --green: #25d366;

  --text: #fff7e8;
  --muted: #cbbda5;

  --border: rgba(214, 168, 77, 0.26);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}


/* =========================================================
   2. RESET / BASE
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}


/* =========================================================
   3. TOP BAR
   ========================================================= */

.topbar {
  background: #060503;
  color: var(--muted);
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar strong {
  color: var(--gold-light);
}


/* =========================================================
   4. LANGUAGE SWITCHER
   ========================================================= */

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.lang-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.22s ease;
}

.lang-btn:hover,
.lang-btn.active {
  border-color: var(--gold-light);
  color: #151006;
  background: var(--gold-light);
}


/* =========================================================
   5. HEADER / NAVIGATION
   ========================================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 9, 6, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: max-content;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #2c2114, #75551d);
  border: 1px solid var(--border);
  color: var(--gold-light);
  font-weight: 900;
  letter-spacing: -1px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.brand-title {
  display: block;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
  color: var(--gold-light);
  letter-spacing: 0.3px;
}

.brand-subtitle {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.9px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 23px;
  color: #eadfc9;
  font-weight: 800;
  font-size: 15px;
}

.menu a {
  transition: 0.22s ease;
}

.menu a:hover {
  color: var(--gold-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font-size: 25px;
  cursor: pointer;
}


/* =========================================================
   6. BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
  transition: 0.24s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: #161006;
  box-shadow: 0 14px 35px rgba(214, 168, 77, 0.19);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--green);
  color: #04140a;
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.18);
}

.btn-whatsapp:hover {
  filter: brightness(1.07);
  transform: translateY(-2px);
}


/* =========================================================
   7. HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(7, 6, 4, 0.95) 0%,
      rgba(7, 6, 4, 0.74) 48%,
      rgba(7, 6, 4, 0.40) 100%
    ),
    url("assets/images/hero-logistics.jpg")
      center / cover no-repeat;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 170px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  align-items: center;
  gap: 42px;
  padding: 88px 0 110px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1.7px;
  font-weight: 900;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  background: var(--gold);
}

h1 {
  max-width: 860px;
  font-size: clamp(38px, 5.7vw, 74px);
  line-height: 0.98;
  letter-spacing: -2.2px;
  margin-bottom: 24px;
}

.hero-text {
  max-width: 760px;
  color: #eadfce;
  font-size: 18px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 760px;
}

.hero-point {
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(20, 16, 11, 0.72);
  backdrop-filter: blur(10px);
}

.hero-point strong {
  display: block;
  color: var(--gold-light);
  font-size: 24px;
  line-height: 1;
  margin-bottom: 7px;
}

.hero-point span {
  color: var(--muted);
  font-size: 13px;
}

.hero-card {
  justify-self: end;
  width: min(420px, 100%);
  padding: 18px;
  border-radius: 28px;
  background: rgba(20, 16, 11, 0.78);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card-img {
  height: 285px;
  border-radius: 22px;
  background:
    url("assets/images/hero-card-lumber.jpg")
    center / cover no-repeat;
  margin-bottom: 18px;
}

.hero-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.hero-card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.hero-card-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-weight: 900;
  color: #f4e6ca;
  font-size: 14px;
}


/* =========================================================
   8. COMMON SECTIONS
   ========================================================= */

.section {
  padding: 94px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 42px;
}

.section-head.center {
  display: block;
  text-align: center;
  max-width: 780px;
  margin: 0 auto 44px;
}

.section-title {
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -1.2px;
  margin-bottom: 15px;
}

.section-desc {
  color: var(--muted);
  font-size: 17px;
  max-width: 720px;
}


/* =========================================================
   9. ABOUT
   ========================================================= */

.about {
  background:
    radial-gradient(circle at top left, rgba(214, 168, 77, 0.16), transparent 31%),
    var(--bg-soft);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 50px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image {
  min-height: 555px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background:
    url("assets/images/about-production.jpg")
    center / cover no-repeat;
  box-shadow: var(--shadow);
}

.experience-box {
  position: absolute;
  right: -24px;
  bottom: 34px;
  width: 260px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(8, 7, 5, 0.88);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.experience-box strong {
  display: block;
  font-size: 42px;
  line-height: 1;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.experience-box span {
  color: var(--muted);
}

.about-text p {
  color: #dfd2bb;
  margin-bottom: 16px;
  font-size: 17px;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.fact {
  padding: 17px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fact b {
  display: block;
  color: var(--gold-light);
  margin-bottom: 5px;
}

.fact span {
  color: var(--muted);
  font-size: 14px;
}


/* =========================================================
   10. PRODUCTS
   ========================================================= */

.products-section {
  background: #0f0c08;
}

.product-category {
  margin-bottom: 34px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-category:last-child {
  margin-bottom: 0;
}

.category-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  min-height: 520px;
}

.product-category.reverse .category-info {
  order: 2;
}

.product-category.reverse .category-main-photo {
  order: 1;
}

.category-info {
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at top left, rgba(214, 168, 77, 0.14), transparent 34%),
    rgba(15, 12, 8, 0.96);
}

.category-label {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 14px;
}

.category-info h3 {
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -1.2px;
  margin-bottom: 18px;
}

.category-info p {
  color: #e5d7be;
  font-size: 17px;
  margin-bottom: 24px;
}

.category-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  color: #f2e6ce;
}

.category-list li::before {
  content: "✓";
  color: var(--gold-light);
  margin-right: 9px;
  font-weight: 900;
}

.category-main-photo {
  min-height: 520px;
  background: #15110c;
}

.category-main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(214, 168, 77, 0.18);
  border-top: 1px solid var(--border);
}

.product-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: #111;
}


/* =========================================================
   11. WHY CHOOSE US
   ========================================================= */

.why {
  background: #090806;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.why-card {
  padding: 30px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--border);
  min-height: 270px;
}

.why-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(214, 168, 77, 0.16);
  border: 1px solid var(--border);
  color: var(--gold-light);
  font-size: 27px;
  margin-bottom: 20px;
}

.why-card h3 {
  font-size: 23px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.why-card p {
  color: var(--muted);
}


/* =========================================================
   12. LOGISTICS
   ========================================================= */

.logistics {
  background:
    radial-gradient(circle at top right, rgba(214, 168, 77, 0.12), transparent 30%),
    var(--bg-soft);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.logistics-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.logistics-content {
  padding-right: 12px;
}

.logistics-photo {
  min-height: 460px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.logistics-photo img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.country-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 28px;
}

.country {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--border);
  font-weight: 900;
  color: #f7ead0;
  text-align: center;
}

.logistics-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.logistics-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--border);
}


/* =========================================================
   13. PROCESS
   ========================================================= */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  padding: 27px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  color: var(--gold-light);
  font-weight: 900;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 21px;
  margin-bottom: 9px;
}

.step p {
  color: var(--muted);
  font-size: 15px;
}


/* =========================================================
   14. CONTACT
   ========================================================= */

.contact {
  background:
    linear-gradient(90deg, rgba(7, 6, 4, 0.96), rgba(7, 6, 4, 0.78)),
    url("assets/images/lumber-gallery-2.jpg")
    center / cover no-repeat;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-card,
.form-card {
  padding: 34px;
  border-radius: 28px;
  background: rgba(20, 16, 11, 0.86);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.contact-list {
  display: grid;
  gap: 15px;
  margin-top: 26px;
}

.contact-item {
  display: block;
  padding: 17px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 4px;
}

.contact-item strong {
  color: #fff0d4;
  font-size: 17px;
}

.contact-whatsapp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 17px;
}

form {
  display: grid;
  gap: 14px;
}

input,
textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 17px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.27);
  color: var(--text);
  outline: none;
  font: inherit;
}

input:focus,
textarea:focus {
  border-color: var(--gold-light);
}

textarea {
  min-height: 142px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
}


/* =========================================================
   15. FLOATING WHATSAPP
   ========================================================= */

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  display: grid;
  gap: 10px;
}

.floating-whatsapp a {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #04140a;
  font-size: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: 0.22s ease;
}

.floating-whatsapp a:hover {
  transform: translateY(-3px) scale(1.03);
  filter: brightness(1.08);
}


/* =========================================================
   16. FOOTER
   ========================================================= */

.footer {
  background: #060503;
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}


/* =========================================================
   17. RESPONSIVE
   ========================================================= */

@media (max-width: 1120px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-gallery,
  .logistics-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 930px) {
  .topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .topbar-text {
    display: none;
  }

  .menu {
    position: absolute;
    top: 78px;
    left: 4%;
    right: 4%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 18px;
    background: rgba(15, 11, 7, 0.98);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    padding: 14px;
    border-radius: 12px;
  }

  .menu a:hover {
    background: rgba(214, 168, 77, 0.12);
  }

  .burger {
    display: block;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .logistics-grid,
  .contact-grid,
  .category-layout {
    grid-template-columns: 1fr;
  }

  .hero-card {
    justify-self: start;
  }

  .about-image {
    min-height: 430px;
  }

  .experience-box {
    right: 18px;
    bottom: 18px;
  }

  .category-main-photo {
    min-height: 380px;
  }

  .product-category.reverse .category-info,
  .product-category.reverse .category-main-photo {
    order: initial;
  }
}

@media (max-width: 650px) {
  .hero-grid {
    padding: 62px 0 88px;
  }

  h1 {
    font-size: 38px;
    letter-spacing: -1.3px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-points,
  .fact-grid,
  .country-list,
  .process-grid,
  .contact-whatsapp-row,
  .product-gallery,
  .logistics-gallery {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .contact-card,
  .form-card,
  .category-info {
    padding: 24px;
  }

  .experience-box {
    position: static;
    width: auto;
    margin-top: 16px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
  }

  .floating-whatsapp a {
    width: 54px;
    height: 54px;
  }
}


/* =========================================================
   WHATSAPP ICON FIX
   ========================================================= */

.whatsapp-icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.whatsapp-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.whatsapp-icon.floating {
  width: 31px;
  height: 31px;
}


/* =========================================================
   NETLIFY FORM + THANK YOU PAGE
   ========================================================= */

.hidden-field {
  display: none;
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 18px;
  background:
    linear-gradient(90deg, rgba(7, 6, 4, 0.96), rgba(7, 6, 4, 0.74)),
    url("assets/images/hero-logistics.jpg") center / cover no-repeat;
}

.thank-you-card {
  width: min(760px, 100%);
  padding: 42px;
  border-radius: 30px;
  background: rgba(20, 16, 11, 0.88);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.thank-you-brand {
  margin-bottom: 34px;
}

.thank-you-card h1 {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 18px;
}

.thank-you-card p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 26px;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}


/* =========================================================
   SUCCESS MODAL
   ========================================================= */

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  place-items: center;
  padding: 20px;
}

.success-modal.open {
  display: grid;
}

.success-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.success-modal-card {
  position: relative;
  width: min(520px, 100%);
  padding: 34px;
  border-radius: 28px;
  background: rgba(20, 16, 11, 0.96);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
  animation: modalIn 0.22s ease;
}

.success-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.success-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--green);
  color: #04140a;
  font-size: 42px;
  font-weight: 900;
}

.success-modal-card h2 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.08;
  margin-bottom: 14px;
}

.success-modal-card p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 24px;
}

button:disabled {
  opacity: 0.7;
  cursor: wait;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* =========================================================
   PROCESS SECTION RESTORE
   ========================================================= */

.process-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(214, 168, 77, 0.12), transparent 28%),
    #090806;
}

.process-section .section-head.center {
  margin-bottom: 42px;
}

.process-desc {
  margin: 0 auto;
  text-align: center;
}

.process-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
  margin-top: 0;
}

.step {
  position: relative;
  min-height: 245px;
  padding: 30px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  color: var(--gold-light);
  font-weight: 900;
  font-size: 42px;
  line-height: 1;
  margin-bottom: 22px;
}

.step h3 {
  font-size: 22px;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--text);
}

.step p {
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 1120px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: auto;
  }
}


/* =========================================================
   FINAL PROCESS SECTION FIX
   ========================================================= */

.process-section {
  position: relative !important;
  overflow: visible !important;
  background:
    radial-gradient(circle at top left, rgba(214, 168, 77, 0.12), transparent 28%),
    #090806 !important;
}

.process-section .section-head.center {
  display: block !important;
  text-align: center !important;
  max-width: 850px !important;
  margin: 0 auto 46px !important;
}

.process-section .section-title {
  margin-bottom: 16px !important;
}

.process-desc {
  display: block !important;
  margin: 0 auto !important;
  text-align: center !important;
  max-width: 760px !important;
}

.process-grid {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  counter-reset: step !important;
  margin-top: 0 !important;
  position: relative !important;
  z-index: 2 !important;
}

.process-grid .step {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  min-height: 245px !important;
  padding: 30px !important;
  border-radius: 26px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22) !important;
}

.process-grid .step::before {
  counter-increment: step !important;
  content: "0" counter(step) !important;
  display: block !important;
  color: var(--gold-light) !important;
  font-weight: 900 !important;
  font-size: 42px !important;
  line-height: 1 !important;
  margin-bottom: 22px !important;
}

.process-grid .step h3 {
  display: block !important;
  font-size: 22px !important;
  line-height: 1.15 !important;
  margin-bottom: 12px !important;
  color: var(--text) !important;
}

.process-grid .step p {
  display: block !important;
  color: var(--muted) !important;
  font-size: 15px !important;
}

@media (max-width: 1120px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 650px) {
  .process-grid {
    grid-template-columns: 1fr !important;
  }

  .process-grid .step {
    min-height: auto !important;
  }
}


/* =========================================================
   JS CLEAN FIX: KEEP PROCESS CARDS VISIBLE AFTER LANGUAGE LOAD
   ========================================================= */

.process-section,
.process-section .container,
.process-grid,
.process-grid .step {
  visibility: visible !important;
  opacity: 1 !important;
}

.process-grid {
  min-height: 245px !important;
}

.process-grid .step {
  transform: none !important;
}


/* =========================================================
   MOBILE POLISH FIX
   ========================================================= */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1180px, calc(100% - 32px));
}

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

  .header {
    top: 0;
  }

  .nav {
    min-height: 72px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
  }

  .brand-text strong {
    font-size: 24px;
    line-height: 1;
  }

  .brand-text span {
    font-size: 11px;
  }

  .lang-switch {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    gap: 6px;
  }

  .lang-btn {
    min-width: 42px;
    height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .menu {
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 22px;
    background: rgba(13, 11, 8, 0.98);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    z-index: 250;
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    display: block;
    padding: 14px 12px;
    border-radius: 14px;
  }

  .menu a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .burger {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-size: 26px;
  }

  .nav .btn-whatsapp {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 70px;
  }

  .hero-grid,
  .about-grid,
  .logistics-grid,
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(38px, 9vw, 68px);
    line-height: 1.02;
    letter-spacing: -1.5px;
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-card,
  .about-card {
    min-height: 360px;
  }

  .section {
    padding: 74px 0;
  }

  .section-head,
  .section-head.center {
    margin-bottom: 34px;
  }

  .section-title {
    font-size: clamp(34px, 8vw, 58px);
    line-height: 1.04;
  }

  .section-desc {
    font-size: 16px;
  }

  .product-card,
  .product-card.reverse {
    grid-template-columns: 1fr !important;
  }

  .product-card.reverse .product-gallery {
    order: 1;
  }

  .product-card.reverse .product-info {
    order: 2;
  }

  .product-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .product-gallery img,
  .logistics-gallery img {
    min-height: 170px;
  }

  .why-grid,
  .process-grid {
    grid-template-columns: 1fr !important;
  }

  .step {
    min-height: auto !important;
  }

  .contact-card,
  .contact-form {
    padding: 24px;
    border-radius: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    gap: 10px;
  }

  .floating-whatsapp a {
    width: 52px;
    height: 52px;
  }

  .success-modal-card {
    padding: 30px 22px;
    border-radius: 24px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .nav {
    min-height: 66px;
    padding: 10px 0;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    font-size: 14px;
  }

  .brand-text strong {
    font-size: 20px;
  }

  .brand-text span {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .burger {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .menu {
    top: 66px;
    left: 12px;
    right: 12px;
  }

  .hero {
    padding: 125px 0 58px;
  }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 4px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 50px);
  }

  .hero-text {
    font-size: 16px;
  }

  .btn {
    width: 100%;
    min-height: 52px;
    padding: 14px 18px;
  }

  .hero-card,
  .about-card {
    min-height: 300px;
    border-radius: 26px;
  }

  .hero-card-content {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 18px;
    border-radius: 20px;
  }

  .hero-card-content h3 {
    font-size: 22px;
  }

  .stat {
    padding: 18px;
    border-radius: 20px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: clamp(30px, 9vw, 44px);
  }

  .product-card {
    border-radius: 26px;
    padding: 12px;
  }

  .product-info {
    padding: 18px;
  }

  .product-info h3 {
    font-size: 28px;
  }

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

  .product-gallery img {
    min-height: 220px;
  }

  .why-card,
  .step,
  .contact-card,
  .contact-form {
    padding: 22px;
    border-radius: 22px;
  }

  .logistics-gallery {
    grid-template-columns: 1fr;
  }

  .logistics-gallery img {
    min-height: 220px;
  }

  .contact-link {
    font-size: 16px;
    word-break: break-word;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .success-icon {
    width: 64px;
    height: 64px;
    font-size: 36px;
  }

  .success-modal-card h2 {
    font-size: 28px;
  }
}

@media (max-width: 390px) {
  .brand-text strong {
    font-size: 18px;
  }

  .lang-btn {
    min-width: 38px;
    height: 32px;
    font-size: 11px;
  }

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

  .hero-card,
  .about-card {
    min-height: 260px;
  }
}


/* =========================================================
   MOBILE LANGUAGE SWITCH FIX
   ========================================================= */

.lang-switch {
  position: relative;
  z-index: 400;
}

.lang-btn {
  position: relative;
  z-index: 401;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 980px) {
  .nav {
    display: grid !important;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px 12px;
  }

  .brand {
    grid-column: 1 / 2;
    grid-row: 1;
  }

  .burger {
    grid-column: 2 / 3;
    grid-row: 1;
    justify-self: end;
  }

  .lang-switch {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex !important;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    margin-top: 4px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: auto !important;
  }

  .lang-btn {
    flex: 1 1 0;
    min-width: 0;
    max-width: 72px;
    height: 36px;
    padding: 0 8px;
    pointer-events: auto !important;
  }

  .menu {
    top: 118px !important;
    z-index: 300;
  }

  .header {
    z-index: 350;
  }
}

@media (max-width: 560px) {
  .menu {
    top: 112px !important;
  }

  .lang-switch {
    gap: 5px;
    padding: 5px;
  }

  .lang-btn {
    height: 34px;
    font-size: 12px;
  }
}

@media (max-width: 390px) {
  .lang-btn {
    height: 32px;
    font-size: 11px;
    padding: 0 5px;
  }
}


/* =========================================================
   FINAL MOBILE LANGUAGE VISIBILITY FIX V2
   ========================================================= */

.mobile-lang-bar {
  display: none;
}

@media (max-width: 980px) {
  .nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-height: 72px !important;
  }

  .nav > .lang-switch,
  .lang-switch {
    display: none !important;
  }

  .mobile-lang-bar {
    display: flex !important;
    position: relative !important;
    z-index: 700 !important;
    width: calc(100% - 32px) !important;
    margin: -4px auto 12px !important;
    padding: 6px !important;
    gap: 6px !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.075) !important;
    border: 1px solid rgba(214, 168, 77, 0.28) !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24) !important;
    pointer-events: auto !important;
  }

  .mobile-lang-bar .lang-btn {
    display: grid !important;
    place-items: center !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    height: 36px !important;
    padding: 0 8px !important;
    border-radius: 999px !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
  }

  .menu {
    top: 126px !important;
    z-index: 650 !important;
  }

  .header {
    z-index: 800 !important;
  }

  .hero {
    padding-top: 150px !important;
  }
}

@media (max-width: 560px) {
  .mobile-lang-bar {
    width: calc(100% - 24px) !important;
    margin: -2px auto 10px !important;
    padding: 5px !important;
    gap: 5px !important;
  }

  .mobile-lang-bar .lang-btn {
    height: 34px !important;
    font-size: 12px !important;
  }

  .menu {
    top: 120px !important;
  }

  .hero {
    padding-top: 140px !important;
  }
}

@media (max-width: 390px) {
  .mobile-lang-bar .lang-btn {
    height: 32px !important;
    font-size: 11px !important;
    padding: 0 4px !important;
  }

  .hero {
    padding-top: 132px !important;
  }
}
