/* ============================================================
   GEOCADDER THEME – MAIN STYLESHEET v1.2
   Design: Clean light professional
   Fonts: Plus Jakarta Sans (all text)
   Brand colours: #38b6ff (blue) · #ff3333 (red)
   ============================================================ */

/* ─── CSS Variables ─────────────────────────────────────────── */
:root {
  /* Neutrals */
  --c-bg:         #ffffff;
  --c-bg-2:       #ffffff;
  --c-bg-3:       #f8f9fb;
  --c-surface:    #ffffff;
  --c-surface-2:  #ffffff;
  --c-border:     #e3e8ef;
  --c-border-2:   #c8d1dc;

  /* Brand colours */
  --c-blue:       #38b6ff;   /* primary – links, CTAs, icons */
  --c-blue-dark:  #1a9fe8;   /* hover state */
  --c-blue-light: #e8f6ff;   /* tint background */
  --c-red:        #ff3333;   /* secondary – badges, key CTAs */
  --c-red-dark:   #e02020;   /* red hover */
  --c-red-light:  #fff0f0;   /* red tint background */

  /* Aliases – keeps existing CSS working without rewriting every rule */
  --c-navy:       #1a2535;
  --c-teal:       #38b6ff;
  --c-teal-light: #e8f6ff;
  --c-teal-mid:   #1a9fe8;

  --c-text:       #1a2535;
  --c-text-2:     #4a5870;
  --c-text-3:     #8596ab;
  --c-white:      #ffffff;

  /* Typography – editorial, easy to read */
  --font-head:    'Plus Jakarta Sans', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-ui:      'Plus Jakarta Sans', sans-serif;

  /* Type scale – restrained, readable */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.0625rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  1.875rem;
  --text-3xl:  2.25rem;
  --text-4xl:  2.75rem;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 5.5rem;

  /* Radii */
  --r-xs:  4px;
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;

  /* Shadows – subtle, on white */
  --shadow-xs:  0 1px 3px rgba(26,46,68,.08);
  --shadow-sm:  0 2px 8px rgba(26,46,68,.1);
  --shadow-md:  0 6px 24px rgba(26,46,68,.12);
  --shadow-lg:  0 16px 48px rgba(26,46,68,.14);

  /* Transitions */
  --t-fast: 140ms ease;
  --t-med:  240ms ease;
  --t-slow: 400ms cubic-bezier(.4,0,.2,1);

  /* Layout */
  --container-max: 1180px;
  --header-h: 68px;
}

/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-teal); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-navy); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }
::selection { background: var(--c-teal); color: #fff; }

/* ─── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-navy);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl)); }
h2 { font-size: clamp(var(--text-xl), 3vw, var(--text-3xl)); }
h3 { font-size: clamp(var(--text-lg), 2vw, var(--text-xl)); }
h4 { font-size: var(--text-base); }

h1 em, h2 em, h3 em { font-style: normal; color: var(--c-teal); }

p {
  font-size: var(--text-md);
  color: var(--c-text-2);
  line-height: 1.75;
  margin-bottom: var(--space-sm);
}
p:last-child { margin-bottom: 0; }

/* ─── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* ─── Sections ──────────────────────────────────────────────── */
.section { padding: var(--space-2xl) 0; }

.section-label {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 0.6rem;
}

.section-header { max-width: 580px; margin-bottom: var(--space-xl); }
.section-header.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-subtitle { font-size: var(--text-md); color: var(--c-text-2); margin-top: 0.6rem; }
.section-cta { text-align: center; margin-top: var(--space-xl); }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--r-sm);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--t-med);
  white-space: nowrap;
}
.btn .icon { flex-shrink: 0; width: 15px; height: 15px; }
.btn.btn-lg { padding: 0.8rem 1.8rem; font-size: var(--text-base); }

.btn-primary {
  background: var(--c-red);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255,51,51,.2);
}
.btn-primary:hover {
  background: var(--c-red-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,51,51,.28);
}

.btn-ghost {
  background: transparent;
  color: var(--c-navy);
  border: 1.5px solid var(--c-border-2);
}
.btn-ghost:hover {
  border-color: var(--c-teal);
  color: var(--c-teal);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--c-blue);
  border: 1.5px solid var(--c-blue);
}
.btn-outline:hover {
  background: var(--c-blue);
  color: #fff;
  transform: translateY(-1px);
}

/* ─── Icons ─────────────────────────────────────────────────── */
.icon { display: inline-flex; align-items: center; justify-content: center; }
.icon svg { width: 1em; height: 1em; }
.icon svg[fill="none"] { fill: none; stroke: currentColor; }

/* ─── Tags & Badges ─────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--c-blue-light);
  color: var(--c-blue);
  border: 1px solid rgba(56,182,255,.25);
  border-radius: var(--r-xs);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.tech-badge {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  background: var(--c-red);
  color: #fff;
  border-radius: var(--r-xs);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.tech-badge--large { font-size: var(--text-sm); padding: 0.3rem 0.9rem; }

/* ─── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow var(--t-med);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.site-logo img { height: 44px; width: auto; object-fit: contain; }

.primary-nav { margin-left: auto; }
.nav-menu { display: flex; gap: 0.1rem; }
.nav-menu a {
  padding: 0.45rem 0.8rem;
  border-radius: var(--r-sm);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-text-2);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a {
  color: var(--c-navy);
  background: var(--c-bg-2);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: var(--space-xs);
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #ff3333;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255,51,51,.25);
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
  background: rgba(255,51,51,.05);
}
.btn-whatsapp:hover { background: rgba(255,51,51,.1); color: #ff3333; }
.btn-whatsapp .icon { width: 15px; height: 15px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
  margin-left: var(--space-xs);
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--c-navy);
  border-radius: 2px;
  transition: all var(--t-med);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
  background: var(--c-bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 65% 45%, rgba(56,182,255,.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 70%, rgba(26,46,68,.04) 0%, transparent 60%);
}

.hero-map-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56,182,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,182,255,.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 70% 80% at 60% 40%, black 20%, transparent 75%);
}

.hero-particles { position: absolute; inset: 0; pointer-events: none; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-2xl);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  background: var(--c-red-light);
  border: 1px solid rgba(56,182,255,.3);
  border-radius: 100px;
  color: var(--c-red);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
}
.hero-badge .icon { width: 12px; height: 12px; }

.hero-title {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-sm);
}
.hero-title .line { display: block; }

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--c-text-2);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
  font-family: var(--font-ui);
  font-weight: 400;
}
.hero-subtitle em { font-style: normal; color: var(--c-navy); font-weight: 600; }

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.hero-trust { display: flex; gap: var(--space-lg); flex-wrap: wrap; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--c-text-2);
}
.trust-item .icon { color: var(--c-teal); width: 14px; height: 14px; }
.trust-item strong { color: var(--c-navy); font-weight: 700; }

/* Map Mockup */
.hero-visual { position: relative; }
.map-mockup {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: heroFloat 7s ease-in-out infinite;
}
@keyframes heroFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.map-chrome {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.6rem 0.9rem;
  background: #f0f4f8;
  border-bottom: 1px solid var(--c-border);
}
.map-chrome span { width: 9px; height: 9px; border-radius: 50%; }
.map-chrome span:nth-child(1) { background: #ff5f57; }
.map-chrome span:nth-child(2) { background: #febc2e; }
.map-chrome span:nth-child(3) { background: #28c840; }
.map-preview img { width: 100%; height: auto; display: block; }

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 0.4rem;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--c-text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.scroll-arrow {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--c-teal), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: scaleY(1); opacity: 1; }
  50%      { transform: scaleY(.6); opacity: .5; }
}

/* ─── PROOF STRIP ────────────────────────────────────────────── */
.proof-strip {
  background: #ffffff;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: var(--space-md) 0;
}
.proof-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}
.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  opacity: .75;
  transition: opacity var(--t-fast);
}
.proof-item:hover { opacity: 1; }
.proof-item img { height: 38px; width: auto; }
.proof-label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-3);
}
.proof-stat strong {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--c-red);
  letter-spacing: -0.02em;
}
.proof-stat span { font-family: var(--font-ui); font-size: var(--text-xs); color: var(--c-text-2); }

/* ─── SERVICES GRID ──────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-sm);
}

.service-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--space-md);
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
  opacity: 0;
  transform: translateY(16px);
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .45s ease, transform .45s ease, border-color var(--t-med), box-shadow var(--t-med);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-teal);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 44px; height: 44px;
  background: var(--c-blue-light);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-blue);
  margin-bottom: var(--space-sm);
}
.service-icon .icon svg { width: 22px; height: 22px; }

.service-title {
  font-size: var(--text-base);
  margin-bottom: 0.25rem;
  font-family: var(--font-head);
}
.service-tech {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--c-teal);
  margin-bottom: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.service-desc {
  font-size: var(--text-sm);
  color: var(--c-text-2);
  margin-bottom: var(--space-sm);
  line-height: 1.65;
  font-family: var(--font-body);
}
.service-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }

/* ─── HOW IT WORKS ───────────────────────────────────────────── */
.how-it-works { background: #ffffff; border-top: 3px solid var(--c-blue); }

.steps-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: var(--space-xl);
}
.steps-flow::before {
  content: '';
  position: absolute;
  top: 26px;
  left: calc(12.5% + 18px);
  right: calc(12.5% + 18px);
  height: 1px;
  background: var(--c-border-2);
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--space-sm);
}

.step-number {
  width: 52px; height: 52px;
  background: var(--c-white);
  border: 2px solid var(--c-blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--c-blue);
  margin-bottom: var(--space-sm);
  position: relative; z-index: 1;
  transition: background var(--t-med), color var(--t-med);
}
.step-item:hover .step-number { background: var(--c-blue); color: #fff; }

.step-content h3 {
  font-size: var(--text-base);
  margin-bottom: 0.3rem;
  font-family: var(--font-head);
}
.step-content p { font-size: var(--text-sm); color: var(--c-text-2); font-family: var(--font-body); }
.step-icon { color: var(--c-teal); margin-bottom: 0.4rem; }
.step-icon .icon svg { width: 18px; height: 18px; }

/* ─── PORTFOLIO GRID ─────────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-sm);
}
.portfolio-grid--full { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.portfolio-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.portfolio-card-link { display: block; color: inherit; }
.portfolio-card-link:hover { color: inherit; }

.portfolio-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--c-bg-3);
}
.portfolio-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.portfolio-card:hover .portfolio-card-img img { transform: scale(1.04); }

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,37,53,.86);
  display: flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: var(--text-sm);
  color: #fff;
  opacity: 0;
  transition: opacity var(--t-med);
}
.portfolio-card:hover .portfolio-card-overlay { opacity: 1; }
.portfolio-card-overlay .icon { width: 16px; height: 16px; }

.portfolio-card-body { padding: var(--space-sm) var(--space-md); }
.portfolio-card-body h3 {
  font-size: var(--text-base);
  margin-bottom: 0.3rem;
  font-family: var(--font-head);
}
.portfolio-card-body .tech-badge { margin-bottom: 0.5rem; }
.portfolio-card-body p {
  font-size: var(--text-sm);
  color: var(--c-text-2);
  margin: 0;
  line-height: 1.55;
}

/* ─── PORTFOLIO FILTERS ──────────────────────────────────────── */
.portfolio-filters {
  display: flex; gap: 0.4rem; flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}
.filter-btn {
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-text-2);
  border: 1px solid var(--c-border);
  background: transparent;
  transition: all var(--t-fast);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--c-red);
  color: #fff;
  border-color: var(--c-red);
}

/* ─── WHY ME ─────────────────────────────────────────────────── */
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.why-list {
  margin: var(--space-sm) 0 var(--space-md);
  display: flex; flex-direction: column; gap: 0.55rem;
}
.why-list li {
  display: flex; align-items: flex-start; gap: 0.55rem;
  font-size: var(--text-sm);
  color: var(--c-text-2);
  font-family: var(--font-body);
}
.why-list .icon { color: var(--c-teal); width: 14px; height: 14px; flex-shrink: 0; margin-top: 0.25rem; }

.why-visual { display: flex; flex-direction: column; gap: var(--space-sm); }

.rating-card {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--space-md);
}
.rating-platform img { height: 32px; width: auto; margin-bottom: var(--space-xs); }
.rating-stars { display: flex; gap: 0.15rem; color: #f59e0b; margin-bottom: 0.6rem; }
.rating-stars .icon { width: 14px; height: 14px; }
.rating-card blockquote {
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--c-text-2);
  margin-bottom: 0.4rem;
  border-left: 3px solid var(--c-teal);
  padding-left: 0.75rem;
  line-height: 1.65;
  font-family: var(--font-body);
}
.rating-card cite {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--c-text-3);
  font-style: normal;
}

/* ─── BLOG GRID ──────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); }

.blog-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.blog-card-img-link { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--c-bg-3); }
.blog-card-img-link img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.blog-card:hover .blog-card-img-link img { transform: scale(1.04); }

.blog-card-body { padding: var(--space-sm) var(--space-md); }
.blog-meta {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--c-text-3);
  margin-bottom: 0.3rem;
  display: flex; gap: 0.7rem; flex-wrap: wrap;
}
.blog-card-body h2, .blog-card-body h3 {
  font-size: var(--text-base);
  margin-bottom: 0.4rem;
  font-family: var(--font-head);
  line-height: 1.3;
}
.blog-card-body h2 a, .blog-card-body h3 a { color: var(--c-navy); transition: color var(--t-fast); }
.blog-card-body h2 a:hover, .blog-card-body h3 a:hover { color: var(--c-teal); }
.blog-card-body p {
  font-size: var(--text-sm);
  color: var(--c-text-2);
  margin-bottom: var(--space-sm);
  line-height: 1.65;
}
.read-more {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-teal);
}
.read-more:hover { color: var(--c-navy); }
.read-more .icon { width: 13px; height: 13px; }

/* Blog Archive */
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: var(--space-xl); align-items: start; }
.blog-grid--main { grid-template-columns: 1fr; }
.blog-card--large { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.blog-card--large .blog-card-img-link { aspect-ratio: auto; height: 100%; }
.blog-card--large .blog-card-img-link img { height: 100%; }
.blog-card--large .blog-card-body { padding: var(--space-lg); display: flex; flex-direction: column; justify-content: center; }
.blog-card--large .blog-title { font-size: var(--text-xl); }

.blog-sidebar {
  display: flex; flex-direction: column; gap: var(--space-sm);
  position: sticky; top: calc(var(--header-h) + 1.5rem);
}
.sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--space-md);
}
.widget-title {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--c-text-3);
  margin-bottom: 0.7rem;
}
.about-widget img { margin-bottom: var(--space-xs); }
.about-widget p { font-size: var(--text-sm); margin-bottom: var(--space-sm); }

.widget-service-list li a {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.3rem 0;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--c-text-2);
  border-bottom: 1px solid var(--c-border);
  transition: color var(--t-fast);
}
.widget-service-list li a:hover { color: var(--c-teal); }
.widget-service-list .icon { width: 11px; height: 11px; color: var(--c-teal); }

.platforms-widget { display: flex; flex-direction: column; gap: 0.5rem; }
.platform-badge-link img { height: 34px; width: auto; }
.sidebar-social { display: flex; gap: 0.4rem; flex-wrap: wrap; }

/* ─── CONTACT SECTION ────────────────────────────────────────── */
.contact-section { background: #ffffff; border-top: 3px solid var(--c-red); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-direct { display: flex; flex-direction: column; gap: 0.6rem; margin-top: var(--space-md); }
.direct-link {
  display: flex; align-items: center; gap: var(--space-sm);
  padding: 0.85rem var(--space-sm);
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  color: var(--c-text);
  transition: all var(--t-med);
  box-shadow: var(--shadow-xs);
}
.direct-link:hover { border-color: var(--c-teal); box-shadow: var(--shadow-sm); transform: translateX(3px); color: var(--c-navy); }
.direct-link .icon { width: 20px; height: 20px; color: var(--c-teal); flex-shrink: 0; }
.direct-link.whatsapp .icon { color: #ff3333; }
.direct-link span { font-family: var(--font-ui); font-size: var(--text-xs); color: var(--c-text-3); display: block; }
.direct-link strong { font-family: var(--font-ui); font-size: var(--text-sm); display: block; }

/* Contact Form */
.contact-form-wrap {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}
.form-title { font-size: var(--text-lg); margin-bottom: 0.2rem; }
.form-subtitle {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--c-text-3);
  margin-bottom: var(--space-md);
}

.form-row { display: flex; gap: var(--space-sm); }
.form-row.two-col > * { flex: 1; }

.form-group { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.75rem; }
.form-group label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--c-navy);
  letter-spacing: 0.03em;
}
.form-group label span { color: var(--c-teal); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.6rem 0.9rem;
  background: #f8f9fb;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  color: var(--c-navy);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--c-text-3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-teal);
  box-shadow: 0 0 0 3px rgba(56,182,255,.12);
  background: var(--c-white);
}
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 110px; }

.form-actions { display: flex; flex-direction: column; gap: var(--space-sm); margin-top: var(--space-sm); }
.form-alt-contact {
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--c-text-3);
}
.alt-link {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--c-text-2);
  transition: color var(--t-fast);
}
.alt-link:hover { color: var(--c-teal); }
.alt-link .icon { width: 13px; height: 13px; }
.whatsapp-link { color: #ff3333 !important; }
.whatsapp-link .icon { color: #ff3333 !important; fill: #ff3333 !important; }
.whatsapp-link:hover { color: #e02020 !important; }
.whatsapp-link:hover .icon { color: #e02020 !important; fill: #e02020 !important; }

.form-response {
  padding: 0.6rem 0.9rem;
  border-radius: var(--r-sm);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  display: none;
}
.form-response.success { display: block; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.form-response.error   { display: block; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* ─── PAGE HERO ──────────────────────────────────────────────── */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 3.5rem) 0 3.5rem;
  background: #ffffff;
  border-bottom: 1px solid var(--c-border);
}
.page-hero-bg { display: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-content { max-width: 640px; }
.page-hero-content h1 { margin-bottom: 0.6rem; }
.page-hero-content p { font-size: var(--text-md); }

/* ─── CTA BANNER ─────────────────────────────────────────────── */
.page-cta-banner {
  background: var(--c-navy);
  padding: var(--space-xl) 0;
}
.page-cta-banner * { color: #fff; }
.page-cta-banner p { color: rgba(255,255,255,.75); }
.cta-banner-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: var(--space-xl); flex-wrap: wrap;
}
.cta-banner-inner h2 { font-size: var(--text-2xl); color: #fff; }
.cta-banner-actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; flex-shrink: 0; }
.page-cta-banner .btn-primary { background: var(--c-red); }
.page-cta-banner .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.page-cta-banner .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ─── SERVICES DETAIL ────────────────────────────────────────── */
.services-nav {
  display: flex; gap: 0.35rem; flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--c-border);
}
.svc-nav-item {
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-text-2);
  border: 1px solid var(--c-border);
  transition: all var(--t-fast);
}
.svc-nav-item:hover, .svc-nav-item.active {
  background: var(--c-blue); color: #fff; border-color: var(--c-blue);
}

.service-section { padding: var(--space-2xl) 0; }
.service-section + .service-section { border-top: 1px solid var(--c-border); }
.service-section.alt { background: #ffffff; border-left: 4px solid var(--c-blue); padding-left: calc(var(--space-md)); }

.service-section-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl); align-items: start;
}

.service-icon-lg {
  width: 56px; height: 56px;
  background: var(--c-blue-light);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-blue);
  margin-bottom: var(--space-sm);
}
.service-icon-lg .icon svg { width: 28px; height: 28px; }

.service-section-content h2 { font-size: var(--text-2xl); margin-bottom: var(--space-xs); }
.service-lead { font-size: var(--text-md); color: var(--c-text-2); margin-bottom: var(--space-md); }

.service-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: var(--space-md);
}
.feature-item {
  display: flex; align-items: flex-start; gap: 0.45rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--c-text-2);
}
.feature-item .icon { color: var(--c-teal); width: 13px; height: 13px; flex-shrink: 0; margin-top: 0.25rem; }

.service-section-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.service-platforms-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-sm); margin-bottom: var(--space-sm); }
.platform-thumb { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--c-border); }
.platform-thumb img { width: 100%; height: auto; display: block; }
.platform-thumb span {
  display: block; padding: 0.3rem 0.5rem;
  background: #ffffff;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--c-blue);
  text-align: center;
}
.service-cms-support .cms-label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--c-text-3);
  margin-bottom: 0.4rem;
}

.process-diagram {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--space-md);
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  box-shadow: var(--shadow-xs);
}
.process-step {
  background: var(--c-blue-light);
  border: 1px solid rgba(56,182,255,.2);
  border-radius: var(--r-md);
  padding: 0.65rem 1.2rem;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--c-navy);
  width: 100%; text-align: center;
}
.process-arrow { color: var(--c-teal); font-size: 1.2rem; }

.format-grid {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  justify-content: center; padding: var(--space-md);
  background: #ffffff; border-radius: var(--r-lg);
  border: 1px solid var(--c-border); box-shadow: var(--shadow-xs);
}
.format-badge {
  padding: 0.35rem 0.8rem;
  background: var(--c-blue-light);
  border: 1px solid rgba(56,182,255,.25);
  border-radius: var(--r-sm);
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--c-blue);
}

.crs-diagram {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-sm); padding: var(--space-xl);
  background: #ffffff; border-radius: var(--r-lg);
  border: 1px solid var(--c-border); flex-wrap: wrap;
  box-shadow: var(--shadow-xs);
}
.crs-item {
  padding: 0.6rem 1.1rem;
  background: var(--c-teal-light);
  border: 1px solid rgba(56,182,255,.3);
  border-radius: var(--r-md);
  font-family: var(--font-head);
  font-weight: 700; color: var(--c-teal);
  font-size: var(--text-sm);
}
.crs-arrows { font-size: 1.3rem; color: var(--c-text-3); }

/* ─── SINGLE PORTFOLIO ───────────────────────────────────────── */
.project-hero {
  padding: calc(var(--header-h) + 3rem) 0 3rem;
  background: #ffffff;
  border-bottom: 1px solid var(--c-border);
}
.project-hero-inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-xl);
  align-items: start;
  margin-top: var(--space-md);
}

.breadcrumb {
  display: flex; align-items: center; gap: 0.3rem;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--c-text-3);
  margin-bottom: var(--space-sm);
}
.breadcrumb a { color: var(--c-text-3); }
.breadcrumb a:hover { color: var(--c-teal); }

.project-hero h1 { margin-bottom: 0.5rem; }
.project-description { margin: var(--space-sm) 0 var(--space-md); font-size: var(--text-md); line-height: 1.75; }

.project-main-img { width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--c-border); box-shadow: var(--shadow-sm); }
.img-toggle-bar { display: flex; gap: 0.4rem; margin-top: 0.6rem; }
.img-toggle {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.35rem 0.8rem; border-radius: 100px;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--c-text-2);
  border: 1px solid var(--c-border);
  background: var(--c-white);
  transition: all var(--t-fast);
}
.img-toggle.active { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }
.img-toggle .icon { width: 12px; height: 12px; }

.project-meta-section {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  padding: var(--space-lg) 0;
}
.project-meta-grid { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.meta-item { display: flex; align-items: flex-start; gap: 0.7rem; flex: 1; min-width: 140px; }
.meta-icon {
  width: 34px; height: 34px;
  background: var(--c-blue-light);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-blue); flex-shrink: 0;
}
.meta-icon .icon svg { width: 15px; height: 15px; }
.meta-label {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--c-text-3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.1rem;
}
.meta-item strong { font-family: var(--font-ui); font-size: var(--text-sm); color: var(--c-navy); font-weight: 600; }
.meta-item a { color: var(--c-teal); }

.project-navigation { padding: var(--space-md) 0; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.project-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.project-nav-link { display: flex; flex-direction: column; gap: 0.15rem; }
.project-nav-link .nav-label { font-family: var(--font-ui); font-size: var(--text-xs); color: var(--c-text-3); letter-spacing: 0.05em; text-transform: uppercase; }
.project-nav-link .nav-title { font-family: var(--font-ui); font-size: var(--text-sm); font-weight: 700; color: var(--c-text); transition: color var(--t-fast); }
.project-nav-link:hover .nav-title { color: var(--c-teal); }
.project-nav-all {
  padding: 0.35rem 1rem;
  border: 1px solid var(--c-border);
  border-radius: 100px;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--c-text-2);
  font-weight: 600;
  transition: all var(--t-fast);
  background: var(--c-white);
}
.project-nav-all:hover { border-color: var(--c-teal); color: var(--c-teal); }

.project-cta { background: #ffffff; text-align: center; border-top: 1px solid var(--c-border); }
.project-cta-inner { display: flex; justify-content: center; }
.project-cta-content { max-width: 560px; }
.project-cta-content h2 { margin-bottom: 0.5rem; }
.project-cta-content p { margin-bottom: var(--space-md); }
.cta-contact-options { display: flex; gap: 0.7rem; flex-wrap: wrap; justify-content: center; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--c-navy);
  padding-top: var(--space-2xl);
}
.site-footer * { color: rgba(255,255,255,.85); }
.site-footer h4 { color: rgba(255,255,255,.5); }
.site-footer a:hover { color: #fff; }

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-tagline { font-size: var(--text-sm); color: rgba(255,255,255,.55); margin-bottom: var(--space-md); }
.footer-freelance-badges { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.badge-link img { height: 32px; width: auto; opacity: .65; filter: brightness(0) invert(1); transition: opacity var(--t-fast); }
.badge-link:hover img { opacity: .9; }

.footer-nav-group h4 {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}
.footer-nav-group li { margin-bottom: 0.25rem; }
.footer-nav-group a { font-family: var(--font-ui); font-size: var(--text-sm); color: rgba(255,255,255,.65); }
.footer-nav-group a:hover { color: #fff; }

.footer-contact-group h4 {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}
.footer-email, .footer-whatsapp {
  display: flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.65);
  margin-bottom: 0.4rem;
  transition: color var(--t-fast);
}
.footer-email:hover, .footer-whatsapp:hover { color: #fff; }
.footer-email .icon, .footer-whatsapp .icon { width: 14px; height: 14px; }

.footer-social { display: flex; gap: 0.35rem; flex-wrap: wrap; margin-top: var(--space-sm); }
.social-icon-link {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-sm);
  color: rgba(255,255,255,.65);
  transition: all var(--t-fast);
}
.social-icon-link:hover { background: var(--c-blue); border-color: var(--c-blue); color: #fff; }
.social-icon-link .icon svg { width: 14px; height: 14px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: var(--space-sm) 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-sm);
}
.footer-bottom p { font-family: var(--font-ui); font-size: var(--text-xs); color: rgba(255,255,255,.35); margin: 0; }
.footer-seo-tags { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.footer-seo-tags span { font-family: var(--font-ui); font-size: var(--text-xs); color: rgba(255,255,255,.3); }

/* ─── FLOATING WHATSAPP ──────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 1.8rem; right: 1.8rem;
  width: 52px; height: 52px;
  background: var(--c-red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 3px 16px rgba(255,51,51,.35);
  z-index: 1001;
  /* bottom is updated via JS when sticky bar is visible */
  transition: transform var(--t-med), box-shadow var(--t-med), bottom var(--t-med);
}
/* Push WhatsApp up when sticky bar is visible */
.sticky-bar-active .whatsapp-float {
  bottom: calc(var(--sticky-bar-h, 60px) + 1rem);
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 5px 24px rgba(255,51,51,.4); color: #fff; }
.whatsapp-float .icon { width: 24px; height: 24px; }
.whatsapp-tooltip {
  position: absolute; right: 62px;
  background: var(--c-navy); color: #fff;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-sm);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0; transform: translateX(4px);
  transition: all var(--t-fast);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

/* ─── PAGINATION ─────────────────────────────────────────────── */
.pagination { margin-top: var(--space-xl); display: flex; justify-content: center; }
.pagination ul { display: flex; gap: 0.3rem; }
.pagination li a, .pagination li span {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--c-text-2);
  background: var(--c-white);
  transition: all var(--t-fast);
}
.pagination li .current,
.pagination li a:hover { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }

/* ─── POST CONTENT ───────────────────────────────────────────── */
.post-hero-img { margin-bottom: var(--space-lg); border-radius: var(--r-lg); overflow: hidden; }
.post-header { margin-bottom: var(--space-lg); }
.post-content { font-size: var(--text-md); line-height: 1.8; color: var(--c-text-2); }
.post-content h2, .post-content h3 { color: var(--c-navy); margin: var(--space-lg) 0 var(--space-xs); }
.post-content p { margin-bottom: var(--space-sm); }
.post-content img { border-radius: var(--r-md); margin: var(--space-sm) 0; }
.post-content a { color: var(--c-teal); text-decoration: underline; }
.post-content ul, .post-content ol { padding-left: 1.4rem; margin-bottom: var(--space-sm); }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { color: var(--c-text-2); margin-bottom: 0.25rem; }
.post-content code { background: var(--c-bg-2); padding: 0.1rem 0.35rem; border-radius: 3px; font-size: 0.85em; color: var(--c-teal); font-family: monospace; }
.post-content pre { background: var(--c-bg-2); padding: var(--space-sm); border-radius: var(--r-md); overflow-x: auto; margin-bottom: var(--space-sm); }
.single-post { max-width: 720px; }

/* ─── ANIMATE ON SCROLL ──────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner, .why-inner, .contact-inner { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .hero-visual { order: -1; max-width: 480px; margin: 0 auto; }
  .steps-flow { grid-template-columns: repeat(2,1fr); }
  .steps-flow::before { display: none; }
  .blog-grid { grid-template-columns: repeat(2,1fr); }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .blog-card--large { grid-template-columns: 1fr; }
  .service-section-inner { grid-template-columns: 1fr; }
  .project-hero-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --space-2xl: 3rem; --space-xl: 2.5rem; }
  .section-cta .btn + .btn { margin-top: 0.75rem; }
  .section-cta { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }

  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #ffffff;
    padding: var(--space-sm);
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-105%); opacity: 0; pointer-events: none;
    transition: all var(--t-med); z-index: 999; margin-left: 0;
  }
  .primary-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-menu { flex-direction: column; gap: 0; }
  .nav-menu a { padding: 0.7rem 0.9rem; font-size: var(--text-base); }
  .btn-whatsapp span { display: none; }
  .btn-whatsapp {
    padding: 0.4rem;
    border: none;
    background: transparent;
    min-width: 32px;
    justify-content: center;
  }
  .btn-whatsapp .icon { width: 22px; height: 22px; }

  .hero-trust { gap: var(--space-sm); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }

  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid, .portfolio-grid--full { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .steps-flow { grid-template-columns: 1fr; }

  .cta-banner-inner { flex-direction: column; align-items: flex-start; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .service-features { grid-template-columns: 1fr; }
  .form-row.two-col { flex-direction: column; }
  .contact-form-wrap { padding: var(--space-md); }
  .project-nav-inner { flex-direction: column; align-items: center; text-align: center; }
  .proof-items { gap: var(--space-md); }
}

@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
  .whatsapp-float { bottom: 1rem; right: 1rem; }
  .sticky-bar-active .whatsapp-float { bottom: calc(var(--sticky-bar-h, 80px) + 0.75rem); }
}

@media print {
  .site-header, .whatsapp-float, .blog-sidebar, .hero-particles { display: none !important; }
  body { background: white; color: black; }
}

/* ─── WHY BADGES ─────────────────────────────────────────────── */
.why-inner {
  align-items: flex-start;
}
.why-badges {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  justify-content: flex-start;
  padding-top: var(--space-sm);
}
.why-badge-link {
  display: block;
  padding: var(--space-sm) var(--space-md);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--t-med), border-color var(--t-med), transform var(--t-med);
}
.why-badge-link:hover {
  border-color: var(--c-blue);
  box-shadow: var(--shadow-sm);
  transform: translateX(3px);
}
.why-badge-link img {
  height: 38px;
  width: auto;
}

/* ─── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials-section {
  border-top: 3px solid var(--c-blue);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--t-med), transform var(--t-med), border-color var(--t-med);
  position: relative;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--c-border-2);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: var(--space-sm);
  right: var(--space-md);
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--c-blue);
  opacity: .15;
  pointer-events: none;
}

.testimonial-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.testimonial-stars {
  display: flex;
  gap: 0.15rem;
  color: #f59e0b;
}
.testimonial-stars .icon { width: 15px; height: 15px; }

.testimonial-platform-badge {
  display: block;
  flex-shrink: 0;
  opacity: .75;
  transition: opacity var(--t-fast);
}
.testimonial-platform-badge:hover { opacity: 1; }
.testimonial-platform-badge img {
  height: 28px;
  width: auto;
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--c-text-2);
  line-height: 1.75;
  flex-grow: 1;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--c-border);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-blue);
  color: #fff;
  font-family: var(--font-head);
  font-size: var(--text-base);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-author > div {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.testimonial-author strong {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.3;
}
.testimonial-author span {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--c-text-3);
}

.testimonial-verify-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--c-blue);
  white-space: nowrap;
  transition: color var(--t-fast);
}
.testimonial-verify-link:hover { color: var(--c-navy); }
.testimonial-verify-link .icon { width: 12px; height: 12px; }

.testimonial-service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--c-text-3);
  padding: 0.2rem 0.6rem;
  background: var(--c-bg-3);
  border-radius: 100px;
  align-self: flex-start;
}
.testimonial-service-tag .icon { width: 11px; height: 11px; color: var(--c-red); }

.testimonials-cta {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .why-badges { flex-direction: row; flex-wrap: wrap; }
  .why-badge-link img { height: 30px; }
}

/* ─── BENEFITS STRIP ─────────────────────────────────────────── */
.benefits-strip {
  background: var(--c-navy);
  padding: var(--space-md) 0;
}
.benefits-strip-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.benefit-strip-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem var(--space-md);
  flex: 1;
  min-width: 180px;
}
.benefit-strip-item .icon {
  color: var(--c-blue);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
.benefit-strip-item .icon svg { width: 20px; height: 20px; }
.benefit-strip-item strong {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.benefit-strip-item span {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.55);
  line-height: 1.3;
}
.benefit-strip-sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .benefit-strip-sep { display: none; }
  .benefits-strip-items { justify-content: flex-start; }
  .benefit-strip-item { min-width: 50%; }
}
@media (max-width: 500px) {
  .benefit-strip-item { min-width: 100%; }
}

/* ─── COMPARISON TABLE ───────────────────────────────────────── */
.comparison-section { border-top: 3px solid var(--c-red); }

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-lg);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
}

.comparison-table thead tr {
  background: var(--c-navy);
}
.comparison-table thead th {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  color: #fff;
  white-space: nowrap;
}
.comparison-table thead .custom-col {
  background: var(--c-blue);
  color: #fff;
}
.comparison-table thead .custom-col .icon { width: 14px; height: 14px; margin-right: 0.3rem; }
.comparison-table thead .plugin-col {
  background: var(--c-navy);
  color: rgba(255,255,255,.6);
}
.plugin-x { color: var(--c-red); margin-right: 0.3rem; font-weight: 700; }

.comparison-table tbody tr {
  border-bottom: 1px solid var(--c-border);
  transition: background var(--t-fast);
}
.comparison-table tbody tr:last-child { border-bottom: none; }
.comparison-table tbody tr:hover { background: var(--c-blue-light); }

.comparison-table tbody td {
  padding: 0.75rem var(--space-md);
  vertical-align: middle;
  line-height: 1.5;
  color: var(--c-text-2);
}
.comparison-table tbody .feature-col {
  font-weight: 700;
  color: var(--c-navy);
  white-space: nowrap;
  width: 22%;
  border-right: 1px solid var(--c-border);
}
.comparison-table tbody .custom-col {
  background: #f4fbff;
  border-right: 1px solid var(--c-border);
  color: var(--c-navy);
  font-weight: 500;
}
.comparison-table tbody .plugin-col {
  color: var(--c-text-3);
}

.check-icon { color: var(--c-blue); margin-right: 0.4rem; font-weight: 700; }
.check-icon .icon { width: 13px; height: 13px; }
.cross-icon { color: var(--c-red); margin-right: 0.4rem; font-weight: 700; font-size: 0.9rem; }

.comparison-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--c-blue-light);
  border: 1px solid rgba(56,182,255,.25);
  border-left: 4px solid var(--c-blue);
  border-radius: var(--r-md);
  margin-bottom: var(--space-lg);
}
.comparison-note .icon { color: var(--c-blue); width: 22px; height: 22px; flex-shrink: 0; margin-top: 0.15rem; }
.comparison-note p { font-size: var(--text-sm); color: var(--c-text-2); margin: 0; line-height: 1.7; }
.comparison-note strong { color: var(--c-navy); }

@media (max-width: 768px) {
  .comparison-table tbody .feature-col { white-space: normal; width: auto; }
  .comparison-table thead th,
  .comparison-table tbody td { padding: 0.6rem 0.75rem; font-size: var(--text-xs); }
}

/* ─── SERVICE CARDS V2 (with images) ────────────────────────── */
.services-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-card-v2 {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.service-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-blue);
}

.service-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--c-bg-3);
}
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.service-card-v2:hover .service-card-img img { transform: scale(1.05); }

.service-card-img-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(to top, rgba(26,37,53,.85), transparent);
  opacity: 0;
  transition: opacity var(--t-med);
}
.service-card-v2:hover .service-card-img-overlay { opacity: 1; }

.service-result-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  color: #fff;
}
.service-result-pill .icon { width: 12px; height: 12px; color: #4ade80; }

.service-card-body {
  padding: var(--space-sm) var(--space-md) var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.4rem;
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.service-icon-sm {
  width: 34px; height: 34px;
  background: var(--c-blue-light);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-blue);
  flex-shrink: 0;
}
.service-icon-sm .icon svg { width: 16px; height: 16px; }

.service-card-v2 .service-title {
  font-size: var(--text-base);
  font-family: var(--font-head);
  color: var(--c-navy);
  line-height: 1.25;
  margin: 0;
}
.service-card-v2 .service-tech {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--c-blue);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin: 0;
}
.service-card-v2 .service-desc {
  font-size: var(--text-sm);
  color: var(--c-text-2);
  line-height: 1.65;
  flex-grow: 1;
  margin: 0;
}
.service-card-v2 .service-tags {
  display: flex; flex-wrap: wrap; gap: 0.25rem;
  margin-top: 0.25rem;
}

.service-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: var(--space-xs);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--c-red);
  border-top: 1px solid var(--c-border);
  transition: color var(--t-fast), gap var(--t-fast);
}
.service-cta-link:hover { color: var(--c-navy); gap: 0.55rem; }
.service-cta-link .icon { width: 14px; height: 14px; }

.section-cta.dual {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .services-grid-v2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid-v2 { grid-template-columns: 1fr; }
}

/* ─── STEPS ENHANCEMENTS ─────────────────────────────────────── */
.step-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--c-blue);
  margin-top: 0.35rem;
}
.step-guarantee .icon { width: 11px; height: 11px; }

.steps-bottom { margin-top: var(--space-lg); }

.steps-guarantee-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: var(--space-sm) var(--space-md);
  background: var(--c-blue-light);
  border: 1px solid rgba(56,182,255,.25);
  border-radius: var(--r-md);
  margin-bottom: var(--space-lg);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--c-navy);
  text-align: center;
  flex-wrap: wrap;
}
.steps-guarantee-bar .icon { color: var(--c-blue); width: 18px; height: 18px; flex-shrink: 0; }
.steps-guarantee-bar strong { color: var(--c-blue); }

/* ─── MOBILE COMPARISON TABLE FIX ────────────────────────────── */
/* On mobile: hide the table, show stacked cards instead */
@media (max-width: 768px) {
  .comparison-table-wrap { display: none; }
  .comparison-cards { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: var(--space-lg); }
}
@media (min-width: 769px) {
  .comparison-cards { display: none; }
}

.comparison-card {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.comparison-card-feature {
  background: var(--c-navy);
  color: #fff;
  padding: 0.5rem var(--space-sm);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.comparison-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.comparison-card-custom,
.comparison-card-plugin {
  padding: 0.65rem var(--space-sm);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  line-height: 1.5;
}
.comparison-card-custom {
  background: #f4fbff;
  border-right: 1px solid var(--c-border);
}
.comparison-card-custom strong {
  display: block;
  color: var(--c-blue);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.comparison-card-plugin {
  background: #fff;
  color: var(--c-text-3);
}
.comparison-card-plugin strong {
  display: block;
  color: var(--c-text-3);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.comp-check { color: var(--c-blue); font-weight: 700; margin-right: 0.2rem; }
.comp-cross { color: var(--c-red); font-weight: 700; margin-right: 0.2rem; }

/* ─── STICKY CTA BAR ─────────────────────────────────────────── */
.sticky-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--c-navy);
  border-top: 3px solid var(--c-red);
  padding: 0.6rem var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  transform: translateY(100%);
  transition: transform var(--t-med);
  box-shadow: 0 -4px 20px rgba(26,37,53,.2);
}
.sticky-cta-bar.visible { transform: translateY(0); }
.sticky-cta-bar-text {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.sticky-cta-bar-text strong { color: #fff; }
.sticky-cta-bar-text .icon { color: var(--c-blue); width: 16px; height: 16px; }
.sticky-cta-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.sticky-cta-close {
  color: rgba(255,255,255,.4);
  padding: 0.3rem;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: color var(--t-fast);
  background: none;
  border: none;
}
.sticky-cta-close:hover { color: #fff; }

@media (max-width: 600px) {
  .sticky-cta-bar { flex-direction: column; align-items: flex-start; padding: 0.75rem var(--space-sm); }
  .sticky-cta-bar-actions { width: 100%; }
  .sticky-cta-bar-actions .btn { flex: 1; justify-content: center; }
  .sticky-cta-close { position: absolute; top: 0.5rem; right: 0.75rem; }
  /* Hide whatsapp label on very small screens */
  .sticky-cta-bar .btn-whatsapp span { display: inline; }
}

/* ─── SEO KEYWORD SECTION ────────────────────────────────────── */
/* Visible to search engines and AI crawlers, not to users       */
.seo-keyword-section {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── STICKY BAR FIVERR BUTTON ───────────────────────────────── */
.sticky-fiverr-btn {
  color: #fff !important;
  border-color: rgba(255,255,255,.25) !important;
  background: transparent;
  font-size: var(--text-xs);
  padding: 0.5rem 0.9rem;
}
.sticky-fiverr-btn:hover {
  background: rgba(255,255,255,.1) !important;
  border-color: rgba(255,255,255,.5) !important;
  color: #fff !important;
  transform: none;
}
.sticky-fiverr-btn .icon { width: 14px; height: 14px; }

/* On mobile hide Fiverr & Upwork btns to save space */
@media (max-width: 540px) {
  .sticky-fiverr-btn { display: none; }
}

/* ─── SERVICE PAGE IMAGE PANEL ───────────────────────────────── */
.svc-image-panel {
  margin-bottom: var(--space-md);
}

.svc-image-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  background: var(--c-bg-3);
  line-height: 0; /* remove gap under img */
  /* Fixed 640×480 px ratio (4:3) */
  aspect-ratio: 640 / 480;
  width: 100%;
}

.svc-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease;
}
.svc-main-img.switching { opacity: 0.4; }

/* Static / Animated toggle bar */
.svc-img-controls {
  display: flex;
  gap: 0.35rem;
  padding: 0.5rem 0.6rem;
  background: rgba(26,37,53,.72);
  backdrop-filter: blur(6px);
  position: absolute;
  bottom: 0; left: 0; right: 0;
  justify-content: center;
}

.svc-img-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.2);
  background: transparent;
  cursor: pointer;
  transition: all var(--t-fast);
}
.svc-img-toggle .icon { width: 12px; height: 12px; }
.svc-img-toggle.active,
.svc-img-toggle:hover {
  background: var(--c-blue);
  color: #fff;
  border-color: var(--c-blue);
}

.svc-image-caption {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--c-text-3);
  text-align: center;
  margin-top: 0.45rem;
  margin-bottom: 0;
  font-style: italic;
}

/* ── How to update note (shown in admin only via comment) ──── */
/* See the PHP comment in services.php for how to change images */

/* ─── SERVICE THUMBNAIL GRID ─────────────────────────────────── */
.svc-thumb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: var(--space-sm);
}

.svc-thumb {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-border);
  position: relative;
  cursor: default;
  transition: box-shadow var(--t-fast), border-color var(--t-fast);
}
.svc-thumb:hover {
  border-color: var(--c-blue);
  box-shadow: var(--shadow-sm);
}
.svc-thumb img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}
.svc-thumb span {
  display: block;
  padding: 0.25rem 0.5rem;
  background: var(--c-bg-2);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--c-blue);
  text-align: center;
  border-top: 1px solid var(--c-border);
}

@media (max-width: 600px) {
  .svc-thumb-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── PROJECT SLIDESHOW ──────────────────────────────────────── */
.project-hero {
  padding: calc(var(--header-h) + 3rem) 0 3rem;
  background: #fff;
  border-bottom: 1px solid var(--c-border);
}

.project-hero-inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-xl);
  align-items: start;
  margin-top: var(--space-md);
}

/* Slideshow column */
.project-slideshow-col { position: sticky; top: calc(var(--header-h) + 1.5rem); }

.project-slideshow { display: flex; flex-direction: column; gap: 0.6rem; }

.slideshow-stage {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-md);
  background: var(--c-bg-3);
  aspect-ratio: 640 / 480;
}

.slide { display: none; width: 100%; height: 100%; }
.slide.active { display: block; }

.slide-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}
.slide-img.fading { opacity: 0; }

.slide-type-badge {
  position: absolute;
  top: 0.7rem; left: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(26,37,53,.75);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}
.slide-type-badge .icon { width: 11px; height: 11px; color: var(--c-red); }

/* Arrows */
.slideshow-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--c-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--t-fast);
  box-shadow: var(--shadow-sm);
}
.slideshow-arrow svg { width: 18px; height: 18px; color: var(--c-navy); }
.slideshow-arrow:hover { background: var(--c-blue); border-color: var(--c-blue); }
.slideshow-arrow:hover svg { color: #fff; }
.slideshow-arrow.prev { left: 0.6rem; }
.slideshow-arrow.next { right: 0.6rem; }

/* Thumbnails */
.slideshow-thumbs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.thumb-btn {
  position: relative;
  width: 72px; height: 52px;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 2px solid var(--c-border);
  background: var(--c-bg-3);
  cursor: pointer;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  padding: 0;
  flex-shrink: 0;
}
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-btn.active { border-color: var(--c-blue); box-shadow: 0 0 0 2px rgba(56,182,255,.25); }
.thumb-btn:hover { border-color: var(--c-blue); }

.thumb-gif-icon {
  position: absolute;
  bottom: 2px; right: 3px;
  color: var(--c-red);
  line-height: 1;
}
.thumb-gif-icon .icon { width: 12px; height: 12px; }

/* Counter */
.slideshow-counter {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--c-text-3);
  text-align: center;
}

.slideshow-live-btn {
  margin-top: 0.5rem;
  width: 100%;
  justify-content: center;
}

/* Info column */
.project-info-col { padding-top: 0.5rem; }
.project-info-col h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0.5rem 0 var(--space-sm); }
.project-description { font-size: var(--text-md); line-height: 1.75; color: var(--c-text-2); margin-bottom: var(--space-md); }

.project-inline-cta {
  background: var(--c-blue-light);
  border: 1px solid rgba(56,182,255,.25);
  border-left: 4px solid var(--c-blue);
  border-radius: var(--r-md);
  padding: var(--space-sm) var(--space-md);
  margin-top: var(--space-md);
}
.project-inline-cta p {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--c-navy);
  margin-bottom: 0.6rem;
  display: flex; align-items: center; gap: 0.4rem;
}
.project-inline-cta p .icon { color: var(--c-red); width: 15px; height: 15px; }
.project-inline-cta-btns { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Trust strip */
.project-trust-strip {
  background: var(--c-navy);
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.project-trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.project-trust-items span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.7);
  white-space: nowrap;
}
.project-trust-items .icon { width: 13px; height: 13px; color: var(--c-blue); }

/* More projects */
.more-projects { border-top: 1px solid var(--c-border); }

/* Responsive */
@media (max-width: 900px) {
  .project-hero-inner { grid-template-columns: 1fr; }
  .project-slideshow-col { position: static; }
  .thumb-btn { width: 60px; height: 44px; }
}
@media (max-width: 480px) {
  .slideshow-arrow { width: 32px; height: 32px; }
  .slideshow-arrow svg { width: 14px; height: 14px; }
  .thumb-btn { width: 52px; height: 38px; }
}

/* ─── TESTIMONIAL FLAG ICON ──────────────────────────────────── */
.testimonial-location {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0.35rem;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--c-text-3);
  line-height: 1.2;
  white-space: nowrap;
  margin-top: 0.1rem;
}
.testimonial-location .flag-icon {
  display: inline-block !important;
  flex-shrink: 0;
  vertical-align: middle;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.1);
}

.flag-icon {
  display: inline-block;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
  vertical-align: middle;
  flex-shrink: 0;
}

/* ─── SINGLE BLOG POST ───────────────────────────────────────── */
.single-post-wrap {
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: var(--space-2xl);
}

.single-post-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin: 0.4rem 0 var(--space-md);
  letter-spacing: -0.02em;
}

.post-hero-img {
  margin-bottom: var(--space-lg);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.post-hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

.post-nav {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--c-border);
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.post-nav .prev { flex: 1; }
.post-nav .next { flex: 1; text-align: right; }

@media (max-width: 768px) {
  .single-post-wrap { padding-top: calc(var(--header-h) + 1.5rem); }
  .post-nav { flex-direction: column; }
  .post-nav .next { text-align: left; }
}

/* ─── BLOG ARCHIVE SECTION ───────────────────────────────────── */
.blog-archive-section {
  padding: var(--space-xl) 0 var(--space-2xl);
}

/* Blog post cards — vertical stack, clean and readable */
.blog-posts-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.blog-post-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  transition: box-shadow var(--t-med), transform var(--t-med);
}
.blog-post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.blog-post-card.no-thumb {
  grid-template-columns: 1fr;
}

.blog-post-card-img {
  display: block;
  overflow: hidden;
  background: var(--c-bg-3);
}
.blog-post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow);
}
.blog-post-card:hover .blog-post-card-img img {
  transform: scale(1.04);
}

.blog-post-card-body {
  padding: var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
}

.blog-post-card-title {
  font-size: var(--text-xl);
  line-height: 1.25;
  margin: 0;
}
.blog-post-card-title a {
  color: var(--c-navy);
  transition: color var(--t-fast);
}
.blog-post-card-title a:hover { color: var(--c-blue); }

.blog-post-card-excerpt {
  font-size: var(--text-sm);
  color: var(--c-text-2);
  line-height: 1.65;
  margin: 0;
}
.blog-post-card-excerpt p { margin: 0; }

@media (max-width: 768px) {
  .blog-post-card {
    grid-template-columns: 1fr;
  }
  .blog-post-card-img {
    aspect-ratio: 16 / 9;
    height: auto;
  }
  .blog-post-card-body {
    padding: var(--space-sm) var(--space-md);
  }
  .blog-post-card-title { font-size: var(--text-lg); }
}

/* ─── SLIDE ZOOM HINT ────────────────────────────────────────── */
.lightbox-trigger { cursor: zoom-in; }
.slide-zoom-hint {
  position: absolute;
  bottom: 0.6rem; right: 0.6rem;
  width: 30px; height: 30px;
  background: rgba(255,255,255,.85);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-navy);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t-fast);
  z-index: 5;
}
.slide-zoom-hint .icon { width: 14px; height: 14px; }
.slideshow-stage:hover .slide-zoom-hint { opacity: 1; }

/* ─── LIGHTBOX ───────────────────────────────────────────────── */
.gc-lightbox {
  position: fixed; inset: 0;
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-sm);
}
.gc-lightbox[hidden] { display: none; }

.gc-lightbox-overlay {
  position: absolute; inset: 0;
  background: rgba(10,14,20,.92);
  cursor: pointer;
}
.gc-lightbox-content {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  gap: var(--space-sm);
  max-width: 92vw; max-height: 92vh;
}
.gc-lightbox-img-wrap {
  position: relative;
  max-width: 88vw; max-height: 88vh;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.7);
  background: var(--c-navy);
}
.gc-lightbox-img {
  display: block;
  max-width: 88vw; max-height: 85vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--r-lg);
  transition: opacity 0.2s ease;
}
.gc-lightbox-img.loading { opacity: 0.3; }

.gc-lightbox-close {
  position: fixed; top: 1.2rem; right: 1.5rem;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: #fff; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast); z-index: 2;
}
.gc-lightbox-close:hover { background: var(--c-red); border-color: var(--c-red); }

.gc-lightbox-arrow {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast); flex-shrink: 0;
}
.gc-lightbox-arrow svg { width: 20px; height: 20px; }
.gc-lightbox-arrow:hover { background: var(--c-blue); border-color: var(--c-blue); }
.gc-lightbox-arrow:disabled { opacity: 0.3; cursor: default; }

.gc-lightbox-caption {
  position: fixed; bottom: 1.2rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-ui); font-size: var(--text-xs);
  color: rgba(255,255,255,.65);
  background: rgba(0,0,0,.4);
  padding: 0.3rem 1rem; border-radius: 100px;
  white-space: nowrap; max-width: 90vw;
  overflow: hidden; text-overflow: ellipsis; margin: 0;
}

@media (max-width: 600px) {
  .gc-lightbox-arrow { display: none; }
  .gc-lightbox-img-wrap { max-width: 96vw; }
  .gc-lightbox-img { max-width: 96vw; max-height: 80vh; }
}

/* ─── BLOG POST CARDS (archive) ──────────────────────────────── */
.blog-archive-section {
  padding: var(--space-xl) 0 var(--space-2xl);
}
.blog-posts-list {
  display: flex; flex-direction: column; gap: var(--space-md);
}
.blog-post-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
  transition: box-shadow var(--t-med), transform var(--t-med);
}
.blog-post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-post-card.no-thumb { grid-template-columns: 1fr; }
.blog-post-card-img {
  display: block; overflow: hidden; background: var(--c-bg-3);
}
.blog-post-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform var(--t-slow);
}
.blog-post-card:hover .blog-post-card-img img { transform: scale(1.04); }
.blog-post-card-body {
  padding: var(--space-md) var(--space-lg);
  display: flex; flex-direction: column;
  justify-content: center; gap: 0.4rem;
}
.blog-post-card-title {
  font-size: var(--text-xl); line-height: 1.25; margin: 0;
}
.blog-post-card-title a { color: var(--c-navy); transition: color var(--t-fast); }
.blog-post-card-title a:hover { color: var(--c-blue); }
.blog-post-card-excerpt { font-size: var(--text-sm); color: var(--c-text-2); line-height: 1.65; margin: 0; }
.blog-post-card-excerpt p { margin: 0; }

@media (max-width: 768px) {
  .blog-post-card { grid-template-columns: 1fr; }
  .blog-post-card-img { aspect-ratio: 16/9; height: auto; }
  .blog-post-card-body { padding: var(--space-sm) var(--space-md); }
  .blog-post-card-title { font-size: var(--text-lg); }
}

/* ─── SIMPLE BLOG LIST ───────────────────────────────────────── */
.blog-simple-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.blog-simple-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--t-med), transform var(--t-med);
}
.blog-simple-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-simple-thumb {
  display: block;
  overflow: hidden;
  background: var(--c-bg-3);
}
.blog-simple-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform var(--t-slow);
}
.blog-simple-item:hover .blog-simple-thumb img { transform: scale(1.04); }

.blog-simple-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  justify-content: center;
}

.blog-simple-title {
  font-size: var(--text-lg);
  line-height: 1.25;
  margin: 0;
}
.blog-simple-title a { color: var(--c-navy); transition: color var(--t-fast); }
.blog-simple-title a:hover { color: var(--c-blue); }

.blog-simple-body p {
  font-size: var(--text-sm);
  color: var(--c-text-2);
  margin: 0;
  line-height: 1.6;
}

/* No thumbnail fallback */
.blog-simple-item:not(:has(.blog-simple-thumb)) {
  grid-template-columns: 1fr;
}

@media (max-width: 600px) {
  .blog-simple-item { grid-template-columns: 1fr; }
  .blog-simple-thumb { aspect-ratio: 16/9; height: auto; }
  .blog-simple-body { padding: var(--space-sm); }
  .blog-simple-title { font-size: var(--text-base); }
}
