:root {
  --navy: #0f2c46;
  --navy-light: #17436b;
  --gold: #c9962b;
  --gold-light: #e8c874;
  --text: #4b5563;
  --text-dark: #0f172a;
  --border: #e2e8f0;
  --bg-alt: #f5f7fa;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, Roboto, sans-serif;
  color: var(--text);
  line-height: 1.65;
}

h1, h2, h3 {
  color: var(--text-dark);
  margin: 0 0 0.5em;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--navy);
  text-decoration: none;
}

a:hover {
  color: var(--gold);
}

/* Top bar */
.topbar {
  background: var(--navy);
  color: #cbd5e1;
  font-size: 0.82rem;
}

.topbar-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.topbar a {
  color: #cbd5e1;
}

.topbar a:hover {
  color: var(--gold-light);
}

.topbar-sep {
  color: #3d5a78;
}

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  display: block;
  height: 80px;
  width: auto;
}

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

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--navy-light);
}

.nav-links a.active {
  color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: #fff !important;
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: #b3831f;
}

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

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-dark);
}

/* Hero */
section.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0a1f33 100%);
  text-align: center;
  padding: 6.5rem 1.5rem 7rem;
  position: relative;
  overflow: hidden;
}

section.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(201, 150, 43, 0.18), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(201, 150, 43, 0.12), transparent 45%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 48rem;
  margin: 0 auto;
}

.hero .eyebrow {
  color: var(--gold-light);
}

.hero h1 {
  color: #fff;
  font-size: 2.75rem;
  margin: 0 auto 0.6em;
  line-height: 1.2;
}

.hero p {
  max-width: 34rem;
  margin: 0 auto 2.25em;
  color: #cbd5e1;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  padding: 0.9rem 2.1rem;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover {
  background: #b3831f;
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-weight: 700;
  padding: 0.9rem 2.1rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: background 0.2s, border-color 0.2s;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  color: #fff;
}

/* Page header (non-home pages) */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, #0a1f33 100%);
  text-align: center;
  padding: 4.5rem 1.5rem;
}

.page-header .eyebrow {
  color: var(--gold-light);
}

.page-header h1 {
  color: #fff;
  font-size: 2.25rem;
  margin: 0;
}

/* Sections */
.section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 5.5rem 1.5rem;
}

.section.alt {
  max-width: 100%;
  background: var(--bg-alt);
}

.section.alt > * {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.section h2 {
  font-size: 2.1rem;
  text-align: center;
}

.eyebrow {
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 0.6em;
}

.lead {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
  color: var(--text);
}

/* Mission / vision */
.cards {
  display: grid;
  gap: 1.75rem;
}

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

.cards.four-col {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(15, 44, 70, 0.1);
}

.card .tag {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.card h3 {
  font-size: 1.1rem;
}

.card p {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0;
}

/* Numbered service cards */
.service-card {
  position: relative;
  padding-top: 2.25rem;
}

.service-num {
  position: absolute;
  top: -0.6rem;
  right: 1rem;
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--bg-alt);
  -webkit-text-stroke: 1px var(--border);
  line-height: 1;
  z-index: 0;
}

.service-card h3,
.service-card p {
  position: relative;
  z-index: 1;
}

/* Values / differentials */
.valores-title {
  text-align: center;
  margin-top: 3.5rem;
  font-size: 1.2rem;
}

.valores {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 44rem;
  margin: 1.5rem auto 0;
  padding: 0;
}

.valores li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.valores li .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* Contact */
.contato {
  text-align: center;
}

.contato-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  max-width: 42rem;
  margin: 0 auto;
}

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

.contato-info h3 {
  font-size: 1rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 3.5rem 1.5rem 1.5rem;
}

.footer-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.logo-badge {
  display: inline-flex;
  background: #fff;
  border-radius: 10px;
  padding: 6px 10px;
}

.logo-badge .logo-img {
  height: 60px;
}

.footer-grid h3 {
  color: #fff;
  font-size: 1rem;
}

.footer-grid a {
  color: var(--gold-light);
}

.muted {
  color: #94a3b8;
  font-size: 0.9rem;
}

.copyright {
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
  margin: 1.5rem 0 0;
}

@media (max-width: 720px) {
  .topbar-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
  }

  .topbar-sep {
    display: none;
  }

  .nav-right {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .nav-right.open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
  }

  .nav-links li {
    padding: 0.85rem 1.5rem;
    border-top: 1px solid var(--border);
  }

  .nav-cta {
    margin: 1rem 1.5rem;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

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

  .cards.two-col,
  .cards.four-col {
    grid-template-columns: 1fr;
  }

  .contato-info,
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
