:root {
  --ink: #0d233f;
  --navy: #1e3559;
  --paper: #f7f6f2;
  --gold: #c8a161;
  --gold-dark: #9c7534;
  --stone: #bfbfbf;
  --white: #ffffff;
  --muted: #5f6b7a;
  --line: rgba(13, 35, 63, 0.12);
  --shadow: 0 24px 60px rgba(13, 35, 63, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

.site-header {
  align-items: center;
  background: rgba(247, 246, 242, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  box-shadow: 0 18px 45px rgba(13, 35, 63, 0.12);
  display: grid;
  gap: 20px;
  grid-template-columns: auto 1fr auto;
  left: 50%;
  max-width: 1180px;
  padding: 10px 12px 10px 22px;
  position: fixed;
  top: 18px;
  transform: translateX(-50%);
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  width: calc(100% - 32px);
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(13, 35, 63, 0.1);
}

.brand {
  align-items: center;
  display: flex;
  height: 44px;
  min-width: 120px;
}

.brand img {
  height: 56px;
  object-fit: contain;
  width: 150px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 26px;
  justify-content: center;
}

.nav-links a {
  color: rgba(13, 35, 63, 0.78);
  font-size: 0.94rem;
  font-weight: 700;
  position: relative;
}

.nav-links a::after {
  background: var(--gold);
  bottom: -8px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

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

.menu-toggle {
  align-items: center;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: none;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.menu-toggle span {
  background: var(--white);
  display: block;
  height: 2px;
  position: absolute;
  transition: transform 180ms ease;
  width: 18px;
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.menu-open .menu-toggle span:first-child {
  transform: rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: rotate(-45deg);
}

.icon-button,
.btn {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}

.icon-button {
  background: rgba(13, 35, 63, 0.08);
  color: var(--ink);
  height: 44px;
  width: 44px;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

.btn {
  gap: 10px;
}

.btn::before {
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  content: "";
  height: 140%;
  left: -75%;
  position: absolute;
  top: -20%;
  transform: skewX(-20deg);
  transition: left 420ms ease;
  width: 52%;
}

.btn:hover::before,
.btn:focus-visible::before {
  left: 125%;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
}

.btn-small {
  font-size: 0.9rem;
  min-height: 44px;
  padding: 0 18px;
}

.btn-large {
  font-size: 1rem;
  min-height: 56px;
  padding: 0 24px;
}

.btn-gold {
  background: linear-gradient(135deg, #e0bd73, var(--gold) 46%, #a57935);
  box-shadow: 0 14px 28px rgba(200, 161, 97, 0.32);
  color: #07192f;
}

.btn-gold:hover,
.btn-gold:focus-visible {
  box-shadow: 0 18px 34px rgba(200, 161, 97, 0.42);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.48);
}

.btn-ghost-dark {
  background: rgba(13, 35, 63, 0.08);
  border: 1px solid rgba(13, 35, 63, 0.18);
  color: var(--ink);
}

.btn-ghost-dark:hover,
.btn-ghost-dark:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.btn svg,
.icon-button svg {
  fill: none;
  height: 20px;
  min-width: 20px;
  width: 20px;
}

.btn svg path,
.icon-button svg path {
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.btn .whatsapp-icon path,
.floating-contact .whatsapp-icon path {
  fill: currentColor;
  stroke: none;
  stroke-width: 0;
}

.hero {
  background: radial-gradient(circle at 80% 20%, rgba(200, 161, 97, 0.18), transparent 28%),
    linear-gradient(135deg, #07192f 0%, var(--ink) 48%, var(--navy) 100%);
  color: var(--white);
  min-height: 100vh;
  overflow: hidden;
  padding: 148px 24px 0;
  position: relative;
}

.hero::before {
  background:
    linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, transparent 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  inset: 0;
  opacity: 0.5;
  position: absolute;
}

.hero-grid {
  border: 1px solid rgba(200, 161, 97, 0.36);
  height: 440px;
  position: absolute;
  right: -120px;
  top: 96px;
  transform: rotate(12deg);
  width: 440px;
}

.hero-grid::before,
.hero-grid::after {
  background: rgba(200, 161, 97, 0.45);
  content: "";
  position: absolute;
}

.hero-grid::before {
  height: 1px;
  left: -90px;
  top: 52%;
  width: 620px;
}

.hero-grid::after {
  height: 620px;
  left: 54%;
  top: -90px;
  width: 1px;
}

.hero-content {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.72fr);
  margin: 0 auto;
  max-width: 1180px;
  min-height: calc(100vh - 234px);
  position: relative;
  z-index: 1;
}

.eyebrow {
  align-items: center;
  color: var(--gold);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 10px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: var(--gold);
  content: "";
  height: 2px;
  width: 38px;
}

.hero h1,
.section-heading h2,
.about-content h2,
.contact-copy h2 {
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
}

.hero h1 {
  font-size: 4.25rem;
  line-height: 0.98;
  max-width: 780px;
}

.hero p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.18rem;
  line-height: 1.7;
  margin: 24px 0 0;
  max-width: 690px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.trust-points {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
  max-width: 640px;
  padding-top: 22px;
}

.trust-points span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 10px 14px;
}

.hero-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
  min-height: 490px;
  overflow: hidden;
  padding: 38px;
  position: relative;
}

.hero-panel::before {
  background: linear-gradient(90deg, transparent, rgba(200, 161, 97, 0.38), transparent);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.panel-scan {
  animation: scan 4.5s ease-in-out infinite;
  background: linear-gradient(90deg, transparent, rgba(200, 161, 97, 0.2), transparent);
  height: 100%;
  left: -60%;
  position: absolute;
  top: 0;
  transform: skewX(-16deg);
  width: 45%;
}

@keyframes scan {
  0% {
    left: -65%;
  }
  48%,
  100% {
    left: 120%;
  }
}

.hero-panel img {
  height: 210px;
  margin: 0 auto;
  object-fit: contain;
  width: min(100%, 330px);
}

.metric-list {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

.metric-list div {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  display: grid;
  gap: 16px;
  grid-template-columns: 58px 1fr;
  padding: 18px;
}

.metric-list strong {
  color: var(--gold);
  font-size: 1.35rem;
}

.metric-list span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.hero-strip {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, 1fr);
  margin: 54px -24px 0;
  position: relative;
  z-index: 1;
}

.hero-strip span {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 900;
  padding: 22px 20px;
  text-align: center;
}

.hero-strip span:last-child {
  border-right: 0;
}

.section {
  padding: 108px 24px;
}

.section-heading {
  margin: 0 auto 46px;
  max-width: 820px;
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
}

.section-heading h2,
.about-content h2,
.contact-copy h2 {
  color: var(--ink);
  font-size: 2.65rem;
  line-height: 1.12;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 18px auto 0;
  max-width: 680px;
}

.service-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.service-card,
.principle,
.timeline-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 38px rgba(13, 35, 63, 0.08);
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card {
  min-height: 320px;
  overflow: hidden;
  padding: 30px;
}

.service-card::before {
  background: linear-gradient(90deg, var(--gold), transparent);
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.service-card:hover,
.service-card:focus-within,
.principle:hover,
.timeline-step:hover {
  border-color: rgba(200, 161, 97, 0.48);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.service-icon {
  align-items: center;
  background: rgba(200, 161, 97, 0.12);
  border-radius: var(--radius);
  color: var(--gold-dark);
  display: flex;
  height: 56px;
  justify-content: center;
  margin-bottom: 24px;
  width: 56px;
}

.service-icon svg {
  fill: none;
  height: 28px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 28px;
}

.service-card h3,
.principle h3,
.timeline-step h3 {
  color: var(--ink);
  font-size: 1.22rem;
  margin: 0;
}

.service-card p,
.principle p,
.timeline-step p,
.about-content p,
.contact-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

.service-card p {
  margin: 16px 0 0;
}

.process {
  background: var(--white);
}

.timeline {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.timeline-step {
  min-height: 260px;
  padding: 30px;
}

.timeline-step span {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: var(--gold);
  display: flex;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  margin-bottom: 24px;
  width: 44px;
}

.timeline-step p {
  margin: 14px 0 0;
}

.about {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1180px;
}

.about-content {
  position: sticky;
  top: 128px;
}

.about-content p {
  font-size: 1.08rem;
  margin: 22px 0 0;
}

.principles {
  display: grid;
  gap: 18px;
}

.principle {
  padding: 30px;
}

.principle p {
  margin: 14px 0 0;
}

.contact-section {
  align-items: stretch;
  background:
    radial-gradient(circle at 84% 20%, rgba(200, 161, 97, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(7, 25, 47, 0.98), rgba(30, 53, 89, 0.92)),
    linear-gradient(135deg, var(--ink), var(--navy));
  color: var(--white);
  display: grid;
  gap: 38px;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.74fr);
  margin: 0 auto 0;
  max-width: 1180px;
  overflow: hidden;
  padding: 64px;
  position: relative;
}

.contact-section::after {
  background: linear-gradient(90deg, transparent, rgba(200, 161, 97, 0.22), transparent);
  content: "";
  height: 130%;
  position: absolute;
  right: 30%;
  top: -15%;
  transform: skewX(-18deg);
  width: 160px;
}

.contact-orbit {
  border: 1px solid rgba(200, 161, 97, 0.32);
  height: 320px;
  position: absolute;
  right: -64px;
  top: -92px;
  transform: rotate(16deg);
  width: 320px;
}

.contact-copy,
.contact-actions,
.contact-info-grid {
  position: relative;
  z-index: 1;
}

.contact-copy h2 {
  color: var(--white);
  max-width: 760px;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
  margin: 18px 0 0;
  max-width: 620px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contact-info-grid {
  display: grid;
  gap: 14px;
}

.contact-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  display: grid;
  gap: 4px 16px;
  grid-template-columns: 54px 1fr;
  min-height: 112px;
  padding: 20px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(200, 161, 97, 0.55);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.contact-icon {
  align-items: center;
  background: rgba(200, 161, 97, 0.16);
  border: 1px solid rgba(200, 161, 97, 0.28);
  border-radius: var(--radius);
  color: var(--gold);
  display: flex;
  grid-row: span 2;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.contact-icon svg {
  fill: none;
  height: 26px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 26px;
}

.contact-card small {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  line-height: 1.36;
}

.site-footer {
  align-items: center;
  background: #07192f;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 0;
  padding: 44px 24px;
  text-align: center;
}

.site-footer img {
  height: 90px;
  object-fit: contain;
  width: 190px;
}

.site-footer p {
  color: var(--gold);
  font-weight: 900;
  margin: 0;
}

.site-footer span {
  font-size: 0.92rem;
}

.floating-contact {
  align-items: center;
  background: #25d366;
  border-radius: 999px;
  bottom: 22px;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.34);
  color: var(--white);
  display: flex;
  height: 60px;
  justify-content: center;
  position: fixed;
  right: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease;
  width: 60px;
  z-index: 18;
}

.floating-contact:hover,
.floating-contact:focus-visible {
  box-shadow: 0 20px 42px rgba(37, 211, 102, 0.46);
  transform: translateY(-4px) scale(1.04);
}

.floating-contact svg {
  fill: currentColor;
  height: 31px;
  width: 31px;
}

.toast {
  background: var(--ink);
  border: 1px solid rgba(200, 161, 97, 0.42);
  border-radius: var(--radius);
  bottom: 96px;
  box-shadow: var(--shadow);
  color: var(--white);
  font-weight: 800;
  max-width: 360px;
  opacity: 0;
  padding: 16px 18px;
  pointer-events: none;
  position: fixed;
  right: 22px;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 30;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: flex;
    justify-self: end;
  }

  .nav-links {
    align-content: start;
    background: rgba(7, 25, 47, 0.98);
    color: var(--white);
    display: grid;
    gap: 4px;
    grid-column: 1 / -1;
    justify-content: stretch;
    left: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 14px;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    transition: max-height 220ms ease, opacity 180ms ease, padding 180ms ease;
  }

  .menu-open .nav-links {
    max-height: 320px;
    opacity: 1;
    padding: 16px 14px;
  }

  .nav-links a {
    color: rgba(255, 255, 255, 0.88);
    padding: 14px 12px;
  }

  .header-actions {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .about-content {
    position: static;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    align-items: start;
  }
}

@media (max-width: 720px) {
  .site-header {
    border-radius: 24px;
    padding: 8px 10px 8px 16px;
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand img {
    height: 48px;
    width: 132px;
  }

  .hero {
    padding: 118px 18px 0;
  }

  .hero h1 {
    font-size: 2.45rem;
    line-height: 1.05;
  }

  .hero p {
    font-size: 1.02rem;
  }

  .hero-actions {
    display: grid;
  }

  .btn-large {
    min-height: 54px;
    padding: 0 18px;
    width: 100%;
  }

  .hero-panel {
    min-height: 390px;
    padding: 28px 20px;
  }

  .hero-panel img {
    height: 168px;
  }

  .metric-list div {
    grid-template-columns: 48px 1fr;
    padding: 15px;
  }

  .hero-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-left: -18px;
    margin-right: -18px;
  }

  .hero-strip span {
    font-size: 0.88rem;
    padding: 16px 10px;
  }

  .section {
    padding: 76px 18px;
  }

  .section-heading h2,
  .about-content h2,
  .contact-copy h2 {
    font-size: 2.05rem;
  }

  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .service-card,
  .timeline-step {
    min-height: auto;
  }

  .about {
    padding-left: 18px;
    padding-right: 18px;
  }

  .contact-section {
    margin: 0 18px;
    padding: 38px 22px;
  }

  .contact-actions {
    align-items: stretch;
  }

  .floating-contact {
    bottom: 16px;
    height: 56px;
    right: 16px;
    width: 56px;
  }

  .toast {
    bottom: 84px;
    left: 16px;
    max-width: none;
    right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
