/*
 Theme Name:   Excellatek Child
 Template:     astra
 Version:      1.0
 Description:  Child theme of Astra matching the approved excellatek-hero-services-mockup.html design.
*/

  * { margin: 0; padding: 0; box-sizing: border-box; }
  body { background: #F5F6F8; color: #0E1420; font-family: 'Inter', sans-serif; }
  section { padding: 48px 64px; }

  nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 100px; }
  .logo { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
  .logo span { color: #2F3EF5; }
  .nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 28px; height: 22px; background: none; border: none; padding: 0; cursor: pointer; }
  .nav-toggle-bar { display: block; width: 100%; height: 2px; background: #0E1420; }
  .navlinks { display: flex; gap: 40px; font-size: 14px; font-weight: 500; color: #5B6270; }
  .navlinks a { color: inherit; text-decoration: none; }

  /* SERVICES DROPDOWN */
  .navlinks .dropdown { position: relative; cursor: default; }
  /* Invisible hover bridge covering the gap between the trigger and the
     dropdown-menu's top offset, so moving the mouse down into the menu
     doesn't cross a dead zone outside .dropdown's hover area. */
  .navlinks .dropdown::before {
    content: '';
    position: absolute;
    top: 100%; left: 0;
    width: 100%; height: 20px;
  }
  .navlinks .dropdown:hover > a { color: #0E1420; }
  .navlinks .dropdown:hover .dropdown-menu { display: flex; }
  .dropdown-menu {
    display: none;
    position: absolute;
    top: 20px; left: -20px;
    flex-direction: column;
    background: #F5F6F8;
    box-shadow: 0 16px 40px rgba(14, 20, 32, 0.10);
    width: 300px;
    z-index: 100;
  }
  .dropdown-menu a {
    display: flex; align-items: baseline; gap: 14px;
    padding: 14px 20px;
    border-top: 1px solid #E2E4E9;
    text-decoration: none;
    transition: padding-left 0.15s;
  }
  .dropdown-menu a:first-child { border-top: none; }
  .dropdown-menu a:hover { padding-left: 26px; }
  .dropdown-menu a:hover .service-name { color: #2F3EF5; }
  .dropdown-menu .service-num { font-family: 'Space Grotesk', sans-serif; font-size: 12px; color: #B8BCC6; min-width: 20px; }
  .dropdown-menu .service-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px; color: #0E1420; }

  .hero-inner { padding-bottom: 0; }
  .eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #2F3EF5; margin-bottom: 28px; display: flex; align-items: center; gap: 10px; }
  .eyebrow::before { content: ''; width: 5px; height: 5px; background: #2F3EF5; border-radius: 50%; }
  h1 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 76px; line-height: 1.05; letter-spacing: -0.02em; max-width: 900px; }
  h1 span { color: #2F3EF5; }
  .sub { font-size: 17px; line-height: 1.6; color: #5B6270; max-width: 560px; margin-top: 28px; }
  .cta-row { display: flex; align-items: center; gap: 32px; margin-top: 44px; }
  .btn-primary { background: #0E1420; color: #F5F6F8; font-weight: 600; font-size: 15px; padding: 16px 32px; border-radius: 4px; text-decoration: none; }
  .btn-secondary { font-size: 14px; font-weight: 500; color: #0E1420; text-decoration: none; border-bottom: 1px solid #C5C9D2; padding-bottom: 3px; }
  .stats-strip { display: flex; gap: 72px; margin-top: 90px; padding-top: 32px; border-top: 1px solid #E2E4E9; }
  .stat-value { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 32px; }
  .stat-label { font-size: 13px; color: #8B909C; margin-top: 6px; }

  /* SERVICES */
  .services-section { border-top: 1px solid #E2E4E9; padding-top: 72px; padding-bottom: 96px; }
  .services-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
  .services-head h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 40px; letter-spacing: -0.01em; max-width: 520px; }
  .services-head p { font-size: 14px; color: #8B909C; max-width: 280px; line-height: 1.6; }

  .services-list { display: grid; grid-template-columns: 1fr 1fr; }
  .service-row {
    display: flex; align-items: baseline; gap: 24px; padding: 28px 0; border-top: 1px solid #E2E4E9;
    transition: padding-left 0.15s;
    text-decoration: none; color: inherit;
  }
  .service-row:hover { padding-left: 8px; }
  .service-row:nth-child(9), .service-row:nth-child(10) { border-bottom: 1px solid #E2E4E9; }
  .services-list > .service-row:nth-child(2n) { padding-left: 48px; }
  .services-list > .service-row:nth-child(2n):hover { padding-left: 56px; }
  .service-num { font-family: 'Space Grotesk', sans-serif; font-size: 13px; color: #B8BCC6; min-width: 28px; }
  .service-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 19px; flex: 1; min-width: 0; }
  .service-arrow { color: #2F3EF5; font-size: 18px; opacity: 0; transition: opacity 0.15s; }
  .service-row:hover .service-arrow { opacity: 1; }

  /* ABOUT */
  .about-section { border-top: 1px solid #E2E4E9; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 64px; }
  .about-section h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 38px; letter-spacing: -0.01em; line-height: 1.15; max-width: 480px; margin-bottom: 24px; }
  .about-section p { font-size: 16px; line-height: 1.75; color: #4A5160; max-width: 480px; margin-bottom: 20px; }
  .about-section .eyebrow { margin-bottom: 20px; }

  .team-grid { display: flex; flex-direction: column; gap: 0; align-self: start; }
  .team-row { display: flex; gap: 20px; padding: 24px 0; border-top: 1px solid #E2E4E9; }
  .team-row:last-child { border-bottom: 1px solid #E2E4E9; }
  .team-label { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 17px; min-width: 180px; }
  .team-desc { font-size: 14px; color: #8B909C; line-height: 1.6; flex: 1; min-width: 0; }

  /* CONTACT */
  .contact-section { border-top: 1px solid #E2E4E9; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 8px; padding: 64px; }
  .contact-left h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 42px; letter-spacing: -0.01em; line-height: 1.15; max-width: 460px; margin-bottom: 20px; }
  .contact-left p { font-size: 16px; color: #5B6270; max-width: 420px; line-height: 1.6; margin-bottom: 32px; }
  .contact-left .eyebrow { margin-bottom: 20px; }
  .contact-left .btn-primary { display: inline-block; }
  .btn-note { font-size: 13px; color: #8B909C; margin-top: 14px; }

  .form-wrap { background: #FFFFFF; border: 1px solid #E2E4E9; border-radius: 6px; padding: 32px; align-self: start; }
  .form-wrap label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: #8B909C; margin-bottom: 8px; }
  .form-wrap input, .form-wrap textarea { width: 100%; background: #F5F6F8; border: 1px solid #E2E4E9; border-radius: 4px; color: #0E1420; font-family: 'Inter', sans-serif; font-size: 14px; padding: 12px 14px; margin-bottom: 20px; }
  .form-wrap textarea { resize: none; height: 90px; }
  .form-wrap input:focus, .form-wrap textarea:focus { outline: none; border-color: #2F3EF5; }
  .form-submit { width: 100%; background: #2F3EF5; border: none; color: #F5F6F8; font-weight: 600; font-size: 15px; padding: 14px; border-radius: 4px; cursor: pointer; }
  .form-label-top { font-size: 12px; color: #B8BCC6; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.03em; font-weight: 600; }
  .form-message { font-size: 13px; color: #0E1420; background: #F5F6F8; border: 1px solid #E2E4E9; border-left: 2px solid #2F3EF5; padding: 10px 14px; margin-bottom: 20px; }

  footer { border-top: 1px solid #E2E4E9; display: flex; justify-content: space-between; align-items: center; padding: 32px 64px; margin-top: 64px; }
  body.excellatek-home footer .logo { font-size: 16px; }
  footer .foot-links { display: flex; gap: 32px; font-size: 13px; color: #8B909C; }
  footer .foot-links a { color: inherit; text-decoration: none; }
  footer .foot-email { font-size: 13px; color: #8B909C; }

  /* SERVICE PAGE TEMPLATE (excellatek-service-page-template.html) */
  body.excellatek-service section { padding: 64px; }
  body.excellatek-service nav { margin-bottom: 32px; }

  .back-link { font-size: 13px; color: #8B909C; text-decoration: none; margin-bottom: 24px; display: inline-block; }
  .back-link:hover { color: #2F3EF5; }

  .service-hero { border-top: 1px solid #E2E4E9; padding-top: 48px; }
  .service-hero h1 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 54px; line-height: 1.1; letter-spacing: -0.01em; margin: 16px 0 20px; }
  .service-hero .value-prop { font-size: 17px; color: #5B6270; line-height: 1.6; }

  .content-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; border-top: 1px solid #E2E4E9; padding-top: 56px; margin-top: 8px; }
  .content-grid h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 24px; margin-bottom: 16px; }
  .content-grid p { font-size: 15px; color: #4A5160; line-height: 1.75; margin-bottom: 24px; max-width: 520px; }

  .included-box { background: #FFFFFF; border: 1px solid #E2E4E9; border-radius: 6px; padding: 28px; align-self: start; }
  .included-box .label { font-size: 12px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: #2F3EF5; margin-bottom: 20px; }
  .included-item { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid #E2E4E9; font-size: 14px; }
  .included-item:first-of-type { border-top: none; }
  .included-item .dot { color: #2F3EF5; }

  .cta-strip { border-top: 1px solid #E2E4E9; margin-top: 64px; padding-top: 56px; display: flex; justify-content: space-between; align-items: center; }
  .cta-strip h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 28px; max-width: 460px; }
  .cta-strip .btn-primary { white-space: nowrap; }

  /* ==========================================================================
     RESPONSIVE — one breakpoint (900px) collapsing the nav into a hamburger
     menu and stacking every two-column layout (services grid, about,
     contact, service-page content grid) to a single column, plus a
     480px breakpoint for phone-specific type/spacing tightening.

     Mobile nav is a plain content-push panel: tapping the hamburger toggles
     an .is-open class on .navlinks via assets/js/nav-toggle.js. There's no
     hover on touch, so once .navlinks is open the "services" dropdown is
     shown inline and already expanded (static, not absolutely positioned)
     rather than needing a second tap to reveal it.
     ========================================================================== */

  @media (max-width: 900px) {
    nav { flex-wrap: wrap; }
    .nav-toggle { display: inline-flex; }
    .navlinks {
      display: none; width: 100%; flex-direction: column; align-items: flex-start;
      gap: 20px; margin-top: 24px;
    }
    .navlinks.is-open { display: flex; }
    .navlinks .dropdown { width: 100%; }
    .navlinks.is-open .dropdown-menu {
      display: flex; position: static; background: none; box-shadow: none;
      padding: 0; width: auto; margin-top: 12px; z-index: auto;
    }
    .navlinks .dropdown::before { display: none; }

    section { padding: 32px 24px; }
    body.excellatek-service section { padding: 32px 24px; }
    body.excellatek-service nav { margin-bottom: 24px; }

    .services-section { padding-top: 48px; padding-bottom: 64px; }
    .about-section, .contact-section { padding: 48px 24px; grid-template-columns: 1fr; gap: 40px; }
    footer { padding: 24px; flex-direction: column; align-items: center; gap: 16px; text-align: center; }

    h1 { font-size: 40px; max-width: 100%; }
    .service-hero h1 { font-size: 34px; }
    .services-head { flex-direction: column; align-items: flex-start; gap: 16px; }
    .services-head h2 { font-size: 26px; }
    .about-section h2 { font-size: 28px; }
    .contact-left h2 { font-size: 28px; }
    .cta-strip h2 { font-size: 22px; }

    .services-list { grid-template-columns: 1fr; }
    /* The 2nd-column indent and the two-rows-share-a-bottom-border rule
       only make sense in the desktop 2-column grid; reset both once the
       list is a single stacked column. */
    .services-list > .service-row:nth-child(2n) { padding-left: 0; }
    .services-list > .service-row:nth-child(2n):hover { padding-left: 8px; }
    .service-row:nth-child(9) { border-bottom: none; }

    .content-grid { grid-template-columns: 1fr; }

    .stats-strip { flex-wrap: wrap; gap: 32px; margin-top: 48px; }
    .cta-row { flex-wrap: wrap; gap: 20px; }
    .cta-strip { flex-direction: column; align-items: flex-start; gap: 20px; }
  }

  @media (max-width: 480px) {
    h1 { font-size: 32px; }
    .service-hero h1 { font-size: 28px; }
    .team-row { flex-direction: column; gap: 6px; }
    .stats-strip { flex-direction: column; gap: 24px; }
  }
