body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f7f9fa;
    color: #1a2233;
}
.header {
    background: #0A2540;
    color: #fff;
    box-shadow: 0 4px 24px rgba(10,37,64,0.08);
    padding: 0 0 0 0;
}
.logo-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5em 2em;
}
.logo {
    display: flex;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
    gap: 0.5em;
}
.logo svg {
    vertical-align: middle;
}
nav ul {
    display: flex;
    gap: 2em;
    list-style: none;
    margin: 0;
    padding: 0;
}
nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1em;
    transition: color 0.2s;
}
nav ul li a:hover {
    color: #FFD166;
}
.block {
    padding: 4em 0 2em 0;
    background: #fff;
    box-shadow: 0 8px 32px rgba(10,37,64,0.07), 0 1.5px 6px rgba(0,191,174,0.04);
    border-radius: 2em;
    margin: 2em auto;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}
.hero {
    background: linear-gradient(120deg, #0A2540 60%, #00BFAE 100%);
    color: #fff;
    box-shadow: 0 8px 32px rgba(10,37,64,0.12);
}
.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2em 2em 0 2em;
}
.hero-text {
    flex: 1 1 350px;
    min-width: 300px;
    margin-right: 2em;
}
.hero-img {
    flex: 1 1 300px;
    min-width: 250px;
    display: flex;
    justify-content: center;
}
.main-img {
    width: 320px;
    height: 220px;
    object-fit: cover;
    border-radius: 1.5em;
    box-shadow: 0 4px 24px rgba(0,191,174,0.10);
    background: #eaf6f4;
}
.divider-svg {
    width: 100%;
    margin-top: -1em;
    line-height: 0;
}
.block-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    gap: 2em;
    padding: 1em 2em;
}
.block-content.reverse {
    flex-direction: row-reverse;
}
.block-img {
    flex: 1 1 300px;
    min-width: 250px;
    display: flex;
    justify-content: center;
}
.block-text {
    flex: 2 1 400px;
    min-width: 300px;
}
.cta-btn {
    display: inline-block;
    background: #FFD166;
    color: #0A2540;
    font-weight: bold;
    padding: 1em 2em;
    border-radius: 2em;
    font-size: 1.2em;
    margin-top: 1.5em;
    box-shadow: 0 2px 8px rgba(255,111,97,0.08);
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}
.cta-btn:hover {
    background: #FF6F61;
    color: #fff;
}
.footer {
    background: #0A2540;
    color: #fff;
    padding: 2em 0 1em 0;
    margin-top: 3em;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2em;
    padding: 0 2em;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 1.2em;
    font-weight: bold;
}
.footer-links {
    display: flex;
    gap: 2em;
}
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links ul li {
    margin-bottom: 0.5em;
}
.footer-links a {
    color: #FFD166;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #00BFAE;
}
.footer-contact p {
    margin: 0.2em 0;
    font-size: 1em;
}
.footer-copy {
    text-align: center;
    color: #b3c2d6;
    font-size: 0.95em;
    margin-top: 2em;
}
@media (max-width: 900px) {
    .logo-nav, .footer-content, .hero-content, .block-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5em;
    }
    .hero-img, .block-img {
        margin: 0 auto;
    }
    .main-img {
        width: 100%;
        max-width: 320px;
        height: 180px;
    }
}
@media (max-width: 600px) {
    .block, .hero {
        padding: 2em 0 1em 0;
        border-radius: 1em;
    }
    .logo-nav, .footer-content {
        padding: 0.5em 1em;
    }
    .hero-content, .block-content {
        padding: 1em 1em;
    }
    .main-img {
        height: 140px;
    }
    nav ul {
        gap: 1em;
        font-size: 1em;
    }
} 
/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes scaleIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes wiggle {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,191,174,0.2); }
  50% { box-shadow: 0 0 16px 8px rgba(0,191,174,0.15); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes borderGlow {
  0%, 100% { box-shadow: 0 0 0 0 #FFD166; }
  50% { box-shadow: 0 0 24px 8px #FFD16655; }
}

.animated-fadein {
  animation: fadeIn 1.2s cubic-bezier(.4,0,.2,1) both;
}
.animated-slideup {
  animation: slideUp 1.1s cubic-bezier(.4,0,.2,1) both;
}
.animated-scalein {
  animation: scaleIn 0.9s cubic-bezier(.4,0,.2,1) both;
}
.animated-wiggle {
  animation: wiggle 1.2s ease-in-out 0.5s 2;
}
.animated-pulse {
  animation: pulse 2.2s infinite;
}
.animated-float {
  animation: float 2.5s ease-in-out infinite;
}
.animated-borderglow {
  animation: borderGlow 1.8s infinite;
}

/* Utility for staggered children */
.animated-stagger > * {
  opacity: 0;
  animation: fadeIn 1.1s cubic-bezier(.4,0,.2,1) both;
}
.animated-stagger > *:nth-child(1) { animation-delay: 0.1s; }
.animated-stagger > *:nth-child(2) { animation-delay: 0.3s; }
.animated-stagger > *:nth-child(3) { animation-delay: 0.5s; }
.animated-stagger > *:nth-child(4) { animation-delay: 0.7s; }
.animated-stagger > *:nth-child(5) { animation-delay: 0.9s; }
.animated-stagger > *:nth-child(6) { animation-delay: 1.1s; } 

/* FAQ styles */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}
.faq-item {
  background: #eaf6f4;
  border-radius: 1.2em;
  box-shadow: 0 2px 12px #00bfae11;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item.open {
  box-shadow: 0 4px 24px #FFD16633;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-size: 1.13em;
  font-weight: bold;
  color: #0A2540;
  padding: 1.1em 1.5em;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s;
  position: relative;
}
.faq-question:after {
  content: '\25BC';
  position: absolute;
  right: 1.5em;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s;
  font-size: 1.1em;
  color: #00BFAE;
}
.faq-item.open .faq-question:after {
  transform: translateY(-50%) rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  color: #444;
  font-size: 1.05em;
  padding: 0 1.5em;
  transition: max-height 0.45s cubic-bezier(.4,0,.2,1), padding 0.3s;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0.7em 1.5em 1.2em 1.5em;
}

/* Simulador animation */
#simulador-linea {
  transition: stroke-dashoffset 1s cubic-bezier(.4,0,.2,1);
}
#simulador-punto {
  transition: cx 1s cubic-bezier(.4,0,.2,1), cy 1s cubic-bezier(.4,0,.2,1);
}

@media (max-width: 700px) {
  .faq-question, .faq-answer { font-size: 1em; }
  #simulador-grafico { height: 120px; }
} 

/* Ventajas grid (Contact page) */
.ventajas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5em;
  max-width: 800px;
  margin: 0 auto 1em auto;
}
.ventaja-card {
  background: #fff;
  border-radius: 1.2em;
  box-shadow: 0 2px 16px #00bfae18;
  padding: 1.5em 1.2em 1.2em 1.2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
  z-index: 1;
}
.ventaja-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px #FFD16633;
}
.ventaja-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1em;
  box-shadow: 0 2px 8px #FFD16622;
}
.ventaja-title {
  font-weight: bold;
  color: #0A2540;
  font-size: 1.13em;
  margin-bottom: 0.3em;
  text-align: center;
}
.ventaja-desc {
  color: #444;
  font-size: 1em;
  text-align: center;
}
@media (max-width: 700px) {
  .ventajas-grid { gap: 1em; }
  .ventaja-card { padding: 1em 0.7em; }
  .ventaja-icon { width: 38px; height: 38px; }
} 

/* Equipo grid (Contact page) */
.equipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2em;
  max-width: 900px;
  margin: 2em auto 1em auto;
}
.equipo-card {
  background: #fff;
  border-radius: 1.2em;
  box-shadow: 0 2px 16px #00bfae18;
  padding: 1.2em 1em 1em 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
  z-index: 1;
}
.equipo-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px #FFD16633;
}
.equipo-img {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 1em;
  box-shadow: 0 2px 12px #00bfae22;
  margin-bottom: 1em;
}
.equipo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.equipo-nombre {
  font-weight: bold;
  color: #0A2540;
  font-size: 1.13em;
  margin-bottom: 0.3em;
  text-align: center;
}
.equipo-desc {
  color: #444;
  font-size: 1em;
  text-align: center;
}
@media (max-width: 700px) {
  .equipo-grid { gap: 1em; }
  .equipo-card { padding: 1em 0.7em; }
  .equipo-img { border-radius: 0.7em; }
} 