:root {
  --primary: #005b96;
  --secondary: #003f6b;
  --accent: #0074d9;
  --light: #f4f4f4;
  --dark: #333;
  --whatsapp: #25d366;
}

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

body {
  font-family: 'Segoe UI', sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 40px 0;
}

.hero {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.header-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.logo {
  width: 60px;
  height: auto;
}

.cta-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 15px;
}

.navbar {
  background: var(--secondary);
}

.navbar ul {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
}

.navbar ul li a {
  color: white;
  padding: 15px 20px;
  text-decoration: none;
  transition: background 0.3s;
}

.navbar ul li a:hover {
  background: var(--accent);
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  flex: 1 1 300px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
}

.icon {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 15px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1rem;
  transition: background 0.3s;
  text-decoration: none;
}

.btn:hover {
  background: var(--accent);
}

.whatsapp {
  background: var(--whatsapp);
}

.whatsapp:hover {
  background: #1ebe5d;
}

footer {
  background: var(--secondary);
  color: white;
  text-align: center;
  padding: 20px 0;
}

/* Responsivo */
@media (min-width: 768px) {
  .header-flex {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .logo-area {
    margin-bottom: 0;
  }

  .cta-buttons {
    justify-content: flex-end;
  }

  .cards {
    flex-direction: row;
  }

  .navbar ul {
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .cards {
    flex-direction: column;
  }

  .navbar ul {
    flex-direction: column;
    align-items: center;
  }
}
