:root {
  --ink: #181716;
  --muted: #686059;
  --paper: #fffaf1;
  --cream: #f7efe2;
  --line: #e4d7c7;
  --red: #b91817;
  --red-dark: #87100f;
  --gold: #c39350;
  --navy: #0d3766;
  --green: #386b54;
  --shadow: 0 18px 48px rgba(53, 35, 24, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fffaf1 0%, #fffdf8 44%, #f8efe4 100%);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

img,
svg {
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 0 6vw;
  background: rgba(255, 252, 245, 0.94);
  border-bottom: 1px solid rgba(118, 82, 50, 0.14);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(13, 55, 102, 0.18);
  object-fit: cover;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.15;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex: 1;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 28px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 10px 24px rgba(185, 24, 23, 0.25);
}

.header-cta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid rgba(98, 65, 42, 0.18);
  border-radius: 8px;
  background: #fff9ef;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.62) 34%, rgba(0, 0, 0, 0.16) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
  width: min(1180px, 88vw);
  margin: 0 auto;
  padding: 100px 0 68px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 730px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.02;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 14px 28px rgba(148, 16, 15, 0.26);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 150px));
  gap: 18px;
  margin-top: 58px;
}

.hero-proof div {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 118px;
  padding: 16px 12px;
  border: 1px solid rgba(255, 240, 214, 0.24);
  border-radius: 8px;
  background: radial-gradient(circle at 50% 25%, rgba(255, 232, 190, 0.18), rgba(20, 14, 10, 0.7));
}

.hero-proof svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: #f7dfb7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero-proof span {
  color: #fff8e7;
  font-size: 14px;
  font-weight: 800;
}

.section {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 72px 0;
}

.section-heading {
  width: min(720px, 100%);
  margin: 0 auto 32px;
  text-align: center;
}

.section-heading h2,
.factory-copy h2,
.quality-copy h2,
.about-section h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.12;
}

.section-heading p:not(.eyebrow),
.factory-copy p,
.quality-copy p,
.about-section p,
.contact-copy p {
  color: var(--muted);
}

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

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(137, 93, 56, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(74, 46, 28, 0.08);
}

.product-media {
  position: relative;
  aspect-ratio: 1.42 / 1;
  overflow: hidden;
  background: #2a160e;
}

.effect-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.26s ease;
}

.product-card:hover .effect-shot {
  transform: scale(1.04);
}

.product-body {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 20px;
  text-align: center;
}

.product-body h3 {
  max-width: 100%;
  min-height: 54px;
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.25;
}

.product-body a,
.product-learn {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  margin-left: 0;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(185, 24, 23, 0.32);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--red);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.factory-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 46px;
  width: min(1180px, 92vw);
  margin: 0 auto 72px;
  padding: 48px;
  border: 1px solid rgba(143, 97, 58, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 3% 10%, rgba(195, 147, 80, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(255, 250, 241, 0.96), rgba(248, 238, 224, 0.96));
}

.factory-copy {
  align-self: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(76px, 1fr));
  gap: 10px;
  margin: 30px 0 34px;
}

.stats div {
  border-left: 1px solid var(--line);
  padding-left: 14px;
}

.stats strong {
  display: flex;
  align-items: baseline;
  gap: 2px;
  min-height: 34px;
  font-size: 26px;
  line-height: 1;
  white-space: nowrap;
}

.stat-number {
  font-size: 34px;
  letter-spacing: 0;
}

.stat-unit {
  font-size: 15px;
  font-weight: 900;
}

.stat-word {
  font-size: 28px;
}

.stats div > span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.factory-cta {
  border-radius: 8px;
}

.factory-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.factory-gallery img,
.service-visual img,
.quality-section img {
  width: 100%;
  border: 1px solid rgba(99, 75, 56, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.factory-gallery .wide {
  grid-column: 1 / -1;
  aspect-ratio: 2.15 / 1;
}

.factory-gallery img:not(.wide) {
  aspect-ratio: 1.45 / 1;
}

.service-visual {
  margin-bottom: 24px;
}

.service-visual img {
  aspect-ratio: 2.85 / 1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.service-grid article {
  padding: 22px 18px;
  border: 1px solid rgba(143, 97, 58, 0.17);
  border-radius: 8px;
  background: #fffdf8;
}

.service-grid svg {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-grid h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.process {
  margin-top: 40px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.process h3 {
  margin: 0 0 24px;
  text-align: center;
  font-size: 28px;
}

.process ol {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process li {
  min-height: 72px;
  padding: 8px 18px;
  border-left: 1px solid var(--line);
}

.process li:first-child {
  border-left: 0;
}

.process strong {
  display: block;
  font-size: 26px;
}

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

.quality-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
  padding: 74px max(4vw, 24px);
  background: #111;
  color: #fff;
}

.quality-copy p {
  color: rgba(255, 255, 255, 0.72);
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.84);
}

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

.check-list li::before {
  background: var(--green);
  color: transparent;
  content: "";
}

.check-list li::after {
  position: absolute;
  top: 7px;
  left: 5px;
  width: 8px;
  height: 4px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  content: "";
  transform: rotate(-45deg);
}

.about-section {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 46px;
  width: min(1180px, 92vw);
  margin: 72px auto;
  padding: 54px;
  overflow: hidden;
  border: 1px solid rgba(143, 97, 58, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(195, 147, 80, 0.13) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(13, 55, 102, 0.06), rgba(255, 250, 241, 0.86));
  background-size: 34px 100%, 100% 100%;
}

.about-section::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(13, 55, 102, 0.08);
  border-radius: 8px;
  content: "";
  pointer-events: none;
}

.about-section::after {
  position: absolute;
  right: -42px;
  bottom: -64px;
  width: 220px;
  height: 220px;
  border: 18px solid rgba(13, 55, 102, 0.07);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.about-title,
.about-copy {
  position: relative;
  z-index: 1;
}

.about-section p {
  margin: 6px 0 0;
  font-size: 18px;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(13, 55, 102, 0.16);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 900;
}

.contact-section,
.contact-hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 46px;
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 74px 0;
}

.contact-page {
  min-height: calc(100vh - 78px);
}

.contact-hero {
  align-items: start;
}

.contact-copy h1 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.05;
}

.contact-panel {
  position: relative;
}

.contact-links {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-links a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(143, 97, 58, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.contact-links span {
  color: var(--muted);
  font-weight: 800;
}

.contact-links strong {
  color: var(--navy);
  text-align: right;
  overflow-wrap: anywhere;
}

.qr-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(13, 55, 102, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(247, 239, 226, 0.82));
  box-shadow: 0 12px 28px rgba(53, 35, 24, 0.08);
}

.qr-card img {
  width: 132px;
  height: 132px;
  border: 8px solid #fff;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(13, 55, 102, 0.12);
}

.qr-card span {
  display: block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.qr-card strong {
  display: block;
  margin-top: 6px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.35;
}

.inquiry-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(143, 97, 58, 0.16);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: var(--shadow);
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  color: #46372d;
  font-size: 14px;
  font-weight: 800;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid #d9c8b6;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.inquiry-form textarea {
  resize: vertical;
}

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

.modal-open {
  overflow: hidden;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.product-modal.is-open {
  display: flex;
}

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

.product-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(82vh, 720px);
  overflow: auto;
  padding: 34px;
  border: 1px solid rgba(255, 226, 186, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(248, 238, 224, 0.98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.product-dialog h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

.product-dialog p {
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(143, 97, 58, 0.18);
  border-radius: 999px;
  background: #fffaf1;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}

.modal-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 24px 0;
}

.modal-columns div {
  padding: 18px;
  border: 1px solid rgba(143, 97, 58, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.modal-columns h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 16px;
}

.modal-columns p {
  margin: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 6vw;
  color: rgba(255, 255, 255, 0.78);
  background: #15120f;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #f2d29c;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .site-header {
    gap: 16px;
  }

  .main-nav {
    gap: 16px;
  }

  .product-grid,
  .factory-band,
  .quality-section,
  .about-section,
  .contact-section,
  .contact-hero {
    grid-template-columns: 1fr;
  }

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

  .process ol {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 18px;
  }

  .process li:nth-child(4) {
    border-left: 0;
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: 70px;
    padding: 0 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffaf1;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

  .main-nav a::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .hero-bg {
    object-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.91) 0%, rgba(0, 0, 0, 0.68) 58%, rgba(0, 0, 0, 0.18) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.62) 100%);
  }

  .hero-content {
    width: min(100% - 34px, 680px);
    padding-top: 72px;
  }

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

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

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

  .section {
    padding: 54px 0;
  }

  .factory-band {
    padding: 30px 20px;
    margin-bottom: 48px;
  }

  .about-section {
    padding: 34px 22px;
    margin: 48px auto;
  }

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

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

  .quality-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .contact-links a {
    display: grid;
  }

  .contact-links strong {
    text-align: left;
  }

  .qr-card {
    grid-template-columns: 112px 1fr;
  }

  .qr-card img {
    width: 112px;
    height: 112px;
  }

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

@media (max-width: 560px) {
  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 14px;
  }

  .hero {
    min-height: 720px;
  }

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

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-proof,
  .product-grid,
  .factory-gallery,
  .service-grid,
  .process ol,
  .modal-columns {
    grid-template-columns: 1fr;
  }

  .product-dialog {
    padding: 28px 20px;
  }

  .qr-card {
    grid-template-columns: 1fr;
  }

  .process li,
  .process li:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .process li:first-child {
    border-top: 0;
  }

  .product-body h3,
  .product-body p {
    min-height: auto;
  }

  .site-footer {
    display: grid;
  }
}

/* Portable display-site adjustments. */
html { scroll-padding-top: 90px; }
:focus-visible { outline: 3px solid #1976c4; outline-offset: 4px; }
.btn-whatsapp { color: #fff; background: #236c49; }
.contact-links strong { overflow-wrap: anywhere; }
.product-dialog { padding-top: 58px; }
@media (min-width: 561px) and (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1081px) {
  .site-header { padding-inline: 4vw; gap: 18px; }
  .main-nav { gap: clamp(12px, 1.6vw, 26px); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
}
@media (max-width: 560px) {
  .hero-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-proof div { min-height: 100px; }
  .hero-content { padding-top: 48px; padding-bottom: 48px; }
  .inquiry-form { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
