:root {
  --gold: #d4af37;
  --gold-light: #f0d780;
  --gold-dark: #8f6c16;
  --black: #0a0a0a;
  --black-2: #111111;
  --black-3: #181818;
  --white: #f7f7f4;
  --muted: #b5b5b0;
  --line: rgba(212, 175, 55, .24);
  --soft-line: rgba(255,255,255,.08);
  --green: #25d366;
  --max: 1180px;
  --shadow: 0 24px 70px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 10% 10%, rgba(212,175,55,.08), transparent 26%),
    radial-gradient(circle at 90% 0%, rgba(212,175,55,.07), transparent 24%),
    var(--black);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 5000; padding: 10px 14px; border-radius: 10px; background: var(--gold); color: #111; font-weight: 900; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.055);
  background: rgba(10,10,10,.83);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 225px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 7px; }
.main-nav a {
  position: relative;
  padding: 11px 15px;
  border-radius: 999px;
  color: #cecec9;
  font-size: .86rem;
  font-weight: 750;
  transition: .2s ease;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.055); }
.main-nav a.active { color: #111; background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.main-nav .nav-cta { border: 1px solid var(--line); color: var(--gold-light); }
.main-nav .nav-cta.active { color: #111; border-color: transparent; }
.nav-toggle { display: none; width: 46px; height: 42px; padding: 10px; border: 1px solid var(--soft-line); border-radius: 12px; background: #141414; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--gold-light); }

.page-main { min-height: calc(100vh - 174px); }
.page-hero { padding: 76px 0 54px; }
.page-hero.compact { padding-bottom: 38px; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 60px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--gold); font-size: .76rem; letter-spacing: .16em; font-weight: 900; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 900px; margin-bottom: 22px; font-size: clamp(2.7rem, 6vw, 5.7rem); line-height: .98; letter-spacing: -.055em; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.08; letter-spacing: -.035em; }
h3 { margin-bottom: 10px; font-size: 1.28rem; line-height: 1.2; }
.lead { max-width: 760px; color: #c8c8c3; font-size: clamp(1.02rem, 2vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 0; border-radius: 13px; font-weight: 900; transition: transform .2s ease, filter .2s ease; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-primary { color: #111; background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.btn-secondary { color: #eee; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.035); }
.btn-block { width: 100%; }

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.018));
  box-shadow: var(--shadow);
}
.hero-panel::after { content: ""; position: absolute; width: 240px; height: 240px; right: -70px; top: -60px; border-radius: 50%; background: rgba(212,175,55,.13); filter: blur(8px); }
.panel-label { color: var(--gold); font-size: .72rem; letter-spacing: .15em; font-weight: 900; }
.panel-title { margin-top: 10px; font-size: clamp(3.5rem, 7vw, 6rem); line-height: .95; font-weight: 950; letter-spacing: -.07em; }
.panel-title span { color: var(--gold); }
.panel-copy { max-width: 420px; color: #bcbcb7; }
.metric-stack { position: absolute; left: 34px; right: 34px; bottom: 30px; display: grid; gap: 10px; }
.metric { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(0,0,0,.28); }
.metric strong { color: var(--gold-light); }
.metric span { color: #aaa; font-size: .82rem; text-align: right; }

.section { padding: 56px 0 78px; }
.section-heading { max-width: 850px; margin-bottom: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--soft-line);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(255,255,255,.05), rgba(255,255,255,.018));
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line); }
.card p { color: #aaa; }
.card-tag { display: inline-flex; margin-bottom: 18px; color: var(--gold); font-size: .7rem; letter-spacing: .13em; font-weight: 900; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--gold-light); font-size: .86rem; font-weight: 900; }
.card-link:hover { gap: 12px; }

.quick-nav { margin-top: -6px; padding-bottom: 20px; }
.quick-nav-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quick-nav a { padding: 15px 16px; border: 1px solid var(--soft-line); border-radius: 14px; background: rgba(255,255,255,.025); color: #d6d6d1; font-size: .85rem; font-weight: 800; text-align: center; }
.quick-nav a:hover { border-color: var(--line); color: var(--gold-light); }

.tabs-shell { display: grid; grid-template-columns: 275px minmax(0, 1fr); gap: 28px; align-items: start; }
.tab-list { position: sticky; top: 112px; display: grid; gap: 10px; padding: 14px; border: 1px solid var(--soft-line); border-radius: 20px; background: #101010; }
.tab-button { width: 100%; padding: 16px; border: 1px solid transparent; border-radius: 14px; color: #c8c8c3; background: transparent; text-align: left; font-weight: 850; }
.tab-button span { display: block; margin-top: 2px; color: #777; font-size: .73rem; font-weight: 600; }
.tab-button:hover { background: rgba(255,255,255,.045); }
.tab-button[aria-selected="true"] { color: #111; border-color: transparent; background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.tab-button[aria-selected="true"] span { color: rgba(0,0,0,.62); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .28s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel-heading { margin-bottom: 22px; }
.panel-heading p { color: #aaa; }
.service-card { min-height: 300px; display: flex; flex-direction: column; }
.service-card ul { margin: 8px 0 22px; padding-left: 18px; color: #aaa; }
.service-card li { margin: 7px 0; }
.service-card .card-link { margin-top: auto; }
.scope-note { margin-top: 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(212,175,55,.055); color: #bcbcb7; font-size: .84rem; }
.scope-note strong { color: var(--gold-light); }

.method-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: start; }
.method-summary { position: sticky; top: 116px; }
.steps { display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 66px 1fr; gap: 18px; padding: 22px; border: 1px solid var(--soft-line); border-radius: 20px; background: rgba(255,255,255,.025); }
.step-number { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; color: #111; background: linear-gradient(135deg, var(--gold-light), var(--gold)); font-weight: 950; }
.step p { margin-bottom: 0; color: #aaa; }

.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.team-card { min-height: 330px; }
.avatar { width: 66px; height: 66px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 50%; color: #111; background: linear-gradient(135deg, var(--gold-light), var(--gold)); font-weight: 950; box-shadow: 0 0 0 8px rgba(212,175,55,.07); }
.team-role { color: var(--gold) !important; font-size: .72rem; letter-spacing: .13em; font-weight: 900; }
.team-contact { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.contact-chip { display: inline-flex; align-items: center; min-height: 39px; padding: 0 13px; border: 1px solid var(--soft-line); border-radius: 999px; color: #e8e8e3; background: rgba(255,255,255,.025); font-size: .78rem; font-weight: 800; }
.contact-chip:hover { border-color: var(--line); color: var(--gold-light); }
.contact-chip.whatsapp { color: #062d15; border-color: transparent; background: var(--green); }

.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; align-items: start; }
.contact-directory { display: grid; gap: 12px; margin-top: 26px; }
.directory-item { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 16px; border: 1px solid var(--soft-line); border-radius: 15px; background: rgba(255,255,255,.025); }
.directory-item strong { display: block; }
.directory-item span, .directory-item a { color: #a9a9a4; font-size: .82rem; }
.directory-item a:hover { color: var(--gold-light); }
.contact-form { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.035); box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: 8px; margin-bottom: 17px; color: #e6e6e1; font-size: .86rem; font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 13px 14px; color: #fff; border: 1px solid rgba(255,255,255,.11); border-radius: 12px; outline: 0; background: #0f0f0f; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.1); }
.contact-form select option { background: #111; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-note { margin: 12px 0 0; color: #858580; font-size: .76rem; text-align: center; }

.site-footer { padding: 30px 0; border-top: 1px solid var(--soft-line); background: #080808; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; }
.footer-brand img { width: 210px; }
.footer-brand p { margin: 4px 0 0; color: #8e8e89; font-size: .78rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; color: #bcbcb7; font-size: .8rem; }
.footer-links a:hover { color: var(--gold-light); }
.copyright { margin: 0; color: #767671; font-size: .76rem; text-align: right; }
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 56px; height: 56px; display: grid; place-items: center; border: 4px solid rgba(255,255,255,.12); border-radius: 50%; color: #062d15; background: var(--green); font-weight: 950; box-shadow: 0 12px 30px rgba(0,0,0,.4); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-grid, .method-layout, .contact-layout, .tabs-shell { grid-template-columns: 1fr; }
  .hero-panel { min-height: 390px; }
  .tab-list { position: static; grid-template-columns: repeat(2, 1fr); }
  .method-summary { position: static; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .quick-nav-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .copyright { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav-wrap { min-height: 78px; }
  .brand img { width: 195px; }
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: 74px; left: 14px; right: 14px; display: none; flex-direction: column; align-items: stretch; padding: 12px; border: 1px solid var(--soft-line); border-radius: 18px; background: rgba(10,10,10,.98); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { text-align: center; }
  .page-hero { padding-top: 50px; }
  h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .hero-panel { min-height: 420px; padding: 24px; }
  .metric-stack { left: 24px; right: 24px; }
  .section { padding: 42px 0 62px; }
  .grid-4, .grid-3, .grid-2, .team-grid, .quick-nav-grid, .tab-list, .footer-grid { grid-template-columns: 1fr; }
  .tab-button { text-align: center; }
  .step { grid-template-columns: 54px 1fr; padding: 18px; }
  .directory-item { grid-template-columns: 1fr; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; }
  .copyright { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
