/* ============================================================
   Tamosa Group - Landing Template
   Radius system (dokumentasi):
   - Buttons, chips, inputs teks & select : pill (999px)
   - Cards, gambar, panel, textarea       : 16px
   Satu aksen: chili red. Netral hangat stone. Tema terang tunggal.
   ============================================================ */

:root {
  --bg: #fdfcfa;
  --surface: #f5f4f1;
  --ink: #191614;
  --muted: #5d574f;
  --line: #e8e5e0;
  --accent: #c62a12;
  --accent-strong: #a32009;
  --accent-soft: rgba(198, 42, 18, 0.12);
  --dark: #1b1815;
  --cream: #f7f4ef;
  --danger: #b3261e;
  --r-pill: 999px;
  --r-card: 16px;
  --shadow: 0 16px 40px rgba(25, 22, 20, 0.12);
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, p, ul, ol, dl, dd, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.container {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-pill);
  text-decoration: none;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.accent {
  color: var(--accent);
}

/* ============ Buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-invert {
  background: #fff;
  color: var(--ink);
}

.btn-invert:hover {
  background: var(--cream);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 17px 34px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* ============ Header ============ */

.header-sentinel {
  height: 1px;
}

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  background: rgba(253, 252, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(25, 22, 20, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
}

.logo span {
  color: var(--accent);
}

.main-nav {
  display: flex;
  gap: 4px;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

.main-nav a:hover {
  background: var(--surface);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 1.45rem;
  cursor: pointer;
  place-items: center;
}

.nav-toggle .icon-close {
  display: none;
}

body.nav-open .nav-toggle .icon-open {
  display: none;
}

body.nav-open .nav-toggle .icon-close {
  display: block;
}

/* ============ Hero ============ */

.hero {
  padding-top: calc(var(--header-h) + 48px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--muted);
}

.eyebrow i {
  color: var(--accent);
  font-size: 1.05rem;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  margin: 26px 0 22px;
}

.lead {
  max-width: 54ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  margin-top: 44px;
}

.hs {
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid var(--line);
}

.hs:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.hs dt {
  font-size: 1.9rem;
  color: var(--ink);
}

.hs dd {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 470px;
}

.hv {
  border-radius: var(--r-card);
  overflow: hidden;
}

.hv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hv-main {
  width: min(430px, 100%);
  aspect-ratio: 4 / 4.5;
  margin-left: auto;
}

.hv-a,
.hv-b {
  position: absolute;
  border: 6px solid #fff;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.hv-a {
  width: 47%;
  max-width: 225px;
  right: -5%;
  bottom: -9%;
  transform: rotate(4deg);
}

.hv-b {
  width: 39%;
  max-width: 185px;
  left: -4%;
  top: -5%;
  transform: rotate(-6deg);
}

.hv-sticker {
  position: absolute;
  top: -24px;
  right: -8px;
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.2;
  transform: rotate(8deg);
  box-shadow: 0 14px 32px rgba(198, 42, 18, 0.35);
}

/* Marquee */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: mq-scroll 24s linear infinite;
}

.mq-group {
  display: flex;
  align-items: center;
  gap: 44px;
  padding: 16px 22px;
}

.mq-item {
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.mq-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

@keyframes mq-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* ============ Sections ============ */

.section {
  padding-block: 96px;
}

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

.section-head {
  margin-bottom: 56px;
  max-width: 720px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.section-head h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  margin: 14px 0 16px;
}

.section-intro {
  color: var(--muted);
  font-size: 1.02rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--muted);
  transition: border-color 0.2s ease, color 0.2s ease;
}

a.chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.chip-static {
  background: var(--surface);
}

/* ============ Brand ============ */

.brand-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  grid-auto-rows: auto;
  gap: 24px;
}

.brand-card--featured {
  grid-row: 1 / 3;
}

.brand-media {
  overflow: hidden;
}

.brand-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.brand-card:hover .brand-media img {
  transform: scale(1.05);
}

.brand-card--featured .brand-media {
  aspect-ratio: 16 / 9.6;
}

.brand-card:not(.brand-card--featured) .brand-media {
  aspect-ratio: 16 / 9.2;
}

.brand-body {
  display: flex;
  flex-direction: column;
  padding: 26px 28px 28px;
  height: 100%;
}

.brand-flag {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.brand-body h3 {
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  margin: 10px 0 12px;
}

.brand-desc {
  color: var(--muted);
  font-size: 0.96rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.brand-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ============ Promo ============ */

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

.promo-poster {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 300px;
  padding: 34px;
  border-radius: var(--r-card);
}

.p-accent {
  grid-column: 1 / 3;
  background: var(--accent);
  color: #fff;
}

.p-dark {
  grid-column: 3;
  grid-row: 1 / 3;
  background: var(--dark);
  color: var(--cream);
}

.p-light {
  grid-column: 1 / 3;
  background: #fff;
  border: 1px solid var(--line);
}

.promo-badge {
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.p-light .promo-badge {
  background: var(--dark);
}

.promo-brand {
  font-size: 0.84rem;
  font-weight: 700;
  opacity: 0.85;
}

.promo-poster h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  margin: 4px 0;
}

.promo-desc {
  max-width: 54ch;
  font-size: 0.97rem;
  opacity: 0.88;
}

.promo-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.83rem;
  font-weight: 600;
  opacity: 0.72;
}

.promo-poster .btn {
  margin-top: auto;
}

/* ============ Outlet ============ */

.outlet-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 420px;
}

.search-box i {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1.1rem;
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 13px 20px 13px 46px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  font: inherit;
  font-size: 0.93rem;
  color: var(--ink);
}

.search-box input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  padding: 10px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: transparent;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

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

.outlet-card {
  padding: 24px;
}

.outlet-brand {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.outlet-card h3 {
  font-size: 1.13rem;
  font-weight: 800;
  margin: 7px 0 12px;
}

.outlet-line {
  display: flex;
  align-items: baseline;
  gap: 9px;
  color: var(--muted);
  font-size: 0.91rem;
  margin: 5px 0;
}

.outlet-line i {
  color: var(--accent);
  font-size: 1.05rem;
  flex-shrink: 0;
  transform: translateY(2px);
}

.channel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}

.outlet-empty {
  text-align: center;
  padding: 44px 24px;
  border: 1.5px dashed var(--line);
  border-radius: var(--r-card);
  color: var(--muted);
  font-weight: 600;
}

[hidden] {
  display: none !important;
}

/* ============ Kemitraan ============ */

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

.partner-photo {
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 30px;
}

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

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 14px 0;
  font-weight: 600;
  font-size: 0.98rem;
}

.benefit-list i {
  color: var(--accent);
  font-size: 1.3rem;
  flex-shrink: 0;
  transform: translateY(2px);
}

.partner-steps > h3,
.faq > h3 {
  font-size: 1.55rem;
  margin-bottom: 14px;
}

.step-list {
  margin-top: 10px;
}

.step-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 20px 0;
}

.step-list li + li {
  border-top: 1px solid var(--line);
}

.step-num {
  font-size: 1.55rem;
  color: var(--accent);
  min-width: 52px;
}

.step-list h4 {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.step-list p {
  color: var(--muted);
  font-size: 0.93rem;
}

.faq {
  margin-top: 40px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary i {
  color: var(--accent);
  font-size: 1.2rem;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq details[open] summary i {
  transform: rotate(45deg);
}

.faq details p {
  color: var(--muted);
  font-size: 0.94rem;
  padding-bottom: 18px;
  max-width: 60ch;
}

.cta-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 36px;
  margin-top: 68px;
  padding: 46px 50px;
  background: var(--dark);
  border-radius: var(--r-card);
}

.cta-banner h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #fff;
  margin-bottom: 10px;
}

.cta-banner p {
  color: rgba(247, 244, 239, 0.72);
  max-width: 58ch;
}

/* ============ Karier ============ */

.job-list {
  border-top: 1px solid var(--line);
}

.job {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 23px 14px;
  transition: background 0.2s ease;
}

.job:hover {
  background: #fff;
}

.job + .job {
  border-top: 1px solid var(--line);
}

#karier {
  background: linear-gradient(var(--bg), var(--bg));
}

.job-main h3 {
  font-size: 1.14rem;
  font-weight: 800;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.89rem;
  font-weight: 600;
}

.career-note {
  margin-top: 30px;
  color: var(--muted);
}

.career-note a {
  color: var(--accent);
  font-weight: 700;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

/* ============ Kontak ============ */

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

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 22px 0;
}

.info-list li > i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info-list strong {
  display: block;
  margin-bottom: 3px;
}

.info-list p,
.info-list a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.info-list a {
  font-weight: 700;
  color: var(--ink);
}

.info-list a:hover {
  color: var(--accent);
}

.social-row {
  display: flex;
  gap: 10px;
  margin: 30px 0;
}

.social-btn {
  width: 43px;
  height: 43px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.map-embed {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-form-wrap {
  position: relative;
  padding: 36px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.optional {
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  font: inherit;
  font-size: 0.94rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  border-radius: var(--r-card);
  min-height: 132px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 46px;
  cursor: pointer;
}

.select-wrap > i {
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.field-error {
  display: none;
  color: var(--danger);
  font-size: 0.81rem;
  font-weight: 600;
  margin-top: 6px;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--danger);
}

.field.invalid .field-error {
  display: block;
}

.form-note {
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 4px;
}

.contact-form-wrap.sent form {
  display: none;
}

.contact-form-wrap.sent .form-success {
  display: flex;
}

.form-success > i {
  font-size: 2.6rem;
  color: var(--accent);
}

.form-success h3 {
  font-size: 1.7rem;
}

.form-success p {
  color: var(--muted);
  margin-bottom: 10px;
}

/* ============ Footer ============ */

.site-footer {
  background: var(--dark);
  color: rgba(247, 244, 239, 0.72);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 52px;
}

.logo-footer {
  color: #fff;
}

.footer-about p {
  margin: 16px 0 20px;
  font-size: 0.94rem;
  max-width: 36ch;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 10px 0;
  color: inherit;
  font-size: 0.93rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.85rem;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ============ Reveal animation ============ */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ============ Responsive ============ */

@media (max-width: 1020px) {
  .main-nav {
    position: fixed;
    top: calc(var(--header-h) + 10px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  body.nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .main-nav a {
    padding: 14px 16px;
    font-size: 1.02rem;
  }

  .nav-toggle {
    display: grid;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 64px;
    padding-bottom: 72px;
  }

  .hero-visual {
    justify-self: center;
  }

  .hv-b {
    display: none;
  }

  .hv-a {
    bottom: -8%;
  }

  .brand-grid,
  .partner-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .brand-card--featured {
    grid-row: auto;
  }

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

  .p-accent,
  .p-tall,
  .p-light {
    grid-column: auto;
    grid-row: auto;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .cta-banner {
    grid-template-columns: 1fr;
    padding: 38px 32px;
  }

  .section {
    padding-block: 68px;
  }
}

@media (max-width: 560px) {
  .container {
    padding-inline: 18px;
  }

  .outlet-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hs {
    padding-right: 18px;
    margin-right: 18px;
  }

  .hs dt {
    font-size: 1.5rem;
  }

  .job {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-form-wrap {
    padding: 26px 20px;
  }

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

  .hv-sticker {
    width: 88px;
    height: 88px;
    font-size: 0.88rem;
    top: -16px;
    right: 0;
  }

  .marquee-track {
    animation-duration: 16s;
  }
}

/* ============ Reduced motion ============ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none;
  }
}
