:root {
  --navy: #0b2a4a;
  --navy-deep: #071c32;
  --navy-mid: #12375f;
  --gold: #c9a227;
  --gold-bright: #e0b93a;
  --gold-soft: #f4e7bf;
  --ink: #1a2433;
  --muted: #5b6777;
  --line: #d9dee6;
  --paper: #f4f6f8;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(7, 28, 50, 0.12);
  --radius: 16px;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-family: inherit;
  border-radius: 8px;
  padding: 13px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--navy-deep);
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(201, 162, 39, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-mid);
}

.eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  font-family: Montserrat, "Segoe UI", sans-serif;
  line-height: 1.15;
}

/* Top bar */
.topbar {
  background: var(--navy-deep);
  color: #d7e2ee;
  font-size: 0.86rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.topbar a,
.topbar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

.topbar a:hover {
  color: var(--gold-bright);
}

.topbar-phones,
.topbar-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.header.scrolled {
  box-shadow: 0 10px 28px rgba(7, 28, 50, 0.1);
  background: rgba(255, 255, 255, 0.98);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 118px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 108px;
  width: auto;
  max-width: 420px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 600;
  color: var(--navy);
}

.nav-links a:not(.btn) {
  position: relative;
  padding: 4px 0;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
  color: var(--gold);
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 7px 8px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 86vh;
  color: var(--white);
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(7, 28, 50, 0.94) 0%, rgba(11, 42, 74, 0.82) 52%, rgba(11, 42, 74, 0.55) 100%),
    url("https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.28), transparent 68%);
  animation: glowPulse 4.5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.hero-fade {
  animation: fadeUp 0.8s ease both;
}

.hero-fade:nth-child(2) { animation-delay: 0.12s; }
.hero-fade:nth-child(3) { animation-delay: 0.22s; }
.hero-fade:nth-child(4) { animation-delay: 0.32s; }
.hero-fade:nth-child(5) { animation-delay: 0.42s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  padding: 72px 0 88px;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.1rem, 5vw, 4.1rem);
  margin: 14px 0 18px;
}

.hero p.lead {
  max-width: 620px;
  font-size: 1.15rem;
  color: #d7e4f0;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.hero-pills span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.hero-pills span:hover {
  background: rgba(224, 185, 58, 0.16);
  border-color: rgba(224, 185, 58, 0.55);
  transform: translateY(-2px);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 20px;
  transform: translateX(-50%);
}

.scroll-cue span {
  display: block;
  width: 5px;
  height: 5px;
  margin: 8px auto 0;
  border-radius: 50%;
  background: var(--gold-bright);
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* Stats */
.stats {
  background: var(--navy);
  color: var(--white);
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 28px 0;
}

.stat {
  padding: 6px 4px;
  transition: transform 0.25s ease;
}

.stat:hover {
  transform: translateY(-3px);
}

.stat strong {
  display: block;
  font-size: 1.7rem;
  color: var(--gold-bright);
  font-family: Montserrat, sans-serif;
}

.stat span {
  color: #c9d6e4;
  font-size: 0.92rem;
}

/* Sections */
section {
  padding: 84px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: var(--navy);
  margin-top: 8px;
}

.section-head p {
  color: var(--muted);
  margin-top: 12px;
}

/* Services */
.services {
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(7, 28, 50, 0.16);
}

.service-photo {
  height: 158px;
  overflow: hidden;
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-photo img {
  transform: scale(1.08);
}

.service-body {
  padding: 22px 22px 24px;
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold-bright);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.service-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.service-card:hover .service-icon {
  background: var(--navy-mid);
  transform: scale(1.06);
}

.service-card h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.portfolio-card {
  min-height: 240px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 28, 50, 0.15) 20%, rgba(7, 28, 50, 0.88) 100%);
  transition: background 0.35s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(7, 28, 50, 0.2);
}

.portfolio-card:hover::before {
  background: linear-gradient(180deg, rgba(7, 28, 50, 0.08) 10%, rgba(7, 28, 50, 0.92) 100%);
}

.portfolio-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: var(--white);
  z-index: 1;
}

.portfolio-copy span {
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-copy h3 {
  margin-top: 6px;
  font-size: 1.05rem;
}

/* Clients */
.clients {
  background: var(--paper);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.client-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 190px;
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.client-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow: 0 22px 40px rgba(7, 28, 50, 0.14);
}

.client-card:hover .client-logo img {
  transform: scale(1.04);
}

.client-logo {
  width: 100%;
  min-height: 72px;
  display: grid;
  place-items: center;
}

.client-logo img {
  width: min(220px, 100%);
  height: 72px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.client-logo img.client-logo-official {
  width: 84px;
  height: 84px;
  border-radius: 10px;
}

.client-card strong {
  color: var(--navy);
  font-family: Montserrat, sans-serif;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 700;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.about-photo {
  border-radius: 22px;
  min-height: 420px;
  background:
    linear-gradient(180deg, rgba(11, 42, 74, 0.15), rgba(11, 42, 74, 0.45)),
    url("https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=1200&q=80") center / cover no-repeat;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(7, 28, 50, 0.18);
}

.about-copy h2 {
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 8px 0 16px;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 14px;
}

.checks {
  margin-top: 18px;
}

.checks li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--navy);
  font-weight: 600;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
}

/* Why */
.why {
  background: var(--navy-deep);
  color: var(--white);
}

.why .section-head h2,
.why .section-head p {
  color: inherit;
}

.why .section-head p {
  color: #c9d6e4;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(224, 185, 58, 0.4);
}

.why-card span {
  display: inline-block;
  color: var(--gold-bright);
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.86rem;
}

.why-card h3 {
  margin: 10px 0;
  color: var(--gold-bright);
}

.why-card p {
  color: #d3deea;
}

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.contact-card,
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--gold-bright);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-item strong {
  display: block;
  color: var(--navy);
}

.contact-item a:hover {
  color: var(--gold);
}

.form-card h3 {
  color: var(--navy);
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
  margin: 12px 0 6px;
}

.form-submit {
  margin-top: 16px;
  width: 100%;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  background: #fbfcfd;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(201, 162, 39, 0.45);
  border-color: var(--gold);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-success {
  display: none;
  margin-top: 12px;
  color: #1b6b3a;
  font-weight: 700;
}

.map-wrap {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 280px;
  border: 0;
}

/* Footer */
.footer {
  background: var(--navy-deep);
  color: #c9d6e4;
  padding: 42px 0 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  height: 92px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  width: fit-content;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 12px;
}

.footer a:hover {
  color: var(--gold-bright);
}

.copyright {
  padding-top: 16px;
  font-size: 0.86rem;
}

@media (max-width: 1100px) {
  .portfolio-grid,
  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 96px;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 24px;
    border-bottom: 1px solid var(--line);
    gap: 14px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav {
    min-height: 96px;
  }

  .logo img {
    height: 78px;
    max-width: 260px;
  }

  .stats .container,
  .about-grid,
  .why-grid,
  .contact-wrap,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .about-photo {
    min-height: 260px;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .portfolio-grid,
  .client-grid {
    grid-template-columns: 1fr;
  }

  .float-actions {
    right: 14px;
    bottom: 14px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card.reveal:nth-child(2),
.portfolio-card.reveal:nth-child(2),
.client-card.reveal:nth-child(2),
.why-card.reveal:nth-child(2) { transition-delay: 0.08s; }

.service-card.reveal:nth-child(3),
.portfolio-card.reveal:nth-child(3),
.client-card.reveal:nth-child(3),
.why-card.reveal:nth-child(3) { transition-delay: 0.16s; }

.service-card.reveal:nth-child(4),
.client-card.reveal:nth-child(4) { transition-delay: 0.08s; }

.service-card.reveal:nth-child(5),
.client-card.reveal:nth-child(5) { transition-delay: 0.16s; }

.float-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: grid;
  gap: 10px;
}

.float-btn {
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 24px rgba(7, 28, 50, 0.22);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.float-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.04);
}

.float-btn.call {
  background: var(--navy);
}

.float-btn.whatsapp {
  background: #1f9d4b;
}

.float-btn.top {
  background: var(--gold);
  color: var(--navy-deep);
  opacity: 0;
  pointer-events: none;
}

.float-btn.top.show {
  opacity: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
