/* Grid de servicios */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
}
.services-grid .card {
  min-width: 0;
  transition: box-shadow .18s, border-color .18s, transform .18s;
  cursor: pointer;
}
/* Testimonios */
.testimonials {
  margin: 4rem 0;
}
.testimonials-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}
.testimonials-subtitle {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-align: right;
}
.testimonials-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.testimonial-card {
  background: rgba(30, 50, 80, 0.55);
  color: var(--text-primary);
  padding: 2.5rem 3rem;
  border-radius: 1.7rem;
  box-shadow: 0 8px 40px 0 rgba(0,0,0,0.18), 0 0 0 2px rgba(0,180,255,0.10);
  min-width: 350px;
  max-width: 700px;
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(0,180,255,0.18);
  backdrop-filter: blur(12px) saturate(120%);
  transition: box-shadow 0.3s, border 0.3s;
  animation: testimonialFadeIn 0.7s cubic-bezier(.4,1.4,.6,1) both;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.7rem;
  pointer-events: none;
  box-shadow: 0 0 32px 8px rgba(0,180,255,0.10), 0 0 0 2px rgba(0,180,255,0.10);
  z-index: 1;
}
.testimonial-card:hover {
  box-shadow: 0 12px 48px 0 rgba(0,180,255,0.18), 0 0 0 3px var(--primary);
  border: 1.5px solid var(--primary);
}
.testimonial-quote {
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.6;
  background: linear-gradient(90deg, #3ec6ff 0%, #00e0d3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  position: relative;
  z-index: 2;
  padding-left: 2.5rem;
}
.testimonial-quote::before {
  content: '“';
  font-size: 3.5rem;
  position: absolute;
  left: 0.2rem;
  top: -1.2rem;
  color: #3ec6ff;
  opacity: 0.25;
  z-index: 0;
}
.testimonial-author {
  display: block;
  margin-top: 1.7rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.13rem;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 8px rgba(0,180,255,0.10);
  z-index: 2;
}
.testimonial-nav {
  background: linear-gradient(135deg, #3ec6ff 0%, #00e0d3 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(0,180,255,0.10);
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  outline: none;
  border: 2px solid transparent;
}
.testimonial-nav:hover, .testimonial-nav:focus {
  transform: scale(1.08) rotate(-3deg);
  background: linear-gradient(135deg, #00e0d3 0%, #3ec6ff 100%);
  box-shadow: 0 4px 24px 0 rgba(0,180,255,0.18);
  border: 2px solid var(--primary);
}
@keyframes testimonialFadeIn {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.services-track .card {
  min-width: 100%;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity .4s, transform .4s;
  position: absolute;
  left: 0; top: 0;
  right: 0; bottom: 0;
  pointer-events: none;
}
.services-track .card.active {
  opacity: 1;
  transform: scale(1);
  position: relative;
  pointer-events: auto;
}
.services-carousel .carousel-btn {
  background: linear-gradient(135deg, var(--brand) 60%, var(--brand-2) 100%);
  color: #101a2b;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(57,184,255,.13);
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
}
.services-carousel .carousel-btn:hover {
  background: linear-gradient(135deg, var(--brand-2) 60%, var(--brand) 100%);
  color: var(--brand);
  box-shadow: 0 4px 16px rgba(57,184,255,.18);
}
@media (max-width: 900px) {
  .services-track { max-width: 98vw; }
  .services-carousel .carousel-btn { width: 32px; height: 32px; font-size: 1.2rem; }
}
:root {
  --bg: #182235; /* azul oscuro fondo logo */
  --panel: #1a2536;
  --muted: #bfc9d6;
  --text: #f5f7fa;
  --brand: #1eb6e9; /* azul brillante del logo */
  --brand-2: #c9a14a; /* dorado metálico del logo */
  --ring: rgba(201,161,74,.35); /* dorado suave */
  --grad: radial-gradient(1200px 600px at 20% -10%, rgba(201,161,74,.10), transparent 60%),
    radial-gradient(900px 500px at 100% 10%, rgba(30,182,233,.13), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  --radius: 18px;
  --shadow: 0 10px 30px rgba(30,182,233,.10), inset 0 0 0 1px rgba(201,161,74,.04);
  --primary: #1eb6e9;
  --accent: #c9a14a;
  --background: #182235;
  --card-bg: #1a2536;
  --text-primary: #f5f7fa;
  --text-secondary: #bfc9d6;
  --border: #2a3750;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg); color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(1100px, 92%); margin-inline: auto; }
header {
  position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(140%) blur(8px);
  background: linear-gradient(180deg, rgba(11,18,32,.9), rgba(11,18,32,.6));
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .3px; }
.brand .logo { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: conic-gradient(from 180deg at 50% 50%, var(--brand), var(--brand-2), var(--brand)); box-shadow: 0 0 0 4px rgba(57,184,255,.12); }
.brand span { font-size: 1.02rem; }
nav a { opacity: .9; }
.nav-links { display: flex; gap: 18px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: linear-gradient(180deg, #1a2742, #152136); border: 1px solid rgba(255,255,255,.08); color: var(--text); font-weight: 600; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
.btn:hover { transform: translateY(-1px) scale(1.03); box-shadow: 0 12px 26px rgba(0,0,0,.55); }
.btn-primary { background: linear-gradient(180deg, #1b3352, #0f2747); border-color: rgba(57,184,255,.45); }

/* Hero */
.hero { position: relative; isolation: isolate; padding: 64px 0 32px; background: var(--grad); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; }
.kicker { color: var(--brand-2); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
h1 { font-size: clamp(2rem, 3vw + 1rem, 3.2rem); line-height: 1.1; margin: 10px 0 14px; }
.lead { color: var(--muted); font-size: 1.05rem; }
.hero-actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.shield { background: radial-gradient(300px 200px at 70% -10%, rgba(57,184,255,.22), transparent 60%); padding: 26px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.08); box-shadow: var(--shadow); }

/* Sections */

section {
  padding: 64px 0 56px 0;
  background: linear-gradient(180deg, #101a2b 80%, #0b1423 100%);
  border-radius: 28px;
  margin-bottom: 36px;
  box-shadow: 0 8px 32px rgba(39, 60, 117, 0.10), 0 1.5px 6px rgba(57,184,255,.06);
}
.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 32px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid rgba(57,184,255,.10);
}
.section-title h2 {
  margin: 0;
  font-size: clamp(2.1rem, 2vw + 1.2rem, 2.8rem);
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--brand);
  text-shadow: 0 2px 12px rgba(57,184,255,.10);
}
.muted {
  color: var(--muted);
  font-size: 1.08rem;
}

/* Cards premium */
.card, .stats-card {
  background: linear-gradient(120deg, #151e2e 60%, #101a2b 100%);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(39, 60, 117, 0.13), 0 1.5px 6px rgba(57,184,255,.08);
  border: 1.5px solid rgba(57,184,255,.10);
  padding: 32px 28px;
  color: var(--text);
  font-size: 1.18rem;
  font-weight: 500;
  margin-bottom: 18px;
  transition: box-shadow .18s, border-color .18s, transform .18s;
}
.card strong, .stats-card strong {
  color: var(--brand);
  font-size: 2rem;
  font-weight: 800;
  margin-right: 8px;
  letter-spacing: 0.5px;
}
.card:hover, .stats-card:hover {
  box-shadow: 0 16px 40px rgba(39, 60, 117, 0.18), 0 2px 12px rgba(57,184,255,.13);
  border-color: var(--brand);
  transform: translateY(-4px) scale(1.015);
}

/* Botones modernos */
.btn, .btn-primary {
  font-size: 1.08rem;
  border-radius: 14px;
  padding: 12px 22px;
  font-weight: 700;
  background: linear-gradient(90deg, #1b3352 60%, #39b8ff 100%);
  color: #eaf6ff;
  border: none;
  box-shadow: 0 2px 12px rgba(57,184,255,.10);
  transition: background .18s, color .18s, box-shadow .18s, transform .18s;
}
.btn:hover, .btn-primary:hover {
  background: linear-gradient(90deg, #39b8ff 60%, #1b3352 100%);
  color: #101a2b;
  box-shadow: 0 4px 24px rgba(57,184,255,.18);
  transform: translateY(-2px) scale(1.03);
}

/* Inputs y formularios modernos */

.cta form {
  background: rgba(20,30,50,0.82);
  border-radius: 22px;
  box-shadow: 0 4px 32px 0 rgba(0,180,255,0.08), 0 1.5px 0 0 rgba(0,180,255,0.08) inset;
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 18px;
}
.cta .row {
  flex-direction: row;
  gap: 16px;
  margin: 0;
}
.cta input, .cta textarea {
  background: rgba(24,34,54,0.95);
  border: 1.5px solid rgba(57,184,255,.18);
  border-radius: 14px;
  color: var(--text);
  font-size: 1.09rem;
  padding: 14px 16px;
  margin-bottom: 0;
  box-shadow: 0 1px 8px rgba(57,184,255,.09);
  transition: border-color .18s, box-shadow .18s;
  width: 100%;
  resize: none;
}
.cta input:focus, .cta textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 2px 16px rgba(57,184,255,.18);
}
.cta textarea {
  min-height: 90px;
  max-height: 220px;
}
.cta .row:last-child {
  justify-content: flex-start;
  gap: 14px;
}
.cta button.btn, .cta a.btn {
  font-size: 1.13rem;
  padding: 13px 28px;
  border-radius: 16px;
  font-weight: 700;
  margin: 0;
}
.cta button.btn:active, .cta a.btn:active {
  transform: scale(0.98);
}
.cta small.muted {
  display: block;
  margin-top: 10px;
  font-size: .97rem;
  color: var(--muted);
}
@media (max-width: 700px) {
  .cta form { padding: 18px 8px 14px 8px; }
  .cta .row { flex-direction: column; gap: 10px; }
  .cta button.btn, .cta a.btn { width: 100%; }
}

/* Mejor separación entre secciones */
body > section:not(:first-child) {
  margin-top: 36px;
}


/* Blog Section Modern UI */
.blog-section {
  padding: 64px 0 32px;
  background: linear-gradient(180deg, #101a2b 80%, #0b1423 100%);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 32px;
}
.blog-post-card {
  background: linear-gradient(180deg, #151e2e 80%, #101a2b 100%);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(39, 60, 117, 0.18), 0 1.5px 6px rgba(57,184,255,.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s cubic-bezier(.4,1.6,.6,1), box-shadow .18s;
  border: 1.5px solid rgba(57,184,255,.10);
  position: relative;
}
.blog-post-card:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 16px 40px rgba(39, 60, 117, 0.22), 0 2px 12px rgba(57,184,255,.13);
  border-color: var(--brand);
}
.blog-post-img {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  filter: brightness(0.93) saturate(1.1);
  transition: filter .18s;
}
.blog-post-card:hover .blog-post-img {
  filter: brightness(1.05) saturate(1.2);
}
.blog-post-content {
  padding: 24px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-post-tags {
  margin-bottom: 8px;
}
.blog-tag {
  display: inline-block;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #0b1220;
  font-weight: 700;
  font-size: .78rem;
  border-radius: 999px;
  padding: 3px 13px;
  margin-right: 7px;
  margin-bottom: 2px;
  letter-spacing: .04em;
  box-shadow: 0 1px 6px rgba(57,184,255,.10);
}
.blog-title {
  font-size: 1.18rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--text);
  letter-spacing: .01em;
}
.blog-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  gap: 10px;
}
.blog-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .97rem;
  color: var(--muted);
}
.blog-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand);
  box-shadow: 0 1px 6px rgba(57,184,255,.13);
}
.blog-share {
  display: flex;
  align-items: center;
  gap: 7px;
}
.blog-share .muted {
  font-size: .93rem;
  margin-right: 2px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 60%, var(--brand-2) 100%);
  color: #0b1220;
  font-size: 1.1rem;
  margin-left: 2px;
  transition: background .18s, color .18s, box-shadow .18s;
  box-shadow: 0 1px 6px rgba(57,184,255,.10);
  border: none;
}
.share-btn:hover {
  background: linear-gradient(135deg, var(--brand-2) 60%, var(--brand) 100%);
  color: var(--brand);
  box-shadow: 0 2px 12px rgba(57,184,255,.18);
}
@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-post-content {
    padding: 18px 10px 14px 10px;
  }
}


/* Features / Stats Modern UI */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.stat {
  background: linear-gradient(180deg, #151e2e 80%, #101a2b 100%);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(39, 60, 117, 0.13), 0 1.5px 6px rgba(57,184,255,.08);
  border: 1.5px solid rgba(57,184,255,.10);
  padding: 24px 18px;
  color: var(--brand);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0;
  transition: transform .18s cubic-bezier(.4,1.6,.6,1), box-shadow .18s, border-color .18s;
}
.stat strong {
  color: var(--brand);
  font-size: 1.6rem;
  font-weight: 800;
}
.stat span {
  color: var(--muted);
  font-size: 1.01rem;
}

/* Testimonials Modern UI */
.testimonials {
  background: linear-gradient(180deg, #151e2e 80%, #101a2b 100%);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(39, 60, 117, 0.13), 0 1.5px 6px rgba(57,184,255,.08);
  border: 1.5px solid rgba(57,184,255,.10);
  padding: 40px 24px;
  margin: 32px 0;
}
.testimonial {
  background: rgba(57,184,255,.07);
  border-radius: 14px;
  padding: 18px 16px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(57,184,255,.06);
}
.testimonial:last-child { margin-bottom: 0; }
.quote {
  font-style: italic;
  color: var(--brand-2);
  font-size: 1.08rem;
}
.author {
  font-weight: 600;
  color: var(--brand);
  font-size: .98rem;
  margin-top: 6px;
}

/* Carrusel de testimonios */
.testimonial-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
  margin-top: 18px;
}
.testimonial-track {
  display: flex;
  overflow: hidden;
  width: 100%;
  max-width: 540px;
  min-height: 120px;
  position: relative;
}
.testimonial {
  min-width: 100%;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity .4s, transform .4s;
  position: absolute;
  left: 0; top: 0;
  right: 0; bottom: 0;
  pointer-events: none;
}
.testimonial.active {
  opacity: 1;
  transform: scale(1);
  position: relative;
  pointer-events: auto;
}
.carousel-btn {
  background: linear-gradient(135deg, var(--brand) 60%, var(--brand-2) 100%);
  color: #101a2b;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(57,184,255,.13);
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
}
.carousel-btn:hover {
  background: linear-gradient(135deg, var(--brand-2) 60%, var(--brand) 100%);
  color: var(--brand);
  box-shadow: 0 4px 16px rgba(57,184,255,.18);
}
@media (max-width: 600px) {
  .testimonial-track { max-width: 98vw; }
  .carousel-btn { width: 32px; height: 32px; font-size: 1.2rem; }
}

/* CTA Modern UI */
.cta {
  background: linear-gradient(120deg, #151e2e 60%, #101a2b 100%);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(39, 60, 117, 0.13), 0 1.5px 6px rgba(57,184,255,.08);
  border: 1.5px solid rgba(57,184,255,.10);
  padding: 32px 22px;
}
.cta .illus {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(24,34,54,0.85);
  box-shadow: 0 2px 12px rgba(57,184,255,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(57,184,255,.10);
  transition: background .18s, box-shadow .18s;
}
.cta .illus svg {
  width: 64px;
  height: 64px;
  opacity: 0.92;
}

/* Footer */
footer { padding: 36px 0 60px; border-top: 1px solid rgba(255,255,255,.06); background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)); }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }

/* Helpers */
.icon { width: 22px; height: 22px; flex: 0 0 auto; opacity: .9; }
.row { display: flex; gap: 10px; align-items: center; }
.spacer { height: 16px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .feature, .cta, .footer-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 42px; }
}
@media (max-width: 560px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

/* Animaciones scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity .7s cubic-bezier(.4,1.6,.6,1), transform .7s cubic-bezier(.4,1.6,.6,1);
}
.revealed {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto;
}
}