:root {
  --bg: #0B1220;
  --surface: #101B30;
  --border: #2A3A5C;
  --accent: #2DD4BF;
  --accent-ink: #04342C;
  --text: #F1F5F9;
  --text-muted: #8896AB;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 18, 32, 0.9);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-name { font-weight: 600; font-size: 16px; }
.brand-tag { font-size: 12px; color: var(--text-muted); }

.site-nav { display: flex; gap: 20px; font-size: 14px; }
.site-nav a { color: var(--text-muted); }
.site-nav a:hover { color: var(--accent); }

/* Hero */
.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}

.hero-inner { max-width: 640px; }

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero h1 .accent { color: var(--accent); }

.hero-desc {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 28px;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 8px;
}
.cta:hover { opacity: 0.9; }

/* Sections */
.section { padding: 56px 0; border-bottom: 1px solid var(--border); }
.section-alt { background: #0D1626; }
.section h2 { font-size: 26px; font-weight: 600; margin-bottom: 28px; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.service-icon {
  width: 40px;
  height: 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.service-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.service-card p { font-size: 13px; color: var(--text-muted); }

.loading-msg {
  color: var(--text-muted);
  font-size: 14px;
}

.portfolio-img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
  display: block;
}

/* Portfolio */
.portfolio-empty {
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* Contact */
.contact-inner { max-width: 480px; }
.contact-desc { color: var(--text-muted); margin-bottom: 20px; }
.contact-link {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--accent);
}
.contact-link:hover { border-color: var(--accent); }

/* Footer */
.site-footer {
  padding: 24px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.admin-link {
  color: var(--text-muted);
  font-size: 11px;
  text-decoration: underline;
}
.admin-link:hover { color: var(--accent); }

/* WhatsApp flutuante */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  z-index: 50;
}
.whatsapp-float:hover { opacity: 0.9; }

/* Mobile */
@media (max-width: 560px) {
  .site-nav { gap: 14px; font-size: 13px; }
  .hero { padding: 48px 0 40px; }
}
