:root {
  --navy: #0c192d;
  --navy-mid: #132338;
  --orange: #d95b34;
  --orange-hot: #e86a42;
  --cream: #fcfbf4;
  --cream-soft: rgba(252, 251, 244, 0.72);
  --muted: rgba(252, 251, 244, 0.55);
  --line: rgba(252, 251, 244, 0.14);
  --display: "Outfit", system-ui, sans-serif;
  --body: "Public Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  color: var(--cream);
  background: var(--navy);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

em {
  font-style: normal;
  color: var(--orange);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--orange);
  color: var(--cream);
  padding: 0.6rem 1rem;
  font-weight: 600;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}

/* ——— Nav ——— */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 1rem var(--pad);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.nav.is-scrolled {
  background: rgba(12, 25, 45, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__brand img {
  height: 2.35rem;
  width: auto;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav__menu a:not(.nav__cta) {
  opacity: 0.78;
  transition: opacity 0.2s;
}

.nav__menu a:not(.nav__cta):hover {
  opacity: 1;
}

.nav__cta {
  background: var(--orange);
  color: var(--cream);
  padding: 0.55rem 1.1rem;
  font-weight: 600;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}

.nav__cta:hover {
  background: var(--orange-hot);
}

.nav__toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  place-items: center;
  gap: 6px;
  flex-direction: column;
}

.nav__toggle-bar {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav.is-open .nav__toggle-bar:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav.is-open .nav__toggle-bar:nth-child(2) {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: clamp(26rem, 58vh, 34rem);
  display: grid;
  align-content: end;
  padding: 5.25rem var(--pad) 1.75rem;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, 1%, 0); }
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(12, 25, 45, 0.94) 0%, rgba(12, 25, 45, 0.72) 48%, rgba(12, 25, 45, 0.42) 78%, rgba(12, 25, 45, 0.62) 100%),
    linear-gradient(to top, rgba(12, 25, 45, 0.88) 0%, transparent 42%);
}

.hero__rings {
  position: absolute;
  right: 6%;
  top: 38%;
  width: min(28vw, 16rem);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.4;
}

.ring {
  position: absolute;
  inset: 50% auto auto 50%;
  border: 1px solid rgba(252, 251, 244, 0.18);
  border-radius: 50%;
  translate: -50% -50%;
  animation: ring-pulse 7s var(--ease) infinite;
}

.ring--1 { width: 38%; height: 38%; animation-delay: 0s; }
.ring--2 { width: 62%; height: 62%; animation-delay: 0.4s; opacity: 0.8; }
.ring--3 { width: 88%; height: 88%; animation-delay: 0.8s; opacity: 0.55; }

.orb {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange);
  translate: -50% -50%;
  box-shadow: 0 0 40px rgba(217, 91, 52, 0.45);
  animation: orb-glow 4.5s ease-in-out infinite;
}

@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.03); opacity: 0.9; }
}

@keyframes orb-glow {
  0%, 100% { box-shadow: 0 0 28px rgba(217, 91, 52, 0.35); }
  50% { box-shadow: 0 0 56px rgba(217, 91, 52, 0.55); }
}

.hero__content {
  max-width: 30rem;
  animation: rise 1s var(--ease) both;
}

.hero__brand {
  font-family: var(--display);
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin-bottom: 0.65rem;
}

.hero__title {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.hero__title em {
  position: relative;
  display: inline-block;
}

.hero__title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  height: 3px;
  background: var(--orange);
  transform-origin: left;
  animation: underline 0.9s var(--ease) 0.55s both;
}

@keyframes underline {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hero__lead {
  color: var(--cream-soft);
  font-size: 0.92rem;
  font-weight: 300;
  max-width: 26rem;
  margin-bottom: 1.15rem;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.55rem 1.1rem;
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn--primary {
  background: var(--orange);
  color: var(--cream);
}

.btn--primary:hover {
  background: var(--orange-hot);
  transform: translateY(-1px);
}

.btn--ghost {
  border: 1px solid rgba(252, 251, 244, 0.28);
  color: var(--cream);
}

.btn--ghost:hover {
  border-color: var(--cream);
  background: rgba(252, 251, 244, 0.06);
}

.hero__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  animation: rise 1s var(--ease) 0.2s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Services ——— */
.services {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(217, 91, 52, 0.06), transparent 42%),
    #ffffff;
  color: var(--navy);
}

.services .section-head h2 {
  color: var(--navy);
}

.services .section-head__text {
  color: rgba(12, 25, 45, 0.68);
}

.services .service-list {
  border-top-color: rgba(12, 25, 45, 0.12);
}

.services .service {
  border-bottom-color: rgba(12, 25, 45, 0.12);
}

.services .service:hover {
  background: rgba(12, 25, 45, 0.02);
}

.services .service__body h3 {
  color: var(--navy);
}

.services .service__body p {
  color: rgba(12, 25, 45, 0.68);
}

.section-head {
  max-width: 36rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.85rem;
}

.section-head h2,
.about__copy h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.8vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.section-head__text {
  margin-top: 1rem;
  color: var(--cream-soft);
  font-weight: 300;
  max-width: 28rem;
}

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

.service {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease), background 0.25s;
}

.service:hover {
  padding-left: 0.5rem;
}

.service__num {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.04em;
  padding-top: 0.2rem;
}

.service__body h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.service__body p {
  color: var(--cream-soft);
  font-weight: 300;
  max-width: 40rem;
}

/* ——— Clients ——— */
.clients {
  padding: clamp(4.5rem, 10vw, 7rem) 0;
  background: var(--navy);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.clients__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1px;
  max-width: 68rem;
  margin-inline: auto;
  background: var(--line);
  border: 1px solid var(--line);
}

.client {
  display: grid;
  place-items: center;
  min-height: 10rem;
  padding: 2.25rem 2rem;
  background: #0a1524;
  transition: background 0.25s;
}

.client:hover {
  background: #101f33;
}

.client img {
  max-width: 15rem;
  max-height: 7rem;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity 0.25s, transform 0.25s var(--ease);
}

.client:hover img {
  opacity: 1;
  transform: scale(1.03);
}

.contact__wa {
  margin-top: 1.5rem;
  width: fit-content;
}

/* ——— WhatsApp FAB ——— */
.whatsapp {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.whatsapp:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.35);
}

.whatsapp svg {
  width: 1.7rem;
  height: 1.7rem;
}

/* ——— About ——— */
.about {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 70vh;
  background: var(--navy);
}

.about__visual {
  position: relative;
  min-height: 28rem;
  overflow: hidden;
}

.about__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.95) contrast(1.02);
}

.about__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, var(--navy) 100%);
  pointer-events: none;
}

.about__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 7vw, 5rem) var(--pad);
}

.about__copy > p:not(.eyebrow) {
  margin-top: 1.25rem;
  color: var(--cream-soft);
  font-weight: 300;
  max-width: 30rem;
}

.director {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.director strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.director span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

/* ——— Contact ——— */
.contact {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  background:
    radial-gradient(ellipse at 100% 100%, rgba(217, 91, 52, 0.12), transparent 45%),
    #091320;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}

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

.contact-list li {
  border-bottom: 1px solid var(--line);
}

.contact-list a,
.contact-list > li > div {
  display: grid;
  gap: 0.25rem;
  padding: 1.15rem 0;
  transition: color 0.2s, padding-left 0.3s var(--ease);
}

.contact-list a:hover {
  color: var(--orange);
  padding-left: 0.4rem;
}

.contact-list__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list a:hover .contact-list__label {
  color: inherit;
}

.contact-list__value {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ——— Footer ——— */
.footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2.75rem;
  background: #070e18;
}

.footer__inner {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
}

.footer__logo {
  height: 2.1rem;
  width: auto;
}

.footer__tag {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.footer__copy {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 300;
}

.footer__card {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--orange);
  margin-top: 0.35rem;
}

.footer__card:hover {
  text-decoration: underline;
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
  }

  .about__visual {
    min-height: 55vw;
    max-height: 26rem;
  }

  .about__visual::after {
    background: linear-gradient(to top, var(--navy) 0%, transparent 40%);
  }

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

  .clients__grid {
    max-width: 100%;
  }

  .hero__rings {
    right: -8%;
    top: 28%;
    opacity: 0.35;
  }

  .hero__photo {
    object-position: center 35%;
  }
}

@media (max-width: 720px) {
  .nav__toggle {
    display: grid;
  }

  .nav__menu {
    position: fixed;
    inset: 0 0 auto;
    top: 4.25rem;
    margin: 0 var(--pad);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0;
    background: rgba(12, 25, 45, 0.96);
    border: 1px solid var(--line);
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition: opacity 0.25s, transform 0.25s var(--ease);
  }

  .nav.is-open .nav__menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__menu a {
    padding: 0.95rem 1.15rem;
    border-bottom: 1px solid var(--line);
  }

  .nav__menu a:last-child {
    border-bottom: 0;
    margin: 0.5rem 0.85rem 0.85rem;
    text-align: center;
  }

  .hero {
    align-content: end;
    min-height: clamp(24rem, 52vh, 30rem);
    padding-bottom: 1.35rem;
  }

  .hero__brand {
    font-size: clamp(1.85rem, 9vw, 2.5rem);
  }

  .service {
    grid-template-columns: 3rem 1fr;
    gap: 0.75rem;
  }

  .contact-list__value {
    font-size: 1.1rem;
  }

  .client {
    min-height: 8.5rem;
    padding: 1.75rem 1.25rem;
  }

  .client img {
    max-width: 12rem;
    max-height: 5.5rem;
  }

  .whatsapp {
    right: 1rem;
    bottom: 1rem;
    width: 3.25rem;
    height: 3.25rem;
  }
}

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

  .hero__photo,
  .ring,
  .orb,
  .hero__content,
  .hero__meta,
  .hero__title em::after {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
