:root {
  --bg: #0a0b08;
  --bg-alt: #131409;
  --surface: #16170f;
  --ink: #f4f6ee;
  --muted: #9a9d8f;
  --lime: #c6ff3d;
  --lime-dark: #9fdd1f;
  --border: #2a2c1f;
  --radius: 14px;
  --max-width: 1160px;
}

::selection {
  background: var(--lime);
  color: #0a0b08;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--lime);
  color: #0a0b08;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--lime);
  text-decoration: none;
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
}

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

.nav-cta {
  background: var(--lime);
  color: #0a0b08 !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.15s ease;
}
.nav-cta:hover { background: var(--lime-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  display: block;
}

/* Hero */
.hero { padding: 64px 0 88px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  max-width: 16ch;
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 46ch;
  margin: 0 0 28px;
}

.hero-media img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--lime);
  color: #0a0b08;
}
.btn-primary:hover { background: var(--lime-dark); }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.section-lead {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 36px;
}

/* Bento services grid */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 20px;
}

.bento-wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
}

.bento-wide img { height: 100%; object-fit: cover; }

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}
.bento-card:hover { border-color: var(--lime); }

.bento-card img { filter: grayscale(35%) contrast(1.05); }

.bento-card:not(.bento-wide) img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.bento-body {
  padding: 22px;
}

.bento-body h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.bento-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.about-grid p { color: var(--muted); }

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.legal-card dl { margin: 0; }
.legal-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.legal-card dl > div:last-child { border-bottom: none; }
.legal-card dt { color: var(--muted); font-size: 0.9rem; }
.legal-card dd { margin: 0; font-weight: 600; text-align: right; color: var(--lime); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--lime); }

.contact-label {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field { display: flex; flex-direction: column; gap: 6px; }

.field label { font-size: 0.9rem; font-weight: 600; }

.field input,
.field select,
.field textarea {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--lime);
  outline-offset: 1px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--bg-alt);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid .logo { font-size: 0.95rem; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-1.is-visible { transition-delay: 0s; }
.reveal-2.is-visible { transition-delay: 0.12s; }
.reveal-3.is-visible { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* Motivated hover motion */
.bento-card {
  transition: border-color 0.2s ease, transform 0.25s cubic-bezier(0.16,1,0.3,1);
}
.bento-card:hover { transform: translateY(-4px); }

.nav-links a:not(.nav-cta) {
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .bento-card:hover { transform: none; }
}

/* Map */
.map-frame {
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(60%) invert(92%) contrast(90%);
}

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  z-index: 30;
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float:active { transform: scale(0.96); }
.wa-float img { width: 26px; height: 26px; }

@media (prefers-reduced-motion: reduce) {
  .wa-float:hover { transform: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-media { order: -1; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-wide { grid-column: span 2; grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 20px;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 0; }
  .nav-cta { width: fit-content; }
  .nav-toggle { display: flex; }

  .bento { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }

  .legal-card dd { text-align: left; }
  .legal-card dl > div { flex-direction: column; gap: 2px; }
}
