/* ==========================================================================
   E4GS INTERACTIVE - PURE CSS STYLESHEET (NO JAVASCRIPT REQUIRED)
   ========================================================================== */

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

:root {
  --color-navy: #002872;
  --color-navy-dark: #001d54;
  --color-card-bg: #153e83;
  --color-card-hover: #1c4b9b;
  --color-pastel-blue: #bfe3ee;
  --color-gray-bg: #f2f4f7;
  --color-white: #ffffff;
  --color-text-dark: #111827;
  --color-footer-text: #3b5991;
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.25s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--color-text-dark);
  background-color: var(--color-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ================= HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-white);
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
  border-bottom: 1px solid rgba(0, 40, 114, 0.08);
}

.logo-container {
  display: flex;
  align-items: center;
}

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

/* Pure CSS Menu Checkbox Hack */
.menu-toggle-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  user-select: none;
}

.hamburger-btn:hover {
  transform: scale(1.08);
}

.hamburger-btn svg {
  width: 34px;
  height: 34px;
  fill: var(--color-navy);
}

/* ================= SLIDE-OVER DRAWER (PURE CSS) ================= */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 20, 60, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -380px;
  width: 100%;
  max-width: 360px;
  height: 100%;
  background: var(--color-white);
  z-index: 1001;
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-toggle-checkbox:checked ~ .mobile-menu-overlay {
  opacity: 1;
  pointer-events: all;
}

.menu-toggle-checkbox:checked ~ .mobile-menu-overlay .mobile-menu-drawer {
  right: 0;
}

.menu-close-btn {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-close-btn:hover {
  background: rgba(0, 40, 114, 0.08);
}

.menu-close-btn svg {
  width: 26px;
  height: 26px;
  fill: var(--color-navy);
}

.menu-links {
  list-style: none;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.menu-links a {
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-navy);
  transition: var(--transition);
  display: inline-block;
}

.menu-links a:hover {
  color: #0066cc;
  transform: translateX(6px);
}

/* ================= HEADLINE BANNER ================= */
.banner-title-section {
  background-color: var(--color-gray-bg);
  padding: 55px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(0, 40, 114, 0.05);
}

.main-headline {
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  font-weight: 800;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  max-width: 1400px;
  margin: 0 auto;
}

/* ================= HERO SPLIT SECTION ================= */
.hero-split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
  background-color: var(--color-navy);
}

.hero-left-content {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-title {
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  max-width: 580px;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 400;
  opacity: 0.95;
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 34px;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  color: var(--color-navy);
  font-size: 15px;
  font-weight: 700;
  padding: 12px 34px;
  border-radius: 4px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.btn-contact:hover {
  background-color: #eaf1fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hero-right-image {
  position: relative;
  overflow: hidden;
}

.hero-right-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ================= ABOUT AND VISION SPLIT ================= */
.about-split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.about-left-image {
  position: relative;
  overflow: hidden;
}

.about-left-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-right-content {
  background-color: var(--color-pastel-blue);
  color: var(--color-navy);
  padding: 80px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.about-title {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 26px;
  line-height: 1.2;
}

.about-text {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.7;
  font-weight: 500;
  max-width: 580px;
}

/* ================= SERVICES ================= */
.services-section {
  background-color: var(--color-navy);
  padding: 90px 40px;
}

.services-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading-white {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 35px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-card {
  background-color: var(--color-card-bg);
  border-radius: 6px;
  padding: 42px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.service-card:hover {
  background-color: var(--color-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-icon-container {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-icon-container svg {
  width: 48px;
  height: 48px;
}

.service-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.service-desc {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

/* ================= CONTACT US ================= */
.contact-section {
  background-color: var(--color-navy);
  padding: 70px 20px 110px 20px;
  color: var(--color-white);
}

.contact-container {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

.contact-title {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.contact-subtitle {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 580px;
  margin: 0 auto 50px auto;
}

/* Form with Underline Inputs */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: left;
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--color-white);
  font-size: 15px;
  font-family: inherit;
  padding: 8px 0;
  transition: var(--transition);
  border-radius: 0;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-bottom-color: var(--color-white);
  border-bottom-width: 2px;
}

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

.phone-input-wrapper {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.phone-input-wrapper:focus-within {
  border-bottom-color: var(--color-white);
  border-bottom-width: 2px;
}

.phone-icon-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-right: 10px;
  color: var(--color-white);
  opacity: 0.8;
}

.phone-input-wrapper .form-input {
  border-bottom: none;
  flex: 1;
}

.btn-submit {
  align-self: center;
  background-color: var(--color-white);
  color: var(--color-navy);
  font-size: 15px;
  font-weight: 700;
  padding: 12px 50px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 15px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.btn-submit:hover {
  background-color: #eaf1fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ================= FOOTER (ALIGNED TO RIGHT AS IN SCREENSHOT) ================= */
.site-footer {
  background-color: var(--color-white);
  padding: 100px 50px 120px 50px;
  min-height: 380px;
  display: flex;
  align-items: center;
}

.footer-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end; /* Desplazado a la derecha como en la captura */
  align-items: center;
  gap: 30px;
}

.footer-logo {
  height: 105px;
  width: auto;
  object-fit: contain;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13.5px;
  color: var(--color-footer-text);
  line-height: 1.6;
}

.footer-info a {
  color: var(--color-footer-text);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-info a:hover {
  color: var(--color-navy);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero-split-section,
  .about-split-section {
    grid-template-columns: 1fr;
  }
  
  .hero-left-content,
  .about-right-content {
    padding: 60px 30px;
  }

  .hero-right-image,
  .about-left-image {
    min-height: 320px;
  }

  .site-header {
    padding: 0 20px;
  }

  .services-section {
    padding: 60px 20px;
  }

  .site-footer {
    padding: 60px 20px;
    min-height: auto;
  }

  .footer-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
}
