:root {
  --navy-900: #0f1b2f;
  --navy-800: #16233d;
  --navy-700: #1e2f4d;
  --ink: #1c2434;
  --paper: #ffffff;
  --paper-soft: #f5f7fb;
  --muted: #5b6478;
  --accent: #ff7a45;
  --accent-dark: #e8622e;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe5b;
  --border: #e6e9f2;
  --shadow: 0 20px 40px -20px rgba(15, 27, 47, 0.25);
  --radius: 18px;
  --max-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--navy-900);
}

h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 21px; }

p { color: var(--muted); margin: 0 0 16px; }

.section-head {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head p { margin: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 14px 30px -12px rgba(37, 211, 102, 0.55);
}

.btn-whatsapp:hover { background: var(--whatsapp-dark); }

.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--border);
}

.btn-outline:hover { border-color: var(--navy-900); }

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.16); }

.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy-900);
}

.logo .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a { color: var(--navy-700); }
.nav-links a:hover { color: var(--accent-dark); }

.nav-cta { display: flex; align-items: center; gap: 18px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-900);
  margin: 5px 0;
  transition: 0.2s;
}

/* Hero */
.hero {
  background: radial-gradient(circle at 20% 20%, var(--navy-700), var(--navy-900) 65%);
  color: #ffffff;
  padding: 110px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 30%, rgba(255, 122, 69, 0.22), transparent 45%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffd8c4;
  background: rgba(255, 122, 69, 0.14);
  border: 1px solid rgba(255, 122, 69, 0.35);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(32px, 4.4vw, 50px);
  margin-bottom: 20px;
}

.hero h1 span { color: var(--accent); }

.hero p.lead {
  color: #c9d3e6;
  font-size: 18px;
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-size: 26px;
  color: #ffffff;
}

.hero-stats div span {
  font-size: 13px;
  color: #9aa7c2;
}

.hero-visual {
  position: relative;
}

.hero-visual .card-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-visual .floating-badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: #ffffff;
  color: var(--navy-900);
  padding: 16px 20px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  max-width: 230px;
}

.hero-visual .floating-badge .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(37, 211, 102, 0.14);
  color: var(--whatsapp-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Marquee / trust strip */
.trust-strip {
  background: var(--paper-soft);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  justify-content: center;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-align: center;
}

/* About */
.about .container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-points {
  list-style: none;
  margin: 24px 0 32px;
  padding: 0;
  display: grid;
  gap: 16px;
}

.about-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink);
}

.about-points .check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 122, 69, 0.14);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding-top: 8px;
}

.process-step .num {
  font-size: 42px;
  font-weight: 700;
  color: var(--border);
  margin-bottom: 8px;
  line-height: 1;
}

.process-step h3 { margin-bottom: 8px; }
.process-step p { font-size: 14.5px; margin: 0; }

/* Portfolio */
.portfolio { background: var(--paper-soft); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.portfolio-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.portfolio-card .thumb { aspect-ratio: 4 / 3; overflow: hidden; }
.portfolio-card .thumb img { width: 100%; height: 100%; object-fit: cover; }

.portfolio-card .body { padding: 24px 24px 28px; }

.portfolio-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(255, 122, 69, 0.1);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.portfolio-card h3 { margin-bottom: 0; }

.portfolio-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent-dark);
  cursor: pointer;
}

.portfolio-more svg { transition: transform 0.2s ease; }
.portfolio-more:hover svg { transform: translateX(4px); }

.portfolio-note {
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 36px;
}

/* Case study modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 27, 47, 0.6);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-overlay.open { opacity: 1; visibility: visible; }

.modal-box {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius);
  padding: 44px 40px 36px;
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 40px 80px -20px rgba(15, 27, 47, 0.45);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.22s ease;
}

.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--paper-soft);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-close:hover { background: var(--border); }

.modal-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(255, 122, 69, 0.1);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.modal-box h3 { font-size: 24px; margin-bottom: 26px; padding-right: 30px; }

.modal-section { margin-bottom: 22px; }
.modal-section p { margin: 0; font-size: 15px; color: var(--ink); }

.modal-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.modal-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.modal-label-pain { color: var(--accent-dark); }
.modal-label-pain::before { background: var(--accent); }

.modal-label-solution { color: var(--navy-700); }
.modal-label-solution::before { background: var(--navy-700); }

.modal-label-impact { color: var(--whatsapp-dark); }
.modal-label-impact::before { background: var(--whatsapp); }

.modal-cta { margin-top: 8px; width: 100%; justify-content: center; }

@media (max-width: 560px) {
  .modal-box { padding: 36px 24px 28px; }
}

/* Testimonial / CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #fff;
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  margin: 0 24px;
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(255, 122, 69, 0.25), transparent 55%);
}

.cta-banner .inner { position: relative; max-width: 620px; margin: 0 auto; }

.cta-banner h2 { color: #fff; }
.cta-banner p { color: #c9d3e6; margin-bottom: 32px; }
.cta-banner .actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* Contact */
.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.contact-card {
  background: var(--paper-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.contact-card .whatsapp-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-card .whatsapp-row .icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card .whatsapp-row strong { display: block; font-size: 17px; color: var(--navy-900); }
.contact-card .whatsapp-row span { font-size: 14px; color: var(--muted); }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 14.5px; }
.contact-list li { display: flex; gap: 10px; color: var(--ink); }

/* Footer */
.site-footer {
  background: var(--navy-900);
  color: #9aa7c2;
  padding: 48px 0 28px;
  margin-top: 40px;
}

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

.site-footer .logo { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 32px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
}

/* Floating WhatsApp button */
.float-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 32px -10px rgba(37, 211, 102, 0.6);
  animation: pulse 2.4s infinite;
}

.float-whatsapp svg { width: 30px; height: 30px; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Responsive */
@media (max-width: 900px) {
  .hero .container,
  .about .container,
  .contact .container {
    grid-template-columns: 1fr;
  }
  .hero-visual { order: -1; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 0; }
  .menu-toggle { display: block; }
  .site-header .container { position: relative; }
}

@media (max-width: 560px) {
  section { padding: 64px 0; }
  .cta-banner { padding: 48px 24px; margin: 0 16px; }
  .hero { padding: 90px 0 70px; }
}
