/* ================================================================
   mobile.css — Complete mobile-first redesign for Seed-Tek
   Applied only on screens ≤ 767px via media queries.
   Desktop layout (.desktop-only) is hidden; .mobile-only is shown.
================================================================ */

/* ── Show / hide ── */
.mobile-only  { display: none; }
.desktop-only { display: block; }

@media (max-width: 767px) {
  .mobile-only  { display: block; }
  .desktop-only { display: none !important; }
}

/* ================================================================
   BASE RESET (mobile scope)
================================================================ */
@media (max-width: 767px) {
  *, *::before, *::after { box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #0d1b2a;
    overflow-x: hidden;
  }

  #mobile-layout {
    width: 100%;
    min-height: 100vh;
  }

  /* ================================================================
     MOBILE NAV
  ================================================================ */
  .m-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 56px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  .m-nav__logo img {
    height: 36px;
    width: auto;
    display: block;
  }

  .m-nav__cta {
    display: inline-flex;
    align-items: center;
    background: #044cac;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
  }

  .m-nav__cta:hover,
  .m-nav__cta:focus,
  .m-nav__cta:active,
  .m-btn:hover,
  .m-btn:focus,
  .m-btn:active,
  .m-footer__links a:hover,
  .m-footer__links a:focus,
  .m-email-link:hover,
  .m-email-link:focus {
    text-decoration: none;
  }

  .m-nav__cta:active { transform: scale(0.97); background: #033a82; }

  /* ================================================================
     HERO — full-screen dark gradient
  ================================================================ */
  .m-hero {
    min-height: 100svh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 28px 48px;
    background: linear-gradient(145deg, #0d1b2a 0%, #033a82 55%, #044cac 100%);
    position: relative;
    overflow: hidden;
  }

  /* Decorative circle blobs */
  .m-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29,252,196,0.18) 0%, transparent 70%);
    pointer-events: none;
  }

  .m-hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29,252,196,0.10) 0%, transparent 70%);
    pointer-events: none;
  }

  .m-hero__content {
    position: relative;
    z-index: 2;
  }

  .m-hero__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #1dfcc4;
    margin: 0 0 20px;
    padding: 6px 14px;
    border: 1px solid rgba(29,252,196,0.35);
    border-radius: 100px;
  }

  .m-hero__title {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.07;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0 0 22px;
  }

  .m-hero__title em {
    font-style: normal;
    color: #1dfcc4;
  }

  .m-hero__sub {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin: 0 0 36px;
    max-width: 340px;
  }

  .m-hero__btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .m-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .m-btn:active { transform: scale(0.97); }

  .m-btn--accent {
    background: #1dfcc4;
    color: #0d1b2a;
    box-shadow: 0 8px 24px rgba(29,252,196,0.35);
  }

  .m-btn--ghost {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1.5px solid rgba(255,255,255,0.3);
  }

  .m-hero__scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.4);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .m-hero__chevron {
    width: 18px;
    height: 18px;
    border-right: 2px solid rgba(255,255,255,0.35);
    border-bottom: 2px solid rgba(255,255,255,0.35);
    transform: rotate(45deg);
    animation: chevronBounce 1.6s ease-in-out infinite;
  }

  @keyframes chevronBounce {
    0%, 100% { transform: rotate(45deg) translate(-2px,-2px); }
    50%       { transform: rotate(45deg) translate(2px, 2px);  }
  }

  /* ================================================================
     STATS STRIP
  ================================================================ */
  .m-stats {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid #eef0f4;
  }

  .m-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 8px;
    border-right: 1px solid #eef0f4;
  }

  .m-stat:last-child { border-right: none; }

  .m-stat strong {
    font-size: 1.8rem;
    font-weight: 900;
    color: #044cac;
    line-height: 1;
    margin-bottom: 5px;
  }

  .m-stat span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    text-align: center;
  }

  /* ================================================================
     SECTION LABELS
  ================================================================ */
  .m-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #044cac;
    background: rgba(4,76,172,0.07);
    border-radius: 100px;
    padding: 5px 14px;
    margin-bottom: 16px;
  }

  .m-label--light {
    color: rgba(29,252,196,0.9);
    background: rgba(29,252,196,0.12);
  }

  /* shared section heading */
  .m-section-title {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #0d1b2a;
    margin: 0 0 14px;
  }

  .m-section-title--light { color: #ffffff; }

  .m-section-title em {
    font-style: normal;
    color: #044cac;
  }

  .m-section-title--light em { color: #1dfcc4; }

  .m-section-body {
    font-size: 14.5px;
    line-height: 1.7;
    color: #4a5568;
    margin: 0 0 28px;
  }

  .m-section-body--light { color: rgba(255,255,255,0.72); }

  /* ================================================================
     ABOUT — THE SEED
  ================================================================ */
  .m-about {
    padding: 52px 24px 44px;
    background: #fff;
  }

  .m-value-pills {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
  }

  .m-value-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f7f9fc;
    border-radius: 14px;
    padding: 16px 20px;
    border-left: 3px solid #044cac;
  }

  .m-value-pill__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(4, 76, 172, 0.08);
    border-radius: 10px;
  }

  .m-value-pill__icon svg {
    display: block;
    flex-shrink: 0;
  }

  .m-value-pill__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .m-value-pill__text strong {
    font-size: 14px;
    font-weight: 700;
    color: #0d1b2a;
    display: block;
  }

  .m-value-pill__text span {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
  }

  /* ================================================================
     APPROACH — THREE PILLARS
  ================================================================ */
  .m-approach {
    padding: 52px 24px 48px;
    background: linear-gradient(160deg, #0d1b2a 0%, #033a82 100%);
  }

  .m-pillar {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 26px 22px;
    background: rgba(255,255,255,0.06);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.10);
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
  }

  .m-pillar--accent {
    background: rgba(29,252,196,0.10);
    border-color: rgba(29,252,196,0.30);
  }

  .m-pillar__num {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(255,255,255,0.15);
    flex-shrink: 0;
    width: 48px;
  }

  .m-pillar--accent .m-pillar__num { color: rgba(29,252,196,0.4); }

  .m-pillar__body { flex: 1; min-width: 0; }

  .m-pillar__body h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
  }

  .m-pillar--accent .m-pillar__body h3 { color: #1dfcc4; }

  .m-pillar__body ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
  }

  .m-pillar__body ul li {
    font-size: 13px;
    color: rgba(255,255,255,0.72);
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
  }

  .m-pillar__body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1dfcc4;
  }

  /* ================================================================
     SERVICES
  ================================================================ */
  .m-services {
    padding: 52px 24px 48px;
    background: #f7f9fc;
  }

  .m-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
  }

  .m-service-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px 16px 18px;
    border: 1px solid #e8ecf0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .m-service-card:active {
    transform: scale(0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  }

  .m-service-card img {
    width: 44px;
    height: 44px;
    object-fit: contain;
  }

  .m-service-card h3 {
    font-size: 13px;
    font-weight: 700;
    color: #0d1b2a;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
  }

  .m-service-card p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
  }

  /* ================================================================
     CONTACT
  ================================================================ */
  .m-contact {
    padding: 52px 24px 56px;
    background: linear-gradient(160deg, #0d1b2a 0%, #044cac 100%);
  }

  .m-email-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1dfcc4;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 32px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(29,252,196,0.35);
  }

  .m-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .m-form input,
  .m-form textarea {
    width: 100%;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    padding: 14px 18px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
  }

  .m-form input::placeholder,
  .m-form textarea::placeholder { color: rgba(255,255,255,0.4); }

  .m-form input:focus,
  .m-form textarea:focus {
    border-color: #1dfcc4;
    background: rgba(255,255,255,0.12);
  }

  .m-form textarea {
    resize: none;
    min-height: 110px;
  }

  .m-form button {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 12px;
    background: #1dfcc4;
    color: #0d1b2a;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: -0.01em;
    box-shadow: 0 8px 24px rgba(29,252,196,0.3);
    margin-top: 4px;
  }

  .m-form button:active {
    transform: scale(0.97);
    box-shadow: 0 4px 12px rgba(29,252,196,0.2);
  }

  /* ================================================================
     FOOTER
  ================================================================ */
  .m-footer {
    background: #0d1b2a;
    padding: 32px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .m-footer__logo { display: block; }
  .m-footer__logo img { height: 36px; width: auto; }

  .m-footer__links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .m-footer__links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.06);
    transition: color 0.2s, background 0.2s;
  }

  .m-footer__links a:hover,
  .m-footer__links a:active { color: #1dfcc4; background: rgba(29,252,196,0.12); }

  .m-footer__copy {
    font-size: 11px;
    color: rgba(255,255,255,0.25);
    text-align: center;
    margin: 0;
    letter-spacing: 0.05em;
  }
}
