/* ShipPlus Group — home page (from Figma "Home" 587:7608) */

:root {
  --teal: #00b5a8;
  --teal-light: #38c5bb;
  --navy: #0b1f4d;
  --navy-deep: #081636;
  --ink: #030712;
  --slate: #0f172a;
  --white-warm: #f5fffe;
  --pill-bg: #eff6ff;
  --pill-text: #1e3a8a;
  --border-soft: rgba(11, 31, 77, 0.2);
  /* Design system foundation: Noto Sans Thai is the base family
     (see css/tokens.css --font-family-base); Inter kept as fallback */
  --font-thai: "Noto Sans Thai", "Inter", sans-serif;
  --font-latin: "Noto Sans Thai", "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  overflow-x: clip;
}

body {
  font-family: var(--font-thai);
  color: var(--ink);
  background: #fff;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.teal { color: var(--teal); }
.teal-light { color: var(--teal-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-lg { font-weight: 700; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-outline {
  border: 1.5px solid var(--teal);
  color: var(--teal);
  background: transparent;
}
.btn-arrow {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1); /* exported teal arrow → white on filled buttons */
}

/* ---------- Section headings ---------- */
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: 40px;
  line-height: 48px;
  font-weight: 700;
  color: var(--slate);
}
.section-head p {
  margin-top: 16px;
  font-family: var(--font-latin);
  font-size: 25px;
  line-height: 32px;
}
.section-head.light h2,
.section-head.light p { color: var(--white-warm); }

.pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--pill-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}
.pill-sm { font-size: 13px; line-height: 18px; padding: 2px 8px; font-family: var(--font-latin); font-weight: 400; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(230, 236, 245, 0.5);
  box-shadow: 0 1px 2px rgba(11, 31, 77, 0.05);
}
/* backdrop-filter establishes a containing block for position:fixed
   descendants, which breaks the full-screen mobile nav panel's
   top/bottom inset sizing — drop it while the panel is open. */
.navbar.nav-open {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 80px;
}
.navbar-logo img { width: 80px; height: 62px; object-fit: contain; }
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.navbar-nav a {
  font-size: 18px;
  line-height: 24px;
  color: var(--navy);
  padding: 8px 0;
}
.navbar-nav a.active {
  color: var(--teal);
  font-weight: 700;
}
.navbar-nav a:hover { color: var(--teal); }
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  z-index: 50;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 24px;
  color: var(--navy);
}
.nav-dropdown-menu a:hover { color: var(--teal); }
.nav-dropdown-menu a.active { font-weight: 700; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 776px;
  display: flex;
  align-items: center;
  background: #fff;
  padding: 96px 0;
  overflow: hidden;
}
.hero > .container { position: relative; z-index: 1; }
.hero-slider { position: absolute; inset: 0; z-index: 0; }
/* keeps the headline legible no matter which slide is behind it —
   not every hero photo reserves empty space on the left for text */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(245, 255, 254, 0.94) 0%, rgba(245, 255, 254, 0.8) 32%, rgba(245, 255, 254, 0.35) 52%, rgba(245, 255, 254, 0) 68%);
  pointer-events: none;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide-1 { background-image: url("../assets/hero-slide-1.webp"); }
.hero-slide-2 { background-image: url("../assets/hero-slide-2.webp"); }
.hero-slide-3 { background-image: url("../assets/hero-slide-3.webp"); }
.hero-content { max-width: 584px; }
.hero h1 {
  font-size: 56px;
  line-height: 68px;
  font-weight: 700;
  color: var(--ink);
}
.hero-sub {
  margin-top: 8px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  color: var(--ink);
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
}
.hero-download { margin-top: 8px; }
.hero-download p {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 8px;
}
.store-badges { display: flex; gap: 16px; }
.store-badges img { height: 40px; width: auto; }

/* ---------- Stats ---------- */
.stats {
  padding: 64px 0;
  background: linear-gradient(37deg, #091a41, #01a497);
}
.stats .section-head { margin-bottom: 40px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 42px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 6px rgba(11, 31, 77, 0.05), 0 10px 15px rgba(11, 31, 77, 0.08);
}
.stat-card > img { width: 96px; height: 96px; }
.stat-num {
  margin-top: 20px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: var(--ink);
}
.stat-label {
  margin-top: 8px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: var(--slate);
}

/* ---------- Products ---------- */
.products { padding: 80px 0; background: #fff; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.product-card {
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 6px rgba(11, 31, 77, 0.05), 0 10px 15px rgba(11, 31, 77, 0.08);
}
.product-image { height: 398px; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.product-body h3 {
  font-family: var(--font-latin);
  font-size: 25px;
  line-height: 32px;
  font-weight: 700;
  color: var(--slate);
}
.product-body > p {
  font-size: 20px;
  line-height: 32px;
  color: var(--slate);
}
.checklist {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  line-height: 24px;
  color: var(--slate);
}
.checklist img { width: 20px; height: 20px; }

/* ---------- Why Us ---------- */
.whyus {
  padding: 80px 0;
  background: linear-gradient(143deg, #091a41 11%, #01a497);
}
.whyus-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.whyus-image { flex: 1; }
.whyus-image img {
  width: 100%;
  height: 532px;
  object-fit: cover;
  border-radius: 16px;
}
.whyus-content { flex: 1; }
.whyus-content h2 {
  font-size: 40px;
  line-height: 48px;
  font-weight: 700;
  color: var(--white-warm);
  margin-bottom: 24px;
}
.whyus-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.whyus-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.whyus-list li > img { width: 20px; height: 20px; margin-top: 6px; }
.whyus-list h4 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: var(--white-warm);
}
.whyus-list p {
  margin-top: 4px;
  font-size: 18px;
  line-height: 28px;
  color: var(--white-warm);
}
.whyus-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}
.whyus-buttons .btn { padding: 16px 20px; }
@media (max-width: 720px) {
  .whyus-buttons { flex-wrap: wrap; }
}

/* ---------- Integrations ---------- */
.integrations { padding: 64px 0; background: #fff; }
.integrations .section-head { margin-bottom: 32px; }
.channels {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.channel-card {
  border: 2px solid var(--border-soft);
  border-radius: 16px;
  padding: 16px;
  height: 81px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.channel-card img {
  width: 100%;
  height: 55px;
  object-fit: contain; /* Figma scale mode FIT */
  border-radius: 14px;
}
/* Figma scale modes per logo: TikTok/Facebook = FILL (cover), LINE/last = STRETCH */
.channel-card:nth-child(3) img,
.channel-card:nth-child(4) img { object-fit: cover; }
.channel-card:nth-child(5) img,
.channel-card:nth-child(6) img { object-fit: fill; }

/* ---------- Blog ---------- */
.blog { padding: 80px 0; background: #f6f8fe; }
.blog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.blog-head h2 {
  font-size: 40px;
  line-height: 48px;
  font-weight: 700;
  color: var(--slate);
}
.blog-head p {
  margin-top: 4px;
  font-family: var(--font-latin);
  font-size: 20px;
  line-height: 32px;
  color: var(--slate);
}
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--teal);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}
.link-more img { width: 14px; height: 14px; }
.link-more:hover { text-decoration: underline; }
.link-sm { font-size: 12px; line-height: 18px; }
.link-sm img { width: 10px; height: 10px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(11, 31, 77, 0.05), 0 10px 15px rgba(11, 31, 77, 0.08);
}
.blog-image { height: 160px; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 20px; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-date {
  font-family: var(--font-latin);
  font-size: 13px;
  line-height: 18px;
  color: var(--ink);
}
.blog-body h3 {
  margin-top: 12px;
  font-family: var(--font-latin);
  font-size: 20px;
  line-height: 32px;
  font-weight: 400;
  color: var(--slate);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-body > p {
  margin-top: 8px;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-body .link-more { margin-top: 16px; }

/* ---------- Brand CTA ---------- */
.midcta {
  padding: 80px 0;
  background: linear-gradient(135deg, #00b5a8, #006d6c 66%, #003733 96%);
}
.midcta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.midcta-content { max-width: 606px; }
.midcta-logo { width: 204px; height: 166px; }
.midcta-content h2 {
  margin-top: 0;
  font-size: 40px;
  line-height: 48px;
  font-weight: 700;
  color: var(--white-warm);
}
.midcta-content p {
  margin-top: 20px;
  font-family: var(--font-latin);
  font-size: 25px;
  line-height: 32px;
  color: var(--white-warm);
}
.midcta-image { flex-shrink: 0; width: 605px; max-width: 45%; }
.midcta-image img { width: 100%; border-radius: 16px; }

/* ---------- Final CTA ---------- */
.finalcta {
  padding: 80px 0;
  background: linear-gradient(180deg, #e7f3fb, #ffffff 80%);
}
.finalcta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.finalcta-image { flex: 1; }
.finalcta-image img {
  width: 100%;
  height: 388px;
  object-fit: cover;
  border-radius: 16px;
}
.finalcta-content { flex: 1; }
.finalcta-content h2 {
  font-size: 40px;
  line-height: 48px;
  font-weight: 700;
  color: #171717;
}
.finalcta-content p {
  margin-top: 24px;
  font-family: var(--font-latin);
  font-size: 25px;
  line-height: 32px;
  color: #171717;
}
.finalcta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  padding: 64px 0 32px;
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr 1.1fr;
  gap: 20px;
}
.footer-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 18px;
  line-height: 24px;
  color: var(--white-warm);
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social a:hover { background: rgba(255, 255, 255, 0.15); }
.footer-social img { width: 16px; height: 16px; }
.footer-col h4 {
  font-family: var(--font-latin);
  font-size: 20px;
  line-height: 32px;
  font-weight: 700;
  color: var(--teal);
}
.footer-col ul {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col a {
  font-size: 18px;
  line-height: 24px;
  color: #fff;
}
.footer-col a:hover { color: var(--teal-light); }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 18px;
  line-height: 24px;
  color: #fff;
}
.footer-contact li img {
  width: 14px;
  height: 14px;
  margin-top: 5px;
  flex-shrink: 0;
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p,
.footer-bottom-links a {
  font-family: var(--font-latin);
  font-size: 13px;
  line-height: 18px;
  color: #fafafa;
}
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a:hover { text-decoration: underline; }

/* ---------- Responsive helpers ---------- */
.m-only { display: none; }
.menu-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: var(--pill-bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-btn img { width: 20px; height: 20px; }
.menu-btn-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.menu-btn-bar + .menu-btn-bar { margin-top: 5px; }
.navbar.nav-open .menu-btn-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar.nav-open .menu-btn-bar:nth-child(2) { opacity: 0; }
.navbar.nav-open .menu-btn-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav dropdown panel — reuses the same surface/shadow/radius
   tokens as .nav-dropdown-menu so the opened state matches the site's
   existing dropdown pattern (no bespoke mobile-only style). */
@media (max-width: 1100px) {
  body.nav-locked { overflow: hidden; }
  .menu-btn.m-only { display: inline-flex; }
  .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-surface);
    padding: 8px 20px 20px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }
  .navbar.nav-open .navbar-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .navbar-nav a { padding: 14px 0; border-bottom: 1px solid rgba(230, 236, 245, 0.6); }
  .navbar-nav .nav-dropdown { border-bottom: 1px solid rgba(230, 236, 245, 0.6); }
  .navbar-nav .nav-dropdown > a { border-bottom: none; }
  .navbar-nav .nav-dropdown-menu {
    display: block;
    position: static;
    box-shadow: none;
    padding: 0 0 8px 16px;
  }
  .navbar-nav .nav-dropdown-menu a { padding: 10px 0; border-bottom: none; }
}

@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .channels { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .midcta-inner, .finalcta-inner, .whyus-inner { flex-direction: column; }
  .midcta-image { max-width: 100%; }
}

/* ---------- Mobile (Figma frame m-home, 639:4967, 390px) ---------- */
@media (max-width: 767px) {
  .d-only { display: none !important; }
  .m-only { display: block; }
  .menu-btn.m-only { display: inline-flex; }

  .container { padding: 0 20px; }

  /* Mobile header */
  .navbar-inner { height: 72px; gap: 8px; }
  .navbar-nav { top: 72px; }
  .navbar-logo img { width: 48px; height: 37px; }
  .navbar-actions { gap: 8px; }
  .navbar-actions .btn-outline {
    padding: 8px 14px;
    border-width: 1px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
  }

  /* Hero */
  .hero {
    min-height: 0;
    padding: 40px 0 24px;
    align-items: flex-start;
  }
  .hero-slide { background-position: top center; }
  .hero-scrim { background: linear-gradient(180deg, rgba(245, 255, 254, 0.95) 0%, rgba(245, 255, 254, 0.85) 45%, rgba(245, 255, 254, 0.3) 70%, rgba(245, 255, 254, 0) 85%); }
  .hero-slide-1 { background-image: url("../assets/hero-slide-1-m.webp"); background-position: top center; }
  .hero-slide-2 { background-image: url("../assets/hero-slide-2-m.webp"); background-position: top center; }
  .hero-slide-3 { background-image: url("../assets/hero-slide-3-m.webp"); background-position: top center; }
  .hero-content { max-width: none; }
  .hero h1 { font-size: 32px; line-height: 40px; color: var(--navy); }
  .hero-sub { margin-top: 24px; font-size: 20px; line-height: 28px; }
  .hero-buttons { flex-direction: column; padding: 32px 0 24px; }
  .hero-buttons .btn { width: 100%; }
  .hero-visual-m { height: 227px; margin-top: 32px; }

  /* Stats: 2x2 */
  .stats { padding: 48px 0; }
  .stats .section-head { margin-bottom: 24px; }
  .stats .section-head h2 { font-size: 24px; line-height: 32px; color: #fff; }
  .stats .section-head p { font-size: 16px; line-height: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-card { padding: 16px; border-radius: 16px; }
  .stat-card > img { width: 64px; height: 64px; }
  .stat-num { margin-top: 12px; font-size: 16px; line-height: 24px; }
  .stat-label { margin-top: 8px; font-size: 14px; line-height: 20px; }

  /* Products */
  .products { padding: 48px 0; }
  .products .section-head { margin-bottom: 32px; }
  .products .section-head h2 { font-family: var(--font-latin); font-size: 25px; line-height: 30px; }
  .products-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-card { border-radius: 20px; }
  .product-image { height: 240px; }
  .product-body > p { font-size: 16px; line-height: 24px; }
  .product-body .btn { width: 100%; }

  /* Why Us */
  .whyus { padding: 48px 0; }
  .whyus-inner { gap: 32px; }
  .whyus-image img { height: 296px; }
  .whyus-content h2 { font-family: var(--font-latin); font-size: 25px; line-height: 30px; }
  .whyus-list h4 { font-family: var(--font-latin); font-size: 20px; line-height: 32px; font-weight: 400; }
  .whyus-list p { font-size: 16px; line-height: 24px; }
  .whyus-buttons { flex-direction: column; width: 100%; }
  .whyus-buttons .btn { width: 100%; }

  /* Integrations: marquee strip */
  .integrations { padding: 48px 0; }
  .integrations .section-head { margin-bottom: 16px; }
  .integrations .section-head h2 { font-size: 24px; line-height: 32px; }
  .channels-marquee { overflow: hidden; }
  .channels-track {
    display: flex;
    gap: 13px;
    width: max-content;
    animation: channels-scroll 25s linear infinite;
  }
  .channel-chip {
    flex: 0 0 auto;
    width: 104px;
    height: 45px;
    padding: 6px 8px;
    border: 1px solid rgba(26, 26, 26, 0.2);
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .channel-chip img { max-width: 100%; max-height: 33px; object-fit: contain; }
  @keyframes channels-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* Blog: compact rows */
  .blog { padding: 48px 0; }
  .blog-head { margin-bottom: 32px; }
  .blog-head h2 { font-family: var(--font-latin); font-size: 20px; line-height: 32px; }
  .blog-head p { display: none; }
  .blog-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-card {
    display: flex;
    align-items: center;
    gap: 16px;
    border: none;
    box-shadow: none;
    background: transparent;
    overflow: visible;
  }
  .blog-image {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
  }
  .blog-body { padding: 0; flex: 1; min-width: 0; }
  .blog-meta .pill { display: none; }
  .blog-date { font-size: 16px; line-height: 24px; font-weight: 700; color: #64748b; }
  .blog-body h3 {
    margin-top: 4px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    -webkit-line-clamp: 1;
  }
  .blog-body > p { display: none; }
  .blog-body .link-more { margin-top: 4px; }

  /* Brand CTA */
  .midcta {
    padding: 48px 0;
    background: linear-gradient(180deg, #00b5a8, #007a6e);
  }
  .midcta-inner { gap: 24px; align-items: flex-start; }
  .midcta-logo { width: 108px; height: 88px; }
  .midcta-content h2 { font-size: 24px; line-height: 32px; }
  .midcta-content p { margin-top: 20px; font-size: 16px; line-height: 24px; }
  .midcta-image { width: 100%; }

  /* Final CTA — Figma order: text, image, buttons */
  .finalcta { padding: 48px 0; background: #fafafa; }
  .finalcta-inner { flex-direction: column; gap: 16px; }
  .finalcta-content { display: contents; }
  .finalcta-content h2 { order: 1; font-size: 24px; line-height: 32px; text-align: center; }
  .finalcta-content p { order: 2; margin-top: 0; font-size: 16px; line-height: 24px; text-align: center; }
  .finalcta-image { order: 3; width: 100%; margin-top: 16px; }
  .finalcta-image img { height: 232px; }
  .finalcta-buttons { order: 4; flex-direction: column; width: 100%; margin-top: 16px; gap: 16px; }
  .finalcta-buttons .btn { width: 100%; }

  /* Footer */
  .footer { padding: 48px 0 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { margin-top: 32px; flex-direction: column; align-items: flex-start; }
}
