/* ===== VARIABLES ===== */
:root {
  --primary: #0056b3;
  --primary-light: #1a72d4;
  --primary-dark: #003d82;
  --primary-bg: #e8f0fe;
  --yellow: #FFC300;
  --yellow-light: #FFD60A;
  --dark: #0a1628;
  --dark-2: #1e293b;
  --gray: #64748b;
  --light-gray: #f1f5f9;
  --border: #e2e8f0;
  --white: #ffffff;
  --bg: #f8faff;
  --shadow: 0 4px 20px rgba(0, 86, 179, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 86, 179, 0.18);
  --shadow-y: 0 8px 25px rgba(255, 195, 0, 0.3);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 8px;
  --ease: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background: var(--bg); color: var(--dark-2); overflow-x: hidden; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

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

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0; transition: var(--ease);
  background: transparent;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 20px 0;
  box-shadow: 0 2px 20px rgba(0,86,179,0.1);
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.nav-logo { display: flex; align-items: center; cursor: pointer; }
.nav-logo img { height: 44px; width: auto; object-fit: contain; }
.logo-fallback { font-size: 1.5rem; font-weight: 800; color: var(--white); display: none; }
#navbar.scrolled .logo-fallback { color: var(--primary); }
#navbar.scrolled .nav-logo img {
  filter: brightness(0) saturate(100%) invert(22%) sepia(93%) saturate(737%) hue-rotate(197deg) brightness(92%) contrast(104%);
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 18px; border-radius: 50px;
  font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.85);
  transition: var(--ease); cursor: pointer;
}
#navbar.scrolled .nav-link { color: var(--dark-2); }
.nav-link:hover, .nav-link.active { background: rgba(255,255,255,0.2); color: var(--white); }
#navbar.scrolled .nav-link:hover,
#navbar.scrolled .nav-link.active { background: var(--primary-bg); color: var(--primary); }

.btn-cta-nav {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.75);
  font-weight: 700; font-size: 0.88rem;
  padding: 9px 22px; border-radius: 50px;
  transition: var(--ease); white-space: nowrap;
}
.btn-cta-nav:hover { background: rgba(255,255,255,0.15); border-color: var(--white); transform: translateY(-2px); }
#navbar.scrolled .btn-cta-nav { background: var(--yellow); color: var(--dark); border-color: var(--yellow); }
#navbar.scrolled .btn-cta-nav:hover { background: var(--yellow-light); border-color: var(--yellow-light); transform: translateY(-1px); }

/* ===== LANG BTN ===== */
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.5px;
  padding: 7px 12px; border-radius: 7px;
  transition: var(--ease); white-space: nowrap;
  background: rgba(255,255,255,0.18); color: var(--white);
  border: 1.5px solid transparent;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.lang-btn i { font-size: 0.8rem; }
.lang-btn:hover { background: rgba(255,255,255,0.28); transform: translateY(-1px); }
#navbar.scrolled .lang-btn { background: var(--primary-bg); color: var(--primary); backdrop-filter: none; }
#navbar.scrolled .lang-btn:hover { background: #d6e4ff; transform: translateY(-1px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 26px; height: 2.5px;
  background: var(--white); border-radius: 3px; transition: var(--ease);
}
#navbar.scrolled .hamburger span { background: var(--dark-2); }
.hamburger.open span { background: #111; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 998;
}
.nav-overlay.active { display: block; }

.nav-link i { display: none; }
.mobile-menu-header, .mobile-menu-cta, .mobile-menu-footer { display: none; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: var(--white);
  font-weight: 700; font-size: 0.95rem;
  padding: 14px 28px; border-radius: 50px;
  transition: var(--ease); box-shadow: 0 8px 25px rgba(0,86,179,0.3);
}
.btn-primary:hover { background: var(--primary-light); transform: translateY(-3px); box-shadow: 0 15px 35px rgba(0,86,179,0.4); }

.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25d366; color: var(--white);
  font-weight: 700; font-size: 0.95rem;
  padding: 14px 28px; border-radius: 50px;
  transition: var(--ease); box-shadow: 0 8px 25px rgba(37,211,102,0.3);
}
.btn-wa:hover { background: #1ebe5f; transform: translateY(-3px); box-shadow: 0 15px 35px rgba(37,211,102,0.4); }

/* ===== SECTION HEADERS ===== */
.section-tag {
  display: inline-block;
  background: var(--primary-bg); color: var(--primary);
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 6px 16px; border-radius: 50px; margin-bottom: 16px;
}
.section-tag.light { background: rgba(255,255,255,0.2); color: var(--white); }

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== PAGE HEADER ===== */
.page-header {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  padding: 140px 0 80px;
  overflow: hidden;
  text-align: center;
}

.ph-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.ph-blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: 0.22;
  animation: blobFloat 9s ease-in-out infinite;
}
.ph-b1 { width: 480px; height: 480px; background: var(--yellow); top: -160px; right: -100px; }
.ph-b2 { width: 320px; height: 320px; background: #0a47a0; bottom: -100px; left: -80px; animation-delay: -4s; }

@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(20px,-28px) scale(1.05); }
  66%       { transform: translate(-15px,15px) scale(0.95); }
}

.ph-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 52px 52px;
}

.ph-content { position: relative; z-index: 2; }

.ph-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900; color: var(--white);
  line-height: 1.15; margin: 16px 0 18px;
}
.ph-accent { color: var(--yellow); }

.ph-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.78);
  line-height: 1.75; max-width: 520px; margin: 0 auto 20px;
}

.ph-meta {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 20px; border-radius: 50px;
  font-size: 0.8rem; color: rgba(255,255,255,0.78); font-weight: 500;
  backdrop-filter: blur(6px);
}
.ph-meta-dot { opacity: 0.4; }

/* ===== TERMINOS SECTION ===== */
.terminos-sec { background: var(--bg); }

.terminos-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

/* ===== SIDEBAR ===== */
.tc-sidebar { position: sticky; top: 100px; }

.tc-sidebar-inner {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tc-sidebar-header {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  font-size: 0.84rem; font-weight: 700;
}
.tc-sidebar-header i { color: var(--yellow); }

.tc-toc { padding: 8px 0; }

.toc-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 20px;
  font-size: 0.82rem; color: var(--gray);
  transition: var(--ease); border-left: 3px solid transparent;
}
.toc-item:hover { color: var(--primary); background: var(--primary-bg); border-left-color: var(--primary); }
.toc-item.active { color: var(--primary); background: var(--primary-bg); border-left-color: var(--primary); font-weight: 600; }

.toc-num {
  font-size: 0.7rem; font-weight: 800;
  color: var(--primary); background: var(--primary-bg);
  padding: 2px 7px; border-radius: 50px; flex-shrink: 0;
  transition: var(--ease);
}
.toc-item:hover .toc-num,
.toc-item.active .toc-num {
  background: var(--primary); color: var(--white);
}

.tc-sidebar-cta {
  padding: 18px 20px;
  background: var(--light-gray);
  border-top: 1px solid var(--border);
}
.tc-sidebar-cta p {
  font-size: 0.78rem; color: var(--gray); margin-bottom: 12px; line-height: 1.5;
}
.tc-sidebar-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--primary); color: var(--white);
  font-weight: 700; font-size: 0.82rem;
  padding: 10px 16px; border-radius: 50px;
  transition: var(--ease);
}
.tc-sidebar-btn:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,86,179,0.3); }

/* ===== TC INTRO ===== */
.tc-intro {
  display: flex; align-items: flex-start; gap: 20px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 58%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 28px;
  position: relative; overflow: hidden;
}
.tc-intro::after {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,195,0,0.1); filter: blur(40px);
  pointer-events: none;
}

.tc-intro-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--yellow);
}
.tc-intro-title {
  font-size: 1.15rem; font-weight: 800; color: var(--white); margin-bottom: 8px;
}
.tc-intro-body {
  font-size: 0.88rem; color: rgba(255,255,255,0.78); line-height: 1.75;
}
.tc-intro-body strong { color: var(--white); }

.tc-intro-meta {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 7px 16px; border-radius: 50px;
  font-size: 0.78rem; color: rgba(255,255,255,0.72); font-weight: 500;
}
.tc-intro-meta i { color: var(--yellow); font-size: 0.8rem; }
.tc-intro-meta-dot { opacity: 0.4; }

/* ===== TC CARD ===== */
.tc-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  transition: var(--ease);
  scroll-margin-top: 100px;
}
.tc-card:hover { border-color: #b8d0f5; box-shadow: var(--shadow); }

.tc-card-header {
  display: flex; align-items: center; gap: 16px;
  padding: 24px 28px;
  border-bottom: 1.5px solid var(--border);
  background: linear-gradient(to right, #f4f8ff, var(--white));
}

.tc-card-num {
  font-size: 1.8rem; font-weight: 900;
  color: rgba(0,86,179,0.12); line-height: 1; flex-shrink: 0;
  min-width: 44px;
}

.tc-card-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--primary-bg);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; color: var(--primary);
  transition: var(--ease);
}
.tc-card:hover .tc-card-icon { background: var(--primary); color: var(--white); }

.tc-card-title { font-size: 1rem; font-weight: 800; color: var(--dark); margin-bottom: 3px; }
.tc-card-sub { font-size: 0.78rem; color: var(--gray); }

.tc-card-body {
  padding: 28px;
}
.tc-card-body > p {
  font-size: 0.9rem; color: var(--gray); line-height: 1.78; margin-bottom: 20px;
}
.tc-card-body > p:last-child { margin-bottom: 0; }
.tc-card-body > p em { color: var(--dark-2); font-style: normal; }
.tc-card-body code {
  background: var(--light-gray); color: var(--primary);
  padding: 2px 7px; border-radius: 5px;
  font-size: 0.85em; font-family: monospace;
}

/* ===== ALERT ===== */
.tc-alert {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 18px 0;
  font-size: 0.86rem; line-height: 1.68;
}
.tc-alert > i { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.tc-alert strong { display: block; margin-bottom: 4px; }
.tc-alert p { margin: 0; }

.tc-alert-warn {
  background: #fffbeb; border: 1px solid #fde68a; color: #78350f;
}
.tc-alert-warn > i { color: #d97706; }

.tc-alert-info {
  background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af;
}
.tc-alert-info > i { color: var(--primary); }

/* ===== OPTIONS ===== */
.tc-options {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin: 18px 0;
}
.tc-option {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  transition: var(--ease);
}
.tc-option:hover { border-color: #b8d0f5; box-shadow: var(--shadow); }
.tc-option-featured {
  border-color: var(--primary);
  background: var(--primary-bg);
}
.tc-option h4 {
  font-size: 0.9rem; font-weight: 700; color: var(--dark); margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.tc-option h4 i { color: var(--primary); }
.tc-option p { font-size: 0.84rem; color: var(--gray); line-height: 1.65; }

.tc-option-badge {
  display: inline-block;
  font-size: 0.68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.8px;
  padding: 3px 10px; border-radius: 50px; margin-bottom: 10px;
  background: var(--border); color: var(--gray);
}
.tc-option-badge-feat { background: var(--primary); color: var(--white); }

/* ===== PRICE TABLE ===== */
.tc-price-table {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 18px 0;
}
.tc-pt-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
}
.tc-pt-row:last-child { border-bottom: none; }
.tc-pt-row i { color: var(--primary); margin-right: 8px; }
.tc-pt-header {
  background: linear-gradient(to right, #f4f8ff, var(--white));
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px; color: var(--gray);
}
.tc-pt-price strong { color: var(--primary); font-weight: 800; font-size: 0.95rem; }

/* ===== INLINE ICON HELPERS ===== */
.tc-icon-ok { color: #16a34a; margin-right: 6px; }
.tc-icon-no { color: #dc2626; margin-right: 6px; }

/* ===== LIST ===== */
.tc-list {
  display: flex; flex-direction: column; gap: 10px; margin: 18px 0;
}
.tc-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.88rem; color: var(--dark-2); line-height: 1.65;
}
.tc-list li i { flex-shrink: 0; margin-top: 3px; }
.tc-list .fa-circle-check { color: #16a34a; }
.tc-xmark { color: #dc2626 !important; }

/* ===== TECH GRID ===== */
.tc-tech-grid {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0;
}
.tc-tech {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--light-gray); color: var(--dark-2);
  font-size: 0.82rem; font-weight: 600;
  padding: 7px 14px; border-radius: 50px;
  border: 1px solid var(--border);
  transition: var(--ease);
}
.tc-tech i { color: var(--primary); font-size: 0.9rem; }
.tc-tech:hover { background: var(--primary-bg); border-color: #b8d0f5; color: var(--primary); }

/* ===== TIMELINE ===== */
.tc-timeline {
  display: flex; flex-direction: column; gap: 0;
  margin: 18px 0;
  position: relative; padding-left: 28px;
}
.tc-timeline::before {
  content: '';
  position: absolute; top: 8px; bottom: 8px; left: 7px;
  width: 2px; background: var(--border);
}
.tc-tl-item {
  display: flex; align-items: flex-start; gap: 16px;
  position: relative; padding-bottom: 20px;
}
.tc-tl-item:last-child { padding-bottom: 0; }
.tc-tl-dot {
  width: 14px; height: 14px; flex-shrink: 0;
  background: var(--primary); border-radius: 50%;
  border: 2.5px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
  position: absolute; left: -28px; top: 3px;
}
.tc-tl-dot-yellow {
  background: var(--yellow);
  box-shadow: 0 0 0 2px var(--yellow);
}
.tc-tl-item div strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.tc-tl-item div span { font-size: 0.84rem; color: var(--gray); line-height: 1.6; }

/* ===== PARTIES ===== */
.tc-parties {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin: 18px 0;
}
.tc-party {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: var(--ease);
}
.tc-party:hover { border-color: #b8d0f5; box-shadow: var(--shadow); }
.tc-party-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; margin-bottom: 12px;
}
.tc-party-client { background: var(--primary-bg); color: var(--primary); }
.tc-party-sitelege { background: rgba(255,195,0,0.12); color: var(--yellow); }
.tc-party h4 { font-size: 0.9rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.tc-party p { font-size: 0.84rem; color: var(--gray); line-height: 1.68; }

/* ===== CLOSING ===== */
.tc-closing {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 58%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  position: relative; overflow: hidden;
  margin-top: 8px;
}
.tc-closing::after {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,195,0,0.08); filter: blur(60px);
  pointer-events: none;
}

.tc-closing-icon {
  font-size: 2.2rem; color: var(--yellow); margin-bottom: 16px;
}
.tc-closing h3 {
  font-size: 1.3rem; font-weight: 800; color: var(--white); margin-bottom: 10px;
}
.tc-closing p {
  font-size: 0.9rem; color: rgba(255,255,255,0.72); margin-bottom: 28px; max-width: 400px; margin-left: auto; margin-right: auto;
}
.tc-closing-btns {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  position: relative; z-index: 1;
}

/* Primary CTA — yellow, shine animation */
.tc-closing .btn-primary {
  background: var(--yellow); color: var(--dark);
  font-size: 1rem; font-weight: 800;
  padding: 17px 38px; border-radius: 50px;
  box-shadow: 0 8px 28px rgba(255,195,0,0.45), 0 2px 8px rgba(0,0,0,0.1);
  position: relative; overflow: hidden;
  border: 2px solid transparent;
  letter-spacing: 0.2px;
}
.tc-closing .btn-primary::after {
  content: '';
  position: absolute; top: 0; left: -90%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent 15%, rgba(255,255,255,0.38) 50%, transparent 85%);
  transform: skewX(-18deg);
  animation: ctaShine 4.5s 2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ctaShine {
  0%, 100% { left: -90%; opacity: 0; }
  6%        { opacity: 1; }
  40%       { left: 150%; opacity: 0; }
}
.tc-closing .btn-primary i { transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.tc-closing .btn-primary:hover {
  background: var(--yellow-light);
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(255,195,0,0.55), 0 4px 14px rgba(0,0,0,0.12);
}
.tc-closing .btn-primary:hover i { transform: translateX(-3px) rotate(-20deg); }

/* Secondary CTA — ghost/outline, WhatsApp */
.tc-closing .btn-wa {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 1rem; font-weight: 700;
  padding: 15px 36px; border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.38);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  letter-spacing: 0.2px;
  transition: var(--ease);
}
.tc-closing .btn-wa i { transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.tc-closing .btn-wa:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.68);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.tc-closing .btn-wa:hover i { transform: scale(1.22) rotate(-5deg); }

/* ===== FOOTER ===== */
footer { background: var(--dark); color: rgba(255,255,255,0.6); padding: 0 0 0; }

.footer-top-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-light), var(--yellow));
}

footer .container { padding-top: 64px; }

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 48px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand { padding-right: 20px; }
.footer-logo { height: 40px; margin-bottom: 18px; filter: brightness(0) invert(1); display: block; }
.footer-logo-text { display: none; font-size: 1.4rem; font-weight: 800; color: white; margin-bottom: 16px; }
.footer-brand > p { font-size: 0.86rem; line-height: 1.78; margin-bottom: 20px; color: rgba(255,255,255,0.52); }

.social-links { display: flex; gap: 9px; }
.social-links a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.48); transition: var(--ease); font-size: 0.88rem;
}
.social-links a:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-3px); }

.footer-col h4 {
  color: var(--white); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 22px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li { font-size: 0.86rem; color: rgba(255,255,255,0.5); }
.footer-col ul a { color: rgba(255,255,255,0.5); transition: var(--ease); }
.footer-col ul a:hover { color: var(--yellow); padding-left: 5px; }

.footer-contact-items { display: flex; flex-direction: column; gap: 14px; }
.fci { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.6); transition: var(--ease); }
a.fci:hover { color: var(--white); transform: translateX(4px); }

.fci-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; color: #7bafd4; transition: var(--ease);
}
a.fci:hover .fci-icon { background: var(--primary); border-color: var(--primary); color: #fff; }

.fci-label { display: block; font-size: 0.7rem; color: rgba(255,255,255,0.32); margin-bottom: 1px; letter-spacing: 0.3px; }
.fci-val   { display: block; font-size: 0.84rem; font-weight: 500; color: rgba(255,255,255,0.72); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: 0.81rem; color: rgba(255,255,255,0.28);
}
.footer-bottom strong { color: rgba(255,255,255,0.5); font-weight: 600; }

/* ===== FLOATING WHATSAPP ===== */
.wa-float {
  position: fixed; bottom: 32px; right: 32px; z-index: 9999;
  opacity: 0; transform: translateY(16px);
  animation: waEnter .55s .9s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes waEnter { to { opacity: 1; transform: translateY(0); } }

.wa-ring {
  position: absolute; inset: 0;
  border-radius: 40px;
  background: rgba(37,211,102,0.16);
  animation: waRing 2.6s ease-out infinite;
  pointer-events: none; transition: border-radius .4s ease;
}
.wa-ring-2 { animation-delay: 1.3s; }
@keyframes waRing {
  0%   { transform: scale(1);    opacity: .65; }
  100% { transform: scale(1.55); opacity: 0;   }
}

.wa-float .wa-btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px 10px 10px;
  background: linear-gradient(135deg, #27cf69 0%, #1ebe60 45%, #0f7a3b 100%);
  border-radius: 40px;
  text-decoration: none; color: #fff;
  box-shadow: 0 6px 30px rgba(15,122,59,0.52), 0 2px 8px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.22);
  transition: transform .28s cubic-bezier(.34,1.56,.64,1), box-shadow .28s ease,
    padding .38s cubic-bezier(.4,0,.2,1), border-radius .38s cubic-bezier(.4,0,.2,1), gap .38s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
.wa-float .wa-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 44px rgba(15,122,59,0.64), 0 4px 14px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.28);
}
.wa-float .wa-btn:active { transform: scale(0.97); }

.wa-icon-wrap {
  width: 42px; height: 42px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.wa-float .wa-btn:hover .wa-icon-wrap { transform: rotate(-10deg) scale(1.12); }

.wa-text-wrap {
  display: flex; flex-direction: column;
  line-height: 1.25; overflow: hidden;
  max-width: 130px; max-height: 60px; opacity: 1;
  transition: max-width .38s cubic-bezier(.4,0,.2,1), max-height .38s cubic-bezier(.4,0,.2,1), opacity .3s ease;
}
.wa-status {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.67rem; font-weight: 500;
  color: rgba(255,255,255,0.82); letter-spacing: 0.3px;
}
.wa-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #b8ffd4;
  box-shadow: 0 0 7px rgba(184,255,212,0.9);
  animation: waBlink 1.8s ease-in-out infinite;
}
@keyframes waBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.wa-action { font-size: 0.93rem; font-weight: 700; color: #fff; white-space: nowrap; }

.wa-shine {
  position: absolute; top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.18) 50%, transparent 80%);
  transform: skewX(-18deg);
  animation: waShine 5s 2s ease-in-out infinite; pointer-events: none;
}
@keyframes waShine {
  0%  { left: -80%; opacity: 0; }
  8%  { opacity: 1; }
  38% { left: 140%; opacity: 0; }
  100%{ left: 140%; opacity: 0; }
}

.wa-float.wa-collapsed .wa-btn { padding: 10px; border-radius: 50%; gap: 0; }
.wa-float.wa-collapsed .wa-text-wrap { max-width: 0; max-height: 0; opacity: 0; }
.wa-float.wa-collapsed .wa-ring { border-radius: 50%; }
.wa-float.wa-collapsed .wa-btn:hover {
  padding: 10px 20px 10px 10px; border-radius: 40px; gap: 10px;
  transform: translateY(-3px) scale(1.03);
}
.wa-float.wa-collapsed .wa-btn:hover .wa-text-wrap { max-width: 130px; max-height: 60px; opacity: 1; }
.wa-float.wa-collapsed:hover .wa-ring { border-radius: 40px; }

/* ===== TOC GROUP LABELS ===== */
.toc-group-label {
  font-size: 0.65rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--gray); padding: 10px 20px 4px;
  opacity: 0.6;
}
.toc-group-privacy { margin-top: 6px; border-top: 1px solid var(--border); padding-top: 14px; color: var(--primary); opacity: 0.8; }

.toc-item-privacy { color: var(--primary) !important; }
.toc-num-privacy {
  background: var(--primary-bg) !important; color: var(--primary) !important;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
}
.toc-item-privacy:hover .toc-num-privacy,
.toc-item-privacy.active .toc-num-privacy {
  background: var(--primary) !important; color: var(--white) !important;
}

/* scrollable toc on tall screens */
.tc-toc { padding: 8px 0; max-height: 480px; overflow-y: auto; }
.tc-toc::-webkit-scrollbar { width: 3px; }
.tc-toc::-webkit-scrollbar-track { background: transparent; }
.tc-toc::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ===== PRICE TABLE 3 COLS ===== */
.tc-price-table .tc-pt-row { grid-template-columns: 2fr 1fr 1fr; }
.tc-price-table .tc-pt-row.tc-pt-header span:not(:first-child) { text-align: center; }
.tc-pt-row { display: grid; }
.tc-pt-row:not(.tc-pt-header) span:not(:first-child) { text-align: center; }
.tc-pt-na { color: var(--gray); opacity: 0.5; }

/* ===== PAYMENT METHODS ===== */
.tc-methods {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px;
}
.tc-method {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--light-gray); color: var(--dark-2);
  font-size: 0.82rem; font-weight: 500;
  padding: 8px 16px; border-radius: 50px;
  border: 1px solid var(--border);
}
.tc-method i { color: var(--primary); font-size: 0.88rem; }

/* ===== CHANNELS ===== */
.tc-channels { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.tc-channel {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); transition: var(--ease);
}
.tc-channel:hover { border-color: var(--primary); transform: translateX(4px); box-shadow: var(--shadow); }
.tc-channel-wa { border-color: rgba(37,211,102,0.3); }
.tc-channel-wa:hover { border-color: #25d366; box-shadow: 0 4px 20px rgba(37,211,102,0.15); }
.tc-channel-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--primary-bg); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1rem;
}
.tc-channel-icon-wa { background: rgba(37,211,102,0.1); color: #25d366; }
.tc-channel-label { display: block; font-size: 0.7rem; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 2px; }
.tc-channel-val   { display: block; font-size: 0.88rem; font-weight: 600; color: var(--dark); }

/* ===== PRIVACY SECTION ===== */
.tc-privacy-header {
  margin-top: 48px; margin-bottom: 20px;
  scroll-margin-top: 100px;
}
.tc-privacy-header-inner {
  display: flex; align-items: center; gap: 18px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  position: relative; overflow: hidden;
}
.tc-privacy-header-inner::after {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(0,86,179,0.15); filter: blur(30px);
  pointer-events: none;
}
.tc-privacy-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: rgba(0,86,179,0.2);
  border: 1px solid rgba(0,86,179,0.4);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--primary-light);
}
.tc-privacy-header-inner h2 { font-size: 1.2rem; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.tc-privacy-header-inner p  { font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* Privacy cards */
.tc-card-privacy { border-color: rgba(0,86,179,0.15); }
.tc-card-privacy:hover { border-color: var(--primary); }
.tc-card-privacy .tc-card-header { background: linear-gradient(to right, #f0f4ff, var(--white)); }
.tc-card-icon-privacy { background: rgba(0,86,179,0.08); color: var(--primary); }
.tc-card-privacy:hover .tc-card-icon-privacy { background: var(--primary); color: var(--white); }
.tc-card-privacy .tc-card-num { display: none; }

/* ARCO grid */
.tc-arco-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-top: 18px;
}
.tc-arco-item {
  background: var(--primary-bg);
  border: 1px solid #c7d8f7;
  border-radius: var(--radius);
  padding: 16px 12px; text-align: center;
  transition: var(--ease);
}
.tc-arco-item:hover { background: var(--primary); border-color: var(--primary); }
.tc-arco-item:hover strong,
.tc-arco-item:hover span { color: var(--white); }
.tc-arco-item strong {
  display: block; font-size: 1.5rem; font-weight: 900;
  color: var(--primary); line-height: 1; margin-bottom: 6px;
  transition: var(--ease);
}
.tc-arco-item span { font-size: 0.74rem; color: var(--gray); line-height: 1.4; transition: var(--ease); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .terminos-layout { grid-template-columns: 240px 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 82%; max-width: 320px;
    height: 100vh; background: white; flex-direction: column;
    align-items: stretch; padding: 0; gap: 0;
    box-shadow: -20px 0 60px rgba(0,0,0,0.15);
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1); z-index: 999;
    overflow-y: auto;
  }
  .nav-links.open { right: 0; }

  .mobile-menu-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px; min-height: 84px;
    background: linear-gradient(135deg, #f4f8ff, #eef2ff);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 2; flex-shrink: 0;
  }
  .mobile-brand { font-size: 1.25rem; font-weight: 800; color: var(--primary); letter-spacing: -0.3px; }

  .nav-link {
    width: 100%; display: flex; align-items: center; gap: 14px;
    font-size: 1rem; padding: 15px 20px !important;
    color: var(--dark-2) !important; border-radius: 0 !important;
    border-bottom: 1px solid var(--light-gray);
  }
  .nav-link i {
    display: flex; width: 38px; height: 38px;
    background: var(--primary-bg); border-radius: 10px;
    align-items: center; justify-content: center;
    color: var(--primary); font-size: 0.88rem;
    flex-shrink: 0; transition: var(--ease);
  }
  .nav-link span { flex: 1; }
  .nav-link::after { content: '›'; font-size: 1.4rem; color: #cbd5e1; line-height: 1; }
  .nav-link:hover, .nav-link.active { background: var(--primary-bg) !important; color: var(--primary) !important; }
  .nav-link:hover i, .nav-link.active i { background: var(--primary); color: white; }

  .mobile-menu-cta { display: block; padding: 20px; border-bottom: 1px solid var(--border); }
  .btn-cta-mobile {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--yellow); color: var(--dark);
    font-weight: 700; font-size: 0.95rem;
    padding: 14px; border-radius: 50px;
    box-shadow: var(--shadow-y); transition: var(--ease); width: 100%;
  }
  .btn-cta-mobile:hover { background: var(--yellow-light); transform: translateY(-2px); }

  .mobile-menu-footer {
    display: flex; flex-direction: column; gap: 14px;
    padding: 20px; margin-top: auto; border-top: 1px solid var(--border);
  }
  .mobile-social { display: flex; gap: 8px; }
  .mobile-social a {
    width: 38px; height: 38px; background: var(--light-gray);
    border-radius: 10px; display: flex; align-items: center;
    justify-content: center; color: var(--gray);
    transition: var(--ease); font-size: 0.88rem;
  }
  .mobile-social a:hover { background: var(--primary); color: white; }
  .mobile-location { font-size: 0.78rem; color: var(--gray); display: flex; align-items: center; gap: 6px; }
  .mobile-location i { color: var(--primary); }

  .btn-cta-nav { display: none; }
  .hamburger { display: flex; z-index: 1001; }

  .terminos-layout { grid-template-columns: 1fr; }
  .tc-sidebar { position: static; }

  .tc-options { grid-template-columns: 1fr; }
  .tc-parties { grid-template-columns: 1fr; }
  .tc-arco-grid { grid-template-columns: repeat(2, 1fr); }
  .tc-toc { max-height: none; }
  .tc-privacy-header-inner { flex-direction: column; gap: 12px; padding: 22px; }
  .tc-price-table .tc-pt-row { grid-template-columns: 1fr; gap: 4px; }
  .tc-price-table .tc-pt-header { display: none; }
  .tc-pt-row:not(.tc-pt-header) span::before {
    font-size: 0.68rem; color: var(--gray); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
    display: block; margin-bottom: 1px;
  }
  .tc-card-header { gap: 12px; padding: 18px 20px; }
  .tc-card-num { display: none; }
  .tc-card-body { padding: 20px; }
  .tc-intro { flex-direction: column; gap: 14px; padding: 24px; }
  .tc-closing { padding: 36px 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .page-header { padding: 120px 0 60px; }
  .ph-title { font-size: 1.9rem; }
  .ph-meta { flex-direction: column; gap: 6px; text-align: center; }
  .ph-meta-dot { display: none; }
  .wa-float { bottom: 20px; right: 18px; }
  .wa-float .wa-btn { padding: 10px; border-radius: 50%; }
  .wa-text-wrap { display: none; }
  .wa-ring { border-radius: 50%; }
  .tc-closing-btns { flex-direction: column; }
  .tc-closing-btns .btn-primary,
  .tc-closing-btns .btn-wa { justify-content: center; }
}
