/* ============================================================
   Prolife Wealth Management - Responsive Stylesheet
   ============================================================ */

/* ============================================================
   EXTRA LARGE (max-width: 1200px)
   ============================================================ */
@media (max-width: 1200px) {
  .category-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 32px;
  }

  .hero-inner {
    gap: 40px;
  }

  .about-inner {
    gap: 40px;
  }
}

/* ============================================================
   LARGE / TABLET LANDSCAPE (max-width: 992px)
   ============================================================ */
@media (max-width: 992px) {
  .section { padding: 60px 0; }
  .section-lg { padding: 70px 0; }

  /* --- Header --- */
  .nav { display: none; }
  .header-actions .btn { display: none; }
  .hamburger { display: flex; }

  /* --- Hero --- */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-eyebrow {
    align-self: center;
  }

  .hero h1 {
    text-align: center;
  }

  .hero-subtitle {
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
    width: 100%;
  }

  .hero-cta {
    justify-content: center;
    width: 100%;
  }

  .hero-form-card {
    max-width: 500px;
    margin: 0 auto;
  }

  /* --- Trust Bar --- */
  .trust-item {
    padding: 6px 16px;
    font-size: 0.82rem;
  }

  /* --- Knowledge Category Cards --- */
  .category-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-card {
    text-align: center;
  }

  .category-icon {
    margin: 0 auto 16px;
  }

  .category-card .btn {
    align-self: center;
  }

  /* --- Why Cards --- */
  .why-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .why-card {
    text-align: center;
  }

  .why-card-icon {
    margin: 0 auto 16px;
  }

  /* --- Calculators --- */
  .calc-card { padding: 28px; }
  .calc-inputs { grid-template-columns: 1fr; }
  .calc-result-grid { grid-template-columns: 1fr; gap: 12px; }

  /* --- Blog Grid --- */
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* --- Portfolio Review --- */
  .portfolio-review-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .portfolio-review-content {
    align-items: center;
  }

  /* --- About --- */
  .about-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .about-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* --- About Metrics --- */
  .about-metrics {
    grid-template-columns: repeat(4, 1fr);
  }

  .metric-card {
    text-align: center;
  }

  /* --- Testimonials --- */
  .testimonial-card {
    min-width: calc(50% - 12px);
  }

  /* --- Footer --- */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-brand .footer-logo {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  /* --- Content Grid (inner pages) --- */
  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-sidebar {
    order: -1;
  }

  /* --- Contact Grid --- */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* --- Blog Layout --- */
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* --- Portfolio Form --- */
  .portfolio-form { padding: 28px; }

  /* --- Features Grid --- */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* --- Generic Grid Overrides --- */
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }

  /* --- Chatbot --- */
  .chatbot-window {
    max-height: min(460px, calc(100vh - 250px));
  }
}

/* ============================================================
   MEDIUM / TABLET PORTRAIT (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  html { font-size: 15px; }

  .section { padding: 50px 0; }
  .section-sm { padding: 36px 0; }
  .section-lg { padding: 56px 0; }

  /* --- Container --- */
  .container { padding: 0 16px; }

  /* --- Typography --- */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
  h3 { font-size: 1.3rem; }

  /* --- Section Titles --- */
  .section-title { margin-bottom: 36px; text-align: center; }
  .section-title h2 { text-align: center; }
  .section-title p { text-align: center; }

  /* --- Header --- */
  .header { padding: 12px 0; }
  .logo-name { font-size: 1rem; }
  .mobile-nav { display: flex; }

  /* --- Hero --- */
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero h1 { font-size: 2rem; text-align: center; }

  .hero-subtitle { text-align: center; }

  .hero-eyebrow { align-self: center; }

  .hero-stats {
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-stat { text-align: center; }
  .hero-stat .number { font-size: 1.5rem; }

  .hero-cta { justify-content: center; flex-wrap: wrap; }

  .hero-form-card {
    padding: 24px;
    max-width: 100%;
  }

  .form-row { grid-template-columns: 1fr; }

  /* --- Trust Bar --- */
  .trust-bar-inner {
    flex-direction: column;
    gap: 0;
  }

  .trust-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
  }

  .trust-item:last-child { border-bottom: none; }

  /* --- Knowledge Category Cards --- */
  .category-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .category-card {
    padding: 24px 20px;
    text-align: center;
  }

  .category-icon {
    margin: 0 auto 16px;
  }

  .category-card h3 { text-align: center; }
  .category-card p { text-align: center; }

  .category-card .btn {
    align-self: center;
    margin: 0 auto;
  }

  /* --- Why Section --- */
  .why-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .why-card {
    padding: 24px 20px;
    text-align: center;
  }

  .why-card-icon {
    margin: 0 auto 16px;
  }

  .why-card h3 { text-align: center; }
  .why-card p { text-align: center; }

  /* --- Calculators --- */
  .calc-tabs { gap: 6px; flex-wrap: wrap; justify-content: center; }
  .calc-tab { padding: 8px 16px; font-size: 0.82rem; }
  .calc-card { padding: 24px 18px; }
  .calc-card-header { flex-direction: column; text-align: center; align-items: center; }
  .calc-card-header h3 { text-align: center; }
  .calc-actions { flex-direction: column; align-items: stretch; }
  .calc-actions .btn { width: 100%; text-align: center; justify-content: center; }
  .calc-result-grid { grid-template-columns: 1fr; gap: 12px; }
  .calc-result-item { text-align: center; }
  .calc-inputs { grid-template-columns: 1fr; }

  /* --- Blog Grid --- */
  .blog-grid { grid-template-columns: 1fr; }
  .blog-main-grid { grid-template-columns: 1fr; }

  /* --- Blog Sidebar --- */
  .blog-sidebar { grid-template-columns: 1fr; }

  /* --- Portfolio Review --- */
  .portfolio-review-inner {
    gap: 24px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .portfolio-review-inner h2 { text-align: center; }
  .portfolio-review-inner p { text-align: center; }

  /* --- About Section --- */
  .about-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about-content h2 { text-align: center; }
  .about-content p { text-align: center; }

  .about-list {
    text-align: left;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  /* --- About Metrics --- */
  .about-metrics { grid-template-columns: repeat(2, 1fr); }
  .metric-card { text-align: center; }

  /* --- Testimonials --- */
  .testimonial-card { min-width: calc(100% - 0px); }
  .testimonial-text { text-align: center; }
  .testimonial-author { justify-content: center; }

  /* --- Footer --- */
  .footer { padding: 48px 0 0; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: auto;
    text-align: center;
  }

  .footer-brand .footer-logo {
    justify-content: center;
  }

  .footer-brand p { text-align: center; }
  .footer-social { justify-content: center; }

  .footer-widget { text-align: center; }
  .footer-widget h4 { text-align: center; }
  .footer-widget h4::after { margin: 8px auto 0; }

  .footer-links { align-items: center; }
  .footer-links li { text-align: center; }

  .footer-contact li { justify-content: center; text-align: center; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  /* --- WhatsApp & Chatbot --- */
  .whatsapp-sticky { bottom: 20px; right: 16px; width: 52px; height: 52px; font-size: 1.4rem; }
  .chatbot-widget { bottom: 84px; right: 16px; }
  .chatbot-window {
    width: calc(100vw - 32px);
    max-width: 340px;
    max-height: min(440px, calc(100vh - 220px));
  }

  /* --- Buttons --- */
  .btn-lg { padding: 14px 28px; font-size: 0.95rem; }
  .btn-xl { padding: 15px 32px; font-size: 1rem; }

  /* --- CTA Banner --- */
  .cta-banner { padding: 48px 0; text-align: center; }
  .cta-banner h2 { text-align: center; }
  .cta-banner p { text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; }

  /* --- Page Hero (inner pages) --- */
  .page-hero { padding: 110px 0 60px; }
  .page-hero-inner { text-align: center; }
  .page-hero h1 { text-align: center; }
  .page-hero p { text-align: center; }
  .breadcrumb { justify-content: center; }

  /* --- Contact --- */
  .contact-form-card { padding: 24px; }
  .contact-info-cards { grid-template-columns: 1fr 1fr; }
  .contact-info-card { text-align: center; }
  .contact-info-card-icon { margin: 0 auto 12px; }

  /* --- Features Grid --- */
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { text-align: center; }
  .feature-icon { margin: 0 auto 16px; }

  /* --- Generic Grid --- */
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }

  /* --- Comparison Table --- */
  .comparison-table { font-size: 0.8rem; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }

  /* --- Toast --- */
  .toast-container { right: 12px; top: 12px; }
  .toast { min-width: 260px; }

  /* --- FAQ --- */
  .faq-question { font-size: 0.88rem; padding: 16px 18px; }
  .faq-answer { padding: 0 18px; }
  .faq-answer.open { padding: 0 18px 16px; }

  /* --- Blog Cards --- */
  .blog-card-image { height: 160px; }
  .blog-card-body { text-align: left; }

  /* --- Back to Top --- */
  .back-to-top { left: 16px; bottom: 20px; }

  /* --- Newsletter --- */
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }

  /* --- Hero form strip --- */
  .hero-form-card::before { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

  /* --- Info cards on contact page --- */
  .info-card { text-align: center; }
  .info-card-icon { margin: 0 auto 12px; }

  /* --- Page inner content --- */
  .page-content h2,
  .page-content h3 { text-align: left; }
}

/* ============================================================
   SMALL MOBILE (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
  html { font-size: 14px; }

  .container { padding: 0 14px; }

  /* --- Hero --- */
  .hero { padding: 90px 0 50px; }
  .hero h1 { font-size: 1.8rem; text-align: center; }
  .hero-subtitle { font-size: 1rem; text-align: center; }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: flex-start;
  }

  .hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 80px;
  }

  .hero-stat .number { font-size: 1.4rem; }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }

  .hero-cta .btn {
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  .hero-form-card {
    padding: 20px 16px;
  }

  /* --- Trust Bar --- */
  .trust-bar-inner {
    flex-direction: column;
  }

  /* --- Category Cards --- */
  .category-card { padding: 20px 16px; text-align: center; }
  .category-icon { width: 60px; height: 60px; font-size: 1.5rem; margin: 0 auto 14px; }

  /* --- Calculators --- */
  .calc-tab { padding: 7px 12px; font-size: 0.78rem; }
  .calc-card { padding: 20px 14px; }
  .calc-result-item .value { font-size: 1.2rem; }
  .calc-result-item { text-align: center; }

  /* --- Why Cards --- */
  .why-card { padding: 24px 20px; text-align: center; }
  .why-card-icon { margin: 0 auto 14px; }

  /* --- About Metrics --- */
  .about-metrics { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .metric-card { padding: 16px 12px; text-align: center; }
  .metric-card .metric-number { font-size: 1.6rem; }

  /* --- Portfolio Form --- */
  .portfolio-form { padding: 20px 16px; }

  /* --- Testimonials --- */
  .testimonial-text { font-size: 0.88rem; text-align: center; }
  .testimonial-author { justify-content: center; }

  /* --- Chatbot --- */
  .chatbot-window {
    width: calc(100vw - 28px);
    max-width: 320px;
    max-height: min(420px, calc(100vh - 210px));
  }

  /* --- Slider --- */
  .slider-controls { gap: 8px; justify-content: center; }
  .slider-btn { width: 38px; height: 38px; }

  /* --- Footer --- */
  .footer { padding: 36px 0 0; }
  .footer-grid { gap: 20px; }
  .footer-social { flex-wrap: wrap; justify-content: center; }
  .footer-widget { text-align: center; }
  .footer-links { align-items: center; }

  /* --- Section Titles --- */
  .section-title h2 { font-size: 1.5rem; text-align: center; }
  .section-title p { text-align: center; }
  .section-title { text-align: center; }

  /* --- Buttons --- */
  .btn-xl { padding: 14px 24px; font-size: 0.95rem; }
  .btn-lg { padding: 12px 24px; font-size: 0.9rem; }

  /* --- Page Hero --- */
  .page-hero { padding: 90px 0 48px; }
  .page-hero h1 { font-size: 1.6rem; text-align: center; }
  .page-hero p { text-align: center; }
  .page-hero-inner { text-align: center; }

  /* --- Contact --- */
  .contact-form-card { padding: 20px 16px; }
  .contact-info-cards { grid-template-columns: 1fr; }
  .contact-info-card { text-align: center; }

  /* --- Trust Badges --- */
  .trust-badge { font-size: 0.76rem; padding: 8px 14px; }
  .trust-badges { gap: 10px; justify-content: center; }

  /* --- Comparison Table Scroll --- */
  .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .comparison-table th, .comparison-table td {
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  /* --- FAQ --- */
  .faq-question { font-size: 0.85rem; }

  /* --- CTA Banner --- */
  .cta-banner { text-align: center; }
  .cta-banner h2, .cta-banner p { text-align: center; }

  /* --- Blog card --- */
  .blog-card-body { padding: 18px; }
  .blog-card-meta { flex-wrap: wrap; gap: 6px; }
}

/* ============================================================
   EXTRA SMALL (max-width: 360px)
   ============================================================ */
@media (max-width: 360px) {
  html { font-size: 13px; }

  .container { padding: 0 12px; }

  .hero h1 { font-size: 1.6rem; }

  .hero-cta .btn { font-size: 0.88rem; padding: 12px 18px; }

  .chatbot-window {
    width: calc(100vw - 20px);
    max-height: min(400px, calc(100vh - 200px));
  }

  .footer-grid { gap: 16px; }

  .category-card { padding: 18px 14px; }

  .hero-form-card { padding: 18px 14px; }

  .calc-tab { font-size: 0.72rem; padding: 6px 10px; }
}

/* ============================================================
   CLIENT STORIES / TESTIMONIALS — MOBILE RESPONSIVE
   ============================================================ */

/* Tablet (992px and below) — 2 cards visible */
@media (max-width: 992px) {
  .testimonials-section {
    padding: 60px 0;
  }

  .testimonial-card {
    min-width: calc(50% - 12px);
    width: calc(50% - 12px);
    padding: 24px;
  }

  .slider-controls {
    margin-top: 28px;
    gap: 14px;
  }
}

/* Mobile (768px and below) — 1 card visible, card-style layout */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 50px 0;
  }

  .testimonials-slider {
    /* Add side padding so card has breathing room and user can see it's swipeable */
    margin: 0 -4px;
    padding: 0 4px;
    border-radius: var(--radius-md);
  }

  .testimonials-track {
    gap: 16px;
  }

  .testimonial-card {
    min-width: 100%;
    width: 100%;
    padding: 24px 20px;
    border-radius: var(--radius-lg);
    /* Subtle lift shadow for depth on mobile */
    box-shadow: 0 4px 24px rgba(13, 71, 161, 0.10);
  }

  .testimonial-card:hover {
    /* Disable hover lift on mobile to avoid jumpy feel */
    transform: none;
  }

  .testimonial-text {
    font-size: 0.92rem;
    line-height: 1.75;
    text-align: center;
    margin-bottom: 20px;
  }

  .testimonial-text::before {
    font-size: 3rem;
    top: -14px;
    left: 0;
    right: 0;
    text-align: center;
  }

  .testimonial-rating {
    justify-content: center;
    margin-bottom: 12px;
  }

  .testimonial-author {
    justify-content: center;
    gap: 12px;
  }

  .testimonial-info {
    text-align: left;
  }

  .testimonial-info h5 {
    font-size: 0.93rem;
  }

  .testimonial-info span {
    font-size: 0.78rem;
  }

  /* Bigger prev/next buttons on mobile for easier tapping */
  .slider-btn {
    width: 46px;
    height: 46px;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
  }

  /* Active pill dot for current slide */
  .slider-dot {
    width: 8px;
    height: 8px;
  }

  .slider-dot.active {
    width: 24px;
    border-radius: 4px;
  }

  .slider-controls {
    margin-top: 24px;
    gap: 12px;
  }

  /* Show slide counter on mobile (e.g. "2 / 5") */
  .slider-counter {
    display: block;
  }

  /* Show swipe hint */
  .slider-swipe-hint {
    display: block;
  }

  /* Section title on mobile */
  .testimonials-section .section-title h2 {
    font-size: 1.6rem;
  }
}

/* Small mobile (480px and below) */
@media (max-width: 480px) {
  .testimonials-section {
    padding: 44px 0;
  }

  .testimonial-card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .testimonial-text {
    font-size: 0.88rem;
    margin-bottom: 16px;
  }

  .testimonial-text::before {
    font-size: 2.6rem;
  }

  .testimonial-avatar {
    width: 44px !important;
    height: 44px !important;
  }

  .testimonial-info h5 {
    font-size: 0.88rem;
  }

  .testimonial-info span {
    font-size: 0.75rem;
  }

  .slider-btn {
    width: 42px;
    height: 42px;
    font-size: 0.9rem;
  }

  .slider-controls {
    gap: 10px;
    margin-top: 20px;
  }

  .slider-dot {
    width: 7px;
    height: 7px;
  }

  .slider-dot.active {
    width: 20px;
  }
}

/* ============================================================
   IMAGE & CARD MOBILE FIXES
   ============================================================ */
@media (max-width: 768px) {
  /* Category card image wrap uses negative margins — adjust for smaller padding */
  .category-card-img-wrap {
    margin: -24px -20px 20px -20px;
    width: calc(100% + 40px);
    height: 160px;
  }

  /* About image height */
  .about-img-wrap img {
    height: 280px;
  }

  /* Blog card image */
  .blog-card-image {
    height: 180px !important;
  }

  /* Hero visual overlay image — hide on mobile so hero stays clean */
  .hero-visual-img {
    display: none;
  }

  /* Hero floating img — centered */
  .hero-floating-img {
    max-width: 100%;
    margin: 0 auto;
  }

  /* Page hero bg image — reduce opacity more on mobile */
  .page-hero-bg-img {
    opacity: 0.08;
  }

  /* Testimonial author center on mobile */
  .testimonial-author {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .category-card-img-wrap {
    margin: -20px -16px 16px -16px;
    width: calc(100% + 32px);
    height: 140px;
  }

  .about-img-wrap img {
    height: 220px;
  }

  .blog-card-image {
    height: 160px !important;
  }
}

@media (max-width: 360px) {
  .category-card-img-wrap {
    margin: -18px -14px 14px -14px;
    width: calc(100% + 28px);
    height: 120px;
  }
}

/* ============================================================
   FOUNDER / ABOUT SECTION — RESPONSIVE
   ============================================================ */

/* Tablet landscape (≤ 992px) */
@media (max-width: 992px) {
  .founder-profile-card {
    grid-template-columns: 280px 1fr;
    gap: 36px;
    padding: 36px;
  }

  .founder-photo-wrap img {
    height: 320px;
  }

  .approach-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .founder-metrics-bar {
    padding: 28px 32px;
    gap: 16px;
  }

  .fmetric-number { font-size: 2rem; }

  .vision-block {
    padding: 40px;
  }

  .brand-tagline-inner {
    padding: 40px 36px;
  }
}

/* Tablet portrait (≤ 768px) */
@media (max-width: 768px) {
  /* Stack founder card vertically */
  .founder-profile-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 24px;
  }

  /* Photo: smaller, centered */
  .founder-photo-col {
    align-items: center;
  }

  .founder-photo-wrap {
    max-width: 280px;
    width: 100%;
    margin: 0 auto;
  }

  .founder-photo-wrap img {
    height: 280px;
  }

  .founder-photo-badge {
    font-size: 0.78rem;
    padding: 8px 12px;
  }

  .founder-credentials {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Bio column: centered text on mobile */
  .founder-bio-col {
    text-align: center;
    align-items: center;
  }

  .founder-name-block {
    text-align: center;
  }

  .founder-bio-lead,
  .founder-bio-text {
    text-align: center;
  }

  .founder-roles {
    text-align: left;
    align-self: stretch;
  }

  .founder-cta {
    align-self: center;
  }

  /* Vision block: stack icon + text */
  .vision-block {
    padding: 32px 24px;
  }

  .vision-block-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .vision-icon-wrap {
    margin: 0 auto;
  }

  .vision-heading { text-align: center; }
  .vision-text-col p { text-align: center; }

  .vision-quote {
    text-align: center;
    border-left: none;
    border-top: 3px solid #ffd740;
    padding: 16px 20px;
  }

  /* Approach: 1 column on mobile */
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .approach-card {
    padding: 28px 22px;
    text-align: center;
  }

  .approach-icon {
    margin: 0 auto 16px;
  }

  /* Metrics bar: 2-column grid */
  .founder-metrics-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 24px 20px;
    gap: 0;
  }

  .fmetric {
    padding: 16px 12px;
    border-bottom: 1px solid var(--border);
  }

  .fmetric:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  /* Hide vertical dividers on mobile (replaced by grid borders) */
  .fmetric-divider {
    display: none;
  }

  .fmetric-number { font-size: 1.8rem; }
  .fmetric-label { font-size: 0.72rem; }

  /* Brand tagline */
  .brand-tagline-inner {
    padding: 32px 20px;
    gap: 16px;
  }

  .brand-tagline-trio {
    gap: 14px;
  }

  .brand-trio-item {
    font-size: 1.2rem;
  }

  .brand-tagline-sub {
    font-size: 0.95rem;
  }
}

/* Small mobile (≤ 480px) */
@media (max-width: 480px) {
  .founder-profile-card {
    padding: 22px 16px;
    border-radius: 16px;
  }

  .founder-photo-wrap img {
    height: 240px;
  }

  .founder-name { font-size: 1.5rem; }

  .founder-bio-lead { font-size: 0.97rem; }
  .founder-bio-text { font-size: 0.88rem; }

  .founder-roles {
    padding: 14px 16px;
    gap: 12px;
  }

  .founder-role div strong { font-size: 0.85rem; }
  .founder-role div span  { font-size: 0.75rem; }

  .credential-pill {
    font-size: 0.75rem;
    padding: 7px 12px;
  }

  .vision-block {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .vision-heading { font-size: 1.2rem; }
  .vision-quote { font-size: 0.92rem; }

  .approach-card {
    padding: 22px 16px;
    border-radius: 14px;
  }

  .founder-metrics-bar {
    border-radius: 16px;
    padding: 16px 12px;
  }

  .fmetric-number { font-size: 1.55rem; }

  .brand-tagline-inner {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .brand-trio-item { font-size: 1.05rem; }
  .brand-trio-sep { font-size: 1.2rem; }
  .brand-tagline-sub { font-size: 0.88rem; }
}

/* ============================================================
   TOUCH DEVICE OPTIMIZATIONS
   ============================================================ */
@media (hover: none) and (pointer: coarse) {
  .btn:hover { transform: none; }
  .card:hover { transform: none; }
  .category-card:hover { transform: none; }
  .blog-card:hover { transform: none; }
  .why-card:hover { transform: none; }

  /* Larger tap targets on touch devices */
  .nav-link { padding: 12px 16px; }
  .mobile-nav .nav-link { padding: 16px 24px; min-height: 48px; }
  .btn { min-height: 44px; }
  .faq-question { min-height: 48px; }
  .chatbot-toggle { width: 60px; height: 60px; }
  .whatsapp-sticky { width: 60px; height: 60px; }
  .calc-tab { min-height: 44px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .header, .footer, .whatsapp-sticky, .chatbot-widget,
  .back-to-top, .mobile-nav { display: none !important; }
  body { font-size: 12pt; color: #000; }
  a[href]::after { content: " (" attr(href) ")"; }
  .hero { padding: 20px 0; background: none; }
  .hero h1, .hero p { color: #000; }
}
