/*
 Theme Name:   Fast PC Mobile Test V2
 Template:     hello-elementor
 Version:      1.3-mobile-desktop-safe
*/

:root {
  --fast-navy: #063c5c;
  --fast-navy-deep: #032b44;
  --fast-orange: #ff7200;
  --fast-orange-2: #ff9d00;
  --fast-text: #152033;
  --fast-soft: #f4f8fb;
}

body { background-color: #fff; }
.fast-mobile-home,
.fast-mobile-actionbar { display: none; }

@media (max-width: 767px) {
  body.page-template-home { padding-bottom: 72px; }
  .page-template-home .hero-header,
  .page-template-home .entry-content { display: none !important; }
  .page-template-home .fast-mobile-home { display: block; background: #fff; }
  .page-template-home .custom-elementor-footer { display: none; }

  .fast-mobile-hero {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: var(--fast-navy-deep);
  }
  .fast-mobile-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 56% center;
  }
  .fast-mobile-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3,26,42,.30) 0%, rgba(3,32,51,.62) 46%, rgba(3,32,51,.96) 100%);
  }
  .fast-mobile-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 34px 22px 28px;
    color: #fff;
  }
  .fast-mobile-kicker {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    color: #dceeff;
  }
  .fast-mobile-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 9vw, 46px);
    line-height: 1.02;
    letter-spacing: -.025em;
    text-transform: none;
  }
  .fast-mobile-hero h1 span { color: var(--fast-orange-2); }
  .fast-mobile-hero p {
    margin: 0 0 22px;
    max-width: 34ch;
    font-size: 17px;
    line-height: 1.45;
    color: #f1f6fa;
  }
  .fast-mobile-hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .fast-btn {
    min-height: 50px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
  }
  .fast-btn--primary { background: linear-gradient(135deg, var(--fast-orange), var(--fast-orange-2)); color:#fff; }
  .fast-btn--ghost { border: 1.5px solid rgba(255,255,255,.86); color:#fff; background: rgba(255,255,255,.08); }

  .fast-mobile-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #dce7ee;
    border-bottom: 1px solid #dce7ee;
  }
  .fast-mobile-trust > div { background: #fff; padding: 16px 8px; text-align: center; }
  .fast-mobile-trust strong { display:block; font-size: 13px; color: var(--fast-navy); line-height:1.2; }
  .fast-mobile-trust span { display:block; margin-top:4px; font-size:11px; color:#66727f; line-height:1.25; }

  .fast-mobile-services { padding: 30px 16px 14px; }
  .fast-mobile-services h2,
  .fast-mobile-why h2 { margin: 0 0 18px; text-align:center; font-size: 28px; line-height:1.1; color:var(--fast-text); }
  .fast-mobile-services h2 span,
  .fast-mobile-why h2 span { color: var(--fast-orange); }

  .fast-service-card {
    display: grid;
    grid-template-columns: 52px 1fr 34px;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 16px 12px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(11,53,79,.10);
    border: 1px solid #edf2f6;
    color: inherit;
    text-decoration: none;
  }
  .fast-service-icon { font-size: 34px; line-height:1; text-align:center; }
  .fast-service-copy strong { display:block; margin-bottom:5px; color:var(--fast-navy-deep); font-size:17px; line-height:1.15; }
  .fast-service-copy small { display:block; color:#55616d; font-size:13px; line-height:1.35; }
  .fast-service-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#eef6fb;
    color:var(--fast-navy);
    font-size:26px;
  }

  .fast-mobile-benefits {
    margin: 14px 16px 28px;
    padding: 18px 14px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eef7fd, #f9fcff);
  }
  .fast-mobile-benefits > div { text-align:center; }
  .fast-mobile-benefits strong { display:block; color:var(--fast-navy); font-size:13px; line-height:1.2; }
  .fast-mobile-benefits span { display:block; margin-top:5px; color:#61707d; font-size:11px; line-height:1.3; }

  .fast-mobile-local { margin: 0 16px 28px; padding: 16px 18px; border: 1px solid #dce7ee; border-radius: 14px; background: #f4f8fb; }
  .fast-mobile-local p { margin: 0 0 10px; font-size: 14px; line-height: 1.5; color: #152033; }
  .fast-mobile-local a { color: #063c5c; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
  .fast-mobile-why { padding: 0 16px 34px; }
  .fast-mobile-why__grid { display:grid; grid-template-columns:1fr; gap:10px; }
  .fast-mobile-why__grid > div {
    padding: 16px 18px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #edf2f6;
    box-shadow: 0 5px 18px rgba(11,53,79,.06);
  }
  .fast-mobile-why__grid strong { display:block; color:var(--fast-navy-deep); font-size:15px; }
  .fast-mobile-why__grid span { display:block; margin-top:4px; color:#66727f; font-size:13px; }

  .page-template-home .fast-mobile-actionbar {
    position: fixed;
    z-index: 9999;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow:hidden;
    border-radius: 16px;
    box-shadow: 0 12px 34px rgba(0,0,0,.22);
    background:#fff;
  }
  .fast-mobile-actionbar a {
    min-height: 54px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    text-decoration:none;
    font-weight:800;
    font-size:13px;
    color:#fff;
    background:var(--fast-navy);
    border-right:1px solid rgba(255,255,255,.15);
  }
  .fast-mobile-actionbar a:first-child { background: linear-gradient(135deg, var(--fast-orange), var(--fast-orange-2)); }
  .fast-mobile-actionbar a:last-child { border-right:0; }

  /* Generic mobile polish for the Elementor header already used by the site. */
  .page-template-home header img,
  .page-template-home .elementor-location-header img { max-width: 100%; height:auto; }
}
