/* ---------- MODERN TECHNICAL DOCUMENT THEME ---------- */
:root {
  --bg-color: #ffffff;
  --text-color: #0f172a;
  --text-muted: #64748b;
  --primary-color: #0f172a;
  --accent-color: #2563eb;
  --border-color: #e2e8f0;
  --bg-alt: #f8fafc;
  --container-width: 900px;
}

.dark-theme {
  --bg-color: #020617;
  --text-color: #f1f5f9;
  --text-muted: #94a3b8;
  --primary-color: #f1f5f9;
  --accent-color: #3b82f6;
  --border-color: #1e293b;
  --bg-alt: #0f172a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease;
}

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

.border-top {
  border-top: 1px solid var(--border-color);
  padding-top: 6rem;
}

/* Typography */
h1, h2, h3 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--primary-color);
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(var(--bg-color), 0.8);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.navbar {
  max-width: var(--container-width);
  margin: 0 auto;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.logo {
  font-weight: 900;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

#menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-color);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-lang {
  background: transparent;
  border: none;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  transition: all 0.2s;
}

.btn-lang:hover {
  color: var(--primary-color);
  border-color: var(--text-muted);
}

#theme-toggle {
  background: transparent;
  border: 1px solid var(--border-color);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 6px;
  display: flex;
}

#theme-toggle img {
  width: 16px;
  height: 16px;
}

.dark-theme #theme-toggle img {
  filter: invert(1);
}

/* Hero */
.section-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.hero-container h1 {
  font-size: 4rem;
  margin-bottom: 0.75rem;
}

.hero-tagline {
  font-size: 1.5rem;
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-top: 0;
  margin-bottom: 3rem;
}

.hero-socials a {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s;
}

.hero-socials a:hover {
  transform: translateY(-2px);
}

.hero-socials img {
  width: 26px;
  height: 26px;
  filter: grayscale(1) opacity(0.7);
  transition: filter 0.2s;
}

.dark-theme .hero-socials img {
  filter: invert(1) grayscale(1) opacity(0.7);
}

.hero-socials a:hover img {
  filter: grayscale(0) opacity(1);
}

.dark-theme .hero-socials a:hover img {
  filter: invert(1) grayscale(0) opacity(1);
}

/* Buttons */
.btn-primary {
  background: var(--primary-color);
  color: var(--bg-color);
  padding: 0.75rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  padding: 0.75rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: var(--bg-alt);
}

/* Expertise Section */
.expertise-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.expertise-content {
  display: grid;
  gap: 3rem;
}

.expertise-item p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Methodology */
.section-method {
  padding: 6rem 0;
  margin-bottom: 6rem;
}

.grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: center;
}

.method-list {
  list-style: none;
  margin-top: 2rem;
}

.method-list li {
  margin-bottom: 2rem;
  padding-left: 2rem;
  position: relative;
}

.method-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 10px;
  height: 2px;
  background: var(--accent-color);
}

.method-list li strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--primary-color);
}

.method-badges {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.badge {
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-muted);
}

/* Contact */
.section-contact {
  padding-bottom: 10rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-color);
  color: var(--text-color);
  font-size: 1rem;
  font-family: inherit;
}

/* Footer */
.footer {
  padding: 6rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-container h1 {
    font-size: 2.5rem;
  }
  
  .expertise-grid,
  .grid-2-cols,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .section-hero {
    padding-top: 8rem;
  }
}

/* WhatsApp Sutil */
#whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: transform 0.2s;
}

#whatsapp-float:hover {
  transform: translateY(-4px);
}

#whatsapp-float img {
  width: 24px;
  height: 24px;
  filter: grayscale(1);
}

.dark-theme #whatsapp-float img {
  filter: invert(1) grayscale(1);
}
