/* ===========================
   SISMA - Global Styles
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@400;500;600&display=swap');

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

:root {
  --navy: #0a1628;
  --dark-blue: #0d1f3c;
  --mid-blue: #122c5a;
  --accent-blue: #1e5bbd;
  --sky-blue: #2a8fd4;
  --light-blue: #4fbaee;
  --white: #ffffff;
  --off-white: #f4f7fb;
  --text-light: #ccd6e8;
  --text-muted: #8fa3c0;
  --border: rgba(255,255,255,0.1);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--navy);
  color: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

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

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

/* ===========================
   NAVBAR
   =========================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.navbar-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.navbar-links a {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color 0.25s;
  position: relative;
  padding-bottom: 4px;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--light-blue);
  transition: width 0.25s;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--white);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 32px;
  border-radius: 4px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-blue);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(30, 91, 189, 0.4);
}

.btn-primary:hover {
  background: var(--sky-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(30, 91, 189, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--light-blue);
}

.btn-outline:hover {
  background: var(--light-blue);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ===========================
   SECTIONS - General
   =========================== */

section {
  padding: 80px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-tag {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-blue);
  margin-bottom: 16px;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.45;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,22,40,0.92) 0%,
    rgba(13,31,60,0.75) 50%,
    rgba(10,22,40,0.88) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

.hero-demo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--light-blue);
  margin-bottom: 8px;
}

.hero-demo-link::before {
  content: '▶';
  font-size: 10px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  max-width: 720px;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: normal;
  color: var(--light-blue);
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ===========================
   ABOUT / INTRO SECTION
   =========================== */

.section-split {
  padding: 80px 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.split-grid.reverse {
  direction: rtl;
}

.split-grid.reverse > * {
  direction: ltr;
}

.split-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-text h2, .split-text h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
}

.split-text h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--white);
}

.split-text h3 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  color: var(--white);
}

.split-text p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 28px;
}

/* ===========================
   FEATURES / CARDS
   =========================== */

.features-section {
  background: var(--dark-blue);
  padding: 80px 0;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.features-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.features-images img {
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.features-images img:first-child {
  grid-column: 1 / -1;
  height: 240px;
}

.features-images img:not(:first-child) {
  height: 180px;
}

.features-cards {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feature-card {
  border-left: 3px solid var(--light-blue);
  padding-left: 20px;
}

.feature-card h5 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-blue);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
}

/* ===========================
   CTA BANNER
   =========================== */

.cta-banner {
  background: linear-gradient(135deg, var(--mid-blue) 0%, var(--accent-blue) 100%);
  padding: 72px 40px;
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--white);
}

.cta-banner p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===========================
   PAGE HEADER (Servicios, Contacto)
   =========================== */

.page-header {
  background: linear-gradient(135deg, var(--mid-blue) 0%, var(--dark-blue) 100%);
  padding: 64px 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
}

/* ===========================
   SERVICIOS PAGE
   =========================== */

.service-block {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block .split-grid {
  padding: 0 40px;
}

.service-block h4 {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-blue);
  margin-bottom: 12px;
}

.service-block h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.3;
}

.service-block p,
.service-block li {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.8;
}

.service-block ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-block ul li {
  padding-left: 24px;
  position: relative;
}

.service-block ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--light-blue);
  font-weight: 700;
}

.service-block ul li strong {
  color: var(--white);
}

.infographic-img {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  margin: 40px auto;
  max-width: 1100px;
  padding: 0 40px;
}

.infographic-img img {
  width: 100%;
  border-radius: 8px;
}

.standards-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0 28px;
}

.standard-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.standard-icon {
  width: 40px;
  height: 40px;
  background: rgba(79, 186, 238, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.standard-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--white);
  margin-bottom: 4px;
}

.standard-text p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* ===========================
   ESCALABILIDAD SECTION
   =========================== */

.escalabilidad-section {
  background: var(--dark-blue);
}

.escalabilidad-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.escal-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  transition: background 0.2s;
}

.escal-item:hover {
  background: rgba(79,186,238,0.07);
}

.escal-item p {
  font-size: 14px !important;
  color: var(--text-light) !important;
  margin: 0 !important;
}

.escal-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--light-blue);
  margin-bottom: 6px;
}

/* ===========================
   CONTACT PAGE
   =========================== */

.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.contact-form {
  background: var(--dark-blue);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px;
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.contact-form p.subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}

.form-group label .required {
  color: var(--light-blue);
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--light-blue);
  background: rgba(79,186,238,0.05);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 14px;
  letter-spacing: 0.15em;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 8px;
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.contact-hours {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-channel-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-blue);
  margin-bottom: 4px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
  font-size: 15px;
  transition: color 0.2s;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.contact-link:last-child {
  border-bottom: none;
}

.contact-link:hover {
  color: var(--white);
}

.contact-link .icon {
  width: 36px;
  height: 36px;
  background: rgba(79,186,238,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* ===========================
   FOOTER
   =========================== */

footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 40px;
  text-align: center;
}

.footer-logo img {
  height: 36px;
  margin: 0 auto 16px;
  opacity: 0.85;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  list-style: none;
  margin-bottom: 24px;
}

.footer-links a {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===========================
   MOBILE NAV OVERLAY
   =========================== */

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: var(--light-blue);
}

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

@media (max-width: 900px) {
  .navbar-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .split-grid {
    grid-template-columns: 1fr !important;
    gap: 40px;
    direction: ltr !important;
  }

  .split-grid.reverse {
    direction: ltr;
  }

  .features-inner {
    grid-template-columns: 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .escalabilidad-features {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 80px 24px;
  }

  .infographic-img {
    padding: 0 24px;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: 0 24px;
  }

  .container {
    padding: 0 24px;
  }

  .split-grid {
    padding: 0 24px !important;
  }

  .contact-grid {
    padding: 0 24px;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .page-header {
    padding: 48px 24px;
  }

  .cta-banner {
    padding: 56px 24px;
  }

  footer {
    padding: 36px 24px;
  }

  .footer-links {
    gap: 20px;
    flex-wrap: wrap;
  }
}
