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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    overflow-x: hidden;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: white;
}

.logo {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }

    50% {
        text-shadow: 0 0 40px rgba(255, 255, 255, 0.8), 0 0 60px rgba(255, 167, 38, 0.6);
    }
}

.logo::before {
    content: "⚡";
    position: absolute;
    left: -0.3em;
    color: #ffa726;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    animation: slideInUp 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInUp 1s ease-out 0.3s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    animation: slideInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6);
}

.features {
    padding: 6rem 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #2d3748;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.feature-card:nth-child(1) {
    border-top-color: #667eea;
}

.feature-card:nth-child(2) {
    border-top-color: #ffa726;
}

.feature-card:nth-child(3) {
    border-top-color: #ff6b6b;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.feature-card p {
    color: #4a5568;
    line-height: 1.6;
}

.cases {
    padding: 6rem 0;
    background: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.case-card {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.case-card:nth-child(1) {
    border-left-color: #667eea;
}

.case-card:nth-child(2) {
    border-left-color: #ffa726;
}

.case-card:nth-child(3) {
    border-left-color: #4ecdc4;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.case-industry {
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.case-card:nth-child(2) .case-industry {
    color: #ffa726;
}

.case-card:nth-child(3) .case-industry {
    color: #4ecdc4;
}

.case-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2d3748;
    font-weight: 600;
}

.case-description {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.case-impact {
    font-size: 0.9rem;
    color: #4a5568;
    font-style: italic;
    background: rgba(102, 126, 234, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.case-card:nth-child(2) .case-impact {
    background: rgba(255, 167, 38, 0.1);
}

.case-card:nth-child(3) .case-impact {
    background: rgba(78, 205, 196, 0.1);
}

.philosophy {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: white;
}

.philosophy-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.quote {
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.author {
    font-size: 1.2rem;
    color: #ffa726;
    margin-bottom: 3rem;
}

.stats {
    padding: 6rem;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: auto;
    font-weight: 900;
    color: #667eea;
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.stat-label {
    font-size: auto;
    color: #4a5568;
    font-weight: 500;
    line-height: 1.4;
}

.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa726 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
}

.contact-form button {
    padding: 1rem 2rem;
    background: #2d3748;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.contact-form button:hover {
    background: #1a202c;
    transform: translateY(-2px);
}

.footer {
    padding: 3rem 0;
    background: #2d3748;
    color: white;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.founders {
    font-size: 0.9rem;
    opacity: 0.8;
}

.address {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Animations on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .logo {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .quote {
        font-size: 1.5rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .contact-form {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-form input {
        min-width: auto;
        flex: none;
    }

    .contact-form button {
        flex: none;
    }

    .footer-content {
        text-align: center;
        flex-direction: column;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .case-card {
        padding: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================================
   SECCIÓN EQUIPO - COMPACTA
   ============================================ */

.team-compact {
    padding: 3rem 0;
    background: #f8fafc;
}

.compact-title {
    font-size: 1.2rem;
    color: #4a5568;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.team-member {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.member-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #667eea;
}

/* Placeholder si no hay imagen */
.member-photo:not([src]) {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.member-info h4 {
    font-size: 1.1rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.member-info li {
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 0.3rem;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.4;
}

.member-info li::before {
    content: "⚡";
    position: absolute;
    left: 0;
    color: #ffa726;
    font-size: 0.8rem;
}

/* ============================================
   STACK TECNOLÓGICO - COMPACTO
   ============================================ */

.tech-compact {
    padding: 3rem 0;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.tech-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-logos a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    opacity: 0.6;
    filter: grayscale(100%);
}

.tech-logos a:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.2);
}

.tech-logos img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.emoji-logo {
    font-size: 2rem;
}

.tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 70px;
}

.tool a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
  opacity: 0.6;
  filter: grayscale(100%);
}

.tool a:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.2);
}

.tool img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tool .label {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.2;
  margin-top: 0.4rem;
  white-space: normal;
}

.tool:hover .label {
  color: #111827;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .team-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-logos {
        gap: 1.5rem;
    }
    
    .tech-logos a {
        width: 35px;
        height: 35px;
    }

    .tool {
        width: 60px;
    }
    .tool .label {
        font-size: 0.7rem;
    }
    
    .emoji-logo {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .team-compact,
    .tech-compact {
        padding: 2rem 0;
    }
    
    .team-member {
        gap: 1rem;
    }
    
    .member-photo {
        width: 60px;
        height: 60px;
    }
    
    .member-info h4 {
        font-size: 1rem;
    }
    
    .member-info li {
        font-size: 0.85rem;
    }
    
    .tech-logos {
        gap: 1rem;
    }
    
    .tech-logos a {
        width: 30px;
        height: 30px;
    }
    
    .tool {
        width: 50px;
    }
    .tool .label {
        font-size: 0.65rem;
    }
    
    .emoji-logo {
        font-size: 1.5rem;
    }
}
/* ============ DECK DE PRESENTACIÓN (webinar.html) ============ */

.deck {
  position: relative;
  overflow: hidden;
  background: #0f1224;
  color: #f8fafc;
  min-height: 100vh;
}

.slide {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.5s ease;
  position: absolute;
  inset: 0;
  padding: 4rem 1rem 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 1100px;
  margin: auto;
}

.slide.is-active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
  z-index: 2;
}

.deck-progress {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.deck-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #667eea, #ffa726);
  transition: width 0.3s ease;
}

.deck-dots {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.deck-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}

.deck-dot.is-active {
  background: #ffa726;
  transform: scale(1.3);
}

.slide-footer {
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.slide-notes {
  display: none;
  font-size: 0.85rem;
  color: #a9b0c7;
  margin-top: 1rem;
}

.show-notes .slide-notes {
  display: block;
}

/* Responsivo */
@media (max-width: 768px) {
  .slide {
    padding: 2.5rem 1rem 5rem;
  }
}
/* ===========================================================
   ÍNDICE OCULTO DE ONEPAGERS
   =========================================================== */

#onepagers {
  background: #f9fafb;
  padding: 4rem 0;
}

#onepagers .cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

#onepagers .case-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#onepagers .case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

#onepagers .case-industry {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

#onepagers .case-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}

#onepagers .case-description {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

#onepagers .case-impact {
  font-weight: 500;
  color: #7c3aed;
  font-size: 0.9rem;
  text-align: right;
}

/* Adaptación responsive */
@media (max-width: 768px) {
  #onepagers {
    padding: 2rem 1rem;
  }
  #onepagers .case-card {
    padding: 1rem;
  }
}

/* ===== CHARY TIER GRID - 2 COLUMNS DESKTOP ===== */

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.5rem !important;
}

/* Tarjetas alineadas verticalmente */
.case-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 2rem;
}

/* Alinear CTA abajo, pero manteniendo aire en cada tarjeta */
.case-card .cta-button {
    margin-top: auto;
}

/* Tablet (mantiene 2 columnas) */
@media (max-width: 992px) {
    .cases-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile (1 columna) */
@media (max-width: 576px) {
    .cases-grid {
        grid-template-columns: 1fr !important;
    }
}
