:root {
  --ink: #172033;
  --muted: #5f6b7a;
  --line: #d9e0e8;
  --paper: #ffffff;
  --soft: #f4f7fa;
  --navy: #0d2b4f;
  --navy-2: #163f6d;
  --green: #16856a;
  --gold: #b58a2a;
  --shadow: 0 18px 45px rgba(13, 43, 79, 0.12);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-on-scroll {
    opacity: 0;
    transform: translateY(34px) scale(0.985);
    filter: blur(5px);
    transition:
      opacity 780ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
      filter 900ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform, filter;
  }

  .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }

  .hero-content,
  .hero-process-image,
  .hero-process-video {
    animation: heroRise 920ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero-process-image,
  .hero-process-video {
    animation-delay: 140ms;
  }

  @keyframes heroRise {
    from {
      opacity: 0;
      transform: translateY(28px) scale(0.985);
      filter: blur(5px);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
      filter: blur(0);
    }
  }
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--paper);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-wrap,
.section-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.brand-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #2c3746;
  font-size: 14px;
  font-weight: 700;
}

.nav-menu a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--navy);
  border-color: var(--green);
}

.language-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 4px;
}

.language-links a {
  min-width: 28px;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

.language-links a:hover,
.language-links a.active {
  border-color: var(--green);
  color: var(--green);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  color: var(--navy);
  font-size: 22px;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  background: var(--navy);
}

.hero-media {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 24, 45, 0.9) 0%, rgba(13, 43, 79, 0.78) 44%, rgba(13, 43, 79, 0.24) 100%),
    linear-gradient(180deg, rgba(7, 24, 45, 0.04) 0%, rgba(7, 24, 45, 0.44) 100%),
    var(--hero-bg-image, url("../images/home-background-options/home-bg-option-1-workshop-wide.png")) center calc(50% + var(--hero-parallax, 0px)) / cover no-repeat;
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: block;
  padding: 96px 0 118px;
}

.hero-content {
  max-width: 760px;
  margin: 0;
  padding: 0;
  color: #fff;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
}

.hero-content h1,
.page-hero h1 {
  margin: 0;
  max-width: 790px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-content p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #89d8c5;
}

.hero-process-video,
.hero-process-image {
  color: #fff;
}

.hero-media .hero-process-video,
.hero-media .hero-process-image {
  display: none;
}

.hero-process-video .video-placeholder {
  min-height: 292px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.hero-image-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 292px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  background: #102b45;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-image-overlay {
  position: absolute;
  inset: auto 14px 14px 14px;
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(8, 31, 58, 0.72);
  backdrop-filter: blur(8px);
}

.hero-image-overlay strong,
.hero-image-overlay small {
  display: block;
}

.hero-image-overlay small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
}

.video-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.video-steps span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
}

.hero-actions,
.section-actions,
.cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}

.btn:hover {
  background: var(--navy-2);
}

.btn.secondary {
  color: var(--navy);
  background: #fff;
}

.btn.secondary:hover {
  background: var(--soft);
}

.btn.whatsapp {
  border-color: var(--green);
  background: var(--green);
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: var(--soft);
}

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

.section-head h2,
.content-block h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-head p {
  max-width: 650px;
  margin: 10px 0 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(13, 43, 79, 0.03);
}

.card-body {
  padding: 22px;
}

.card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.25;
}

.card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.card-link {
  color: var(--green);
  font-weight: 800;
  font-size: 14px;
}

.home-product-categories .card {
  display: flex;
  flex-direction: column;
}

.home-product-categories .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.home-category-badge {
  align-self: flex-start;
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(8, 31, 58, 0.72);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.media-placeholder {
  min-height: 156px;
  display: flex;
  align-items: end;
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(13, 43, 79, 0.92), rgba(22, 133, 106, 0.78)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.08) 0 8px, rgba(255,255,255,0.02) 8px 16px);
  border-radius: var(--radius) var(--radius) 0 0;
  font-weight: 800;
}

.media-placeholder.has-image {
  position: relative;
  min-height: 220px;
  padding: 0;
  overflow: hidden;
  background: #eef3f7;
}

.media-placeholder.has-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.media-placeholder.has-image span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(8, 31, 58, 0.72);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.video-placeholder {
  min-height: 220px;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(13, 43, 79, 0.95), rgba(22, 133, 106, 0.82)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.08) 0 8px, rgba(255,255,255,0.02) 8px 16px);
  border-radius: var(--radius);
  text-align: center;
}

.video-placeholder strong,
.video-placeholder small {
  display: block;
}

.video-placeholder small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.video-placeholder.has-video {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #071f3a;
}

.video-placeholder.has-video video {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: contain;
  display: block;
  background: #000;
}

.video-placeholder.has-video small {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
  padding: 6px 8px;
  border-radius: 4px;
  background: rgba(8, 31, 58, 0.78);
  color: #fff;
}

.video-placeholder.has-image {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #071f3a;
}

.video-placeholder.has-image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.video-placeholder.has-image small {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
  padding: 6px 8px;
  border-radius: 4px;
  background: rgba(8, 31, 58, 0.78);
  color: #fff;
}

.play-icon {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 24px;
}

.image-slot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.image-slot {
  min-height: 132px;
  display: flex;
  align-items: end;
  padding: 12px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(13, 43, 79, 0.9), rgba(22, 133, 106, 0.76)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.1) 0 7px, rgba(255,255,255,0.03) 7px 14px);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.image-slot.has-image {
  position: relative;
  min-height: 190px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.image-slot.has-image img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: contain;
  background: #fff;
  display: block;
}

.image-slot.has-image span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 8px;
  border-radius: 4px;
  background: rgba(8, 31, 58, 0.78);
  color: #fff;
  font-size: 13px;
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.category-filter-btn {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.category-filter-btn.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.category-image-grid[hidden] {
  display: none;
}

.feature-list,
.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.check-list li {
  position: relative;
  padding-left: 26px;
  color: #324051;
}

.feature-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
}

.page-hero {
  background: linear-gradient(180deg, #f7fafc, #fff);
  border-bottom: 1px solid var(--line);
}

.page-hero .section-inner {
  min-height: 340px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 36px;
  align-items: center;
  padding: 60px 0;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.content-block {
  max-width: 860px;
}

.content-block p {
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--navy);
  background: #eef3f7;
}

tr:last-child td {
  border-bottom: 0;
}

.detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  align-items: start;
}

.detail-shell.no-sidebar {
  grid-template-columns: 1fr;
}

.detail-content {
  display: grid;
  gap: 22px;
}

.detail-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.detail-panel h2,
.detail-panel h3 {
  margin-top: 0;
  color: var(--navy);
}

.side-cta {
  position: sticky;
  top: 96px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.side-cta h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 22px;
}

.side-cta.inline-cta {
  position: static;
  top: auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

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

.form label {
  display: grid;
  gap: 6px;
  color: #263244;
  font-weight: 800;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
}

.form textarea {
  min-height: 150px;
  resize: vertical;
}

.notice {
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  background: #fff8e8;
  color: #51401d;
}

.footer {
  padding: 46px 0 24px;
  color: rgba(255, 255, 255, 0.78);
  background: #0b213c;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.footer-grid > div:nth-child(2) {
  justify-self: center;
}

.footer-grid > div:nth-child(3) {
  justify-self: end;
}

.footer h2,
.footer h3 {
  margin: 0 0 12px;
  color: #fff;
}

.footer a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.78);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.social-links h3 {
  flex: 0 0 100%;
  margin: 0 0 4px;
}

.social-links a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  font-weight: 800;
  font-size: 0;
  line-height: 1;
  opacity: 0.92;
}

.social-links a::before {
  font-size: 18px;
}

.social-links a[data-social-placeholder="tiktok"]::before {
  content: "♪";
}

.social-links a[data-social-placeholder="facebook"]::before {
  content: "f";
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
}

.social-links a[data-social-placeholder="linkedin"]::before {
  content: "in";
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
}

.social-links a[data-social-placeholder="youtube"]::before {
  content: "▶";
  font-size: 16px;
}

.social-links a:hover {
  opacity: 1;
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.social-links small {
  flex: 0 0 100%;
  display: block;
  max-width: 280px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.footer .social-links small {
  color: rgba(255, 255, 255, 0.62);
}

.copyright {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
}

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

  .image-slot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-inner,
  .page-hero .section-inner,
  .detail-shell,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .side-cta {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav-wrap,
  .section-inner,
  .footer-inner,
  .hero-content {
    width: min(100% - 28px, var(--max));
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    display: none;
    padding: 12px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    display: grid;
    gap: 6px;
  }

  .nav-menu a {
    padding: 10px 0;
  }

  .language-links {
    padding: 8px 0 0;
    flex-wrap: wrap;
  }

  .language-links a {
    padding: 8px 10px;
  }

  .hero,
  .hero-media {
    min-height: auto;
  }

  .hero-inner {
    width: min(100% - 28px, var(--max));
    padding: 72px 0 84px;
  }

  .hero-content h1,
  .page-hero h1 {
    font-size: 38px;
  }

  .section {
    padding: 52px 0;
  }

  .section-head {
    display: block;
  }

  .grid.four,
  .grid.three,
  .grid.two,
  .image-slot-grid {
    grid-template-columns: 1fr;
  }

  .page-hero .section-inner {
    padding: 44px 0;
  }
}
