:root {
  --brand-blue: #0b3a78;
  --brand-blue-dark: #072a57;
  --brand-yellow: #f2c230;
  --brand-yellow-dark: #dcab12;
  --ink: #0d1a2b;
  --soft-bg: #f3f7ff;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Rubik", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f4f9ff 0%, #ebf2ff 100%);
}

body {
  position: relative;
  overflow-x: clip;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 34vw;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  filter: blur(56px);
  pointer-events: none;
  opacity: 0.26;
  animation: drift 20s ease-in-out infinite alternate;
}

body::before {
  top: -8vw;
  right: -12vw;
  background: radial-gradient(circle at 40% 40%, rgba(11, 58, 120, 0.45), rgba(11, 58, 120, 0));
}

body::after {
  bottom: -12vw;
  left: -12vw;
  background: radial-gradient(circle at 60% 60%, rgba(242, 194, 48, 0.28), rgba(242, 194, 48, 0));
  animation-delay: 1.8s;
}

@keyframes drift {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(14px) scale(1.06);
  }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1.25rem 0;
  background: linear-gradient(120deg, rgba(7, 42, 87, 0.97) 0%, rgba(11, 58, 120, 0.97) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 22px rgba(7, 42, 87, 0.2);
}

.header-inner {
  width: min(1120px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.9rem;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 360px;
}

.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.brand-title {
  color: var(--white);
  font-size: 1.2rem;
  margin: 0;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.3px;
}

.brand-subtitle {
  display: inline-flex;
  margin: 0.38rem 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.58rem;
  letter-spacing: 1.2px;
  font-weight: 600;
  padding: 0.16rem 0.46rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
}

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.42rem;
}

.tab-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.85px;
  text-transform: uppercase;
  padding: 0.54rem 0.78rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.34);
}

.tab-btn.active {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  color: var(--brand-blue-dark);
  box-shadow: none;
}

main {
  width: min(1120px, 92%);
  margin: 2.8rem auto 4rem;
}

.tab-panel {
  display: none;
  animation: tabIn 0.35s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes tabIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 460px;
  box-shadow: 0 16px 34px rgba(7, 42, 87, 0.24);
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1s ease, transform 6.2s ease;
}

.hero-image.active {
  opacity: 1;
  transform: scale(1.08);
}

.hero-overlay {
  position: relative;
  z-index: 2;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.9rem;
  padding: 2rem;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 10%, rgba(7, 42, 87, 0.8) 88%);
}

.hero-overlay h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.04;
}

.hero-overlay p {
  margin: 0;
  max-width: 650px;
  font-size: 1.05rem;
}

.hero-overlay h1,
.hero-overlay p,
.hero-overlay .cta-row {
  opacity: 0;
  transform: translateY(14px);
  animation: softReveal 0.7s ease forwards;
}

.hero-overlay p {
  animation-delay: 0.12s;
}

.hero-overlay .cta-row {
  animation-delay: 0.24s;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-btn {
  text-decoration: none;
  border-radius: 12px;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 0.75rem 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cta-btn {
  border: none;
  background: var(--brand-yellow);
  color: var(--brand-blue-dark);
}

.cta-btn:hover {
  background: var(--brand-yellow-dark);
  transform: translateY(-1px);
}

.home-info,
.about-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.45rem;
}

.about-showcase {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
}

.about-showcase-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(11, 58, 120, 0.16);
}

.about-showcase-copy {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid #d8e6ff;
  box-shadow: 0 8px 18px rgba(11, 58, 120, 0.1);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-showcase-copy h3 {
  margin: 0 0 0.55rem;
  color: var(--brand-blue);
}

.about-showcase-copy p {
  margin: 0.5rem 0 0;
  color: #2e3b50;
  line-height: 1.5;
}

.info-card,
.about-item {
  background: var(--white);
  border-radius: 16px;
  padding: 1.1rem;
  border: 1px solid #d8e6ff;
  box-shadow: 0 8px 18px rgba(11, 58, 120, 0.09);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.info-card:hover,
.about-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(11, 58, 120, 0.13);
}

.info-card h3,
.about-item h3 {
  margin: 0 0 0.45rem;
  color: var(--brand-blue);
}

.info-card p,
.about-item p {
  margin: 0;
  color: #2e3b50;
}

.partners-section {
  margin-top: 1.8rem;
  background: var(--white);
  border-radius: 18px;
  border: 1px solid #d8e6ff;
  box-shadow: 0 10px 22px rgba(11, 58, 120, 0.1);
  padding: 1rem 1.1rem;
}

.partners-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #5b6f8f;
}

.partners-section h3 {
  margin: 0.25rem 0 0.8rem;
  color: var(--brand-blue);
}

.partners-marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: max-content;
  animation: partnersSlide 18s linear infinite;
}

.partner-item {
  min-width: 180px;
  height: 88px;
  background: #f8fbff;
  border: 1px solid #dbe8ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem;
}

.partner-item img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

@keyframes partnersSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 0.45rem));
  }
}

.section-head {
  margin: 1.35rem 0 1.1rem;
}

.section-head h2 {
  margin: 0;
  color: var(--brand-blue);
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.section-head p {
  margin: 0.4rem 0 0;
  color: #344760;
  max-width: 740px;
}

.services-grid {
  margin-top: 1.3rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid #d8e6ff;
  box-shadow: 0 8px 18px rgba(11, 58, 120, 0.1);
  padding: 1rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(11, 58, 120, 0.13);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 58, 120, 0.1);
  color: var(--brand-blue);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.service-card h3 {
  margin: 0.8rem 0 0.4rem;
  color: #183256;
  font-weight: 600;
}

.service-card p {
  margin: 0;
  color: #344760;
  line-height: 1.45;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1.35fr minmax(300px, 0.65fr);
  gap: 1.25rem;
  align-items: start;
}

.contact-form,
.contact-side {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid #d8e6ff;
  box-shadow: 0 8px 18px rgba(11, 58, 120, 0.1);
}

.contact-form {
  padding: 1rem;
  display: grid;
  gap: 0.45rem;
}

.contact-form label {
  font-weight: 600;
  color: var(--brand-blue);
  margin-top: 0.3rem;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #bdd4ff;
  border-radius: 10px;
  font-size: 0.98rem;
  padding: 0.75rem 0.8rem;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(11, 58, 120, 0.16);
}

.form-feedback {
  margin: 0.25rem 0 0;
  min-height: 1.2em;
  font-size: 0.9rem;
  font-weight: 600;
  color: #32507f;
}

.form-feedback.is-success {
  color: #0d6f3d;
}

.form-feedback.is-error {
  color: #a23636;
}

.contact-side {
  padding: 0.9rem;
  background: radial-gradient(circle at 90% 5%, #194d94 2%, #0b3a78 42%, #072a57 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 0;
}

.contact-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.contact-side h3 {
  margin: 0;
  font-size: 1.05rem;
}

.contact-photo {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.contact-photo img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  object-position: center top;
}

.contact-caption {
  margin: 0;
  color: rgba(255, 255, 255, 0.93);
  font-size: 0.88rem;
}

.contact-side-note {
  margin: 0.1rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.87rem;
  line-height: 1.45;
}

.site-footer {
  margin-top: 4rem;
  background: #08294f;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-inner {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 2.15rem 0.2rem 1.45rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1.4rem;
  align-items: stretch;
}

.footer-contact p {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
}

.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-brand-copy {
  display: flex;
  flex-direction: column;
}

.footer-wordmark {
  margin: 0;
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(2.05rem, 4vw, 2.5rem);
  letter-spacing: 1px;
  line-height: 0.9;
  text-transform: uppercase;
}

.footer-eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 1.1px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.footer-mini {
  margin: 0.24rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-description {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 390px;
  color: rgba(255, 255, 255, 0.84);
}

.footer-brand,
.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-links h4,
.footer-contact h4 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
}

.footer-links {
  align-items: flex-start;
  gap: 0.3rem;
}

.footer-link {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-family: inherit;
  padding: 0.28rem 0;
  cursor: pointer;
  font-size: 0.92rem;
}

.footer-link:hover {
  color: var(--brand-yellow);
}

.footer-note {
  margin: 0.82rem 0 0;
  max-width: 340px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.84);
}

.footer-bottom {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  text-align: center;
  padding: 0.8rem 0.8rem 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  letter-spacing: 0.3px;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 10px 24px rgba(11, 26, 43, 0.32);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp img {
  width: 100%;
  height: 100%;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(11, 26, 43, 0.35);
}

.info-card,
.about-showcase,
.about-item,
.partners-section,
.service-card,
.contact-form,
.contact-side {
  opacity: 0;
  transform: translateY(12px);
  animation: softReveal 0.65s ease forwards;
}

.home-info .info-card:nth-child(2),
.about-grid .about-item:nth-child(2),
.services-grid .service-card:nth-child(2) {
  animation-delay: 0.08s;
}

.home-info .info-card:nth-child(3),
.about-grid .about-item:nth-child(3),
.services-grid .service-card:nth-child(3) {
  animation-delay: 0.16s;
}

.services-grid .service-card:nth-child(4) {
  animation-delay: 0.24s;
}

.services-grid .service-card:nth-child(5) {
  animation-delay: 0.32s;
}

.services-grid .service-card:nth-child(6) {
  animation-delay: 0.4s;
}

.contact-side {
  animation-delay: 0.12s;
}

@keyframes softReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 0.9rem 0;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }

  .brand-wrap {
    min-width: auto;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand-title {
    font-size: 1.12rem;
  }

  .tabs-nav {
    width: 100%;
    justify-content: space-between;
  }

  .tab-btn {
    flex: 1;
    text-align: center;
    border-radius: 10px;
    padding: 0.58rem 0.4rem;
    font-size: 0.7rem;
    letter-spacing: 0.7px;
  }

  .home-info,
  .about-showcase,
  .about-grid,
  .services-grid,
  .contact-wrap,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  main {
    margin: 1.95rem auto 3rem;
  }

  .footer-brand-top {
    align-items: flex-start;
  }

  .footer-wordmark {
    font-size: 1.9rem;
  }

  .hero,
  .hero-overlay {
    min-height: 420px;
  }

  .hero-overlay {
    padding: 1.2rem;
  }

  .contact-photo img {
    height: 250px;
  }

  .partner-item {
    min-width: 140px;
    height: 74px;
  }

  .partner-item img {
    max-height: 46px;
  }

  .floating-whatsapp {
    width: 56px;
    height: 56px;
    right: 14px;
    bottom: 14px;
  }

  .floating-whatsapp img {
    width: 100%;
    height: 100%;
  }
}
