:root {
  --ink-900: #06122b;
  --ink-800: #0b1d40;
  --ink-700: #122a55;
  --blue-600: #1e46a8;
  --blue-500: #2a5cd6;
  --blue-400: #4f7df0;
  --blue-50:  #eef3ff;
  --line:     #e5e9f2;
  --paper:    #ffffff;
  --bg:       #f6f8fc;
  --muted:    #5a6478;
  --text:     #0e1a36;
  --whatsapp: #25d366;

  --pad-y: 120px;
  --pad-x: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ============== NAV ============== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 40px; display: grid; place-items: center; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b {
  font-weight: 800; font-size: 16px; letter-spacing: -0.01em;
  color: var(--ink-900);
}
.brand-name span {
  font-size: 10px; font-weight: 600; letter-spacing: 0.18em;
  color: var(--blue-600); text-transform: uppercase; margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text);
  opacity: 0.7;
}
.nav-links a:hover { opacity: 1; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--ink-800); color: white;
  font-size: 14px; font-weight: 600;
}
.nav-cta:hover { background: var(--ink-900); }

/* ============== HERO ============== */
.hero {
  position: relative;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: calc(100vh - 76px);
}
.hero-text {
  padding: 80px var(--pad-x) 80px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
  background: var(--paper);
}
.hero-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.16em;
  color: var(--blue-600); text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}
.hero-mono::before {
  content: ""; width: 28px; height: 1px; background: var(--blue-600);
}
.hero-title {
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 32px 0 0;
  color: var(--ink-900);
  text-wrap: balance;
}
.hero-title em {
  font-style: normal;
  color: var(--blue-500);
}
.hero-sub {
  font-size: 18px; line-height: 1.55;
  color: var(--muted);
  max-width: 480px;
  margin: 32px 0 0;
}
.hero-actions {
  display: flex; gap: 14px; align-items: center;
  margin-top: 40px; flex-wrap: wrap;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 10px;
  font-size: 15px; font-weight: 600;
}
.btn-whatsapp { background: var(--whatsapp); color: white; }
.btn-whatsapp:hover { background: #1ebe5b; }
.btn-ghost {
  background: transparent; color: var(--ink-800);
  border: 1.5px solid var(--ink-800);
}
.btn-ghost:hover { background: var(--ink-800); color: white; }
.hero-foot {
  margin-top: 64px;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
  gap: 20px; flex-wrap: wrap;
}
.hero-foot b { color: var(--ink-900); font-weight: 700; }
.hero-photo {
  position: relative;
  background: var(--ink-900);
  overflow: hidden;
}
.hero-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-photo-tag {
  position: absolute;
  top: 32px; left: 32px;
  z-index: 2;
  color: white;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(6,18,43,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.15);
}

/* ============== SECTION HEADER ============== */
section { padding: var(--pad-y) 0; }
.sec-head {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: end;
  margin-bottom: 72px;
}
.sec-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.16em;
  color: var(--blue-600); text-transform: uppercase;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.sec-num::before {
  content: ""; width: 28px; height: 1px; background: var(--blue-600);
}
.sec-title {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.02; letter-spacing: -0.025em;
  font-weight: 800; margin: 0;
  text-wrap: balance;
}
.sec-title em { font-style: normal; color: var(--blue-500); }
.sec-lede {
  font-size: 17px; line-height: 1.6; color: var(--muted);
  max-width: 540px;
}

/* ============== ABOUT ============== */
.about { background: var(--bg); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
.about-text p {
  font-size: 16px; line-height: 1.65; color: var(--text);
  margin: 0 0 18px;
}
.about-pillars {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-top: 32px;
}
.pillar {
  padding: 22px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--paper);
}
.pillar-icon {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 600;
  color: var(--blue-600);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}
.pillar h4 { margin: 0 0 6px; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.pillar p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }

.about-image {
  aspect-ratio: 4/5;
  border-radius: 12px; overflow: hidden;
  position: sticky; top: 100px;
}
.about-image img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ============== SERVICES ============== */
.services { background: var(--paper); }
.service-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.service {
  display: grid; grid-template-columns: 60px 220px 1.6fr 1fr;
  gap: 36px; align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.service-thumb {
  width: 100%; aspect-ratio: 4/3;
  border-radius: 8px; overflow: hidden;
  background: var(--bg);
}
.service-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.service-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; color: var(--blue-600);
  letter-spacing: 0.1em;
}
.service-name {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}
.service-desc {
  font-size: 14.5px; line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ============== FAQ ============== */
.faq { background: var(--bg); }
.faq-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px;
}
.faq-list {
  display: flex; flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.faq-item[open] { border-color: var(--blue-500); }
.faq-item summary {
  list-style: none;
  padding: 20px 22px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  font-weight: 600; font-size: 15.5px;
  letter-spacing: -0.01em;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 22px; color: var(--blue-500);
  font-weight: 400; transition: transform .2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body {
  padding: 0 22px 22px;
  font-size: 14.5px; line-height: 1.6; color: var(--muted);
}

/* ============== CONTACT ============== */
.contact { background: var(--paper); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.form-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px;
}
.form-card h3 {
  font-size: 24px; font-weight: 700; letter-spacing: -0.015em;
  margin: 0 0 24px;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label {
  font-size: 13px; font-weight: 500;
  color: var(--ink-800);
}
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--text);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(42,92,214,0.15);
}
.field textarea { resize: vertical; min-height: 100px; }

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--ink-800); color: white;
  border-radius: 8px; font-size: 15px; font-weight: 600;
  margin-top: 8px;
  cursor: pointer;
}
.form-submit:hover { background: var(--ink-900); }

.info-block {
  display: flex; flex-direction: column; gap: 0;
}
.info-row {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.info-row:last-child { border-bottom: 0; }
.info-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--blue-50); color: var(--blue-600);
  display: grid; place-items: center; flex-shrink: 0;
}
.info-row b { display: block; font-size: 11px; color: var(--muted); font-weight: 600; margin-bottom: 4px; letter-spacing: 0.1em; text-transform: uppercase; }
.info-row span { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-900); }

/* ============== FINAL CTA ============== */
.final-cta {
  background: var(--ink-900);
  color: white;
  padding: 96px 0;
}
.final-cta-inner {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 60px; align-items: center;
}
.final-cta h2 {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 16px;
  text-wrap: balance;
}
.final-cta p {
  color: rgba(255,255,255,0.7);
  font-size: 17px; line-height: 1.55;
  max-width: 560px; margin: 0;
}

/* ============== FOOTER ============== */
.footer {
  background: var(--ink-900);
  color: rgba(255,255,255,0.6);
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
  font-size: 13px;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a:hover { color: white; }

/* ============== WHATSAPP FLOATING ============== */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 60px; height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: grid; place-items: center;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; color: white; }

/* ============== LEGAL PAGE ============== */
.legal-page { padding: 80px 0 120px; max-width: 800px; margin: 0 auto; }
.legal-page h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -0.025em; margin: 0 0 12px; color: var(--ink-900); }
.legal-page .updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.legal-page h2 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; color: var(--ink-900); letter-spacing: -0.015em; }
.legal-page p, .legal-page li { font-size: 15.5px; line-height: 1.7; color: var(--text); }
.legal-page ul { padding-left: 20px; }
.legal-page a { color: var(--blue-500); text-decoration: underline; }

/* ============== RESPONSIVE ============== */
@media (max-width: 900px) {
  :root { --pad-y: 80px; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-text { padding: 60px var(--pad-x); }
  .hero-photo { aspect-ratio: 4/3; min-height: 360px; }
  .about-grid, .faq-grid, .contact-grid, .sec-head, .final-cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image { position: relative; top: 0; }
  .about-pillars { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .service { grid-template-columns: 1fr; gap: 14px; }
  .service-thumb { aspect-ratio: 16/9; }
  .hero-title { font-size: clamp(40px, 9vw, 64px); }
  .form-card { padding: 24px; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .wa-float svg { width: 28px; height: 28px; }
}
