/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
  /* Brand Palette - Based on Logo #0e6180 */
  --primary-color: #0E6180;
  /* Base Logo Color */
  --primary-light: #2A8CAD;
  /* Lighter variation for accents */
  --primary-dark: #084964;
  /* Darker variation for hover/active */
  --accent-color: #E6F3F7;
  /* Very light blueish background */

  /* Neutrals */
  --bg-color: #FFFFFF;
  --bg-secondary: #F4F8FA;
  /* Clean cool gray/blue tone */
  --text-main: #1E293B;
  /* Slate 800 - Readable dark */
  --text-muted: #64748B;
  /* Slate 500 - Secondary text */
  --border-color: #E2E8F0;

  /* Spacing & Layout */
  --container-width: 1200px;
  --header-height: 80px;
  --border-radius: 8px;
  --transition-speed: 0.3s;
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

h3 {
  font-size: 1.5rem;
}

.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-light);
  border-radius: 2px;
}

/* Header */
header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 45px;
  /* Ajusta este valor según el tamaño de tu logo */
  width: auto;
}

/* 
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.03em;
}

.logo span {
  color: var(--text-main);
} 
*/

nav ul {
  display: flex;
  gap: 32px;
}

nav a {
  font-weight: 500;
  font-size: 0.95rem;
}

nav a:hover,
nav a.active {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #D8EEF5 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
}

/* Sections */
section {
  padding: 100px 0;
}

.bg-light {
  background-color: var(--bg-secondary);
}

/* Card Style */
.card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-speed);
  border: 1px solid var(--border-color);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  border-color: var(--primary-light);
}

/* Footer */
footer {
  background-color: #111827;
  color: white;
  padding: 80px 0 40px;
}

footer h4 {
  color: white;
  margin-bottom: 1.5rem;
}

footer p {
  color: #9CA3AF;
}

footer ul li {
  margin-bottom: 0.8rem;
}

footer a {
  color: #D1D5DB;
}

footer a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #374151;
  text-align: center;
  color: #6B7280;
  font-size: 0.9rem;
}

/* Mobile Nav Container (Global hidden, specific styles) */
.mobile-nav {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background-color: white;
  padding: 20px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid var(--border-color);
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.mobile-nav.open {
  display: flex;
  animation: slideDown 0.3s ease-out forwards;
}

.mobile-nav a {
  font-size: 1.1rem;
  padding: 10px;
  border-bottom: 1px solid #f0f0f0;
  display: block;
  text-align: center;
}

.mobile-nav .btn {
  width: 100%;
  margin-top: 10px;
  text-align: center;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu-btn {
  display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  /* Hide Desktop Nav */
  nav ul {
    display: none;
  }

  /* Mobile Menu Button */
  .mobile-menu-btn {
    display: block !important;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--primary-color);
    padding: 10px;
    z-index: 1001;
  }
}