:root {
  --paper: #f7f7f7;
  --paper-light: #ffffff;
  --kraft: #bfdcf7;
  --kraft-dark: #5fa8e8;
  --blue: #005a9d;
  --blue-dark: #004ca3;
  --ink: #1f2a37;
  --ink-soft: #57657a;
  --green: #86bb46;
  --green-dark: #588a2c;
  --line: rgba(31, 42, 55, 0.12);

  --font-display: "Roboto Slab", sans-serif;
  --font-body: "Roboto Slab", sans-serif;
  --font-mono: "Times new Roman", monospace;

  --radius: 12px;
  --shadow-card: 0 10px 24px rgba(21, 101, 192, 0.12);
  --shadow-card-hover: 0 16px 32px rgba(21, 101, 192, 0.18);

  --h1: 36px;
  --h2: 30px;
  --h3: 24px;
  --h4: 18px;

  /* fluid section padding — scales down automatically instead of
     relying on breakpoints to reset it everywhere */
  --section-pad-y: clamp(28px, 5vw, 40px);
  --container-pad-x: clamp(16px, 4vw, 24px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  /* prevents the horizontal drag-scroll / translateX animations elsewhere
     in this file from ever creating page-level horizontal scroll on phones */
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--paper);
}

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 10px;
  border: 2px solid var(--paper);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue-dark);
}

::-webkit-scrollbar-corner {
  background: var(--paper);
}

/* Firefox fallback (not WebKit, but good to include alongside) */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--blue) var(--paper);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--blue);
  letter-spacing: 0.01em;
  margin: 0;
  font-family: "Urbanist";
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  display: block;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(13px, 2.6vw, 17px);
  letter-spacing: 0.18em;
  color: var(--green);
  font-weight: 700;
  display: inline-block;
}

.section-head {
  margin: 0 0 clamp(20px, 4vw, 30px);
  text-align: center;
  padding: 0 var(--container-pad-x);
}

.section-head h2 {
  font-size: clamp(22px, 5vw, 45px);
  font-weight: 900;
}

.section-head p {
  color: var(--ink-soft);
  margin-top: 12px;
  font-size: clamp(13.5px, 2.4vw, 16px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 28px;
  min-height: 44px; /* keeps tap targets comfortable on touch devices */
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.btn-primary {
  background: var(--green);
  color: var(--paper-light);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(124, 179, 66, 0.3);
}

.btn-outline {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--paper-light);
}

section {
  padding: var(--section-pad-y) 0;
  position: relative;
}

.container {
  padding: var(--container-pad-x);
  margin: 0 var(--container-pad-x);
  align-items: center;
  background: var(--paper-light);
  border-radius: 16px;
}

.products {
  padding: var(--section-pad-y) 0 5px 0;
}
.products-container,
.machinery-container,
.manufacturing,
.about-inner {
  box-shadow: 1px 1px 15px rgb(36, 40, 44);
}

.inner {
  padding-left: clamp(16px, 4vw, 48px) !important;
  padding-right: clamp(16px, 4vw, 48px) !important;
}

.flute-divider {
  display: block;
  width: 100%;
  height: 28px;
  line-height: 0;
}

.flute-divider path {
  stroke: var(--kraft-dark);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw-flute 2.2s ease forwards;
}

@keyframes draw-flute {
  to {
    stroke-dashoffset: 0;
  }
}

.flute-rule {
  height: 3px;
  width: 100%;
  background-image: repeating-linear-gradient(
    90deg,
    var(--kraft-dark) 0 6px,
    transparent 6px 14px
  );
  opacity: 0.55;
}

/* ============================================
           HERO
           ============================================ */
.hero-section {
  position: relative;
  height: clamp(220px, 45vw, 500px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.video-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  width: 100%;
  padding: 0 var(--container-pad-x);
  margin: 0 auto;
  text-align: left;
}

.hero-content .eyebrow {
  color: var(--kraft);
}

.hero-content h1 {
  color: var(--paper-light);
  font-size: clamp(28px, 6vw, 68px);
  line-height: 1.1;
}

.hero-content h1 span {
  color: var(--green);
}

.hero-content p {
  color: rgba(251, 248, 241, 0.82);
  font-size: clamp(13.5px, 2.4vw, 18px);
  max-width: 540px;
  margin: 16px 0 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions .btn {
  flex: 1 1 auto;
  white-space: nowrap;
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: clamp(20px, 5vw, 48px);
  margin-top: clamp(24px, 6vw, 56px);
  padding-top: 20px;
  border-top: 1px solid rgba(251, 248, 241, 0.2);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad-x);
  padding-right: var(--container-pad-x);
  flex-wrap: wrap;
}

.hero-stats div {
  flex: 1 1 auto;
  min-width: 84px;
}

.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(19px, 3.6vw, 30px);
  color: var(--paper-light);
}

.hero-stats div span {
  font-family: var(--font-mono);
  font-size: clamp(10px, 2vw, 12px);
  color: rgba(251, 248, 241, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-base {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 1;
}

.hero-base path {
  stroke: var(--paper);
}

/* ============================================
           PRODUCTS
           ============================================ */
.products {
  background: var(--paper-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: clamp(14px, 3vw, 24px);
  align-items: stretch;
  justify-content: center;
}

.product-card {
  background: var(--paper-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 1px 1px 15px rgb(120, 120, 121);
  border: 1px solid var(--line);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.product-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--kraft) 0%, var(--kraft-dark) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image svg {
  width: 46%;
  color: rgba(21, 101, 192, 0.55);
}

.product-details {
  padding: clamp(14px, 3vw, 20px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-header h3 {
  font-family: "Urbanist";
  font-size: clamp(15px, 2.6vw, 18px);
  color: var(--blue);
  font-weight: 700;
}

.product-ply {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--green);
  text-transform: uppercase;
}

.details {
  display: flex;
  gap: 3px;
  flex-direction: column;
  color: var(--ink-soft);
  font-size: clamp(12.5px, 2.2vw, 14px);
}

details p {
  margin: 0;
}

.details span {
  font-weight: 500;
}

.details span i {
  color: var(--green);
  font-size: 18px;
  margin-right: 4px;
}

.product-link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.product-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.product-card:hover .product-link svg {
  transform: translateX(4px);
}

.products-flex {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.product-contact {
  display: flex;
  justify-content: center;
}

.product-contact a {
  padding: 8px 16px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  background: var(--blue);
  border-radius: 7px;
  text-align: center;
}

.products-grid,
.machinery-grid {
  opacity: 0;
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

/* JS assigns one of these two classes to each row in order */
.products-grid.from-left,
.machinery-grid.from-left {
  transform: translateX(-70px);
}

.products-grid.from-right,
.machinery-grid.from-right {
  transform: translateX(70px);
}

.products-grid.in-view,
.machinery-grid.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
           WHY US
           ============================================ */
.why {
  background: var(--paper);
}

.why .container {
  background: var(--paper);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 15px;
  align-items: stretch;
  justify-content: center;
}

.why-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius);
  padding: clamp(18px, 3.5vw, 26px) clamp(14px, 3vw, 22px);
  border: 1px solid rgba(21, 101, 192, 0.08);
}

.why-card .icon-wrap i {
  font-size: clamp(28px, 5vw, 40px);
  color: #fff;
}

.why-card h4 {
  font-size: var(--h4);
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
  text-align: center;
}

.why-card p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ============================================
           SPECIFICATIONS
           ============================================ */
.specifications {
  --spec-blue: #1565c0;
  --spec-blue-dark: #0f4c9c;
  --spec-green: #7cb342;
  --spec-border: #e7e9ec;
  --spec-stripe: #f6f8fa;
}

.specifications {
  padding: clamp(24px, 5vw, 40px) clamp(16px, 5vw, 40px);
  background: var(--blue);
}

.spec-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.spec-card .spec-title {
  color: var(--blue);
  font-size: clamp(24px, 5.5vw, 42px);
  font-weight: 900;
  text-transform: none;
  letter-spacing: 0;
}

.spec-card .spec-subtitle {
  font-family: var(--font-body);
  color: var(--spec-green);
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 20px;
}

/* wrap the table itself in .table-wrap in markup so it can scroll
   independently of the page on narrow screens */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 14px;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  overflow: hidden;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 9px 20px;
  border: 1px solid #d4d4d4;
}

.spec-table th {
  background: var(--spec-blue);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12.5px;
  font-weight: 600;
}

.spec-table td:first-child {
  width: 46px;
  text-align: center;
  color: var(--ink-soft);
  font-weight: 600;
}

.spec-table td:nth-child(2) {
  color: var(--ink);
  font-weight: 600;
}

.spec-table td:last-child {
  color: var(--ink-soft);
  font-weight: 600;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table tr:nth-child(even) td {
  background: var(--spec-stripe);
}

.spec-cta {
  margin-top: 28px;
  background: var(--spec-blue);
  color: #fff;
  border: none;
}

.spec-cta:hover {
  background: var(--spec-blue-dark);
}

/* ============================================
           MACHINERIES
           ============================================ */

.machineries .section-head p {
  color: rgba(251, 248, 241, 0.72);
}

.machinery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(14px, 3vw, 20px);
}

.machinery-card {
  background: rgba(251, 248, 241, 0.06);
  border: 1px solid rgba(251, 248, 241, 0.14);
  border-radius: var(--radius);
  padding: 0 0 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  box-shadow: 1px 1px 15px rgb(120, 120, 121);
}

.machinery-card .icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(124, 179, 66, 0.18);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.machinery-card .icon-wrap svg {
  width: 22px;
  height: 22px;
}

.machinery-card h4 {
  font-family: "Times New Roman", Times, serif;
  color: var(--blue);
  font-size: clamp(15px, 2.6vw, 20px);
  letter-spacing: 0.01em;
  text-align: center;
  padding: 0 12px;
}

.machinery-card p {
  margin: 0;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 400;
  text-align: justify;
}

.machinery-card img {
  border-radius: 12px 12px 0 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.carousel-section {
  padding: var(--section-pad-y) 0;
  background: var(--paper);
}

.machinery-support-carousel {
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.carousel-track {
  display: flex;
  width: max-content;
  gap: 10px;
  animation: scroll-left 20s linear infinite;
  will-change: transform;
}

.machinery-support-carousel:hover .carousel-track {
  animation-play-state: paused;
}

/* pause on tap for touch devices too, since :hover doesn't fire there */
.machinery-support-carousel:active .carousel-track {
  animation-play-state: paused;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    /* -50% only works because the track's content is duplicated
           EXACTLY twice in the HTML — see note below */
    transform: translateX(-50%);
  }
}

.carousel-item {
  flex: 0 0 auto; /* stop items from shrinking, which throws off the 50% math */
}

.carousel-item img {
  display: block; /* removes the few px of inline whitespace under <img> */
  border-radius: 12px;
  object-fit: cover;
  height: clamp(140px, 32vw, 300px);
  width: auto;
}

/* ============================================
           CTA — image 30% (20% taller) / description 70%
           ============================================ */
.cta,
.cta-container {
  background: var(--paper);
}

.cta-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
}

.cta-image {
  flex: 0 0 30%;
  max-width: 30%;
  aspect-ratio: 3 / 4;
  transform-origin: center;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--kraft-dark), var(--blue));
  display: flex;
  justify-content: center;
  box-shadow: var(--shadow-card);
  z-index: 1;
}

.cta-image img {
  border-radius: 12px 12px 0 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-description {
  flex: 0 0 70%;
  max-width: 70%;
  background: var(--blue);
  color: var(--paper-light);
  padding: clamp(22px, 4vw, 50px) clamp(22px, 5vw, 64px);
  margin-left: -40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.cta-description .eyebrow {
  color: var(--kraft);
}

.cta-description h2 {
  color: var(--paper-light);
  font-size: clamp(19px, 3vw, 36px);
  margin-bottom: 16px;
  line-height: 1.25;
}

.cta-description p {
  color: rgba(251, 248, 241, 0.8);
  font-size: clamp(13px, 2.2vw, 15px);
  max-width: 480px;
  margin-bottom: 18px;
  text-align: justify;
}

/* ============================================
           FAQ
           ============================================ */
.faq {
  background: var(--paper-light);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.faq-about h2 {
  font-size: clamp(22px, 3vw, 36px);
  margin-bottom: 18px;
}

.faq-about p {
  color: var(--ink-soft);
  font-size: clamp(13.5px, 2.2vw, 15px);
  margin-bottom: 16px;
}

.faq-about ul {
  padding-left: 18px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.faq-about li {
  margin-bottom: 8px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.faq-item:hover {
  border-color: var(--kraft-dark);
  box-shadow: 1px 10px 24px rgba(21, 101, 192, 0.14);
  transform: translateY(-2px);
}

.faq-item.active {
  border-color: var(--blue);
  box-shadow: 0 10px 24px rgba(21, 101, 192, 0.12);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: clamp(15px, 3vw, 22px) clamp(16px, 3vw, 24px);
  font-family: var(--font-display);
  text-transform: none;
  letter-spacing: 0;
  font-size: clamp(14.5px, 2.6vw, 18px);
  font-weight: 700;
  color: var(--blue);
  text-align: left;
}

.faq-question .plus {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-question .plus i {
  color: var(--green);
  font-size: 20px;
  transition: transform 0.35s ease;
}

.faq-item.active .faq-question .plus i {
  transform: rotate(90deg);
}

.faq-answer-wrap {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 clamp(16px, 3vw, 24px);
}

/* generous cap so longer copy doesn't get clipped once the narrower
   mobile column forces answers to wrap onto more lines */
.faq-item.active .faq-answer-wrap {
  max-height: 600px;
  padding: 0 clamp(16px, 3vw, 24px) clamp(16px, 3vw, 22px);
  transition-delay: 0.1s;
}

.faq-answer {
  color: var(--ink-soft);
  font-size: clamp(13px, 2.2vw, 14.5px);
  margin: 0;
  max-width: 560px;
}

/* ── Mission / Vision Cards ── */
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: clamp(14px, 3vw, 20px);
}

.mv-card {
  background: #f8fafc;
  border-radius: 20px;
  padding: clamp(16px, 3vw, 20px);
  box-shadow: 1px 1px 15px rgb(36, 40, 44);
  border: 1px solid #e2e8f0;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  text-align: justify;
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.1);
}

.mv-icon {
  width: 60px;
  height: 60px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.mv-icon i {
  font-size: 28px;
  color: white;
}

.mv-card h3 {
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  margin-bottom: 16px;
  color: var(--blue);
}

.mv-card p {
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.mv-card .header {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.why-choose {
  background: var(--paper);
}

.why-choose-head {
  text-align: center;
  margin-bottom: clamp(28px, 6vw, 56px);
}

.why-choose-head h2 {
  font-size: clamp(24px, 4.2vw, 48px);
  font-weight: 900;
  color: var(--blue);
}

.why-choose-head .eyebrow {
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
}

.why-choose-col {
  display: flex;
  flex-direction: column;
}

.why-choose-item {
  position: relative;
  display: flex;
  gap: 18px;
  padding-bottom: clamp(28px, 5vw, 44px);
}

.why-choose-item:last-child {
  padding-bottom: 0;
}

/* connecting line running behind the icon column */
.why-choose-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: -2px;
  width: 2px;
  background: var(--green);
  opacity: 0.45;
}

.why-choose-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper-light);
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 17px;
  position: relative;
  z-index: 1;
}

.why-choose-text h4 {
  font-size: clamp(15.5px, 2.8vw, 19px);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

.why-choose-text p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(13px, 2.2vw, 14.5px);
  line-height: 1.6;
}

.process {
  background: var(--paper-light);
}

.process-head {
  text-align: center;
  margin-bottom: clamp(24px, 5vw, 30px);
}

.process-head h2 {
  font-size: clamp(22px, 4vw, 44px);
  font-weight: 900;
  color: var(--blue);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(22px, 4vw, 40px) clamp(20px, 3vw, 32px);
  margin-bottom: clamp(28px, 5vw, 44px);
}

.process-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.process-icon {
  width: clamp(42px, 6vw, 52px);
  height: clamp(42px, 6vw, 52px);
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(15px, 2.6vw, 19px);
  flex-shrink: 0;
}

.process-item h4 {
  font-size: clamp(15.5px, 2.8vw, 18px);
  font-weight: 700;
  color: var(--blue);
}

.process-item p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(13px, 2.2vw, 14.5px);
  line-height: 1.6;
}

.process-cta {
  display: flex;
  justify-content: center;
}

.process-cta .btn {
  background: var(--blue);
  color: #fff;
  padding: 12px 26px;
  border-radius: 8px;
}

.process-cta .btn:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 90, 157, 0.28);
}

.process-cta .btn i {
  background: rgba(255, 255, 255, 0.18);
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.tc-section {
  background: var(--paper);
}

.tc-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 90, 157, 0.16);
}

/* ---------- LEFT: testimonials ---------- */
.tc-left {
  background: var(--paper);
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.tc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: var(--kraft);
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.tc-badge i {
  color: var(--green);
}

.tc-left h2 {
  font-size: clamp(21px, 2.6vw, 32px);
  margin-bottom: 8px;
}

.tc-left > p {
  color: var(--ink-soft);
  font-size: 14.5px;
  margin: 0 0 10px;
}

.tc-quote-card {
  background: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: 0 10px 24px rgba(21, 101, 192, 0.08);
  flex: 1;
}

.tc-stars {
  color: #f5a623;
  font-size: 15px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.tc-quote-text {
  border-left: 3px solid var(--kraft-dark);
  padding-left: 16px;
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(14px, 2.4vw, 15.5px);
  font-style: italic;
  line-height: 1.6;
}

.tc-person {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.tc-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--kraft);
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tc-person strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
}

.tc-person span {
  font-size: 12.5px;
  color: var(--ink-soft);
}

.tc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}

.tc-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--paper-light);
  border: 1px solid var(--line);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.tc-arrow:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}

.tc-dots {
  display: flex;
  gap: 8px;
}

.tc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition:
    background 0.2s ease,
    width 0.2s ease;
}

.tc-dot.active {
  background: var(--blue);
  width: 22px;
  border-radius: 4px;
}

/* ---------- RIGHT: get in touch ---------- */
.tc-right {
  position: relative;
  background: linear-gradient(160deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--paper-light);
  padding: 10px;
  overflow: hidden;
}

.tc-right::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.tc-right > * {
  position: relative;
  z-index: 1;
}

.tc-right .tc-badge {
  background: rgba(255, 255, 255, 0.12);
  color: var(--paper-light);
}

.tc-right .tc-badge i {
  color: var(--green);
}

.tc-right h2 {
  color: var(--paper-light);
  font-size: clamp(21px, 2.8vw, 34px);
  line-height: 1.2;
  margin-bottom: 10px;
}

.tc-right > p {
  color: rgba(251, 248, 241, 0.78);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 10px;
  max-width: 440px;
}

.tc-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.tc-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.tc-contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.tc-contact-item label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(251, 248, 241, 0.55);
  margin-bottom: 3px;
}

.tc-contact-item div a,
.tc-contact-item div p {
  margin: 0;
  color: var(--paper-light);
  font-size: 14.5px;
  font-weight: 600;
  word-break: break-word;
}

.tc-contact-item div a {
  color: var(--kraft);
}

.tc-contact-item div a:hover {
  text-decoration: underline;
}

.tc-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.tc-cta:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(124, 179, 66, 0.35);
}

/* =========================================================
   HERO — GLASS CARD OVER BACKGROUND PHOTO
   ========================================================= */

.hero-glass {
  position: relative;
  min-height: clamp(280px, 55vw, 480px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 6vw, 48px) 20px;
  overflow: hidden;
  background: #2b3a47;
}

.hero-glass-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-glass-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-glass-card {
  position: relative;
  z-index: 2;
  max-width: 920px;
  width: 100%;
  text-align: center;
  background: rgba(255, 255, 255, 0.219);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: clamp(15px, 3vw, 20px) clamp(18px, 6vw, 56px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.hero-glass-card h1 {
  font-family: var(--font-display);
  color: var(--blue);
  font-weight: 800;
  font-size: clamp(21px, 3.6vw, 42px);
  line-height: 1.25;
  margin-bottom: 14px;
}

.hero-glass-card p {
  color: var(--ink);
  font-size: clamp(13px, 2.2vw, 15px);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto 20px;
}

.hero-glass-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  padding: 12px 26px;
  min-height: 44px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.hero-glass-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 90, 157, 0.32);
}

.cta-diagonal {
  position: relative;
  background: var(--paper-light);
  padding: clamp(32px, 6vw, 56px) var(--container-pad-x);
  border-bottom: 3px solid var(--blue);
  overflow: hidden;
}

/* the light diagonal wedge behind the card, top-left to bottom-left */
.cta-diagonal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  clip-path: polygon(0 0, 62% 0, 38% 100%, 0 100%);
  z-index: 0;
}

.cta-diagonal-card {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  background: var(--paper-light);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(21, 101, 192, 0.1);
  padding: clamp(24px, 5vw, 56px) clamp(20px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}

.cta-diagonal-text h2 {
  font-family: var(--font-display);
  color: var(--blue);
  font-weight: 800;
  font-size: clamp(19px, 2.6vw, 32px);
  margin-bottom: 14px;
}

.cta-diagonal-text p {
  font-family: var(--font-mono);
  color: var(--ink);
  font-size: clamp(13px, 2.2vw, 15px);
  line-height: 1.7;
  max-width: 460px;
  margin: 0 0 24px;
}

.cta-diagonal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  padding: 13px 28px;
  min-height: 44px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.cta-diagonal-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 90, 157, 0.28);
}

/* ---------- illustration ---------- */
.cta-diagonal-art {
  background: #fbe4e2;
  border-radius: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.cta-diagonal-art img {
  width: 100%;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .products-grid,
  .machinery-grid,
  .carousel-track,
  .flute-divider path {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
}

/* ============================================================
   RESPONSIVE
   Breakpoints, largest → smallest. Most sizing above already
   scales fluidly via clamp(); the rules below handle layout
   changes (columns → stacks, grid → flex) that clamp() can't.
   ============================================================ */

/* ---------- Small laptop / large tablet (≤1024px) ---------- */
@media (max-width: 1024px) {
  .why-choose-head {
    margin-bottom: 40px;
  }
}

/* ---------- Tablet (≤900px) ---------- */
@media (max-width: 900px) {
  .tc-card {
    grid-template-columns: 1fr;
  }
}

/* ---------- Tablet / small laptop (≤860px) ---------- */
@media (max-width: 860px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .why-choose-head {
    margin-bottom: 32px;
  }

  .cta-description {
    position: relative;
    z-index: 2;
  }

  .cta-row {
    flex-direction: column;
  }

  .cta-image,
  .cta-description {
    max-width: 100%;
    flex-basis: auto;
    width: 100%;
  }

  .cta-image {
    transform: none;
    aspect-ratio: 16 / 9;
  }

  .cta-description {
    margin-left: 0;
    margin-top: -32px;
  }
}

/* ---------- Tablet (≤992px) for process grid: 2 columns ---------- */
@media (max-width: 992px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Tablet (≤768px) ---------- */
@media (max-width: 768px) {
  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 45%;
  }

  .why {
    background: var(--paper);
  }

  /* Machinery support carousel: shrink the peek so more cards are visible */
  .carousel-item {
    flex: 0 0 auto;
  }

  .tc-quote-text {
    min-height: 0;
  }
}

/* ---------- Small laptop tablet (≤860px) about section ---------- */
@media (max-width: 768px) {
  .about {
    padding: 24px 20px;
  }

  .about-grid {
    grid-template-columns: 1fr; /* stack image + text */
    gap: 20px;
  }

  .about .about-inner {
    padding: 20px 15px;
  }

  .about-body span {
    font-size: 14px;
    text-align: left; /* justify looks bad on narrow columns */
  }

  .about-numbers {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
  }

  .about-numbers > div {
    flex: 1 1 30%;
    min-width: 90px;
  }

  .about-img img {
    width: 100%;
    height: auto;
    display: block;
  }

  .machinery-card p {
    text-align: left; /* justify also looks ragged on narrow cards */
  }
}

/* ---------- Small phones / narrow columns (≤600px) ---------- */
@media (max-width: 600px) {
  /* Single column layouts once a column would fall under ~260px */
  .products-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .machinery-grid {
    grid-template-columns: 1fr;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-stats {
    justify-content: center;
    text-align: center;
    gap: 18px;
  }

  .hero-stats div {
    flex: 1 1 40%;
  }

  .mv-card .header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Small phones (≤480px) ---------- */
@media (max-width: 480px) {
  .container {
    margin: 0 10px;
    padding: 16px;
    border-radius: 10px;
  }

  .products-grid {
    gap: 12px;
  }

  .product-image svg {
    width: 38%;
  }

  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .spec-table {
    min-width: 420px;
    font-size: 12px;
  }

  .spec-table th,
  .spec-table td {
    padding: 8px 12px;
  }

  .btn,
  .hero-glass-btn,
  .cta-diagonal-btn {
    width: 100%;
  }

  .cta-description {
    margin-top: -20px;
  }

  .cta-diagonal-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-diagonal-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-diagonal-art {
    max-width: 340px;
    margin: 0 auto;
    order: -1;
  }

  .cta-diagonal::before {
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 55%);
  }

  .about-numbers {
    justify-content: space-between;
  }

  .about-numbers > div {
    flex: 1 1 45%;
  }

  .why-choose-item:not(:last-child)::before {
    left: 17px;
    top: 36px;
  }

  .why-choose-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .why-choose-item {
    gap: 14px;
  }

  .tc-quote-text {
    padding-left: 12px;
  }

  .tc-left{
    padding: 10px 0;
  }
}

/* ---------- Very small phones (≤380px) ---------- */
@media (max-width: 380px) {
  .hero-stats div {
    flex: 1 1 100%;
  }

  .hero-stats {
    border-top: none;
    padding-top: 0;
  }

  .hero-stats div:first-child {
    border-top: 1px solid rgba(251, 248, 241, 0.2);
    padding-top: 16px;
    margin-top: 4px;
  }

  .products-flex {
    gap: 18px;
  }

  .tc-avatar {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }
}