:root {
  --navy: #062a51;
  --dark: #08090b;
  --blue: #93bfff;
  --ink: #111c2a;
  --focus: #458dff;
  --muted: #4c5869;
  --soft: #f3f5f8;
  --line: #d9e1ea;
}

body:has(dialog[open]) .header { z-index: 20; }
.header { background: rgba(8, 9, 11, .97); }
.header .brand > span { font-size: 11px; color: #c1d6ed; }
.header .nav a { color: #d6dce7; }
.header .nav a:hover { color: #fff; }
.header .wa-button, .hero-actions .hero-primary, .final-grid .wa-button,
.mobile-action .wa-button, .factory-copy .wa-button {
  border: 1px solid #507db5;
  background: #062a51;
  color: #fff;
  font-weight: 800;
}
.header .wa-button:hover, .hero-actions .hero-primary:hover, .final-grid .wa-button:hover,
.mobile-action .wa-button:hover, .factory-copy .wa-button:hover {
  background: #113e71;
  border-color: #93bfff;
  color: #fff;
}
.header .nav a:focus-visible, .hero a:focus-visible, .entry a:focus-visible {
  outline: 2px solid #93bfff;
  outline-offset: 4px;
}

.hero {
  background: radial-gradient(ellipse at 77% 40%, #062a51 0%, #0b1726 36%, #08090b 72%);
  color: #f5f7fa;
}
.hero-grid { gap: clamp(34px, 6vw, 92px); padding-block: clamp(38px, 5vw, 72px); }
.hero .eyebrow { font-size: 11px; color: #acd0ff; }
.hero h1 {
  font-size: clamp(38px, 5.55vw, 86px);
  font-weight: 800;
  letter-spacing: -.069em;
  line-height: .98;
  margin-top: 21px;
}
.hero h1 em { color: #93bfff; }
.hero-intro { color: #c6ceda; max-width: 420px; font-size: 16px; line-height: 1.65; }
.hero-actions { gap: 24px; margin-top: 28px; }
.hero-actions .hero-primary {
  min-height: 52px;
  padding-inline: 22px;
  border-radius: 8px;
  font-size: 13px;
  box-shadow: 0 8px 32px #062a5180;
}
.hero-link { color: #f4f7ff; border-bottom-color: #7195c4; font-size: 13px; }
.hero-help { color: #aab8c9; margin-top: 17px; font-size: 12px; }
.hero-video { min-width: 0; }
.hero-video-frame {
  position: relative;
  aspect-ratio: 27 / 23;
  border: 1px solid #ffffff40;
  border-radius: 12px;
  background: #0d1723;
  overflow: hidden;
  box-shadow: 0 18px 62px #0005;
}
.hero-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-video-toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ffffff75;
  border-radius: 50%;
  background: #08090bd9;
  color: #fff;
  cursor: pointer;
}
.hero-video-toggle svg { width: 21px; height: 21px; fill: currentColor; }
.hero-video-toggle .video-pause-icon, .hero-video-toggle.is-playing .video-play-icon { display: none; }
.hero-video-toggle.is-playing .video-pause-icon { display: block; }
.hero-video-toggle:hover { background: #062a51; }
.hero-video-toggle:focus-visible { outline: 2px solid #93bfff; outline-offset: 3px; }

.entry { background: #0d1119; border-block: 1px solid #263345; }
.entry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.entry a {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 24px 38px 24px 22px;
  min-height: 104px;
  align-content: center;
  border-inline-start: 1px solid #263345;
  color: #f8faff;
}
.entry a:last-child { border-inline-end: 1px solid #263345; }
.entry a:hover { background: #062a51; }
.entry a strong { font-size: 17px; font-weight: 800; }
.entry a span { font-size: 12px; color: #c4cedd; line-height: 1.5; }
.entry a b { position: absolute; inset-inline-end: 15px; top: 24px; color: #93bfff; }

.section-head h2, .factory-copy h2, .volume-copy h2, .faq-layout h2, .final-grid h2 {
  font-weight: 800;
  letter-spacing: -.06em;
}
.factory-section { background: #08090b; padding-block: clamp(54px, 7vw, 100px); }
.factory-grid { grid-template-columns: 1fr 1.02fr; gap: clamp(28px, 6vw, 88px); }
.factory-grid .factory-media { grid-column: 1; grid-row: 1; }
.factory-grid .factory-copy { grid-column: 2; grid-row: 1; }
.factory-video-slot {
  width: min(100%, 276px);
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  background: #191d24;
  border: 1px solid #2b3340;
  border-radius: 12px;
  overflow: hidden;
}
.factory-video-slot video { display: block; width: 100%; height: 100%; object-fit: contain; }
.factory-video-slot video[hidden] { display: none; }
.factory-copy h2 { margin-block: 15px 20px; }
.factory-copy h2 em { color: #93bfff; }
.factory-copy > p { font-size: 15px; }
.factory-copy .wa-button { margin-top: 24px; border-radius: 8px; }
.pima-feature {
  padding-block: clamp(48px, 7vw, 95px);
  background: linear-gradient(120deg, #f8faff, #e8f0fa);
  border-bottom: 1px solid #d4dfec;
}
.pima-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
}
.pima-copy .eyebrow { color: #35567a; }
.pima-copy h2 {
  margin-block: 15px 20px;
  font-size: clamp(34px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -.06em;
  font-weight: 800;
  color: #062a51;
}
.pima-copy > p { max-width: 410px; color: #334963; font-size: 15px; line-height: 1.7; }
.pima-specs { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-block: 24px; }
.pima-specs div { border-left: 2px solid #a5bddb; padding-inline-start: 11px; }
.pima-specs dt { font-size: 12px; color: #4c5869; }
.pima-specs dd { margin-top: 4px; color: #062a51; font-weight: 800; font-size: 13px; }
.pima-price { margin-block: 22px 18px; color: #062a51; font-size: 14px; }
.pima-price strong {
  font-size: clamp(29px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -.045em;
  font-weight: 800;
  white-space: nowrap;
}
.pima-price-condition { margin-top: 7px; color: #4c5869; font-size: 12px; }
.pima-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pima-actions .button {
  min-height: 48px;
  padding-inline: 18px;
  border: 1px solid #062a51;
  border-radius: 8px;
  cursor: pointer;
}
.pima-copy .pima-cta {
  background: #062a51;
  color: #fff;
}
.pima-copy .pima-cta:hover { background: #113e71; }
.pima-copy .pima-details { background: transparent; color: #062a51; }
.pima-copy .pima-details:hover { background: #e6effa; }
.pima-media { width: min(100%, 310px); justify-self: center; }
.pima-media video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 1px solid #c8d5e6;
  border-radius: 16px;
  background: #101922;
  box-shadow: 0 20px 48px #062a5126;
}
.catalog-section { background: #f3f5f8; }
.catalog-fabric-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #062a51;
  font-weight: 800;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.volume-section {
  background: radial-gradient(ellipse at 82% 28%, #062a51, #08090b 73%);
  color: #f7f9fc;
  border-bottom: 0;
}
.volume-section .eyebrow, .volume-copy h2 em { color: #93bfff; }
.volume-copy > p, .volume-bands small, .volume-example-head { color: #c4cfdf; }
.volume-bands > div { background: #10243a; border-color: #34577e; }
.volume-bands strong { color: #a7ccff; }
.volume-example { color: #111c2a; }
.volume-example-head { color: #4c5869; }
.volume-section .volume-channels { color: #c4cfdf; }

.fabric-section { background: #edf2f8; padding-block: clamp(48px, 6vw, 82px); }
.fabric-section .section-head { align-items: end; }
.fabric-section .section-head p { max-width: 365px; }
.fabric-table-frame {
  overflow: hidden;
  background: #fff;
  border: 1px solid #d4dfec;
  border-radius: 16px;
  box-shadow: 0 14px 34px #062a510a;
}
.fabric-table { width: 100%; border-collapse: collapse; text-align: left; }
.fabric-table th, .fabric-table td { padding: 17px clamp(14px, 2.1vw, 27px); }
.fabric-table thead { background: #062a51; color: #f5f8fc; }
.fabric-table thead th { font-size: 12px; letter-spacing: .05em; font-weight: 800; }
.fabric-table tbody tr + tr { border-top: 1px solid #e0e7f0; }
.fabric-table tbody tr:nth-child(even) { background: #f7f9fc; }
.fabric-table tbody th { font-size: 15px; font-weight: 800; color: #062a51; }
.fabric-table td { font-size: 13px; line-height: 1.55; color: #334963; }
.fabric-weight {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 8px;
  background: #e6effa;
  color: #062a51;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.fabric-composition > span, .fabric-models > span { display: none; }
.simulator-section { background: #f8f9fb; }
.feedback-section { background: #eaf0f8; }
.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: start;
  gap: clamp(18px, 3vw, 38px);
}
.proof-gallery {
  padding: 16px;
  background: #fff;
  border: 1px solid #d9e1ea;
  border-radius: 16px;
}
.proof-gallery h3 {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 800;
  color: #062a51;
}
.proof-slides {
  position: relative;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  border-radius: 8px;
}
.proof-gallery:has(.proof-controls:not([hidden])) .proof-slides { scrollbar-width: none; }
.proof-controls[hidden] { display: none; }
.proof-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; margin: 0; }
.proof-image {
  container-type: size;
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
  background: #e4e6e9;
  color: #495567;
  font-size: 14px;
  font-weight: 700;
}
.proof-image img {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: inherit;
}
.proof-image img.is-loaded { opacity: 1; }
.proof-crop {
  position: relative;
  overflow: hidden;
  width: min(100cqw, calc(100cqh * var(--crop-ratio)));
  aspect-ratio: var(--crop-ratio);
}
.proof-crop img { max-width: none; max-height: none; object-fit: fill; }
.proof-gallery-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.proof-caption-label { color: #4c5869; font-size: 11px; }
.proof-slide-product { color: #062a51; font-size: 13px; font-weight: 800; overflow-wrap: anywhere; }
.proof-slide-status { color: #4c5869; font-size: 11px; }
.proof-controls { display: flex; gap: 6px; }
.proof-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #c3d1e0;
  background: #f1f5fa;
  color: #062a51;
  font-size: 17px;
  cursor: pointer;
}
.proof-controls button:hover { background: #062a51; color: #fff; }
.feedback-section .feedback-group {
  display: grid;
  grid-template-columns: 1fr;
  min-width: 0;
  gap: 12px;
  padding: 0;
}
.feedback-section .feedback-card {
  width: 100%;
  min-width: 0;
  min-height: 0;
  gap: 14px;
  padding: 18px 22px;
}
.feedback-section .feedback-card blockquote { margin-block: 0; }
.feedback-section .feedback-card blockquote p { font-size: clamp(16px, 1.8vw, 21px); }

.order-section { background: #fff; padding-block: clamp(52px, 6.5vw, 88px); }
.order-grid {
  list-style: none;
  counter-reset: order;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
}
.order-grid li { padding: 24px; border: 1px solid #d9e1ea; border-radius: 10px; }
.order-grid li::before {
  counter-increment: order;
  content: counter(order);
  background: #062a51;
  color: #fff;
  display: grid;
  place-items: center;
  inline-size: 30px;
  block-size: 30px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 15px;
}
.order-grid h3 { font-size: 18px; font-weight: 800; }
.order-grid p { font-size: 14px; line-height: 1.65; color: #4c5869; margin-top: 7px; }
.faq-section { background: #f3f5f8; }
.final-section { background: linear-gradient(110deg, #08090b, #062a51); }
.footer { background: #08090b; }
.fab, .wa-float, .whatsapp-float, .floating-wa { display: none; }
.mobile-action { background: #08090bf7; color: #f5f7fa; border-color: #294769; }
.mobile-action > a:first-child { color: #eef3fc; }

@media (max-width: 850px) {
  .hero-actions { gap: 14px; }
}

@media (max-width: 650px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; padding-block: 26px 24px; }
  .hero .eyebrow { font-size: 10px; }
  .hero h1 { font-size: clamp(34px, 8.9vw, 54px); }
  .hero-intro { font-size: 14px; line-height: 1.55; margin-top: 14px; }
  .hero-actions { margin-top: 16px; gap: 4px 10px; }
  .hero-actions .hero-primary { width: auto; flex: 1 0 auto; padding-inline: 11px; min-height: 44px; font-size: 12px; }
  .hero-actions .hero-link { min-height: 44px; padding: 0 2px; font-size: 12px; }
  .hero-help { margin-top: 8px; font-size: 11px; }
  .hero-video-frame { aspect-ratio: 4 / 3; }
  .hero-video-toggle { right: 8px; bottom: 8px; }
  .entry-grid, .factory-grid, .order-grid, .proof-layout { grid-template-columns: 1fr; }
  .entry a, .entry a:last-child { border-inline: 0; border-bottom: 1px solid #263345; min-height: 0; padding: 14px 30px 14px 0; }
  .entry a:last-child { border-bottom: 0; }
  .entry a b { top: 17px; right: 5px; }
  .entry a strong { font-size: 15px; }
  .factory-section, .pima-feature { padding-block: 38px; }
  .factory-grid .factory-copy, .factory-grid .factory-media { grid-column: 1; grid-row: auto; }
  .factory-grid, .pima-layout { gap: 22px; }
  .factory-copy h2 { font-size: 36px; margin-block: 12px; }
  .factory-copy > p { font-size: 14px; line-height: 1.65; }
  .factory-copy .wa-button { margin-top: 16px; }
  .pima-layout { grid-template-columns: 1fr; }
  .pima-copy h2 { font-size: clamp(38px, 10vw, 56px); }
  .pima-copy > p { font-size: 14px; line-height: 1.6; }
  .pima-specs { margin-block: 18px; gap: 10px 18px; }
  .pima-price { margin-block: 18px 15px; }
  .pima-price-condition { line-height: 1.45; }
  .pima-actions .button { flex: 1 1 135px; padding-inline: 9px; min-height: 44px; justify-content: center; text-align: center; font-size: 12px; }
  .pima-media, .factory-video-slot { width: min(100%, 252px, 30svh); }
  .fabric-table-frame { overflow: visible; background: transparent; border: 0; box-shadow: none; }
  .fabric-table, .fabric-table tbody { display: block; }
  .fabric-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .fabric-table tbody tr, .fabric-table tbody tr + tr, .fabric-table tbody tr:nth-child(even) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
    align-items: center;
    padding: 15px;
    border: 1px solid #d4dfec;
    border-radius: 12px;
    background: #fff;
  }
  .fabric-table tbody tr + tr { margin-top: 10px; }
  .fabric-table th, .fabric-table td { padding: 0; }
  .fabric-table tbody th { grid-column: 1; grid-row: 1; }
  .fabric-grammage { grid-column: 2; grid-row: 1; }
  .fabric-composition, .fabric-models { grid-column: 1 / -1; }
  .fabric-composition > span, .fabric-models > span {
    display: block;
    margin-bottom: 1px;
    color: #4c5869;
    font-size: 11px;
    font-weight: 800;
  }
  .order-grid { gap: 12px; }
  .order-grid li { padding: 18px; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 64px; scroll-padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .header-inner { height: 58px; }
  .header .brand > span { display: block; margin-inline-start: 7px; padding-inline-start: 9px; }
  .header .header-actions .wa-button, .header .header-budget { display: none; }
  .mobile-action { padding-block: 6px calc(6px + env(safe-area-inset-bottom)); }
  .mobile-action .button { min-height: 44px; }
  .mobile-action > a:first-child { min-height: 44px; align-content: center; }
  body:has(#mitra-openai-consent:not([hidden])) .mobile-action { visibility: hidden; }
  body #mitra-openai-consent {
    box-sizing: border-box;
    width: calc(100% - 24px);
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    padding: 12px;
    font-size: 13px;
  }
  body #mitra-openai-consent button { min-height: 44px; margin-bottom: 0; padding-inline: 11px; }
}
