:root {
  --blue-dark: #032D60;
  --blue: #0176D3;
  --blue-mid: #1B96FF;
  --blue-light: #E3F3FF;
  --blue-lighter: #F4FAFF;
  --text: #1B1B1B;
  --text-muted: #5C6470;
  --bg: #FFFFFF;
  --radius: 14px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

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

.eyebrow {
  display: inline-block;
  color: var(--blue);
  background: var(--blue-light);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.eyebrow.center {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Header */
.site-header {
  border-bottom: 1px solid #EAEEF2;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10;
}

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

.logo {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--blue-dark);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--blue);
}

nav {
  display: flex;
  align-items: center;
}

nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 32px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

nav a:hover {
  color: var(--blue);
}

nav a.nav-cta {
  background: var(--blue);
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}

nav a.nav-cta:hover {
  background: var(--blue-dark);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--blue-lighter) 0%, #FFFFFF 100%);
  text-align: center;
  padding: 120px 0 90px;
}

.hero-glow {
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(closest-side, rgba(1, 118, 211, 0.18), rgba(1, 118, 211, 0));
  pointer-events: none;
}

.hero-inner {
  position: relative;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--blue-dark);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero .subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(1, 118, 211, 0.25);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(3, 45, 96, 0.28);
}

.btn-ghost {
  background: #fff;
  color: var(--blue-dark);
  border: 1px solid #D5E3F0;
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--blue-light);
  color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: none;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section.alt {
  background: #F7FAFC;
}

.section h2 {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--blue-dark);
  margin: 0 0 16px;
  text-align: center;
}

#servicios h2 {
  margin-bottom: 44px;
}

.contact-section {
  text-align: center;
}

.contact-section p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

/* About */
.about-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.about-avatar {
  flex: none;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(3, 45, 96, 0.25);
}

.about-inner h2 {
  text-align: left;
  margin-bottom: 12px;
}

.about-inner p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0;
  font-size: 1.02rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid #E7EDF3;
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(3, 45, 96, 0.1);
  border-color: #D5E3F0;
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  color: var(--blue-dark);
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 700;
}

.card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid #EAEEF2;
  padding: 28px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 700px) {
  .about-inner {
    flex-direction: column;
    text-align: center;
  }

  .about-inner h2,
  .about-inner p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 100px 0 70px;
  }

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

  nav a {
    margin-left: 14px;
    font-size: 0.85rem;
  }

  nav a.nav-cta {
    padding: 8px 14px;
  }
}
