/* KRIPTON SOFTWARE, C.A. - Paleta de colores basada en el logo */
:root {
  --primary-navy: #0A192F;
  --deep-blue: #0E2A47;
  --brand-blue: #0072CE;
  --accent-cyan: #00A3E0;
  --light-cyan: #E6F4FA;
  --bg-light: #F8FAFC;
  --card-bg: #FFFFFF;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 6px 18px rgba(10,25,47,0.08);
  --shadow-hover: 0 12px 28px rgba(0,114,206,0.16);
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: all 0.25s ease-in-out;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER & NAVBAR */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary-navy);
  letter-spacing: -0.5px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--brand-blue));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.4rem;
  box-shadow: 0 4px 10px rgba(0, 114, 206, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
  padding: 6px 0;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-blue);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-blue);
  border-radius: 2px;
}

.nav-btn {
  background: linear-gradient(135deg, var(--brand-blue), var(--deep-blue));
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 114, 206, 0.35);
}

/* Mobile Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--primary-navy);
  margin: 5px 0;
  border-radius: 3px;
  transition: var(--transition);
}

/* HERO SECTION */
.hero {
  padding: 70px 0 50px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F7FC 100%);
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--light-cyan);
  color: var(--brand-blue);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 20px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  color: var(--primary-navy);
  margin-bottom: 20px;
  font-weight: 800;
}

.hero h1 span {
  color: var(--brand-blue);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--brand-blue), var(--deep-blue));
  color: #fff;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 10px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(0, 114, 206, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #fff;
  color: var(--primary-navy);
  border: 1px solid var(--border-color);
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 10px;
  transition: var(--transition);
}

.btn-secondary:hover {
  background-color: var(--light-cyan);
  border-color: var(--accent-cyan);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-box {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* SECTION COMMON */
.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-title h2 {
  font-size: 2.1rem;
  color: var(--primary-navy);
  margin-bottom: 14px;
  font-weight: 800;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 163, 224, 0.4);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 6px;
  background-color: var(--light-cyan);
  color: var(--brand-blue);
}

.card-badge.cloud {
  background-color: #EBF8FF;
  color: #2B6CB0;
}

.card-badge.security {
  background-color: #FEF3C7;
  color: #92400E;
}

.card-badge.health {
  background-color: #DEF7EC;
  color: #03543F;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: var(--light-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--brand-blue);
}

.card h3 {
  font-size: 1.25rem;
  color: var(--primary-navy);
  margin-bottom: 10px;
  font-weight: 700;
}

.card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-footer {
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.card-link:hover {
  color: var(--deep-blue);
  gap: 10px;
}

.card-status {
  font-size: 0.78rem;
  font-weight: 600;
  color: #10B981;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
}

/* OBJECT PILLARS SECTION */
.pillars {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.pillar-item {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-light);
  border: 1px solid var(--border-color);
}

.pillar-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 10px;
}

.pillar-item h4 {
  font-size: 1.15rem;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.pillar-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CONTACT PAGE SPECIFIC */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--light-cyan);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-content h4 {
  font-size: 1rem;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.info-content p, .info-content a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.info-content a:hover {
  color: var(--brand-blue);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0, 114, 206, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* FOOTER */
.site-footer {
  background-color: var(--primary-navy);
  color: #CBD5E1;
  padding: 60px 0 24px;
  border-top: 3px solid var(--brand-blue);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #94A3B8;
  margin-bottom: 16px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
  font-weight: 700;
  position: relative;
  padding-bottom: 6px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--accent-cyan);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: #94A3B8;
}

.footer-contact-item a {
  color: var(--accent-cyan);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 12px;
}

/* MOBILE RESPONSIVE (90% traffic focus) */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    width: 100%;
    padding: 8px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
