/* =========================================================
   STRIM — Inner Page Styles  v2  (light theme)
   ========================================================= */

/* ── About Page ─────────────────────────────────────────── */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
  margin: var(--space-16) 0;
}

.about-story-text h2 {
  font-size: clamp(var(--text-3xl), 3.5vw, var(--text-5xl));
  font-weight: var(--weight-extrabold);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  color: var(--text-heading);
}
.about-story-text p {
  font-size: var(--text-lg);
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: var(--space-5);
}

.story-visual {
  background: var(--gradient-hero);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.story-visual-mark {
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Values cards */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin: var(--space-16) 0;
}

.value-card {
  padding: var(--space-8);
  text-align: center;
}

.value-num {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: var(--weight-extrabold);
  color: var(--color-primary);
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: var(--space-2);
}

.value-label {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--text-heading);
  margin-bottom: var(--space-2);
}

.value-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Blog Hero — 3 últimas postagens ────────────────────── */
.blog-hero-section {
  background: #fff;
  padding: calc(var(--nav-height) + var(--space-6)) 0 var(--space-6);
  border-bottom: 1px solid var(--border-light);
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: stretch;
}

/* Featured (left) */
.blog-hero-featured {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-4);
  border-radius: var(--radius-2xl);
  cursor: pointer;
  transition: background 0.2s ease;
}
.blog-hero-featured:hover { background: #f5f6f7; }

.blog-hero-featured-img-link { display: block; border-radius: var(--radius-xl); overflow: hidden; }

.blog-hero-featured-img {
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 38vh;
  overflow: hidden;
  border-radius: var(--radius-xl);
}
.blog-hero-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.blog-hero-featured-img-link:hover img { transform: scale(1.03); }

.blog-hero-featured-body { display: flex; flex-direction: column; gap: var(--space-3); }

.blog-hero-featured-title {
  font-size: clamp(var(--text-2xl), 2.5vw, var(--text-4xl));
  font-weight: var(--weight-bold);
  color: var(--text-heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Sidebar (right) */
.blog-hero-sidebar { display: flex; flex-direction: column; gap: 0; height: 100%; }

.blog-hero-small {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: var(--space-5);
  flex: 1;
  padding: var(--space-4);
  border-radius: var(--radius-2xl);
  cursor: pointer;
  transition: background 0.2s ease;
}
.blog-hero-small:hover { background: #f5f6f7; }

.blog-hero-small-img-link {
  display: block;
  flex-shrink: 0;
  height: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.blog-hero-small-thumb {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #f8f9fb;
  position: relative;
}

.blog-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 24px 24px;
}

.blog-hero-small-body { display: flex; flex-direction: column; gap: var(--space-3); justify-content: center; }

.blog-hero-small-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--text-heading);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0;
}

.blog-hero-divider {
  width: 100%;
  height: 1px;
  background: var(--border-light);
  flex-shrink: 0;
  margin: var(--space-4) 0;
}

/* Shared meta row */
.blog-hero-meta-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.blog-hero-date {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Tag pill (pill border style) */
.blog-pill {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--text-body);
  background: #fff;
  letter-spacing: 0.02em;
}

/* "ler artigo →" link */
.blog-hero-read-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: #0b0b0b;
  text-decoration: none;
  transition: gap 0.2s ease;
}
.blog-hero-read-link:hover { gap: var(--space-3); }
.blog-hero-read-link svg { flex-shrink: 0; }

/* Search bar */
.blog-search-section {
  background: #fff;
  padding: var(--space-8) 0;
}

.blog-search-wrap { max-width: 640px; }

.blog-search-inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-3) var(--space-2) var(--space-5);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.blog-search-inner:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0,50,249,0.08);
}

.blog-search-icon { color: var(--text-muted); flex-shrink: 0; }

.blog-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: var(--text-base);
  color: var(--text-heading);
  font-family: inherit;
}
.blog-search-input::placeholder { color: var(--text-muted); }

.blog-search-btn { border-radius: var(--radius-full) !important; flex-shrink: 0; }

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .blog-hero-grid { grid-template-columns: 1fr; }
  .blog-hero-sidebar { flex-direction: row; gap: var(--space-6); }
  .blog-hero-divider { display: none; }
  .blog-hero-small { flex: 1; }
}
@media (max-width: 640px) {
  .blog-hero-sidebar { flex-direction: column; }
  .blog-hero-small { flex: unset; }
}

/* ── Blog Page ──────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin: var(--space-10) 0;
}

.blog-card { overflow: hidden; cursor: pointer; border: none;}
.blog-card:hover { background-color: #f2f2f2; box-shadow: none;}

.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-subtle);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.blog-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,50,249,0.12) 0%, rgba(0,163,255,0.08) 100%);
}

.blog-card-body { padding: var(--space-6); }

.blog-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-3);
}

.blog-card-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-heading);
  margin-bottom: var(--space-3);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.blog-card-excerpt {
  font-size: var(--text-sm);
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.blog-card-meta-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--text-subtle);
}

/* ── Blog carousel (home page) — bleeds to viewport edge ──── */
.blog-scroll-wrapper {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.blog-scroll-wrapper::-webkit-scrollbar { display: none; }
.blog-scroll-wrapper.is-dragging { cursor: grabbing; user-select: none; }

.blog-scroll-row {
  --blog-pad: max(var(--space-6), calc((100vw - var(--container-max)) / 2 + var(--space-8)));
  --blog-gap: var(--space-6);
  /* 2 full cards + a peek of the 3rd cut in half, so the row always
     bleeds off the right edge for a sense of continuity when scrolling */
  --blog-card-w: clamp(320px, calc((100vw - var(--blog-pad) - 2 * var(--blog-gap)) / 2.5), 620px);
  display: flex;
  gap: var(--blog-gap);
  width: max-content;
  padding: var(--space-2) var(--space-6) var(--space-2) var(--blog-pad);
}

.blog-carousel-card {
  flex-shrink: 0;
  width: var(--blog-card-w);
  display: block;
  color: inherit;
  text-decoration: none;
  background: #f7f7f7;
  border-radius: 1.5rem;
  overflow: hidden;
  transition: transform var(--duration-slow) var(--ease-out), box-shadow var(--duration-slow) var(--ease-out);
}
.blog-carousel-card:hover {
  box-shadow: var(--shadow-md);
}

.blog-carousel-img {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  background: var(--bg-off-white);
}
.blog-carousel-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.blog-carousel-body { padding: var(--space-6); }

.blog-carousel-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.blog-carousel-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}
.blog-carousel-meta-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--text-subtle);
}

.blog-carousel-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-heading);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3);
}

.blog-carousel-excerpt {
  font-size: var(--text-sm);
  color: var(--text-body);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-8);
}

.blog-dots { display: flex; align-items: center; gap: 6px; }
.blog-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--border-light);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}
.blog-dot.active {
  width: 22px;
  border-radius: var(--radius-full);
  background: var(--text-heading);
}

.blog-carousel-arrows { display: flex; gap: var(--space-3); }
.blog-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-heading);
  transition: all var(--duration-fast) var(--ease-out);
}
.blog-nav-btn:hover {
  background: var(--bg-subtle);
  border-color: var(--border-primary);
}
.blog-nav-btn svg {
  width: 18px; height: 18px;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  display: block;
}

@media (max-width: 640px) {
  .blog-carousel-card { width: 280px; }
}

/* ── Strim product page ─────────────────────────────────── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
  margin: var(--space-24) 0;
}

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-row-text h3 {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: var(--weight-extrabold);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
  line-height: 1.15;
  color: var(--text-heading);
}

.feature-row-text p {
  font-size: var(--text-lg);
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}

.feature-row-visual {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.feature-row-visual::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-primary);
}

/* Mini data cards inside feature visuals */
.mini-card {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
}

.mini-card-title {
  font-size: 11px;
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  margin-bottom: var(--space-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mini-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text-body);
}
.mini-row:last-child { border-bottom: none; }

.mini-badge {
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: var(--weight-semibold);
}
.mini-badge.green  { background: #DCFCE7; color: var(--color-success); }
.mini-badge.yellow { background: #FEF3C7; color: var(--color-warning); }
.mini-badge.red    { background: #FEE2E2; color: var(--color-error); }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin: var(--space-16) 0;
}

.pricing-card {
  padding: var(--space-8);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--color-primary) !important;
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-primary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-size: 10px;
  font-weight: var(--weight-bold);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-tier {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: var(--weight-extrabold);
  letter-spacing: -0.04em;
  color: var(--text-heading);
  margin-bottom: var(--space-2);
}
.pricing-card.featured .pricing-price { color: var(--color-primary); }

.pricing-period {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-light);
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-body);
}

.pricing-check {
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--color-primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.pricing-check svg { width: 8px; height: 8px; stroke: var(--color-primary); fill: none; stroke-width: 2; }
.pricing-card.featured .pricing-check { background: var(--color-primary); }
.pricing-card.featured .pricing-check svg { stroke: #fff; }

/* ── Services Page ──────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin: var(--space-10) 0;
}

.service-card {
  padding: var(--space-7);
  display: flex;
  gap: var(--space-5);
}

.service-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-pale);
  border: 1px solid rgba(0,50,249,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--duration-base) var(--ease-out);
}
.service-icon-wrap svg {
  width: 24px; height: 24px;
  stroke: var(--color-primary);
  stroke-width: 1.5;
  fill: none;
}
.service-card:hover .service-icon-wrap { background: var(--color-primary); }
.service-card:hover .service-icon-wrap svg { stroke: #fff; }

.service-content h3 {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
  color: var(--text-heading);
}
.service-content p {
  font-size: var(--text-sm);
  color: var(--text-body);
  line-height: 1.7;
}

/* ── Contact Page ───────────────────────────────────────── */

/* Hero first fold */
.contact-hero {
  background: #F2F2F0;
  padding: calc(var(--nav-height) + var(--space-16)) 0 var(--space-20);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.contact-hero-title {
  font-size: clamp(4rem, 9vw, 7.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--text-heading);
  margin-bottom: var(--space-6);
}

.contact-hero-desc {
  font-size: var(--text-base);
  color: var(--text-body);
  line-height: 1.6;
  max-width: 440px;
}

.contact-hero-divider {
  border: none;
  border-top: 1px solid #D1D1CF;
  margin: var(--space-8) 0;
}

.contact-hero-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-hero-item {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5) 0;
}

.contact-hero-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(220, 90, 55, 0.08);
  border: 1.5px solid rgba(220, 90, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #DC5A37;
}

.contact-hero-icon svg {
  width: 20px;
  height: 20px;
}

.contact-hero-icon--linkedin {
  background: rgba(220, 90, 55, 0.08);
  border-color: rgba(220, 90, 55, 0.25);
}

.contact-hero-item-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 3px;
}

.contact-hero-item-value {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--text-heading);
}

.contact-hero-item-value a {
  color: inherit;
  text-decoration: none;
}
.contact-hero-item-value a:hover { text-decoration: underline; }

/* Form card */
.contact-hero-form {
  padding: var(--space-10);
}

/* Submit button */
.contact-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  background: var(--text-heading);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  letter-spacing: 0.01em;
  padding: 18px var(--space-6);
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
  margin-top: var(--space-3);
}
.contact-submit-btn:hover { background: #1a1a2e; }
.contact-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Legacy grid (kept for other pages if any) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-16);
  margin: var(--space-12) 0;
}

.contact-info-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--border-light);
}
.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-lg);
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg {
  width: 18px; height: 18px;
  stroke: #000;
  stroke-width: 1.5;
  fill: none;
}

.contact-info-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.contact-info-value { font-size: var(--text-base); color: var(--text-heading); font-weight: var(--weight-medium); }

/* Form */
.contact-form {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
}

.form-group { margin-bottom: var(--space-5); }

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-heading);
  margin-bottom: var(--space-2);
}
.form-label .req { color: var(--color-error); margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-off-white);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 11px 16px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-heading);
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
  min-height: 48px;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(0,50,249,0.10);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-subtle); }

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}
.form-select option { background: #fff; color: var(--text-heading); }

.form-textarea { resize: vertical; min-height: 130px; line-height: 1.6; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-submit { width: 100%; justify-content: center; margin-top: var(--space-3); }

.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  font-size: var(--text-sm);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-4);
}
.form-status--error {
  color: var(--color-error);
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.25);
}

/* ── Phone DDI picker ────────────────────────────────── */
.phone-wrapper {
  position: relative;
  display: flex;
  align-items: stretch;
  background: var(--bg-off-white);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-lg);
  min-height: 48px;
  transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}
.phone-wrapper:focus-within {
  border-color: var(--color-primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(0,50,249,0.10);
}
.phone-ddi-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px 0 14px;
  background: none;
  border: none;
  border-right: 1.5px solid var(--border-medium);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--text-heading);
  white-space: nowrap;
  transition: background var(--duration-fast) var(--ease-out);
  outline: none;
}
.phone-ddi-btn:hover { background: rgba(0,0,0,0.04); }
.phone-ddi-flag { font-size: 18px; line-height: 1; }
.phone-ddi-code { font-size: var(--text-sm); font-weight: var(--weight-medium); }
.phone-ddi-chevron {
  width: 13px; height: 13px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.phone-ddi-btn[aria-expanded="true"] .phone-ddi-chevron { transform: rotate(180deg); }

.phone-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-heading);
  min-width: 0;
}
.phone-input::placeholder { color: var(--text-subtle); }

.phone-ddi-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 200;
  background: var(--bg-white);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  width: 240px;
  max-height: 260px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.phone-ddi-dropdown::-webkit-scrollbar { width: 4px; }
.phone-ddi-dropdown::-webkit-scrollbar-thumb { background: var(--border-medium); border-radius: 4px; }

.phone-ddi-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--text-heading);
  transition: background var(--duration-fast) var(--ease-out);
}
.phone-ddi-option:hover,
.phone-ddi-option[aria-selected="true"] { background: var(--bg-off-white); }
.phone-ddi-option .opt-flag { font-size: 17px; }
.phone-ddi-option .opt-name { flex: 1; }
.phone-ddi-option .opt-dial { color: var(--text-muted); font-size: var(--text-xs); }

/* Trust signals */
.trust-card {
  background: var(--bg-off-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-top: var(--space-8);
}

.trust-card-title {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-body);
  padding: var(--space-2) 0;
}

.trust-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

/* ── Blog Post / Article Page ───────────────────────────── */

/* Hero */
.post-hero {
  background: #fff;
  padding: calc(var(--nav-height) + var(--space-10)) 0 var(--space-10);
  border-bottom: 1px solid var(--border-light);
}

.post-hero-inner {
  max-width: 760px;
}

.post-breadcrumb { margin-bottom: var(--space-8); }

.post-breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.post-breadcrumb-link:hover { color: var(--color-primary); }

.post-hero-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}

.post-hero-date,
.post-hero-read {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.post-hero-sep {
  color: var(--text-subtle);
  font-size: var(--text-sm);
}

.post-hero-title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: var(--weight-extrabold);
  color: var(--text-heading);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-5);
}

.post-hero-subtitle {
  font-size: var(--text-xl);
  color: var(--text-body);
  line-height: 1.65;
  margin: 0 0 var(--space-8);
  font-weight: var(--weight-regular);
}

.post-author-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.post-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.post-author-avatar span {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: #fff;
  letter-spacing: 0.04em;
}

.post-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.post-author-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-heading);
}

.post-author-role {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* Cover image */
.post-cover {
  background: #fff;
  padding: var(--space-8) 0;
}

.post-cover-img {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  max-height: 480px;
  box-shadow: var(--shadow-md);
}

.post-cover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-height: 480px;
}

/* Layout: sidebar + content */
.post-layout {
  padding: var(--space-12) 0 var(--space-20);
  background: #fff;
}

.post-layout-inner {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-12);
  align-items: start;
  max-width: 900px;
}

/* Banner ad slot */
.post-banner-slot {
  display: none;
  position: sticky;
  top: calc(var(--nav-height) + var(--space-8));
}

.post-banner-placeholder {
  width: 300px;
  aspect-ratio: 300 / 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  border: 1.5px dashed var(--border-medium);
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  color: var(--text-muted);
  text-align: center;
}

.post-banner-placeholder svg { opacity: 0.6; }

.post-banner-placeholder p {
  font-size: var(--text-xs);
  line-height: 1.5;
  margin: 0;
}

@media (min-width: 1201px) {
  .post-layout-inner {
    grid-template-columns: 56px 1fr 300px;
    max-width: 1240px;
  }
  .post-banner-slot { display: block; }
}

/* Sticky share sidebar */
.post-share-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-8));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.post-share-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

.post-share-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.post-share-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-medium);
  background: #fff;
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.post-share-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-pale);
}

/* Article typography */
.post-content {
  font-size: var(--text-lg);
  color: var(--text-body);
  line-height: 1.8;
  max-width: 680px;
}

.post-lead {
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  color: var(--text-heading);
  line-height: 1.65;
  margin-bottom: var(--space-8);
}

.post-content p { margin-bottom: var(--space-6); }

.post-content h2 {
  font-size: clamp(var(--text-2xl), 2.5vw, var(--text-3xl));
  font-weight: var(--weight-extrabold);
  color: var(--text-heading);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: var(--space-12) 0 var(--space-5);
}

.post-content h3 {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-heading);
  letter-spacing: -0.015em;
  margin: var(--space-10) 0 var(--space-4);
}

.post-content ul,
.post-content ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.post-content li { line-height: 1.75; }

.post-content strong { font-weight: var(--weight-semibold); color: var(--text-heading); }

.post-blockquote {
  border-left: 4px solid var(--color-primary);
  margin: var(--space-10) 0;
  padding: var(--space-6) var(--space-8);
  background: var(--bg-subtle);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.post-blockquote p {
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--text-heading);
  margin: 0 0 var(--space-3);
  line-height: 1.6;
}

.post-blockquote cite {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-style: normal;
}

/* Mobile share bar */
.post-share-mobile {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-6) 0;
  text-align: center;
}

.post-share-mobile .post-share-label {
  display: block;
  margin-bottom: var(--space-4);
}

.post-share-buttons--row {
  flex-direction: row !important;
  justify-content: center;
  gap: var(--space-3) !important;
}

.post-share-btn--labeled {
  width: auto !important;
  height: auto !important;
  padding: var(--space-2) var(--space-4);
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}

/* Related articles */
.post-related {
  padding: var(--space-16) 0 var(--space-20);
  background: #fbfbfb;
}

.post-related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
}

.post-related-title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-extrabold);
  color: var(--text-heading);
  margin: 0;
}

.post-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.blog-card-img-link {
  display: block;
  text-decoration: none;
}

/* CTA banner */
.post-cta-banner {
  background-color: #fff;
}

.post-cta-banner .container{
  max-width: 1000px;
  background: var(--bg-navy);
  padding: var(--space-16);
  border-radius: 2rem;
  box-shadow: 0 24px 64px rgba(0, 18, 80, 0.16);
  margin-top: 80px;
  margin-bottom: -70px;
  position: relative;
  z-index: 2;
}

.post-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-10);
}

.post-cta-title {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: var(--weight-extrabold);
  color: var(--text-white);
  letter-spacing: -0.025em;
  margin: 0 0 var(--space-3);
  line-height: 1.2;
}

.post-cta-desc {
  font-size: var(--text-lg);
  color: var(--text-white-2);
  margin: 0;
  line-height: 1.6;
}

/* ── Responsive inner pages ─────────────────────────────── */
@media (max-width: 1024px) {
  .about-story-grid  { grid-template-columns: 1fr; }
  .values-grid       { grid-template-columns: repeat(2, 1fr); }
  .blog-grid         { grid-template-columns: repeat(2, 1fr); }
  .feature-row       { grid-template-columns: 1fr; }
  .feature-row.reverse { direction: ltr; }
  .pricing-grid      { grid-template-columns: 1fr; }
  .contact-grid      { grid-template-columns: minmax(0, 1fr); }
  .contact-hero-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .contact-hero      { padding-bottom: var(--space-16); min-height: auto; }
  .services-grid     { grid-template-columns: 1fr; }
  .post-related-grid { grid-template-columns: repeat(2, 1fr); }
  .post-cta-inner    { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .values-grid       { grid-template-columns: 1fr; }
  .blog-grid         { grid-template-columns: 1fr; }
  .service-card      { flex-direction: column; }
  .form-row          { grid-template-columns: 1fr; }
  .post-layout-inner { grid-template-columns: 1fr; }
  .post-share-sidebar { display: none; }
  .post-share-mobile  { display: block; }
  .post-share-buttons--row { flex-wrap: wrap !important; }
  .post-related-grid  { grid-template-columns: 1fr; }
  .post-related-header { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
}
