/* PuntoComex - Premium mobile-first design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #0A2540;
  --navy-dark: #061a2e;
  --teal: #00A3A1;
  --teal-dark: #008a88;
  --orange: #FF6B35;
  --orange-dark: #e55a2b;
  --bg: #F8FAFC;
  --text: #1E293B;
  --text-light: #64748B;
  --border: #E2E8F0;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(10, 37, 64, 0.08);
  --shadow-hover: 0 8px 30px rgba(10, 37, 64, 0.12);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 38px;
  height: 38px;
}

.nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.25rem;
  gap: 0.25rem;
  box-shadow: var(--shadow);
}

.nav.open {
  display: flex;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  padding: 0.7rem 0;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a.active,
.nav a:hover {
  color: var(--teal);
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--navy);
  padding: 0.25rem;
}

/* Hero */
.hero {
  padding: 5.5rem 0 4.5rem;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.hero h1 {
  font-size: 2.15rem;
  color: var(--navy);
  margin-bottom: 1.1rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 2.25rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.9rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.25);
}

.btn-primary:hover {
  background: var(--orange-dark);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
}

.btn-secondary {
  background: var(--teal);
  color: white;
  box-shadow: 0 4px 14px rgba(0, 163, 161, 0.25);
}

.btn-secondary:hover {
  background: var(--teal-dark);
  box-shadow: 0 6px 20px rgba(0, 163, 161, 0.35);
}

/* Features */
.features {
  padding: 4rem 0 5rem;
}

.features h2 {
  text-align: center;
  color: var(--navy);
  margin-bottom: 2.5rem;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.features-grid {
  display: grid;
  gap: 1.75rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-card h3 {
  color: var(--navy);
  margin-bottom: 0.65rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Footer */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0;
  text-align: center;
  margin-top: 4rem;
  font-size: 0.95rem;
}

/* Page content */
.page-content {
  padding: 4rem 0 5rem;
}

.page-content h1 {
  color: var(--navy);
  margin-bottom: 1.25rem;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.page-content h2 {
  color: var(--navy);
  margin: 2.5rem 0 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.page-content p {
  margin-bottom: 1.1rem;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
}

.page-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text);
}

.page-content li {
  margin-bottom: 0.5rem;
}

/* Desktop */
@media (min-width: 768px) {
  .nav {
    display: flex;
    flex-direction: row;
    position: static;
    border: none;
    padding: 0;
    gap: 1.75rem;
    box-shadow: none;
  }

  .menu-toggle {
    display: none;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .subtitle {
    font-size: 1.25rem;
  }

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-content h1 {
    font-size: 2.75rem;
  }
}
