/* ==========================================================================
   Digital Miles — static stylesheet
   Plain, hand-written CSS (no framework) so every rule is readable/editable.
   ========================================================================== */

:root {
  --color-cream: #f5f4ee;
  --color-ink: #111111;
  --color-ink-soft: #16160f;
  --color-muted: #777172;
  --color-primary: #ef494d;
  --color-primary-soft: rgba(239, 73, 77, 0.08);

  --font-body: "Plus Jakarta Sans", sans-serif;
  --font-serif: "Instrument Serif", serif;

  --max-width: 1200px;
  --gutter: 40px;
}

/* ---------- Reset & base ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-cream);
  color: var(--color-ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

em, i {
  font-family: var(--font-serif);
  font-style: italic;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-cream);
}
::-webkit-scrollbar-thumb {
  background: #d8d5c8;
  border-radius: 10px;
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-muted);
}
.eyebrow--light {
  color: rgba(245, 244, 238, 0.7);
}
.eyebrow-line {
  width: 40px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 15.2px;
  font-weight: 600;
  transition: transform 0.2s ease;
}
.btn:hover {
  transform: scale(1.03);
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-cream);
}
.btn-outline-dark {
  border: 1px solid rgba(245, 244, 238, 0.25);
  color: var(--color-cream);
}
.btn-outline-dark:hover {
  background: var(--color-cream);
  color: var(--color-ink);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(245, 244, 238, 0.95);
  backdrop-filter: blur(6px);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.09);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img {
  height: 42px;
  width: auto;
}
.main-nav {
  display: none;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  position: relative;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14.7px;
  font-weight: 500;
  color: var(--color-muted);
  transition: color 0.2s ease;
}
.main-nav a:hover {
  color: var(--color-ink);
}
.main-nav a.active {
  color: var(--color-ink);
}
.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 43px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-primary);
}
.header-cta {
  display: none;
}
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--color-cream);
  padding: 8px 24px 24px;
}
.mobile-nav.is-open {
  display: flex;
}
.mobile-nav a {
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-muted);
}
.mobile-nav a.active {
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-ink);
}
.mobile-nav .btn {
  margin-top: 12px;
  justify-content: center;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
  }
  .header-cta {
    display: inline-flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* ==========================================================================
   Floating actions
   ========================================================================== */
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.floating-actions a {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.floating-actions a:hover {
  transform: scale(1.08);
}
.fab-primary {
  background: var(--color-primary);
  box-shadow: 0 10px 15px rgba(22, 22, 15, 0.3);
}
.fab-primary img {
  width: 24px;
  height: 24px;
}
.fab-whatsapp {
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 15px rgba(22, 22, 15, 0.3);
}
.fab-whatsapp img {
  position: absolute;
  width: 100px;
  height: 100px;
  max-width: none;
  left: -22px;
  top: -12px;
}

@media (min-width: 768px) {
  .floating-actions {
    right: 40px;
    bottom: 40px;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-cream);
}
.hero-glow-1,
.hero-glow-2 {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  background: rgba(239, 73, 77, 0.2);
}
.hero-glow-1 {
  right: -80px;
  top: 40px;
  width: 384px;
  height: 384px;
  opacity: 0.8;
  filter: blur(126px);
}
.hero-glow-2 {
  left: -128px;
  top: -12px;
  width: 270px;
  height: 720px;
  opacity: 0.7;
  filter: blur(128px);
}
.hero-grid {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hero-heading {
  font-size: 38px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-ink-soft);
  margin: 0;
}
.hero-paragraph {
  max-width: 510px;
  font-size: 17px;
  line-height: 1.62;
  color: var(--color-muted);
  margin: 0;
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-badge {
  position: absolute;
  left: -8px;
  top: -24px;
  z-index: 2;
  background: var(--color-muted);
  color: var(--color-cream);
  border-radius: 16px;
  padding: 16px 24px;
}
.hero-badge .value {
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}
.hero-badge .label {
  margin: 4px 0 0;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(245, 244, 238, 0.9);
}
.hero-image {
  width: 100%;
  max-width: 521px;
  border-radius: 24px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .hero-heading {
    font-size: 52px;
    line-height: 67px;
  }
  .hero-paragraph {
    font-size: 18.4px;
  }
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    padding: 80px 40px;
  }
  .hero-visual {
    justify-content: flex-end;
  }
}

/* ==========================================================================
   Stats bar
   ========================================================================== */
.stats {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 40px 0;
}
.stats .eyebrow {
  justify-content: center;
  margin-bottom: 32px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-radius: 25px;
  border: 3px solid rgba(239, 73, 77, 0.1);
  background: var(--color-primary-soft);
  box-shadow: 0 0 7px rgba(239, 73, 77, 0.2);
  overflow: hidden;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  padding: 32px 16px;
  border: 1px solid transparent;
  border-right-color: rgba(0, 0, 0, 0.1);
  border-bottom-color: rgba(0, 0, 0, 0.1);
}
.stat .value {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}
.stat .label {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary);
  margin: 0;
}
.stat .sub {
  font-size: 14px;
  font-weight: 300;
  color: var(--color-muted);
  margin: 0;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .stat .value {
    font-size: 48px;
  }
  .stat .label,
  .stat .sub {
    font-size: 16px;
  }
}

/* ==========================================================================
   Core problem section
   ========================================================================== */
.problem {
  background: var(--color-ink);
  padding: 80px 24px;
}
.problem-heading {
  max-width: 820px;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-cream);
  margin: 20px 0 0;
}
.problem-intro {
  max-width: 810px;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(245, 244, 238, 0.6);
  margin: 20px 0 0;
}
.problem-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.problem-card {
  border-radius: 25px;
  border: 0.5px solid rgba(245, 244, 238, 0.1);
  background: rgba(255, 255, 255, 0.06);
  padding: 32px;
}
.problem-card .icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.problem-card .icon-badge img {
  width: 20px;
  height: 20px;
}
.problem-card h3 {
  font-size: 18.4px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-cream);
  margin: 0 0 12px;
}
.problem-card p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(245, 244, 238, 0.85);
  margin: 0;
}

@media (min-width: 768px) {
  .problem {
    padding: 96px 40px;
  }
  .problem-heading {
    font-size: 52px;
  }
  .problem-intro {
    font-size: 16.8px;
  }
  .problem-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   Growth system (icon flow)
   ========================================================================== */
.growth {
  background: var(--color-primary-soft);
  padding: 64px 24px;
}
.growth .eyebrow {
  justify-content: center;
  margin-bottom: 16px;
}
.growth-heading {
  max-width: 690px;
  margin: 0 auto;
  text-align: center;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.growth-sub {
  max-width: 830px;
  margin: 16px auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-muted);
}
.growth-flow {
  position: relative;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 16px;
}
.growth-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.growth-stage .icon-circle {
  width: 93px;
  height: 89px;
  border-radius: 16px;
  border: 1px solid rgba(239, 73, 77, 0.2);
  background: var(--color-cream);
  box-shadow: 0 0 7px rgba(239, 73, 77, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.growth-stage .icon-circle img {
  width: 36px;
  height: 36px;
}
.growth-stage .stage-label {
  margin: 16px 0 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
}
.growth-stage .stage-body {
  max-width: 130px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-muted);
  margin: 0;
}

@media (min-width: 640px) {
  .growth-flow {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .growth-heading {
    font-size: 44px;
  }
  .growth-sub {
    font-size: 16.5px;
  }
  .growth-flow {
    grid-template-columns: repeat(6, 1fr);
  }
  .growth-flow::before {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    top: 44px;
    border-top: 1px dashed rgba(239, 73, 77, 0.4);
  }
}

/* ==========================================================================
   Services grid (dark)
   ========================================================================== */
.services {
  background: var(--color-ink);
  padding: 80px 24px;
}
.services-heading {
  max-width: 600px;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-cream);
  margin: 20px 0 0;
}
.services-intro {
  max-width: 600px;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(245, 244, 238, 0.7);
  margin: 16px 0 0;
}
.services-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.service-card {
  border-radius: 20px;
  transition: transform 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
}
.card-flip {
  display: block;
  position: relative;
  perspective: 1200px;
}
.card-face {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 20px;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
}
.card-face-front {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  border: 1px solid rgba(245, 244, 238, 0.15);
  background: rgba(245, 244, 238, 0.04);
  padding: 28px;
  transform: rotateY(0deg);
}
.card-face-back {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  transform: rotateY(180deg);
}
.card-back-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-back-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0) 35%, rgba(17, 17, 17, 0.9) 100%);
}
.card-back-title {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 20px;
  font-size: 18.4px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-cream);
}
.service-card:hover .card-face-front,
.service-card:focus-within .card-face-front {
  transform: rotateY(-180deg);
}
.service-card:hover .card-face-back,
.service-card:focus-within .card-face-back {
  transform: rotateY(0deg);
}
.service-card .icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.service-card .icon-badge img {
  width: 20px;
  height: 20px;
}
.service-card h3 {
  font-size: 18.4px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-cream);
  margin: 0 0 8px;
}
.service-card p {
  font-size: 14.4px;
  line-height: 1.62;
  color: rgba(245, 244, 238, 0.55);
  margin: 0;
}
.service-card .explore-btn {
  align-self: flex-start;
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  border: 1px solid rgba(245, 244, 238, 0.25);
  background: var(--color-cream);
  color: var(--color-ink);
  padding: 6px 14px;
  font-size: 13.6px;
  font-weight: 600;
  transition: transform 0.2s ease;
}
.service-card .explore-btn:hover {
  transform: scale(1.05);
}
.service-card .explore-btn img {
  width: 16px;
  height: 16px;
}

.svc-hub .service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 20px;
  border: 1px solid rgba(245, 244, 238, 0.15);
  background: rgba(245, 244, 238, 0.04);
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.svc-hub .service-card:hover {
  border-color: rgba(245, 244, 238, 0.3);
  background: rgba(245, 244, 238, 0.07);
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .services {
    padding: 96px 40px;
  }
  .services-heading {
    font-size: 52px;
  }
  .services-intro {
    font-size: 16.8px;
  }
}
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   How we work
   ========================================================================== */
.how-we-work {
  background: var(--color-cream);
  box-shadow: 0 0 4.5px rgba(0, 0, 0, 0.1);
  padding: 80px 24px;
}
.how-we-work-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}
.how-we-work-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.how-we-work-intro .eyebrow {
  justify-content: center;
}
.how-we-work-heading {
  max-width: 900px;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}
.how-we-work-sub {
  max-width: 580px;
  font-size: 16.8px;
  color: var(--color-muted);
  margin: 0;
}
.steps {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 16px;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.step .step-number {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 1px solid rgba(22, 22, 15, 0.15);
  background: var(--color-primary);
  color: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20.8px;
  font-weight: 700;
}
.step .step-label {
  max-width: 130px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 768px) {
  .how-we-work {
    padding: 96px 40px;
  }
  .how-we-work-heading {
    font-size: 52px;
  }
}
@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(5, 1fr);
  }
  .steps::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
  }
}

/* ==========================================================================
   Why choose us
   ========================================================================== */
.why-choose {
  background: var(--color-primary-soft);
  padding: 80px 24px;
}
.why-choose .eyebrow {
  justify-content: center;
  margin-bottom: 16px;
}
.why-choose-heading {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.why-choose-sub {
  max-width: 900px;
  margin: 16px auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-muted);
}
.why-choose-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
.why-choose-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.why-card {
  border-radius: 16px;
  border: 1px solid rgba(239, 73, 77, 0.15);
  background: var(--color-cream);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.25);
  padding: 24px;
}
.why-card-title {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--color-primary);
}
.why-card-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
}
.why-choose-image {
  order: -1;
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 393px;
  aspect-ratio: 393 / 473;
  border-radius: 25px;
  overflow: hidden;
}
.why-choose-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.why-choose-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .why-choose {
    padding: 96px 40px;
  }
  .why-choose-heading {
    font-size: 44px;
  }
  .why-choose-sub {
    font-size: 16.5px;
  }
}
@media (min-width: 1024px) {
  .why-choose-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .why-choose-image {
    order: 0;
  }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
  background: var(--color-cream);
  padding: 80px 24px;
}
.testimonials-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.testimonials-heading {
  font-size: 34px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}
.testimonials-sub {
  max-width: 580px;
  font-size: 16.8px;
  color: var(--color-muted);
  margin: 0;
}
.testimonial-card {
  border-radius: 24px;
  border: 1px solid rgba(22, 22, 15, 0.08);
  background: #ffffff;
  box-shadow: 0 10px 50px -20px rgba(22, 22, 15, 0.25);
  padding: 32px;
}
.testimonial-card .quote-icon {
  width: 40px;
  height: 40px;
}
.testimonial-quote {
  margin: 24px 0 0;
  max-width: 768px;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}
.testimonial-person {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-person img {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
}
.testimonial-person .name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
.testimonial-person .role {
  margin: 0;
  font-size: 14px;
  color: var(--color-muted);
}
.testimonial-controls {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.testimonial-dots {
  display: flex;
  gap: 8px;
}
.testimonial-dots button {
  height: 8px;
  width: 8px;
  border-radius: 999px;
  background: rgba(22, 22, 15, 0.2);
  transition: width 0.2s ease, background 0.2s ease;
}
.testimonial-dots button.active {
  width: 32px;
  background: var(--color-primary);
}
.testimonial-arrows {
  display: flex;
  gap: 8px;
}
.testimonial-arrows button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(22, 22, 15, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease;
}
.testimonial-arrows button:hover {
  border-color: rgba(22, 22, 15, 0.4);
}
.testimonial-arrows img {
  width: 20px;
  height: 20px;
}

@media (min-width: 768px) {
  .testimonials {
    padding: 96px 40px;
  }
  .testimonials-heading {
    font-size: 52px;
  }
  .testimonial-card {
    padding: 48px;
  }
}

/* ==========================================================================
   Portfolio (our work)
   ========================================================================== */
.portfolio {
  background: var(--color-ink);
  padding: 80px 24px;
}
.portfolio-heading {
  max-width: 520px;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-cream);
  margin: 20px 0 0;
}
.portfolio-intro {
  max-width: 998px;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(245, 244, 238, 0.7);
  margin: 16px 0 0;
}
.portfolio-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.portfolio-card {
  border-radius: 12.5px;
  overflow: hidden;
  background: rgba(245, 244, 238, 0.13);
  transition: transform 0.2s ease;
}
.portfolio-card:hover {
  transform: translateY(-4px);
}
.portfolio-card .thumb {
  aspect-ratio: 299 / 224;
  overflow: hidden;
  background: #eceae1;
}
.portfolio-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-card:hover .thumb img {
  transform: scale(1.05);
}
.portfolio-card .info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px;
}
.portfolio-card .tag {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-primary);
  margin: 0;
}
.portfolio-card .title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-cream);
  margin: 4px 0 0;
}
.portfolio-card .client {
  font-size: 12px;
  color: var(--color-cream);
  margin: 4px 0 0;
}
.portfolio-card .view-btn {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-card .view-btn img {
  width: 20px;
  height: 20px;
}
.portfolio-cta {
  margin-top: 32px;
}

@media (min-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .portfolio {
    padding: 96px 40px;
  }
  .portfolio-heading {
    font-size: 52px;
  }
  .portfolio-intro {
    font-size: 16.8px;
  }
}
@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   Trusted-by marquee
   ========================================================================== */
.trusted-by {
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 40px 0;
}
.trusted-by .eyebrow {
  justify-content: center;
}
.marquee-track-wrap {
  margin-top: 36px;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 64px;
  animation: marquee 30s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}
.marquee-track img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Certified with
   ========================================================================== */
.certified {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 56px 24px;
}
.certified .eyebrow {
  justify-content: center;
}
.certified-logos {
  max-width: var(--max-width);
  margin: 40px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 48px;
}
.certified-logos img {
  height: 36px;
  width: auto;
}

@media (min-width: 768px) {
  .certified {
    padding: 56px 40px;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-ink);
  color: var(--color-cream);
  padding: 64px 24px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.footer-logo {
  align-self: flex-start;
  height: 52px;
  width: auto;
}
.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.footer-about p {
  max-width: 320px;
  font-size: 15.2px;
  line-height: 1.62;
  color: rgba(245, 244, 238, 0.6);
  margin: 0 0 20px;
}
.footer-socials {
  display: flex;
  gap: 8px;
}
.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-socials a.bordered {
  border: 1px solid rgba(245, 244, 238, 0.2);
  transition: border-color 0.2s ease;
}
.footer-socials a.bordered:hover {
  border-color: rgba(245, 244, 238, 0.5);
}
.footer-socials img {
  width: 16px;
  height: 16px;
}
.footer-socials a.icon-only img {
  width: 40px;
  height: 40px;
}
.footer-heading {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(245, 244, 238, 0.5);
  margin: 0 0 16px;
}
.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  font-size: 15.2px;
  color: rgba(245, 244, 238, 0.7);
  transition: color 0.2s ease;
}
.footer-nav a:hover {
  color: var(--color-cream);
}
.footer-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.footer-services-grid .footer-nav a {
  display: block;
}
.footer-contact-strip {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 24px;
  min-height: 52px;
}
.ftc-light {
  background: var(--color-cream);
  color: var(--color-ink);
}
.ftc-red {
  background: #ef494d;
  color: var(--color-cream);
}
.ftc-badge {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ftc-badge-dark {
  background: #111111;
}
.ftc-badge-light {
  background: var(--color-cream);
}
.ftc-badge img {
  width: 15px;
  height: auto;
}
.ftc-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ftc-text b {
  font-size: 14px;
  font-weight: 500;
}
.ftc-text small {
  font-size: 12px;
  font-weight: 300;
  opacity: 0.75;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(245, 244, 238, 0.15);
  padding-top: 32px;
  text-align: center;
}
.footer-bottom p {
  margin: 0;
  font-size: 13.6px;
  color: rgba(245, 244, 238, 0.5);
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 13.6px;
  color: rgba(245, 244, 238, 0.5);
}
.footer-legal a:hover {
  color: rgba(245, 244, 238, 0.8);
}

@media (min-width: 640px) {
  .footer-contact-strip {
    flex-direction: row;
  }
  .footer-contact-item {
    flex: 1;
  }
}

@media (min-width: 768px) {
  .site-footer {
    padding: 80px 40px;
  }
  .footer-columns {
    grid-template-columns: 1fr 1fr;
  }
  .footer-services-col {
    grid-column: 1 / -1;
  }
  .footer-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .footer-columns {
    grid-template-columns: 1fr 0.75fr 1.6fr;
  }
  .footer-services-col {
    grid-column: auto;
  }
}

/* ==========================================================================
   Services nav dropdown (desktop hover/click + mobile accordion)
   ========================================================================== */
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop-link {
  padding: 8px 6px 8px 16px;
  border-radius: 999px 0 0 999px;
  font-size: 14.7px;
  font-weight: 500;
  color: var(--color-muted);
  transition: color 0.2s ease;
}
.nav-drop-link:hover, .nav-drop-link.active { color: var(--color-ink); }
.nav-drop-caret {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px 8px 2px;
  border-radius: 0 999px 999px 0;
  color: var(--color-muted);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}
.nav-drop:hover .nav-drop-caret, .nav-drop.is-open .nav-drop-caret { color: var(--color-ink); }
.nav-drop.is-open .nav-drop-caret { transform: rotate(180deg); }

.nav-drop-panel {
  /* Starts flush at top:100% (no dead gap under "Services") with the visual
     spacing added as padding instead — that padding is still part of this
     element, so the pointer stays "inside" it while crossing from the
     trigger down to the menu, instead of hover dropping in a no-man's-land
     between the two and closing the panel before a link can be clicked. */
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(640px, 82vw);
  padding-top: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s;
  z-index: 60;
}
.nav-drop:hover .nav-drop-panel,
.nav-drop.is-open .nav-drop-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-drop-panel-inner {
  background: var(--color-ink);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.nav-drop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.nav-drop-grid a {
  padding: 14px 16px;
  font-size: 13.6px;
  line-height: 1.4;
  color: rgba(245, 244, 238, 0.85);
  border-right: 1px solid rgba(245, 244, 238, 0.1);
  border-bottom: 1px solid rgba(245, 244, 238, 0.1);
  transition: color 0.2s ease, background 0.2s ease;
  border-radius: 10px;
}
.nav-drop-grid a:hover { color: #fff; background: rgba(245, 244, 238, 0.06); }
.nav-drop-grid a:nth-child(3n) { border-right: none; }
.nav-drop-grid a:nth-last-child(-n+3) { border-bottom: none; }

/* Mobile services accordion (inside the hamburger menu) */
.mnav-drop-row { display: flex; align-items: center; justify-content: space-between; border-radius: 8px; }
.mnav-drop-row:has(.mnav-drop-link.active) { background: rgba(0, 0, 0, 0.05); }
.mnav-drop-link { flex: 1; padding: 12px; font-size: 15px; font-weight: 500; color: var(--color-muted); }
.mnav-drop-link.active { color: var(--color-ink); }
.mnav-drop-caret { padding: 12px 14px; color: var(--color-muted); transition: transform 0.2s ease; }
.mnav-drop.is-open .mnav-drop-caret { transform: rotate(180deg); }
.mnav-drop-panel {
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: max-height 0.25s ease;
}
.mnav-drop.is-open .mnav-drop-panel { max-height: 480px; }
.mnav-drop-panel a {
  padding: 10px 12px 10px 24px;
  font-size: 14px;
  color: var(--color-muted);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.mnav-drop-panel a:hover { color: var(--color-ink); }
.mnav-drop-all { color: var(--color-primary) !important; font-weight: 600; border-bottom: none !important; }

@media (max-width: 640px) {
  .nav-drop-grid { grid-template-columns: 1fr; }
  .nav-drop-grid a { border-right: none; }
  .nav-drop-grid a:nth-last-child(-n+3) { border-bottom: 1px solid rgba(245, 244, 238, 0.1); }
  .nav-drop-grid a:last-child { border-bottom: none; }
}
