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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #0D0D0D;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

/* Globals */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #164DF2;
  margin-bottom: 12px;
}

.eyebrow-white {
  color: #F5A623;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 9999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-primary {
  background: #164DF2;
  color: #fff;
}

.btn-primary:hover {
  background: #165FF2;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 77, 242, 0.35);
}

.btn-wsp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-wsp:hover {
  background: #1eb85a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.section {
  padding: 96px 0;
}

.section-gray { background: #0c2691; }
.section-navy { background: #0A2473; }
.section-dark { background: #1A2D87; }

/* GSAP page transition overlay */
#page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  pointer-events: none;
}

.pt-panel {
  flex: 1;
  background: #0A2473;
}

.pt-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pt-logo img {
  width: 280px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(10, 36, 115, 0.4));
}

.pt-logo-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: #fff;
  letter-spacing: -0.01em;
}

.pt-logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 10px;
  color: #F5A623;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Split title chars */
.split-title .char {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  white-space: pre;
}

.split-title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  margin-right: 0.1em;
}

.hero-h1 { opacity: 1 !important; animation: none !important; }
.hero-eyebrow { opacity: 1 !important; animation: none !important; }
.hero-sub { opacity: 1 !important; animation: none !important; }
.hero-ctas { opacity: 1 !important; animation: none !important; }
.hero-proof { opacity: 1 !important; animation: none !important; }

/* Scroll-triggered fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Hero entrance animations */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes polaroidFloat {
  from { opacity: 0; transform: rotate(-2deg) translateY(48px); }
  to { opacity: 1; transform: rotate(-2deg) translateY(0); }
}

@keyframes polaroidFloatA {
  from { opacity: 0; transform: rotate(3deg) translateY(48px); }
  to { opacity: 1; transform: rotate(3deg) translateY(0); }
}

@keyframes polaroidFloatB {
  from { opacity: 0; transform: rotate(-3deg) translateY(48px); }
  to { opacity: 1; transform: rotate(-3deg) translateY(0); }
}

@keyframes waveReveal {
  from { opacity: 0; transform: scaleX(0.8); }
  to { opacity: 1; transform: scaleX(1); }
}

.hero-eyebrow {
  opacity: 0;
  animation: heroFadeUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.hero-h1 {
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.45s forwards;
}

.hero-sub {
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.65s forwards;
}

.hero-ctas {
  opacity: 0;
  animation: heroFadeUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.85s forwards;
}

.hero-proof {
  opacity: 0;
  animation: heroFadeUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) 1.05s forwards;
}

@keyframes polaroidZoomMain {
  from { opacity: 0; transform: rotate(-2deg) scale(1.8) translateY(20px); }
  to { opacity: 1; transform: rotate(-2deg) scale(1) translateY(0); }
}

@keyframes polaroidZoomA {
  from { opacity: 0; transform: rotate(3deg) scale(2) translateY(30px); }
  to { opacity: 1; transform: rotate(3deg) scale(1) translateY(0); }
}

@keyframes polaroidZoomB {
  from { opacity: 0; transform: rotate(-3deg) scale(2) translateY(30px); }
  to { opacity: 1; transform: rotate(-3deg) scale(1) translateY(0); }
}

@keyframes planeBurst {
  0% { transform: translate(0, 0) rotate(var(--rot)) scale(1); opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) rotate(calc(var(--rot) + 180deg)) scale(0.3); opacity: 0; }
}

.hero-pol-main {
  opacity: 0;
  animation: polaroidZoomMain 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards;
}

.hero-pol-a {
  opacity: 0;
  animation: polaroidZoomA 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.85s forwards;
}

.hero-pol-b {
  opacity: 0;
  animation: polaroidZoomB 1s cubic-bezier(0.34, 1.56, 0.64, 1) 1.05s forwards;
}

.hero-wave {
  opacity: 0;
  animation: waveReveal 1s ease 1.1s forwards;
}

/* WhatsApp floating button */
.wsp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  transition: transform 0.2s;
  text-decoration: none;
}

.wsp-float:hover {
  transform: scale(1.1);
}

.wsp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-track,
.process-fill {
  display: block;
}

@media (max-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .grid-2 {
    gap: 40px;
  }

  .process-track,
  .process-fill {
    display: none !important;
  }
}

/* ── Nav responsive: mostrar burger, ocultar links desktop ── */
@media (max-width: 900px) {
  .nav-desktop { display: none !important; }
  .nav-burger { display: flex !important; align-items: center; justify-content: center; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-pol-main {
    width: 100% !important;
    max-width: 320px;
  }

  .hero-pol-a,
  .hero-pol-b {
    width: 48% !important;
  }

  .hero-ctas { justify-content: center; }
  .hero-sub { text-align: center; margin: 0 auto 32px; }
  .hero-h1 { text-align: center; }
  .hero-eyebrow { text-align: center; }

  .hero-proof {
    margin: 40px auto 0 !important;
    max-width: 100% !important;
  }

  .problem-text { text-align: center; }
  .problem-compare { grid-template-columns: 1fr !important; }

  .dest-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0 8px;
  }
  .dest-tabs::-webkit-scrollbar { display: none; }

  .nav-logo { height: 44px !important; }
  .nav-partner-text { font-size: 11px !important; }
  .nav-partner-sub { font-size: 7px !important; }

  .footer-logo-1 { width: 48px !important; }
  .footer-logo-2 { height: 28px !important; }
  .footer-partner-text { font-size: 10px !important; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }

  .nav-partner-sub { display: none; }
  .nav-logo { height: 40px !important; }

  .hero-ctas { gap: 12px; }
  .btn { padding: 13px 24px; font-size: 14px; }

  .hero-proof { padding: 14px 16px !important; }
}

/* --- FOOTER LAYOUT --- */
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 1 1 380px;
  min-width: 280px;
}

.footer-social-block {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 900px) {
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 24px;
  }
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 28px;
  }

  .footer-social-block { align-items: flex-start; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .footer-links {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
