/* PT. Mitra Logistik Pratama — Light Elegant Theme */

:root {
  --bg: #f4f7fb;
  --bg-soft: #eef3f9;
  --surface: #ffffff;
  --primary: #1a5276;
  --primary-soft: #2a6f9e;
  --primary-light: #e8f2f8;
  --accent: #3d8eb9;
  --accent-warm: #b8895a;
  --accent-warm-light: #f5ebe0;
  --text: #1e3344;
  --text-muted: #5a7186;
  --text-light: #8fa3b5;
  --border: #dde6ef;
  --border-soft: #ecf1f6;
  --shadow-sm: 0 2px 12px rgba(26, 82, 118, 0.06);
  --shadow: 0 8px 32px rgba(26, 82, 118, 0.1);
  --shadow-lg: 0 20px 60px rgba(26, 82, 118, 0.12);
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 76px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Lato", system-ui, sans-serif;
  --font-montserrat: "Montserrat", var(--font-sans);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.35s var(--ease);
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: 820px;
}

/* ── Section ── */
.section {
  padding: 5.5rem 0;
  position: relative;
}

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

.section__eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 0.875rem;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--primary);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.section__title em {
  font-style: normal;
  color: inherit;
}

.section__desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.8;
}

.section__header {
  margin-bottom: 3rem;
}

.section__header--center {
  text-align: center;
}

.section__header--center .section__desc {
  margin: 0 auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn--primary {
  background: var(--primary);
  color: var(--surface);
  box-shadow: 0 4px 20px rgba(26, 82, 118, 0.25);
}

.btn--primary:hover {
  background: var(--primary-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26, 82, 118, 0.3);
}

.btn--outline {
  background: var(--surface);
  color: var(--primary);
  border: 1.5px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

/* ── Header — nav grouped left ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow var(--transition);
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 2.5rem;
  min-width: 0;
}

.header__brand {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}

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

.header__left {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex: 1;
  min-width: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav__link {
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: all var(--transition);
}

.nav__link:hover,
.nav__link--active {
  color: var(--primary);
  background: var(--primary-light);
}

.header__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 100px;
}

.lang-switch__btn {
  padding: 0.3125rem 0.625rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
}

.lang-switch__btn--active {
  background: var(--primary);
  color: var(--surface);
}

.lang-switch__btn:hover:not(.lang-switch__btn--active) {
  color: var(--primary);
}

.nav__brochure {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* ── Hero — full cinematic ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 2rem) 0 3rem;
}

.hero__bg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 22, 36, 0.45) 0%, rgba(10, 22, 36, 0.62) 45%, rgba(10, 22, 36, 0.78) 100%),
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(10, 22, 36, 0.2) 0%, rgba(10, 22, 36, 0.65) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 6.5vw, 4rem);
  font-weight: 600;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero__slogan {
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.25rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
  color: #ffffff;
}

/* ── Marquee ── */
.marquee {
  padding: 1rem 0;
  background: var(--primary);
  overflow: hidden;
}

.marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.marquee__item {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.marquee__item::after {
  content: "·";
  color: var(--accent-warm);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── About ── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__text p {
  color: var(--text-muted);
  margin-bottom: 1.125rem;
  font-size: 1rem;
}

.about__text--justify p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.about__text p:first-child {
  font-size: 1.0625rem;
  color: var(--text);
}

.about__visual {
  position: relative;
  padding: 0.5rem 0 0 1.5rem;
}

.about__visual-accent {
  position: absolute;
  inset: -8px 12px 32px -8px;
  background: linear-gradient(145deg, var(--primary-light) 0%, rgba(61, 142, 185, 0.12) 100%);
  clip-path: polygon(18% 0, 100% 6%, 92% 100%, 0 88%);
  z-index: 0;
}

.about__visual-frame {
  position: relative;
  z-index: 1;
  clip-path: polygon(0 5%, 96% 0, 100% 92%, 6% 100%);
  box-shadow: 0 28px 56px rgba(26, 82, 118, 0.16);
  overflow: hidden;
}

.about__visual-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.about__sea-scene {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 88px;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 82, 118, 0.72) 45%, rgba(26, 82, 118, 0.88) 100%);
  pointer-events: none;
}

.about__waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 48px;
}

.about__wave {
  fill: rgba(232, 242, 248, 0.35);
}

.about__wave--2 {
  fill: rgba(255, 255, 255, 0.18);
  animation: wave-drift 8s ease-in-out infinite alternate;
}

.about__wave--1 {
  animation: wave-drift 6s ease-in-out infinite alternate-reverse;
}

@keyframes wave-drift {
  from { transform: translateX(-2%); }
  to { transform: translateX(2%); }
}

.about__ship-svg {
  position: absolute;
  bottom: 28px;
  left: -30%;
  width: 38%;
  min-width: 140px;
  max-width: 220px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.about__scene-label {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-family: var(--font-montserrat);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.85);
}

.about__tag {
  position: absolute;
  bottom: -0.75rem;
  left: 2rem;
  z-index: 2;
  padding: 0.5rem 1rem;
  background: var(--surface);
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(61, 142, 185, 0.25);
}

.card__title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.card__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.card--center {
  text-align: center;
}

.card__text--lead {
  font-size: 1.0625rem;
  color: var(--text);
  line-height: 1.85;
}

/* ── Visi & Misi — side by side ── */
.vm-section {
  position: relative;
  overflow: hidden;
}

.vm-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(61, 142, 185, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.vm-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.vm-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(61, 142, 185, 0.28);
}

.vm-panel__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.vm-panel--vision .vm-panel__accent {
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.vm-panel--mission .vm-panel__accent {
  background: linear-gradient(90deg, var(--accent-warm), #d4a574);
}

.vm-panel__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.vm-panel__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vm-panel__icon svg {
  width: 24px;
  height: 24px;
}

.vm-panel__icon--vision {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(26, 82, 118, 0.12);
}

.vm-panel__icon--mission {
  background: var(--accent-warm-light);
  color: var(--accent-warm);
  border: 1px solid rgba(184, 137, 90, 0.2);
}

.vm-panel__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary);
}

.vm-panel__title em {
  font-style: normal;
  color: inherit;
}

.vm-panel__text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.85;
  flex: 1;
}

.mission-list--panel {
  flex: 1;
}

.mission-list--panel .mission-list__item {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  transition: border-color var(--transition), background var(--transition);
}

.mission-list--panel .mission-list__item:hover {
  background: var(--primary-light);
  border-color: rgba(26, 82, 118, 0.15);
}

.mission-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.mission-list__item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  padding: 0.875rem;
  background: var(--bg-soft);
  border-radius: var(--radius-sm, 10px);
}

.mission-list__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.mission-list__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding-top: 0.15rem;
}

/* ── Values — fixed static background (parallax) ── */
.values-section {
  position: relative;
  padding: 5.5rem 0;
  isolation: isolate;
}

.values-section__bg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0);
  z-index: 0;
}

.values-section__bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('../assets/port_08_low_flight.webp') center center / cover no-repeat;
  pointer-events: none;
  will-change: transform;
}

.values-section__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 30, 45, 0.82) 0%, rgba(15, 30, 45, 0.88) 50%, rgba(15, 30, 45, 0.92) 100%),
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(26, 82, 118, 0.15) 0%, transparent 70%);
}

.values-section__content {
  position: relative;
  z-index: 2;
}

.values-section__header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.values-section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.01em;
  margin-bottom: 0.875rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.values-section__desc {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

.values-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.value-card {
  opacity: 1;
  padding: 1.5rem 1.125rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.value-card__name {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.625rem;
  letter-spacing: 0.02em;
}

.value-card__desc {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

/* legacy values block removed */

/* ── Services — 2 column grid, always visible ── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  opacity: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-card__img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bg-soft);
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.service-card:hover .service-card__img img {
  transform: scale(1.06);
}

.service-card__body {
  padding: 1.25rem;
}

.service-card__title {
  font-family: var(--font-montserrat);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.375rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.service-card__desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Commitment ── */
.commitment {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  background: var(--primary-light);
}

.commitment__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: stretch;
}

.commitment__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  min-height: 100%;
}

.commitment__text {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.commitment__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.4;
  color: var(--primary);
  opacity: 1;
  transform: none;
}

.commitment__visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--primary);
}

@media (min-width: 901px) {
  .commitment__visual {
    min-height: 100%;
  }

  .commitment__visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
  }
}

.commitment__visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

/* ── Contact bottom — one row ── */
.contact-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.contact-section__header {
  margin-bottom: 2.5rem;
}

.contact-section__header .section__title {
  margin-bottom: 0.75rem;
}

.contact-section__header .section__desc {
  margin: 0 auto;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1.5rem;
  align-items: stretch;
}

.contact-info-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.contact-item:hover {
  border-color: var(--accent);
  background: var(--primary-light);
}

.contact-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.contact-item__icon svg {
  width: 18px;
  height: 18px;
}

.contact-item__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}

.contact-item__value {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.5;
}

.contact-item__value a:hover {
  color: var(--accent);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  min-height: 320px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.contact-cta {
  text-align: center;
  margin-top: 2rem;
}

/* ── Footer ── */
.footer {
  padding: 2rem 0 1.25rem;
  background: var(--primary);
  color: rgba(255, 255, 255, 0.75);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__brand {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--surface);
}

.footer__slogan {
  font-size: 0.8125rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.2rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer__nav a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--surface);
}

.footer__desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  max-width: 320px;
  margin-top: 0.5rem;
}

.footer__copy {
  padding-top: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ── 404 ── */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg);
  padding: 2rem;
}

.page-404__code {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 15vw, 8rem);
  font-weight: 600;
  color: var(--primary);
  opacity: 0.15;
  line-height: 1;
}

.page-404__title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary);
  margin: -1rem 0 0.75rem;
}

.page-404__text {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 400px;
}

/* ── GSAP initial states ── */
.gs-reveal {
  opacity: 0;
  transform: translateY(40px);
}

.gs-hero-item {
  opacity: 0;
  transform: translateY(24px);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .values-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about__wave {
    animation: none !important;
  }
}

@media (max-width: 900px) {
  .about__grid,
  .vm-grid,
  .commitment__inner,
  .contact-row {
    grid-template-columns: 1fr;
  }

  .values-section__bg {
    position: absolute;
    width: 100%;
    height: 100%;
  }

  .about__visual {
    padding-left: 0.75rem;
  }

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

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .header__left .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--surface);
    padding: 1rem 1.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }

  .header__left .nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__link {
    width: 100%;
    padding: 0.75rem;
    text-align: left;
  }

  .commitment {
    padding: 3.5rem 0;
  }

  .commitment__copy {
    gap: 1.25rem;
  }

  .commitment__text {
    font-size: 1rem;
  }

  .commitment__visual img {
    min-height: 240px;
  }

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

  .values-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__nav {
    justify-content: center;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .header__inner,
  .header__left {
    gap: 1rem;
  }

  .header__brand {
    font-size: 1rem;
  }

  .nav__link {
    padding: 0.45rem 0.55rem;
    font-size: 0.75rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero__title {
    font-size: 2.25rem;
  }

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

@media (min-width: 1400px) {
  .container {
    max-width: 1280px;
  }
}
