/* ===== Reset & base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #2e6bf2;
  --blue-dark: #1e4fc4;
  --navy: #161b33;
  --navy-2: #0f1428;
  --ink: #1a1f36;
  --muted: #6b7280;
  --border: #e6e9f0;
  --bg-soft: #f6f8fc;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(22, 27, 51, 0.08);
  --shadow-sm: 0 4px 14px rgba(22, 27, 51, 0.06);
  --max-width: 1180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { color: var(--muted); }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.accent { color: var(--blue); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(46, 107, 242, 0.35);
}
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-right: auto;
}
.logo-penguin {
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue);
  object-fit: cover;
  border: 2px solid var(--blue);
}
.logo-text { font-size: 1.2rem; }
.logo-text strong { color: var(--blue); font-weight: 800; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
}
.main-nav a { padding: 6px 2px; border-bottom: 2px solid transparent; }
.main-nav a.active, .main-nav a:hover { color: var(--blue); border-color: var(--blue); }

.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 5px;
  font: inherit; color: inherit; padding: 6px 2px;
}
.nav-dropdown-btn:hover { color: var(--blue); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s ease, transform .15s ease;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a { padding: 9px 12px; border-radius: 8px; font-size: .92rem; }
.nav-dropdown-menu a:hover { background: var(--bg-soft); color: var(--blue); }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ===== Penguin image sizes ===== */
.service-img {
  width: 100px; height: 100px;
  object-fit: contain;
  margin-bottom: 10px;
  filter: drop-shadow(0 6px 12px rgba(22,27,51,.1));
}
.process-penguin-img {
  width: 160px; height: auto; flex-shrink: 0;
  filter: drop-shadow(0 12px 20px rgba(22,27,51,.12));
}
.cta-penguin-img {
  width: 150px; height: auto; flex-shrink: 0;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.3));
}
.cta-penguin-mobile { display: none; }
.faq-penguin-img {
  width: 200px; max-width: 100%; height: auto;
  filter: drop-shadow(0 12px 20px rgba(22,27,51,.12));
}
.footer-thanks-img {
  width: 90px; height: auto;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.2));
}

/* ===== Hero ===== */
.hero {
  padding: 64px 0 56px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 640px;
  gap: 40px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); }
.hero-sub { margin-top: 18px; font-size: 1.08rem; max-width: 46ch; }
.hero-ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}
.trust-badges li { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; }
.trust-svg-icon { width: 20px; height: 20px; flex-shrink: 0; }
.trust-badges strong { display: block; font-size: 0.88rem; color: var(--ink); }
.trust-badges small { color: var(--muted); font-size: 0.75rem; }

.hero-art {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 500px;
}
.hero-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,107,242,0.12) 0%, rgba(46,107,242,0.04) 60%, transparent 80%);
  pointer-events: none;
}
.hero-bubble {
  position: absolute;
  top: 16%;
  left: 4%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px 16px 16px 4px;
  padding: 12px 16px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  line-height: 1.4;
}
.hero-penguin-art {
  width: 100%;
  max-width: 620px;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 24px 36px rgba(22,27,51,.18));
}

/* ===== Stats bar ===== */
.stats-bar { background: var(--blue); padding: 28px 0; }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat { display: flex; align-items: center; gap: 14px; color: #fff; }
.stat-svg-icon { width: 36px; height: 36px; flex-shrink: 0; opacity: .9; }
.stat strong { display: block; font-size: 1.25rem; font-weight: 800; }
.stat small { color: rgba(255,255,255,0.85); font-size: 0.82rem; }

/* ===== Why section ===== */
.why-section {
  padding: 78px 0 0;
  background: var(--bg-soft);
}
.why-inner {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.why-art {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.why-penguin-art {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(22,27,51,.15));
}
.why-copy {
  padding-left: 32px;
  padding-bottom: 78px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.why-copy h2 { margin-bottom: 4px; }
.why-copy p { margin-top: 14px; font-size: 1.02rem; }

/* ===== Services ===== */
.services-section { padding: 84px 0; }
.section-heading { text-align: center; max-width: 560px; margin: 0 auto 44px; }
.section-heading p { margin-top: 10px; }

.services-heading .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}
.services-heading .eyebrow::before,
.services-heading .eyebrow::after {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
}
.services-heading h2 { color: var(--ink); }
.services-heading .heading-accent {
  display: block;
  width: 46px;
  height: 3px;
  border-radius: 3px;
  background: var(--blue);
  opacity: 0.35;
  margin: 18px auto 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(46, 107, 242, 0.28);
}
.service-card:hover .service-illustration { transform: scale(1.05); }

.service-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(46, 107, 242, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-card h3 { position: relative; z-index: 1; margin-bottom: 8px; }
.service-card p { position: relative; z-index: 1; font-size: 0.92rem; margin-bottom: 16px; max-width: 56%; }

.service-illustration {
  position: absolute;
  right: 2px;
  bottom: 14px;
  width: 150px;
  height: 150px;
  object-fit: contain;
  object-position: bottom right;
  transition: transform .3s ease;
  transform-origin: bottom right;
  pointer-events: none;
}

.link-arrow { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; font-size: 0.92rem; }
.link-arrow svg { transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---- Services perks bar ---- */
.services-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 40px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 10px;
}
.perk {
  flex: 1 1 220px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 6px 20px;
}
.perk svg { flex-shrink: 0; margin-top: 2px; }
.perk strong { display: block; font-size: 0.94rem; color: var(--ink); margin-bottom: 3px; }
.perk small { color: var(--muted); font-size: 0.82rem; line-height: 1.4; }

.services-cta { text-align: center; margin-top: 36px; }
.btn-cta-services { padding: 16px 36px; font-size: 1rem; }

/* ===== Process ===== */
.process-section { padding: 84px 0; background: var(--bg-soft); }
.process-track { display: flex; align-items: center; gap: 24px; }
.process-penguin { flex-shrink: 0; }
.process-steps {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 5%;
  right: 5%;
  height: 2px;
  background-image: radial-gradient(circle, var(--blue) 2px, transparent 2px);
  background-size: 14px 2px;
  opacity: .4;
}
.process-steps li { display: flex; flex-direction: column; gap: 6px; text-align: center; align-items: center; }
.process-dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}
.process-steps strong { font-size: 0.9rem; color: var(--ink); }
.process-steps small { color: var(--muted); font-size: 0.78rem; }

/* ===== Projects ===== */
.projects-section { padding: 84px 0; }
.projects-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.projects-heading p { margin-top: 8px; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .18s ease, box-shadow .18s ease;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-card--link { display: block; text-decoration: none; color: inherit; }
.project-thumb {
  height: 260px;
  display: flex; align-items: center; justify-content: center;
}
.project-thumb-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
}
.grad-1 .project-thumb { background: linear-gradient(135deg, #2b2b2b, #4a2f1f); }
.grad-2 .project-thumb { background: linear-gradient(135deg, #4a7c59, #2d5a3d); }
.grad-3 .project-thumb { background: linear-gradient(135deg, #1a1a1a, #3a2a1a); }
.grad-4 .project-thumb { background: linear-gradient(135deg, #7a1f1f, #b3452f); }
.project-info { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 3px; }
.project-info strong { font-size: 0.95rem; color: var(--ink); }
.project-info small { color: var(--muted); font-size: 0.8rem; }
.project-info .tag {
  margin-top: 8px;
  display: inline-block;
  width: fit-content;
  background: var(--bg-soft);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ===== FAQ ===== */
.faq-section { padding: 84px 0; background: var(--bg-soft); }
.faq-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: center;
}
.faq-left { display: flex; align-items: center; justify-content: center; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 20px;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { transition: transform .2s ease; flex-shrink: 0; color: var(--muted); }
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-list details[open] summary { color: var(--blue); }
.faq-list p { padding-bottom: 16px; font-size: 0.92rem; }

/* ===== CTA final ===== */
.cta-final { background: var(--navy); padding: 60px 0; }
.cta-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-copy { flex: 1; min-width: 240px; }
.cta-copy h2 { color: #fff; }
.cta-copy p { color: rgba(255,255,255,0.72); margin-top: 8px; }
.cta-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.cta-chat-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
}

/* ===== Footer ===== */
.site-footer { background: var(--navy-2); color: rgba(255,255,255,0.7); padding: 56px 0 24px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { color: #fff; margin-bottom: 10px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.footer-thanks {
  display: flex; align-items: flex-end; gap: 10px; margin-top: 20px;
}
.footer-thanks-bubble {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px 12px 12px 4px;
  padding: 10px 14px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
}
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 0.88rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--blue); color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-ctas { justify-content: center; }
  .trust-badges { justify-content: center; }
  .hero-art { margin-top: 24px; min-height: auto; }
  .hero-penguin-art { max-width: 440px; }
  .why-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .why-penguin-art { max-width: 260px; }
  .why-copy { padding-left: 0; }
  .faq-inner { grid-template-columns: 1fr; }
  .faq-left { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-perks { flex-direction: column; }
  .perk { flex: 1 1 auto; }
  .process-track { flex-direction: column; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .trust-badges { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
  .hero-art { justify-content: flex-end; padding-right: 12px; }
  .hero-penguin-art { max-width: 250px; }
  .why-section { background: var(--bg-soft); padding: 40px 0; }
  .why-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: center;
    text-align: center;
    justify-items: center;
  }
  .why-art { display: none !important; }
  .why-copy { padding-bottom: 0; }
  .why-copy h2 { font-size: 1.2rem; }
  .why-copy p { font-size: 0.85rem; margin-top: 8px; }
  .hero-bubble { font-size: 0.82rem; padding: 10px 13px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 26px 22px; }
  .service-card p { max-width: 58%; }
  .service-illustration { width: 120px; height: 120px; }
  .service-card:hover .service-illustration { transform: scale(1.05); }
  .services-perks { padding: 20px 6px; }
  .perk { padding: 10px 16px; }
  .btn-cta-services { width: 100%; }
  .process-section { display: none; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .project-thumb { height: 160px; }
  .process-steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-inner { text-align: center; justify-content: center; }
  .cta-penguin-desktop { display: none; }
  .cta-penguin-mobile { display: block; width: 180px; }
  .footer-bottom { flex-direction: column; text-align: center; }

}

/* Mobile nav panel */
@media (max-width: 980px) {
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow);
    z-index: 99;
  }
  .main-nav.open a, .main-nav.open .nav-dropdown-btn { padding: 12px 4px; width: 100%; text-align: left; }
  .main-nav.open .nav-dropdown-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; padding-left: 12px; display: none; }
  .main-nav.open .nav-dropdown.open .nav-dropdown-menu { display: flex; }
}

/* ===== Penguin footprints — process steps ===== */
.fp { display: none; }
.dot-icon { display: block; }

@media (max-width: 600px) {
  .fp { display: block; }
  .dot-icon { display: none !important; }
  .process-dot {
    width: auto !important;
    height: auto !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
  .fp ellipse {
    fill: transparent;
    stroke: var(--blue);
    stroke-width: 2.5;
    transition: fill 0.45s ease;
  }
  .process-dot.fp-lit .fp ellipse { fill: var(--blue); }
}
