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

:root {
  --blue-dark:  #0b4f7a;
  --blue:       #1a7fc1;
  --blue-light: #5bb8f5;
  --sky:        #e8f6ff;
  --white:      #ffffff;
  --text:       #1a2632;
  --muted:      #4a6375;
  --radius:     12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

/* NAV */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  z-index: 100;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo__img {
  height: 36px;
  width: auto;
}

.nav__links {
  display: flex;
  gap: 28px;
}

.nav__links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-light) 100%);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cdefs%3E%3CradialGradient id='g' cx='60%25' cy='40%25' r='60%25'%3E%3Cstop offset='0' stop-color='%23ffffff' stop-opacity='0.07'/%3E%3Cstop offset='1' stop-color='%23ffffff' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23g)'/%3E%3C/svg%3E");
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  text-align: center;
}

.hero__logo {
  width: min(320px, 70vw);
  height: auto;
  margin-bottom: 32px;
}

.hero__content h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.hero__content h1 span {
  color: var(--blue-light);
}

.hero__content p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin: 0 auto 36px;
}

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

.btn {
  display: inline-block;
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.75);
  box-shadow: none;
}

.btn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  box-shadow: none;
}

.btn--blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(26, 127, 193, 0.3);
}

.btn--blue:hover {
  background: var(--blue-dark);
  box-shadow: 0 8px 28px rgba(26, 127, 193, 0.35);
}

/* SECTIONS */
.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--sky);
}

.section__title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: var(--blue-dark);
  text-align: center;
}

.section__text {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
  text-align: center;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: 0 2px 16px rgba(26, 127, 193, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(26, 127, 193, 0.15);
}

.card__icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

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

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

.card--tienda {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  text-decoration: none;
  cursor: pointer;
}

.card--tienda .card__icon,
.card--tienda h3,
.card--tienda p {
  color: var(--white);
}

.card--tienda p {
  opacity: 0.85;
}

.card--tienda__cta {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 6px 16px;
  transition: background 0.18s;
}

.card--tienda:hover .card--tienda__cta {
  background: rgba(255,255,255,0.28);
}

/* CONTACT */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--sky);
  border: 1.5px solid rgba(26, 127, 193, 0.15);
  border-radius: 50px;
  padding: 14px 28px;
  text-decoration: none;
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.contact-item:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.contact-item__icon {
  font-size: 1.2rem;
}

/* FOOTER */
.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 28px 24px;
  font-size: 0.85rem;
}

/* MOBILE */
@media (max-width: 600px) {
  .nav__links {
    gap: 16px;
  }

  .nav__links a {
    font-size: 0.8rem;
  }

  .contact-item {
    width: 100%;
    justify-content: center;
  }
}
