/* ===== Tokens (from the RMP brochure palette) ===== */
:root {
  --orange: #F15A24;
  --orange-dark: #C94A1C;
  --navy: #12304A;          /* Deep Navy */
  --midnight: #15222E;      /* Midnight Navy */
  --steel: #2A455D;         /* Steel Blue */
  --warm-grey: #DFDDDA;
  --charcoal: #555354;
  --white: #ffffff;

  --bg: var(--white);
  --heading: var(--navy);
  --text: var(--charcoal);
  --muted: #8a8889;
  --line: var(--warm-grey);
  --alt: var(--warm-grey);
  --card: var(--white);

  --nav-h: 76px;
  --footer-height: 600px;
  --radius: 4px;
  --font: 'Inter Tight', Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.65, 0, .35, 1);
}
.dark {
  --bg: #0e1923;
  --heading: #ffffff;
  --text: #c3ccd4;
  --muted: #7d8c99;
  --line: #24384a;
  --alt: var(--midnight);
  --card: #13212d;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .3s, color .3s;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; cursor: pointer; }
ul { list-style: none; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { max-width: min(1280px, calc(100vw - 48px)); padding: 0; } }

/* ===== Nav ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: transform .4s var(--ease), background-color .3s, border-color .3s;
}
.nav.is-scrolled { border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 20px;
}
@media (min-width: 640px) { .nav__inner { padding: 0 32px; } }
.logo-img { height: 34px; width: auto; }
@media (min-width: 1024px) { .logo-img { height: 42px; } }
.nav__logo { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nav__brand { display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; }
.nav__brand-name { font-size: 15px; font-weight: 700; color: var(--heading); letter-spacing: .01em; }
.nav__brand-sub { font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .12em; }
@media (min-width: 1024px) { .nav__brand-name { font-size: 17px; } .nav__brand-sub { font-size: 12px; } }
@media (max-width: 479px) { .nav__brand { display: none; } }
.nav__links { display: none; gap: 40px; }
@media (min-width: 1024px) { .nav__links { display: flex; } }
.nav__link { position: relative; padding: 20px 0; font-size: 14px; font-weight: 500; color: var(--heading); }
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 12px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__tools { display: flex; align-items: center; gap: 10px; }

.icon-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; color: var(--heading); transition: color .2s, transform .3s; }
.icon-btn:hover { color: var(--orange); transform: rotate(20deg); }
.icon-moon { display: none; }
.dark .icon-sun { display: none; }
.dark .icon-moon { display: block; }

@media (max-width: 400px) { .icon-btn { display: none; } }

.burger { display: flex; flex-direction: column; gap: 5px; padding: 10px 6px; color: var(--heading); }
.burger span { width: 22px; height: 2px; background: currentColor; transition: transform .3s, opacity .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .burger { display: none; } }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49;
  background: var(--bg);
  display: flex; flex-direction: column; gap: 8px; padding: 32px 20px;
  transform: translateY(-110%); transition: transform .5s var(--ease);
}
.mobile-menu.is-open { transform: none; }
.mobile-menu > a { font-size: 32px; font-weight: 500; text-transform: uppercase; line-height: 1.3; color: var(--heading); }
.mobile-menu > a:hover { color: var(--orange); }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ===== Main / footer reveal ===== */
.main {
  position: relative; z-index: 10;
  background: var(--bg);
  padding-top: var(--nav-h);
  transition: background-color .3s;
}
@media (min-width: 768px) { .main { margin-bottom: var(--footer-height); } }

/* ===== Buttons & links ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 24px; min-height: 44px; border-radius: 999px;
  background: var(--heading); color: var(--bg);
  font-size: 15px; line-height: 28px; font-weight: 500; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color .25s, color .25s, border-color .25s;
}
@media (min-width: 768px) { .btn { font-size: 17px; } }
.btn:hover { background: var(--orange); color: #fff; }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover, .btn--orange:active { background: var(--orange-dark); }
.btn--outline { background: transparent; color: var(--heading); border-color: var(--heading); }
.btn--outline:hover { background: var(--heading); color: var(--bg); }
.btn--sm { min-height: 36px; padding: 4px 16px; font-size: 13px; }
@media (min-width: 768px) { .btn--sm { font-size: 14px; padding: 4px 20px; } }
.btn--block { width: 100%; }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

.link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 15px; line-height: 28px; font-weight: 500; color: var(--orange);
  transition: color .2s;
}
@media (min-width: 768px) { .link { font-size: 17px; } }
.link:hover { color: var(--orange-dark); }
.link--sm { font-size: 14px; min-height: 32px; }
.arrow { display: inline-block; }
.arrow--diag { transition: transform .2s; }
.link:hover .arrow--diag, .card:hover .arrow--diag { transform: rotate(-45deg); }

/* ===== Typography ===== */
.section { padding-top: 80px; padding-bottom: 80px; }
@media (min-width: 768px) { .section { padding-top: 140px; padding-bottom: 140px; } }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; line-height: 20px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--heading);
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 48px; height: 4px; background: var(--orange); flex-shrink: 0; }
.eyebrow--light { color: #fff; }
.title {
  font-size: 35px; line-height: 40px; font-weight: 600; color: var(--heading);
  text-transform: uppercase; letter-spacing: -.01em;
  margin-bottom: 20px;
}
@media (min-width: 768px) { .title { font-size: 40px; line-height: 45px; } }
.lead { font-size: 19px; line-height: 30px; color: var(--heading); max-width: 34rem; margin-bottom: 48px; }
@media (min-width: 768px) { .lead { font-size: 22px; line-height: 33px; } }
.lead--wide { max-width: 44rem; }
.body-text { font-size: 16px; line-height: 1.6; margin-bottom: 32px; }
@media (min-width: 768px) { .body-text { font-size: 18px; } }

/* ===== Hero ===== */
.hero { display: flex; flex-direction: column; gap: 20px; padding: 40px 20px 0; }
@media (min-width: 640px) { .hero { padding: 60px 32px 0; } }
@media (min-width: 1024px) { .hero { gap: 32px; } }
.hero__title {
  font-size: 40px; line-height: 42px; font-weight: 600; letter-spacing: -.02em;
  text-transform: uppercase; color: var(--heading);
}
@media (min-width: 640px) { .hero__title { font-size: 60px; line-height: 62px; } }
@media (min-width: 1024px) { .hero__title { font-size: 86px; line-height: 86px; } }
.hero__title .accent { color: var(--orange); }
.hero__row { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 900px) { .hero__row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; } }
.hero__sub { font-size: 17px; line-height: 1.55; max-width: 36rem; }
@media (min-width: 768px) { .hero__sub { font-size: 19px; } }
.hero__actions { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 480px) { .hero__actions { flex-direction: row; } }

.reveal-text { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-text.is-in { opacity: 1; transform: none; }
.hero .reveal-text:nth-child(2) { transition-delay: .1s; }
.hero .reveal-text:nth-child(3) { transition-delay: .25s; }

.hero-media { position: relative; overflow: hidden; margin-top: 40px; }
@media (min-width: 768px) { .hero-media { margin-top: 64px; } }
.hero-media__frame {
  position: relative;
  width: 100%; height: 60vw; max-height: 860px; min-height: 380px; overflow: hidden;
  clip-path: inset(0 6% 0 6%); transition: clip-path .1s linear;
}
.hero-media__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.15) translate(0, 0); } to { transform: scale(1.3) translate(-3%, -2%); } }
.hero-media__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(21,34,46,.8) 0%, rgba(21,34,46,.45) 55%, rgba(21,34,46,.2) 100%);
}
.hero-media__tagline {
  position: absolute; right: 9%; bottom: 32px;
  color: #fff; font-style: italic; font-size: 20px; font-weight: 300;
}
@media (min-width: 768px) { .hero-media__tagline { font-size: 30px; bottom: 48px; } }

/* Trust strip */
.trust { background: var(--navy); color: #fff; }
.trust__inner { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; padding-bottom: 22px; font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
@media (min-width: 768px) { .trust__inner { flex-direction: row; justify-content: space-between; } }
.trust span { display: flex; align-items: center; gap: 12px; }
.trust i { width: 8px; height: 8px; background: var(--orange); }

/* ===== Image curtain reveal ===== */
.img-reveal { position: relative; overflow: hidden; border-radius: var(--radius); }
.img-reveal img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.4s var(--ease); }
.img-reveal::before, .img-reveal::after {
  content: ''; position: absolute; left: 0; right: 0; height: 50.5%; z-index: 2;
  background: var(--bg); transition: transform 1.1s var(--ease);
}
.img-reveal::before { top: 0; }
.img-reveal::after { bottom: 0; }
.img-reveal.is-in::before { transform: translateY(-100%); }
.img-reveal.is-in::after { transform: translateY(100%); }
.img-reveal.is-in img { transform: scale(1); }

/* ===== About ===== */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 0; } .grid-2 > :first-child { padding-right: 40px; } .grid-2 > :last-child { padding-left: 40px; } }
.about__img { aspect-ratio: 9 / 7; }
.about__img--tall { aspect-ratio: 9 / 10; margin-bottom: 40px; }

.industries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 1024px) { .industries { grid-template-columns: repeat(3, 1fr); } }
.industries li {
  display: flex; flex-direction: column; gap: 10px; padding: 18px 16px;
  background: var(--bg); color: var(--heading); font-size: 14px; font-weight: 500; line-height: 1.3;
  transition: background-color .2s;
}
.industries li:hover { background: var(--alt); }
.industries svg, .contact__list svg, .step__icon svg {
  width: 26px; height: 26px; fill: none; stroke: var(--orange); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* Bands */
.band { padding: 80px 0; transition: background-color .3s; }
@media (min-width: 768px) { .band { padding: 120px 0; } }
.band--grey { background: var(--alt); }
.band--navy { background: var(--navy); color: #fff; }
.band--photo { position: relative; overflow: hidden; isolation: isolate; }
.band--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,48,74,.92) 0%, rgba(18,48,74,.75) 100%); }
.band__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }

.vm { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .vm { grid-template-columns: 1fr 1fr; gap: 32px; } }
.vm__card { background: var(--card); padding: 32px 24px; border-radius: var(--radius); }
@media (min-width: 768px) { .vm__card { padding: 48px 40px; } }
.vm__vision { font-size: 24px; line-height: 1.4; font-weight: 400; color: var(--heading); }
@media (min-width: 768px) { .vm__vision { font-size: 30px; } }
.checks { display: flex; flex-direction: column; gap: 14px; }
.checks li { position: relative; padding-left: 32px; font-size: 16px; line-height: 1.55; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px;
  background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.commit__lead { font-size: 28px; line-height: 1.25; font-weight: 500; text-transform: uppercase; max-width: 60rem; margin: 12px 0 28px; }
@media (min-width: 768px) { .commit__lead { font-size: 44px; } }
.commit__text { font-size: 17px; line-height: 1.65; max-width: 44rem; color: rgba(255,255,255,.8); }
@media (min-width: 768px) { .commit__text { font-size: 19px; } }

/* ===== Services ===== */
.cards { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); border-top-color: var(--orange); box-shadow: 0 18px 40px rgba(18,48,74,.12); }
.card__img { height: 240px; border-radius: 0; }
@media (min-width: 768px) { .card__img { height: 280px; } }
.card:hover .card__img.is-in img { transform: scale(1.05); }
.card__num {
  position: absolute; top: 0; left: 0; z-index: 3;
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff; font-size: 18px; font-weight: 600;
}
.card__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.card__tag { font-size: 13px; line-height: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; color: var(--muted); }
.card__title { font-size: 26px; line-height: 30px; font-weight: 600; text-transform: uppercase; color: var(--heading); margin-bottom: 12px; }
.card__text { font-size: 16px; line-height: 1.6; margin-bottom: 12px; flex: 1; }

.receive { margin-top: 100px; }
.steps { display: grid; grid-template-columns: 1fr; margin-top: 24px; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 28px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .step { padding: 36px 32px 36px 0; border-bottom: 0; } .step + .step { padding-left: 32px; border-left: 1px solid var(--line); } }
.step__icon { display: inline-flex; margin-bottom: 16px; }
.step__icon svg { width: 34px; height: 34px; }
.step__title { font-size: 20px; line-height: 1.3; font-weight: 600; color: var(--heading); margin-bottom: 8px; }
.step p { font-size: 16px; }

/* ===== Contact ===== */
.contact { background: var(--midnight); color: rgba(255,255,255,.82); padding: 80px 0; }
@media (min-width: 768px) { .contact { padding: 120px 0; } }
.contact .title { color: #fff; }
.contact__intro { font-size: 18px; margin-bottom: 36px; max-width: 30rem; }
.contact__list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 36px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; font-size: 16px; }
.contact__list svg { flex-shrink: 0; margin-top: 1px; }
.contact__list a:not(.link):not(.wa-chip) { color: #fff; transition: color .2s; }
.contact__list a:not(.link):not(.wa-chip):hover { color: var(--orange); }
.contact__person { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.contact__person span { min-width: 80px; color: rgba(255,255,255,.6); }
.wa-chip {
  display: inline-flex; align-items: center; padding: 2px 12px; border-radius: 999px;
  border: 1px solid #25D366; color: #25D366; font-size: 13px; font-weight: 500;
  transition: background-color .2s, color .2s;
}
.wa-chip:hover { background: #25D366; color: var(--midnight); }
.map { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--steel); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3); }

.contact__form-wrap { align-self: start; }
.form { display: flex; flex-direction: column; gap: 18px; background: rgba(42,69,93,.35); padding: 28px 20px; border-radius: var(--radius); }
@media (min-width: 768px) { .form { padding: 40px; } }
.form__row { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.form input, .form select, .form textarea {
  width: 100%; min-height: 46px; padding: 10px 14px;
  background: var(--midnight); color: #fff;
  border: 1px solid var(--steel); border-radius: var(--radius);
  font-size: 16px; text-transform: none; letter-spacing: 0; font-weight: 400;
  transition: border-color .2s;
}
.form textarea { resize: vertical; }
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F15A24' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); }
.form .is-invalid { border-color: #ff6b6b; }
.form ::placeholder { color: rgba(255,255,255,.35); }
.form__status { font-size: 15px; min-height: 1em; }
.form__status.is-ok { color: #4ade80; }
.form__status.is-error { color: #ff8a8a; }
.form__pdpa { font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.5); }

/* ===== Floating WhatsApp ===== */
.float-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  transition: transform .3s var(--ease), background-color .2s;
}
.float-wa:hover { transform: scale(1.08); background: #1ebe5b; }

/* ===== Footer ===== */
.footer {
  background: var(--midnight); color: rgba(255,255,255,.75);
  overflow: hidden; position: relative;
  border-top: 1px solid var(--steel);
}
@media (min-width: 768px) { .footer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 0; } }
.footer__inner { position: relative; z-index: 1; padding-top: 60px; padding-bottom: 28px; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }
.footer__brand { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer__brand { grid-column: auto; } }
.footer__brand { display: flex; align-items: flex-start; gap: 20px; }
.footer__logo { height: 48px; width: auto; flex-shrink: 0; }
.footer__brand p { font-size: 14px; max-width: 22rem; }
.footer__brand .footer__name { font-size: 18px; font-weight: 700; color: #fff; line-height: 1.3; }
.footer__brand .footer__reg { font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.footer h5 { font-size: 14px; line-height: 24px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 10px; }
.footer__grid a, .footer__addr { display: block; font-size: 14px; line-height: 26px; transition: color .2s; }
.footer__grid a:hover { color: var(--orange); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--steel);
  font-size: 12px; color: rgba(255,255,255,.55);
}
.footer__tagline { font-style: italic; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-text { opacity: 1; transform: none; }
  .img-reveal::before, .img-reveal::after { display: none; }
  .img-reveal img { transform: none; }
}
