/* DigiWap Lead Chat — Modern Responsive Design System */
:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-light: #eff6ff;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  --text: #0f172a;
  --muted: #64748b;
  --surface: #ffffff;
  --bg: #f8fafc;
  --border: #e2e8f0;
  --border-focus: #93c5fd;
  --success: #16a34a;
  --warning: #d97706;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px -2px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px -4px rgba(15,23,42,0.12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 84px; /* space for sticky bottom bar */
}

/* Accessibility Focus */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Container */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Bar */
.top-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
}
.top-nav .nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.brand-logo svg {
  color: var(--brand);
}

.top-chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
  transition: all 0.2s;
}
.top-chat-btn:hover {
  background: var(--brand-dark);
}

.top-wa-btn {
  display: none; /* Hidden until 5 chats */
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.top-wa-btn.revealed {
  display: inline-flex;
  animation: fadeIn 0.3s ease;
}

/* Hero Section */
.hero-section {
  padding: 48px 0 64px;
}
.hero-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  align-items: center;
}

.founder-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.avatar-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}
.avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.online-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 13px;
  height: 13px;
  background-color: var(--whatsapp);
  border: 2px solid var(--surface);
  border-radius: 50%;
}
.founder-badge-text {
  text-align: left;
}
.founder-badge-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.founder-badge-sub {
  font-size: 12px;
  color: var(--whatsapp-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero-headline {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--text);
}
@media (min-width: 768px) {
  .hero-headline {
    font-size: 46px;
  }
}
.hero-subtext {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 660px;
}

/* Hero CTA Button */
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
  transition: all 0.2s;
  text-decoration: none;
  animation: pulseButton 2.5s infinite;
}
.hero-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.45);
}

@keyframes pulseButton {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
  70% { box-shadow: 0 0 0 14px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  box-shadow: var(--shadow-sm);
}
.trust-badge-item svg {
  color: var(--brand);
}

.founder-quote-box {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  border: 1px solid #dbeafe;
  border-radius: var(--radius-md);
  padding: 16px 22px;
  font-size: 14px;
  color: #1e3a8a;
  line-height: 1.6;
  max-width: 680px;
  text-align: left;
}

/* Full-Screen Chat Modal */
.chat-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.chat-modal-overlay.open {
  display: flex;
  animation: fadeIn 0.25s ease-out;
}
.chat-modal-container {
  width: min(100%, 560px);
  height: min(760px, calc(100dvh - 32px));
  min-height: 280px;
  background: #fafbfe;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
}
.chat-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #fafbfe;
}
body.chat-modal-open {
  overflow: hidden;
}

/* Chat Header inside Modal */
.chat-header {
  padding: 14px 20px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar-mini {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.chat-avatar-mini img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.chat-avatar-mini .dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: var(--whatsapp);
  border: 2px solid #fff;
  border-radius: 50%;
}
.chat-header-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}
.chat-header-status {
  font-size: 12px;
  color: var(--whatsapp-dark);
  font-weight: 600;
}
.chat-close-btn {
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
  transition: all 0.15s;
}
.chat-close-btn:hover {
  background: #e2e8f0;
  color: var(--text);
}
@media (max-width: 480px) {
  .chat-modal-overlay {
    padding: 10px;
  }
  .chat-modal-container {
    width: 100%;
    height: min(740px, calc(100dvh - 20px));
    border-radius: 14px;
  }
}

/* Messages Area */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fafbfe;
  scroll-behavior: smooth;
}

/* Chat Bubbles */
.chat-bubble-wrap {
  display: flex;
  gap: 10px;
  max-width: 86%;
  animation: fadeIn 0.25s ease-out;
}
.chat-bubble-wrap.assistant {
  align-self: flex-start;
}
.chat-bubble-wrap.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.bubble-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}
.bubble {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14.5px;
  line-height: 1.5;
  word-break: break-word;
}
.bubble p {
  margin: 0;
}
.bubble p + p {
  margin-top: 0.7em;
}
.bubble strong {
  font-weight: 700;
}
.chat-bubble-wrap.assistant .bubble {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
  border-top-left-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.chat-bubble-wrap.user .bubble {
  background: var(--brand);
  color: #ffffff;
  border-top-right-radius: 4px;
}

/* Typing Indicator */
.typing-bubble {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  border-top-left-radius: 4px;
  width: fit-content;
  font-size: 12px;
  color: var(--muted);
}
.typing-label { font-size: 12px; font-weight: 600; color: var(--muted); }
.typing-dots { display: inline-flex; align-items: center; gap: 4px; min-width: 28px; }
.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--muted);
  border-radius: 50%;
  animation: typingBounce 1.2s infinite ease-in-out;
}
.typing-dots .typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dots .typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dots .typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* Quick Reply Chips */
.chat-chips-wrap {
  padding: 10px 16px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.chat-chips-wrap::-webkit-scrollbar {
  display: none;
}
.chip-btn {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--brand);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.chip-btn:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* Inline Phone Capture Box */
.phone-capture-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: 6px;
  box-shadow: var(--shadow-sm);
}
.phone-capture-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.phone-prefix {
  background: #f1f5f9;
  border: 1px solid var(--border);
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}
.phone-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
}
.phone-input:focus {
  outline: none;
  border-color: var(--brand);
}
.phone-submit-btn {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
.phone-consent-text {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}

/* Inline Summary Card */
.summary-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 8px;
}
.summary-title {
  font-size: 13px;
  font-weight: 700;
  color: #166534;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.summary-body {
  font-size: 13px;
  color: #1f2937;
  line-height: 1.5;
}

/* Inline Handoff Card */
.handoff-card {
  background: #ffffff;
  border: 2px solid #86efac;
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 10px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.handoff-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.handoff-subtitle {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.handoff-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-wa-handoff {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--whatsapp);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 13px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37,211,102,0.3);
  transition: background 0.2s;
}
.btn-wa-handoff:hover {
  background: var(--whatsapp-dark);
}
.btn-call-handoff {
  background: #f8fafc;
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  padding: 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-call-handoff:hover {
  background: #f1f5f9;
}

/* Time Slot Chips */
.time-slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 10px;
}
.slot-chip {
  padding: 8px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  font-weight: 500;
}
.slot-chip:hover {
  border-color: var(--brand);
  background: #eff6ff;
  color: var(--brand);
}

/* Chat Input Bar */
.chat-input-bar {
  padding: 14px 16px;
  background: #ffffff;
  border-top: 1px solid var(--border);
}
.chat-form {
  display: flex;
  gap: 10px;
  align-items: center;
}
.chat-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 12px 18px;
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s;
}
.chat-input:focus {
  border-color: var(--brand);
}
.chat-send-btn {
  background: var(--brand);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}
.chat-send-btn:hover {
  background: var(--brand-dark);
}
.chat-send-btn:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
}
.chat-footer-note {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 6px;
}

/* Portfolio Section */
.section {
  padding: 56px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 36px;
}
.section-badge {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand);
  background: var(--brand-light);
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 8px;
}
.section-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-subtitle {
  color: var(--muted);
  font-size: 15px;
  margin-top: 6px;
}

/* Portfolio Grid */
.portfolio-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  scrollbar-width: thin;
}
.portfolio-card {
  flex: 0 0 82%;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
@media (min-width: 640px) {
  .portfolio-card {
    flex: 0 0 46%;
  }
}
@media (min-width: 1024px) {
  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
  }
  .portfolio-card {
    flex: auto;
  }
}
.portfolio-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  background: #e2e8f0;
  overflow: hidden;
  position: relative;
}
.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.03);
}
.portfolio-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.portfolio-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.tag-badge {
  font-size: 11px;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  padding: 2px 8px;
  border-radius: 4px;
}
.portfolio-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.portfolio-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  flex: 1;
}
.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  margin-top: 12px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.service-icon {
  width: 44px;
  height: 44px;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.service-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.service-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-quote {
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 16px;
}
.testimonial-author {
  font-size: 14px;
  font-weight: 700;
}
.testimonial-role {
  font-size: 12px;
  color: var(--muted);
}

/* Sticky Bottom Bar on Landing Page */
.sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 12px 18px;
  z-index: 900;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
}
.bottom-chat-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
  transition: all 0.2s;
}
.bottom-chat-trigger:hover {
  background: #1d4ed8;
  transform: scale(1.01);
}

/* Post-chat revealed buttons (WhatsApp and Call) */
.post-chat-actions {
  display: none;
  width: 100%;
  max-width: none;
  gap: 10px;
  padding-top: 10px;
}
.post-chat-actions.revealed {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}
.post-chat-actions .btn-wa {
  flex: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--whatsapp);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.post-chat-actions .btn-wa:hover {
  background: var(--whatsapp-dark);
}
.post-chat-actions .btn-call {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #f1f5f9;
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  padding: 12px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--border);
}
.post-chat-actions .btn-call:hover {
  background: #e2e8f0;
}

/* Site Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 44px 0 28px;
  font-size: 13px;
}
.site-footer a {
  color: #cbd5e1;
  text-decoration: none;
}
.footer-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 768px) {
  .footer-wrap {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.landing-links { display: flex; align-items: center; gap: 18px; }
.landing-links a { color: var(--text); font-size: 13px; font-weight: 650; text-decoration: none; }
.landing-links a:hover { color: var(--brand); }
.blog-preview-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.blog-preview-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.blog-preview-card img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--brand-light); }
.blog-preview-copy { padding: 18px; }
.blog-preview-copy > span { color: var(--brand); font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.blog-preview-copy h3 { margin: 7px 0; font-size: 17px; line-height: 1.35; }
.blog-preview-copy h3 a { color: var(--text); text-decoration: none; }
.blog-preview-copy h3 a:hover { color: var(--brand); }
.blog-preview-copy p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.blog-preview-copy small { display: block; color: var(--muted); font-size: 11px; }
.blog-preview-link,.blog-all-link a { display: inline-flex; margin-top: 12px; color: var(--brand); font-size: 13px; font-weight: 700; text-decoration: none; }
.blog-all-link { margin-top: 20px; text-align: center; }
@media (min-width: 640px) { .blog-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .blog-preview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .landing-links { gap: 12px; } .landing-links a { font-size: 12px; } }
