:root {
  --navy: #062018;
  --navy-2: #0b2f24;
  --navy-3: #134536;
  --ink: #142033;
  --muted: #5b6b7c;
  --line: #d5e4dc;
  --paper: #f3f6f2;
  --white: #ffffff;
  --amber: #2bb673;
  --amber-2: #4ad68a;
  --amber-deep: #1c8a56;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe57;
  --danger: #c0392b;
  --ok: #1f8a4c;
  --shadow: 0 18px 50px rgba(7, 21, 37, 0.14);
  --radius: 18px;
  --header-h: 82px;
  --max: 1180px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Barlow Condensed", "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  min-height: 100%;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--max);
  padding-inline: 20px;
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--amber);
  color: var(--navy);
  padding: 8px 14px;
  z-index: 100;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

/* Topbar */
.topbar {
  background: var(--navy);
  color: #d7e2ee;
  font-size: 13px;
  font-weight: 600;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 38px;
  flex-wrap: wrap;
  padding-block: 8px;
}

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

.topbar-left,
.topbar-right {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.18);
  display: inline-block;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s, border-color 0.25s;
  overflow-x: hidden;
}

.header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(7, 21, 37, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 20px;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.brand-mark img {
  width: 148%;
  height: 148%;
  object-fit: cover;
  object-position: center;
  margin: -24%;
}

.brand-text strong {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--navy);
}

.brand-text span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  padding: 10px 12px;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy-2);
  border-radius: 10px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: #efe8d8;
  color: var(--navy);
}

.short-label { display: none; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-amber {
  background: linear-gradient(180deg, var(--amber-2), var(--amber));
  color: var(--navy);
  box-shadow: 0 8px 18px rgba(232, 163, 23, 0.28);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #06351a;
}

.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 0;
  background: var(--navy);
  cursor: pointer;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(820px, calc(100svh - 120px));
  display: grid;
  place-items: end stretch;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 21, 37, 0.88) 0%, rgba(7, 21, 37, 0.55) 48%, rgba(7, 21, 37, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 21, 37, 0.2), rgba(7, 21, 37, 0.72));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 90px 0 70px;
  min-width: 0;
  max-width: 100%;
}

.kicker {
  display: inline-block;
  background: rgba(232, 163, 23, 0.16);
  border: 1px solid rgba(232, 163, 23, 0.38);
  color: var(--amber-2);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  max-width: 100%;
  line-height: 1.4;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  max-width: 14ch;
  text-transform: uppercase;
}

.hero h1 em {
  font-style: normal;
  color: var(--amber);
}

.hero-lead {
  max-width: min(58ch, 100%);
  margin: 22px 0 28px;
  font-size: 18px;
  color: #d8e3ee;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 860px;
}

.stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px 18px;
  backdrop-filter: blur(8px);
}

.stat b {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--amber);
}

.stat span {
  font-size: 13px;
  color: #c9d6e3;
  font-weight: 600;
}

/* Sections */
section {
  padding: 88px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 36px;
}

.eyebrow {
  color: var(--amber-deep);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 8px;
}

h2 {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
}

.lede {
  max-width: 46ch;
  color: var(--muted);
  font-weight: 600;
}

/* Services */
.services {
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.service-grid > *,
.reg-grid > *,
.cnae-list > *,
.about-grid > *,
.contact-grid > *,
.footer-grid > *,
.hero-stats > *,
.people-card > * {
  min-width: 0;
}

.card {
  background: var(--paper);
  border: 1px solid #ece6d8;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.card-body {
  padding: 22px;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--navy);
  overflow-wrap: break-word;
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

.cnae {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 800;
  color: var(--navy-3);
  background: #efe6d0;
  padding: 6px 10px;
  border-radius: 999px;
}

.card.featured {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.card.featured h3,
.card.featured p {
  color: #fff;
}

.card.featured p {
  color: #c9d6e3;
}

.card.featured .cnae {
  background: rgba(232, 163, 23, 0.18);
  color: var(--amber-2);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.about-copy p + p {
  margin-top: 14px;
}

.about-copy p {
  color: #3d4c5c;
  font-size: 16.5px;
}

.checklist {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.checklist li {
  list-style: none;
  display: flex;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
}

.checklist li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px var(--amber);
}

.about-photo {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 460px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 460px;
}

/* Registry */
.registry {
  background: var(--navy);
  color: #fff;
}

.registry h2,
.registry .eyebrow {
  color: #fff;
}

.registry .eyebrow {
  color: var(--amber);
}

.registry .lede {
  color: #b7c6d4;
}

.reg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.reg-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 18px;
  min-height: 118px;
}

.reg-card small {
  display: block;
  color: #93a6b8;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 8px;
}

.reg-card strong {
  font-size: 17px;
  line-height: 1.35;
  word-break: break-word;
}

.copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.copy-btn {
  border: 0;
  background: rgba(232, 163, 23, 0.16);
  color: var(--amber-2);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.cnae-list {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cnae-box {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 20px;
}

.cnae-box.main {
  background: var(--amber);
}

.cnae-box span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cnae-box b {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

/* People */
.people {
  background: #fff;
}

.people-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  background: var(--paper);
  border-radius: 24px;
  padding: 22px;
  border: 1px solid #ece6d8;
}

.avatar {
  width: 220px;
  height: 260px;
  border-radius: 18px;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}

.people-card h3 {
  font-size: 30px;
  font-family: var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge {
  display: inline-block;
  margin: 8px 0 14px;
  background: var(--navy);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

/* Contact / map */
.contact {
  padding-bottom: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.panel {
  background: #fff;
  border-radius: 24px;
  padding: 26px;
  border: 1px solid #ece6d8;
  box-shadow: var(--shadow);
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 16px;
  margin: 18px 0 22px;
}

.contact-list a,
.contact-list span {
  display: block;
  font-weight: 800;
  color: var(--navy);
}

.contact-list small {
  color: var(--muted);
  font-weight: 600;
}

.map-wrap {
  border-radius: 24px;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid #ece6d8;
  position: relative;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

.map-card {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  width: min(320px, calc(100% - 32px));
  box-shadow: var(--shadow);
}

.map-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.map-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}

form {
  display: grid;
  gap: 12px;
}

label {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fbfaf7;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
}

.form-success {
  display: none;
  background: #e8f8ee;
  color: var(--ok);
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
}

/* Footer */
.footer {
  background: var(--navy);
  color: #c5d2de;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .brand-text strong {
  color: #fff;
}

.footer p {
  margin-top: 10px;
  max-width: 42ch;
}

.footer h4 {
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.footer a:hover {
  color: var(--amber);
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.legal {
  padding-top: 18px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Floating WhatsApp */
.wpp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  animation: pulse 2.4s infinite;
}

.wpp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  z-index: 90;
  font-weight: 700;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 980px) {
  .menu-toggle { display: none; }
  .header-cta { display: none; }
  .nav {
    flex-wrap: wrap;
    min-height: auto;
    padding-block: 8px 4px;
  }
  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    width: 100%;
    min-width: 0;
    flex: 1 1 100%;
    order: 3;
    gap: 0 16px;
  }
  .nav-links a {
    font-size: 12px;
    padding: 6px 0;
    white-space: normal;
    line-height: 1.25;
  }
  .full-label { display: none; }
  .short-label { display: inline; }
  .hero-stats,
  .service-grid,
  .reg-grid,
  .cnae-list,
  .about-grid,
  .contact-grid,
  .footer-grid,
  .people-card,
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
  }
  .hero-content {
    padding: 56px 0 40px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .kicker {
    letter-spacing: 0.04em;
    font-size: 11px;
  }
  .hero-lead {
    font-size: 16px;
    padding-right: 12px;
  }
  .topbar .container {
    font-size: 12px;
  }
  .brand-text strong {
    font-size: 24px;
  }
  .map-card {
    position: static;
    width: 100%;
    border-radius: 0;
  }
  .map-wrap,
  .map-wrap iframe {
    min-height: 380px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wpp-float { animation: none; }
}
