/* ==========================================================================
   Variables & base
   ========================================================================== */

   :root {
    --wd-blue-primary: #1f4363;
    --wd-blue-accent: #3e8fb5;
    --wd-blue-light: #58a9c9;
    --wd-orange: #f26a2e;
    --wd-gold: #f5b335;
    --wd-text-dark: #1b2e44;
    /* --wd-bg-light: #f2f4f6; */
    --wd-bg-light: #eef2f6;
    --wd-white: #ffffff;
    --wd-font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
    --wd-font-heading: "Plus Jakarta Sans", system-ui, sans-serif;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: var(--wd-font-body);
    margin: 0;
    background: var(--wd-bg-light);
    color: var(--wd-text-dark);
    line-height: 1.65;
  }
  
  /* ==========================================================================
     Layout — .container, shared utilities
     ========================================================================== */
  
  .phone-icon {
    margin-right: 8px;
    vertical-align: middle;
  }
  
  .container {
    max-width: 1100px;
    margin: 30px auto;
    background: var(--wd-white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 0;
  }
  
  /* ==========================================================================
     Header — .header-bar, brand, logo, wordmark, nav
     ========================================================================== */
  
  .header-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 28px;
    z-index: 1000;
    background: var(--wd-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  
  @media (max-width: 640px) {
    .header-bar {
      flex-direction: column;
      align-items: center;
    }
    .header-nav {
      justify-content: center;
    }
  }
  
  .brand-header {
    margin: 0;
    flex-shrink: 0;
  }
  
  .brand-header a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
  }
  
  .header-logo img {
    height: 100px;
    width: auto;
    display: block;
  }
  
  .header-wordmark img {
    width: 320px;
    height: auto;
    display: block;
  }
  
  @media (max-width: 640px) {
    .header-logo img {
      height: 80px;
    }
    .header-wordmark img {
      width: 240px;
    }
  }
  
  .header-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
  }
  
  .header-nav a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--wd-text-dark);
    text-decoration: none;
  }
  
  .header-nav a:not(.header-cta-btn):hover {
    color: var(--wd-blue-primary);
    border-bottom: 2px solid var(--wd-blue-primary);
  }
  
  .header-cta-btn {
    padding: 0.5rem 1rem;
    background: var(--wd-blue-primary);
    color: white !important;
    border-radius: 6px;
    font-weight: 700;
    display: inline-block;
    letter-spacing: 0.02em;
  }
  
  .header-cta-btn:hover {
    background: var(--wd-blue-accent);
  }
  
  /* ==========================================================================
     Hero — .hero-section, .headline-band, .hero-img
     ========================================================================== */
  
  .hero-section {
    background: linear-gradient(
      180deg,
      var(--wd-blue-primary) 0%,
      var(--wd-blue-primary) 120px,
      #f8fafc 120px,
      #f8fafc 100%
    );
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  }
  
  .headline-band {
    background: var(--wd-blue-primary);
    color: white;
    padding: 1.25rem 20px;
    text-align: center;
  }
  
  .headline-band-inner {
    max-width: 720px;
    margin: auto;
  }
  
  .headline-band-text {
    margin: 0;
    font-family: var(--wd-font-heading);
    font-weight: 700;
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  }
  
  .headline-band-cta {
    margin-top: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: 1.4rem;
  }
  
  .headline-band-cta a {
    color: white;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.4rem;
    letter-spacing: 0.02em;
  }
  
  .headline-band-cta a:hover {
    text-decoration: underline;
    color: var(--wd-blue-light);
  }
  
  .hero-trust {
    margin-top: 6px;
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 600;
    color: #ffffff;
  }
  
  .hero-img {
    max-width: 720px;
    margin: auto;
    padding: 2rem 20px 2.5rem;
  }
  
  .hero-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  }
  
  /* ==========================================================================
     Main — section defaults, headings, paragraph links
     ========================================================================== */
  
  section {
    padding: clamp(2rem, 5vw, 3.5rem) 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  section:first-of-type {
    border-top: none;
  }
  
  section:nth-of-type(even) {
    background: #f7f9fc;
  }
  
  h2 {
    font-family: var(--wd-font-heading);
    font-weight: 700;
    color: var(--wd-blue-primary);
    margin-bottom: 1.25rem;
    font-size: clamp(1.35rem, 2.5vw, 1.5rem);
    border-bottom: 2px solid rgba(31, 67, 99, 0.15);
    padding-bottom: 6px;
    letter-spacing: 0.02em;
  }
  
  h3 {
    font-family: var(--wd-font-heading);
    font-weight: 700;
    color: var(--wd-blue-primary);
  }
  
  p a {
    color: var(--wd-blue-primary);
  }
  
  p a:hover {
    color: var(--wd-blue-accent);
  }
  
  /* ==========================================================================
     Section: Services (#services)
     ========================================================================== */
  
  .section-intro {
    margin-top: 6px;
    margin-bottom: 10px;
    color: #4a5b6a;
    font-size: 1rem;
    font-weight: 400;
  }
  
  .services {
    display: grid;
    gap: 2rem;
  }
  
  .service-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center;
  }
  
  .service-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    height: 240px;
  }
  
  .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  /* On narrow viewports: only first service image visible; 2nd and 3rd hidden */
  .service-item:not(:first-of-type) .service-img {
    display: none;
  }
  
  .service {
    background: #fbfcfe;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
  
  .service h3 {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  /* .service h3::before {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--wd-blue-accent);
    border-radius: 50%;
    flex-shrink: 0;
  } */
  
  @media (min-width: 700px) {
    .service-item {
      /* grid-template-columns: minmax(200px, 280px) 1fr; */
      grid-template-columns: 2fr 3fr;
      align-items: center;
    }
    .service-item:not(:first-of-type) .service-img {
      display: block;
    }
  }


  
  /* ==========================================================================
     Section: Common Problems We Fix — .repair-list
     ========================================================================== */
  
  .repair-list {
    columns: 2;
    column-gap: 40px;
  }
  
  .repair-list li {
    margin-bottom: 10px;
  }
  
  .repair-list li::marker {
    color: var(--wd-blue-primary);
  }
  
  /* ==========================================================================
     Section: Why Choose Westshore Digital — .reasons
     ========================================================================== */
  
  .reasons {
    display: grid;
    gap: 1.5rem;
  }
  
  @media (min-width: 640px) {
    .reasons {
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }
  }
  
  /* ==========================================================================
     Section: About (#about) — .about, .about-headshot
     ========================================================================== */
  
  .about {
    display: grid;
    gap: 1.5rem;
    align-items: center;
  }
  
  @media (min-width: 640px) {
    .about {
      grid-template-columns: 2fr 3fr;
      gap: 2rem;
    }
  }
  
  .about-headshot {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  }
  
  /* ==========================================================================
     Section: Service Area (#service-area)
     ========================================================================== */
  
  .service-area-content {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 1rem;
  }
  
  .service-map img {
    width: 160px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  }
  
  .service-area-list {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 6px 60px;
    /* list-style: none; */
    padding-left: 30px;
  }
  
  .service-area-list li:last-child {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
  
  @media (max-width: 640px) {
    .service-area-content {
      flex-direction: column;
      align-items: center;
    }
  
    .service-map img {
      width: 200px;
    }
  }
  
  .map iframe {
    width: 100%;
    height: 350px;
    border: 0;
    border-radius: 8px;
  }
  
  /* ==========================================================================
     Contact (#contact) — .contact, form, .contact-call-btn, .phone-email
     ========================================================================== */
  
  .contact {
    background: var(--wd-blue-primary);
    color: white;
    text-align: center;
    padding: clamp(2.5rem, 5vw, 3.5rem) 20px;
  }
  
  .contact h2 {
    color: white;
  }
  
  .contact-call-cta {
    margin: 1.75rem 0 2rem;
  }
  
  .contact-call-btn {
    display: inline-block;
    background: white;
    color: var(--wd-blue-primary);
    font-weight: 700;
    font-size: 1.15rem;
    padding: 14px 26px;
    border-radius: 6px;
    text-decoration: none;
    border: 2px solid var(--wd-blue-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.15s ease;
  }
  
  .contact-call-btn:hover {
    background: var(--wd-blue-light);
    color: white;
    border-color: var(--wd-blue-light);
    transform: translateY(-1px);
  }
  
  form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
  }
  
  input,
  textarea {
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid #d6dee6;
    font-family: inherit;
  }
  
  button {
    padding: 14px 20px;
    background: white;
    color: var(--wd-blue-primary);
    border: 2px solid var(--wd-blue-primary);
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
  }
  
  button:hover {
    background: var(--wd-bg-light);
    color: var(--wd-blue-accent);
    border-color: var(--wd-blue-light);
  }
  
  .phone-email {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
  }
  
  .phone-email a {
    font-size: 1.35rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
  }
  
  .phone-email a:hover {
    text-decoration: underline;
    color: var(--wd-blue-light);
  }
  
  /* ==========================================================================
     Main end — .seo-service-summary
     ========================================================================== */
  
  .seo-service-summary {
    max-width: 720px;
    margin: 2rem auto 10px;
    text-align: center;
    font-size: 0.9rem;
    color: #5a6a78;
    line-height: 1.6;
  }
  
  /* ==========================================================================
     Footer
     ========================================================================== */
  
  footer {
    text-align: center;
    padding: 1rem 20px;
    font-size: 0.875rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }
  
  .footer-wordmark {
    width: 220px;
    margin: auto;
    display: block;
    margin-bottom: 0.5rem;
  }
  
  /* ==========================================================================
     Floating contact (outside .container)
     ========================================================================== */
  
  .floating-contact {
    position: fixed;
    bottom: 22px;
    right: 22px;
    background: var(--wd-blue-primary);
    color: white;
    padding: 14px 18px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
    z-index: 2000;
  }
  
  .floating-contact:hover {
    background: var(--wd-blue-accent);
  }
