/* Base / Reset */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
}

:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #555555;
  --primary: #0A74DA; /* azul moderno */
  --primary-600: #085db0;
  --border: #eaeaea;
  --shadow: 0 12px 32px rgba(0,0,0,0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1120px;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

/* Accessibility */
.skip-link {
  position: absolute; left: -999px; top: -999px; background: #000; color: #fff; padding: 8px 12px; border-radius: 8px;
}
.skip-link:focus { left: 16px; top: 16px; z-index: 9999; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--border); backdrop-filter: saturate(180%) blur(4px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 600; }
.brand-logo { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; background: var(--primary); color: #fff; font-weight: 700; border-radius: 10px; box-shadow: var(--shadow); }
.brand-name { letter-spacing: 0.2px; }
.nav { display: flex; gap: 18px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; padding: 8px 10px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { background: #f5f7fb; color: var(--primary); }

/* Hero */
.hero { padding: 72px 0; background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%); }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 24px; }
.hero-content { max-width: 880px; }
.hero h1 { font-size: clamp(28px, 5vw, 42px); line-height: 1.15; margin: 0 0 14px; }
.hero p { font-size: 18px; color: var(--muted); margin: 0 0 20px; }
.hero-cta { display: flex; gap: 12px; margin-top: 10px; }
.hero-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 20px; list-style: none; padding: 0; margin: 18px 0 0; }
.hero-meta li { color: #333; }

/* Sections */
.section { padding: 56px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: start; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }

.highlight-card, .contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.feature h3 { margin-top: 0; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.testimonial { background: #fff; border-left: 4px solid var(--primary); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.testimonial p { margin: 0 0 12px; }
.testimonial cite { color: var(--muted); }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-list a { color: var(--primary); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* Notes */
.note { background: #f5f7fb; color: #2b2d31; border: 1px solid #e8eaf1; border-radius: var(--radius); padding: 16px 18px; margin-top: 18px; }

/* Footer */
.site-footer { background: #fafafa; border-top: 1px solid var(--border); padding: 28px 0; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-items: start; }
.site-footer nav { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer nav a { color: var(--text); text-decoration: none; }
.site-footer nav a:hover { color: var(--primary); }
.copyright { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid transparent; text-decoration: none; font-weight: 600; cursor: pointer; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-600); }
.btn-outline { background: #fff; color: var(--primary); border-color: #d9e7fb; }
.btn-outline:hover { background: #f5f7fb; }

/* Cookie banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: #0b1220; color: #e9edf7; padding: 14px 0; display: none; }
.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cookie-banner a { color: #bcd7ff; }
.cookie-banner .btn { height: 36px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; }
}