/* ===========================================================
   NamaAgency — Shared Stylesheet
   =========================================================== */

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

:root {
  --bg: #F0E5DE;
  --navy: #052785;
  --navy-light: #0a3aad;
  --white: #ffffff;
  --border: rgba(5,39,133,0.15);
  --text-soft: rgba(5,39,133,0.7);
  --text-faint: rgba(5,39,133,0.45);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Pulse dot ---------- */
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,0.6);
  animation: pulse-ring 1.6s ease-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

/* ---------- Logo lockup ---------- */
.logo-lockup { display: flex; align-items: center; gap: 10px; }
.logo-mark { height: 32px; width: auto; flex-shrink: 0; display: block; }
.logo-word {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: -0.5px;
}

/* ---------- Header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem 5%;
  background: var(--bg);
  position: sticky; top: 0; z-index: 200;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}
.site-nav { display: flex; align-items: center; gap: 2.2rem; }
.site-nav a {
  font-size: 0.92rem; font-weight: 600; color: var(--navy);
  opacity: 0.75; transition: opacity 0.2s;
  white-space: nowrap;
}
.site-nav a:hover { opacity: 1; }

.nav-cta {
  display: flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff;
  border: none; border-radius: 50px;
  padding: 0.6rem 1.4rem; font-size: 0.88rem; font-weight: 700;
  cursor: pointer; transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--navy-light); transform: scale(1.03); }

.menu-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  width: 22px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: transform 0.25s, opacity 0.25s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 64px;
  z-index: 199;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.mobile-menu.open { max-height: 320px; }
.mobile-menu a {
  padding: 1rem 6%;
  font-size: 0.98rem; font-weight: 600; color: var(--navy);
  border-bottom: 1px solid var(--border);
}
.mobile-menu .nav-cta {
  margin: 1rem 6% 1.25rem;
  justify-content: center;
  border-bottom: none;
  padding: 0.75rem 1.4rem;
}

/* ---------- Section common ---------- */
.section-label {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--navy); opacity: 0.4;
  margin-bottom: 1rem;
}
.section-h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 800; line-height: 1.18;
  letter-spacing: -1px; color: var(--navy);
  margin-bottom: 2.5rem;
  max-width: 720px;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 88vh;
  display: flex; align-items: center;
  padding: 4.5rem 5%;
  gap: 3rem;
  max-width: 1360px;
  margin: 0 auto;
}
.hero-left { flex: 1; max-width: 620px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(5,39,133,0.08); border: 1px solid var(--border);
  border-radius: 50px; padding: 0.4rem 1.1rem;
  font-size: 0.78rem; font-weight: 600; color: var(--navy);
  letter-spacing: 0.4px; margin-bottom: 1.75rem;
}
.hero-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 800; line-height: 1.12;
  letter-spacing: -1px;
  color: var(--navy); margin-bottom: 1.5rem;
}
.hero-headline span { color: rgba(5,39,133,0.6); }
.hero-sub {
  font-size: 1.08rem; line-height: 1.7;
  color: var(--text-soft); max-width: 480px; margin-bottom: 2.5rem;
}
.cta-group { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  display: flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff;
  border: none; border-radius: 50px;
  padding: 0.9rem 2.1rem; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--navy-light); transform: translateY(-2px); }

.hero-right { flex: 0 0 460px; }
.video-card {
  background: var(--navy);
  border-radius: 22px;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  background-image: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.08), transparent 60%),
                     linear-gradient(135deg, #052785 0%, #0a3aad 55%, #1a2a6b 100%);
}
.video-play { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.play-circle {
  width: 76px; height: 76px; border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.play-circle:hover { transform: scale(1.06); }
.video-label {
  font-family: 'Sora', sans-serif;
  font-size: 1.3rem; font-weight: 800;
  color: #fff; letter-spacing: -0.3px;
}
.video-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.35), transparent);
}
.video-time { font-size: 0.78rem; font-weight: 700; color: #fff; opacity: 0.8; }
.video-progress { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.25); overflow: hidden; }
.video-progress-fill { width: 0%; height: 100%; background: #fff; border-radius: 4px; }

/* ---------- Why SEO ---------- */
.why-seo { padding: 5.5rem 5%; max-width: 1360px; margin: 0 auto; }
.ws-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.ws-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.5px;
  color: var(--navy); margin-bottom: 1.5rem;
}
.ws-stat {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: #fff;
  border-radius: 50px; padding: 0.5rem 1.25rem;
  font-family: 'Sora', sans-serif; font-size: 0.86rem; font-weight: 800;
  margin-bottom: 1.5rem;
}
.ws-stat-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; flex-shrink: 0; }
.ws-body { font-size: 0.97rem; line-height: 1.75; color: var(--text-soft); margin-bottom: 1rem; }

.hm-card { background: #fff; border-radius: 16px; border: 1px solid var(--border); overflow: hidden; }
.toggle-bar { display: flex; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: #fafafa; }
.toggle-btn {
  flex: 1; padding: 10px 0; border-radius: 8px;
  border: 1px solid rgba(5,39,133,0.2);
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; cursor: pointer;
  background: #fff; color: var(--navy);
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
.toggle-btn .btn-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; background: rgba(5,39,133,0.25); transition: background 0.25s; }
.toggle-btn.active-before { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 3px 12px rgba(5,39,133,0.25); }
.toggle-btn.active-before .btn-dot { background: #e05050; }
.toggle-btn.active-after { background: #1a7a3c; color: #fff; border-color: #1a7a3c; box-shadow: 0 3px 12px rgba(26,122,60,0.25); }
.toggle-btn.active-after .btn-dot { background: #4ade80; }

.hm-biz-label { font-size: 10px; font-weight: 600; color: var(--text-faint); padding: 10px 14px 2px; letter-spacing: 0.5px; }
.hm-state-label { font-size: 10px; font-weight: 700; padding: 2px 14px 8px; letter-spacing: 0.3px; transition: color 0.3s; color: #c04040; }

.hm-rows { padding: 4px 10px 10px; display: flex; flex-direction: column; gap: 5px; }
.hm-row { display: flex; align-items: center; gap: 7px; border-radius: 8px; padding: 5px 8px; border: 1px solid transparent; transition: background 0.3s, border-color 0.3s; }
.hm-row.you-row-before { background: rgba(230,80,80,0.06); border-color: rgba(230,80,80,0.15); }
.hm-row.you-row-after  { background: rgba(44,181,98,0.07); border-color: rgba(44,181,98,0.2); }
.hm-pos { font-size: 10px; font-weight: 700; color: rgba(5,39,133,0.35); min-width: 22px; text-align: right; transition: color 0.3s; }
.hm-pos.you-before { color: #c04040; }
.hm-pos.you-after  { color: #1a7a3c; }
.hm-bar-wrap { flex: 1; height: 22px; border-radius: 5px; overflow: hidden; position: relative; transition: background 0.3s; }
.hm-bar-fill { height: 100%; border-radius: 5px; position: relative; z-index: 1; transition: width 0.6s cubic-bezier(0.4,0,0.2,1), background 0.4s; display: flex; align-items: center; justify-content: flex-end; padding-right: 6px; }
.hm-bar-pct { font-size: 9px; font-weight: 700; color: #fff; opacity: 0; transition: opacity 0.3s 0.4s; white-space: nowrap; }
.hm-you { font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 4px; white-space: nowrap; transition: background 0.3s, color 0.3s; }
.hm-legend { display: flex; align-items: center; gap: 6px; padding: 6px 14px 12px; font-size: 9px; font-weight: 600; color: var(--text-faint); letter-spacing: 0.5px; }
.legend-bar { flex: 1; height: 5px; border-radius: 3px; transition: background 0.4s; background: linear-gradient(to right,#fbe0e0,#e05050); }

.ws-insight { margin-top: 12px; background: rgba(5,39,133,0.05); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; font-size: 0.83rem; color: var(--text-soft); line-height: 1.65; }

/* ---------- Statement ---------- */
.statement-section {
  min-height: 90vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 5.5rem 5%;
  border-top: 1px solid var(--border);
}
.statement-block { max-width: 820px; margin: 0 auto; }
.statement-line {
  display: block; font-family: 'Sora', sans-serif; font-weight: 800;
  line-height: 1.14; letter-spacing: -1px; color: var(--navy); margin-bottom: 1rem;
}
.statement-line.xl { font-size: clamp(1.9rem, 4.4vw, 3.4rem); }
.statement-line.lg { font-size: clamp(1.5rem, 3.2vw, 2.5rem); }
.statement-line.dim { color: rgba(5,39,133,0.55); }
.statement-line.accent { color: var(--navy); }
.statement-divider { width: 48px; height: 3px; background: var(--navy); border-radius: 2px; margin: 2.25rem 0; opacity: 0.2; }
.statement-warning {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(5,39,133,0.06); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.15rem 1.5rem;
}
.statement-warning-icon { font-size: 1.4rem; }
.statement-warning-text {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1rem, 2vw, 1.4rem); font-weight: 800;
  color: var(--navy); line-height: 1.25;
}
.statement-warning-text span { color: rgba(5,39,133,0.4); }

/* ---------- Why Us ---------- */
.why-us { padding: 5.5rem 5%; max-width: 1360px; margin: 0 auto; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.why-card {
  background: #fff; border-radius: 20px; padding: 2rem;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(5,39,133,0.08); }
.why-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(5,39,133,0.07);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.why-card h3 { font-family: 'Sora', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.why-card p { font-size: 0.9rem; line-height: 1.7; color: var(--text-soft); }

/* ---------- CTA section ---------- */
.cta-section { text-align: center; padding: 6rem 5%; max-width: 1360px; margin: 0 auto; }
.cta-section .section-h2 { margin: 0 auto 1.25rem; }
.cta-desc { font-size: 1.03rem; line-height: 1.75; color: var(--text-soft); max-width: 620px; margin: 0 auto 2.5rem; }
.cta-big {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: #fff; border: none; border-radius: 50px;
  padding: 1rem 2.5rem; font-size: 1.05rem; font-weight: 700;
  cursor: pointer; transition: background 0.2s, transform 0.15s;
}
.cta-big:hover { background: var(--navy-light); transform: translateY(-2px); }

/* ---------- FAQ ---------- */
.faq-section { padding: 5.5rem 5%; max-width: 1360px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; max-width: 760px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between;
  font-family: 'Inter', sans-serif; font-size: 0.98rem; font-weight: 700; color: var(--navy);
  gap: 1rem;
}
.faq-icon { font-size: 1.3rem; font-weight: 400; color: var(--navy); transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; padding: 0 1.5rem; }
.faq-item.open .faq-a { max-height: 260px; padding: 0 1.5rem 1.35rem; }
.faq-a p { font-size: 0.92rem; line-height: 1.75; color: var(--text-soft); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 3rem 5% 2rem; }
.footer-top { margin-bottom: 2rem; }
.footer-tagline { font-size: 0.92rem; color: var(--text-soft); margin-top: 0.6rem; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.82rem; color: var(--text-faint);
  flex-wrap: wrap; gap: 1rem;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
}
.footer-bottom a { font-weight: 600; color: var(--navy); opacity: 0.7; }
.footer-bottom a:hover { opacity: 1; }

/* ---------- Booking form ---------- */
.booking-wrap { padding: 3.5rem 5% 6rem; display: flex; justify-content: center; }
.booking-card { width: 100%; max-width: 640px; }
.booking-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(5,39,133,0.08); border: 1px solid var(--border);
  border-radius: 50px; padding: 0.4rem 1.1rem;
  font-size: 0.78rem; font-weight: 600; color: var(--navy);
  margin-bottom: 1.5rem;
}
.booking-h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -1px;
  color: var(--navy); margin-bottom: 0.9rem;
  text-align: center;
}
.booking-sub { font-size: 1rem; line-height: 1.7; color: var(--text-soft); margin: 0 auto 2.5rem; max-width: 520px; text-align: center; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.form-field input, .form-field textarea {
  font-family: 'Inter', sans-serif;
  background: #fff; border: 1px solid var(--border);
  border-radius: 10px; padding: 0.85rem 1rem;
  font-size: 0.95rem; color: var(--navy);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(5,39,133,0.35); }
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(5,39,133,0.12);
}
.form-field textarea { resize: vertical; min-height: 110px; font-family: 'Inter', sans-serif; }

.form-submit {
  margin-top: 2rem;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: #fff; border: none; border-radius: 50px;
  padding: 1rem 2.5rem; font-size: 1.02rem; font-weight: 700;
  cursor: pointer; transition: background 0.2s, transform 0.15s;
  width: 100%; justify-content: center;
}
.form-submit:hover { background: var(--navy-light); transform: translateY(-2px); }

.form-success {
  display: none;
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 2.5rem; text-align: center;
}
.form-success.show { display: block; }
.form-success .check {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(74,222,128,0.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.form-success h3 { font-family: 'Sora', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: 0.6rem; }
.form-success p { font-size: 0.95rem; color: var(--text-soft); line-height: 1.7; }

/* ===========================================================
   RESPONSIVE — Tablet
   =========================================================== */
@media (max-width: 1024px) {
  .hero { gap: 2.5rem; }
  .hero-right { flex: 0 0 400px; }
  .ws-grid { gap: 2.5rem; }
  .why-grid { gap: 1rem; }
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu { display: flex; }

  .hero { flex-direction: column; padding: 3rem 6% 3rem; min-height: auto; text-align: left; }
  .hero-left { max-width: 100%; }
  .hero-right { flex: none; width: 100%; max-width: 480px; }

  .ws-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-grid { grid-template-columns: 1fr; }

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

/* ===========================================================
   RESPONSIVE — Mobile
   =========================================================== */
@media (max-width: 560px) {
  .site-header { padding: 1rem 5%; }
  .logo-word { font-size: 1.1rem; }
  .logo-mark { height: 28px; }

  .hero { padding: 2.5rem 6% 2.5rem; }
  .hero-eyebrow { font-size: 0.72rem; padding: 0.35rem 0.9rem; }
  .hero-headline { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hero-sub { font-size: 1rem; }
  .btn-primary { width: 100%; justify-content: center; }

  .why-seo, .why-us, .cta-section, .faq-section { padding: 3.5rem 6%; }
  .statement-section { padding: 3.5rem 6%; min-height: auto; }
  .statement-line.xl { font-size: clamp(1.5rem, 8vw, 2rem); }
  .statement-line.lg { font-size: clamp(1.2rem, 6vw, 1.6rem); }
  .statement-warning { flex-direction: row; align-items: flex-start; padding: 1rem 1.15rem; }

  .cta-big, .form-submit { width: 100%; justify-content: center; }
  .booking-wrap { padding: 2.5rem 6% 4rem; }

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