/* Maintenance-page-only rules, copied verbatim from maintenance.html. Enqueued only on page-maintenance.php. */
  /* nav/.wrap width now live in the shared style.css (all pages use the
     same 1300px container), so no override is needed here. */

  /* ===== PAGE HERO ===== */
  .page-hero{background:var(--bg);color:var(--white);padding:80px 0 70px;}
  .page-hero .wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center;}
  .page-hero .copy{text-align:left;}
  .page-hero .tag{color:var(--blue-1);font-size:14px;font-weight:600;margin-bottom:16px;}
  .page-hero h1{font-size:clamp(32px,4.6vw,48px);font-weight:700;letter-spacing:-.02em;line-height:1.12;}
  .page-hero p{margin-top:18px;color:var(--muted);font-size:16.5px;max-width:460px;line-height:1.6;}

  /* ===== HERO MAINTENANCE GRAPHIC ===== */
  .maint-graphic{position:relative;height:360px;display:flex;align-items:center;justify-content:center;}
  .browser-frame{
    width:100%;max-width:400px;background:var(--bg-soft);border:1px solid var(--line);
    border-radius:14px;overflow:hidden;box-shadow:0 30px 70px rgba(0,0,0,.45);
  }
  .browser-bar{display:flex;align-items:center;gap:6px;padding:12px 14px;border-bottom:1px solid var(--line);}
  .browser-bar span{width:9px;height:9px;border-radius:50%;background:#2A3242;}
  .browser-bar .url{
    margin-left:10px;background:var(--bg);border-radius:6px;padding:5px 12px;font-size:11px;color:var(--muted);
    flex:1;
  }
  .browser-body{padding:22px 20px 24px;}
  .check-row{
    display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px dashed var(--line);
    opacity:0;animation:rowIn .5s ease forwards;
  }
  .check-row:last-child{border-bottom:none;}
  .check-row .tick{
    width:22px;height:22px;border-radius:50%;border:1.5px solid var(--line);flex-shrink:0;
    display:flex;align-items:center;justify-content:center;position:relative;
  }
  .check-row .tick svg{opacity:0;transform:scale(.4);animation:tickIn .35s ease forwards;}
  .check-row .label{font-size:13.5px;color:#C7CCD6;font-weight:500;}
  .check-row .label b{color:var(--white);}
  .check-row:nth-child(1){animation-delay:.2s;} .check-row:nth-child(1) svg{animation-delay:.6s;}
  .check-row:nth-child(2){animation-delay:.9s;} .check-row:nth-child(2) svg{animation-delay:1.3s;}
  .check-row:nth-child(3){animation-delay:1.6s;} .check-row:nth-child(3) svg{animation-delay:2.0s;}
  .check-row:nth-child(4){animation-delay:2.3s;} .check-row:nth-child(4) svg{animation-delay:2.7s;}
  @keyframes rowIn{to{opacity:1;}}
  @keyframes tickIn{to{opacity:1;transform:scale(1);}}

  .gear-badge{
    position:absolute;top:-22px;right:-14px;width:64px;height:64px;border-radius:50%;
    background:linear-gradient(150deg,var(--blue-1),var(--blue-2));
    display:flex;align-items:center;justify-content:center;box-shadow:0 14px 30px rgba(27,107,240,.35);
  }
  .gear-badge svg{animation:spin 6s linear infinite;}
  @keyframes spin{to{transform:rotate(360deg);}}

  .shield-badge{
    position:absolute;bottom:-18px;left:-16px;background:var(--bg-soft);border:1px solid var(--line);
    border-radius:12px;padding:10px 14px;display:flex;align-items:center;gap:9px;box-shadow:0 20px 40px rgba(0,0,0,.4);
  }
  .shield-badge .pulse-dot{width:8px;height:8px;border-radius:50%;background:#3CE07A;position:relative;}
  .shield-badge .pulse-dot::after{
    content:"";position:absolute;inset:-4px;border-radius:50%;border:1.5px solid #3CE07A;
    animation:pulseRing2 1.8s ease-out infinite;
  }
  @keyframes pulseRing2{0%{opacity:.7;transform:scale(.6);}100%{opacity:0;transform:scale(2.1);}}
  .shield-badge .txt{font-size:12px;color:var(--muted);}
  .shield-badge .txt b{color:var(--white);display:block;font-size:13px;}

  /* ===== OUR PROCESS (side-by-side steps, same pattern as the
     homepage's "How we work" section: numbered circles on a
     connecting line, cards next to each other instead of stacked) ===== */
  .mp-process{padding:100px 0;background:var(--white);}
  .mp-steps{display:grid;grid-template-columns:repeat(5,1fr);column-gap:20px;position:relative;align-items:start;}
  .mp-steps::before{
    content:"";position:absolute;top:19px;left:0;right:0;height:1px;background:#E9EBF0;
  }
  .mp-step{position:relative;padding-right:12px;}
  .mp-step .marker{
    width:38px;height:38px;border-radius:50%;background:var(--white);border:1px solid #E9EBF0;
    display:flex;align-items:center;justify-content:center;position:relative;z-index:1;
    font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:14px;color:var(--blue-2);
    margin-bottom:18px;
  }
  .mp-step h3{font-size:15.5px;font-weight:700;letter-spacing:-.005em;margin-bottom:8px;}
  .mp-step p{color:var(--muted-dark);font-size:13px;line-height:1.6;}

  /* ===== PRICING CARDS ===== */
  .pricing{padding:80px 0 100px;background:var(--white);}
  .price-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;align-items:stretch;}
  .pricing-disclaimer{margin-top:22px;color:var(--muted-dark);font-size:12.5px;line-height:1.6;text-align:center;}
  .price-card{
    border:1px solid #E9EBF0;border-radius:18px;padding:32px 26px;display:flex;flex-direction:column;
    transition:transform .25s,box-shadow .25s,border-color .25s;position:relative;background:var(--white);
  }
  .price-card:hover{transform:translateY(-4px);box-shadow:0 24px 48px rgba(10,14,23,.08);}
  .price-card.popular{border-color:var(--blue-2);box-shadow:0 24px 48px rgba(27,107,240,.14);}
  .price-card .badge{
    position:absolute;top:-13px;left:26px;background:var(--blue-2);color:var(--white);
    font-size:11.5px;font-weight:700;padding:5px 12px;border-radius:20px;letter-spacing:.01em;
  }
  .price-card h3{font-size:19px;font-weight:700;margin-bottom:8px;}
  .price-card .desc{color:var(--muted-dark);font-size:13.5px;line-height:1.55;min-height:40px;}
  .price-card .price{display:flex;align-items:baseline;gap:5px;margin:22px 0 4px;}
  .price-card .price .amt{font-family:'Space Grotesk',sans-serif;font-size:38px;font-weight:700;letter-spacing:-.02em;}
  .price-card .price .per{color:var(--muted-dark);font-size:13.5px;}
  .price-card .billed{color:var(--muted-dark);font-size:12.5px;margin-bottom:24px;}
  .price-card .feat-list{flex:1;margin-bottom:26px;}
  .price-card .feat-list li{
    display:flex;align-items:flex-start;gap:9px;font-size:13.5px;color:#333A47;padding:7px 0;line-height:1.4;
  }
  .price-card .feat-list li svg{flex-shrink:0;margin-top:2px;}
  .price-card .feat-list li.off{color:#B3B8C2;}
  .price-card .feat-list li.off svg path{stroke:#C7CCD6;}
  .price-card .cta{
    text-align:center;padding:12px 0;border-radius:9px;font-weight:600;font-size:14.5px;
    border:1px solid var(--ink);color:var(--ink);transition:background .2s,color .2s,border-color .2s;
  }
  .price-card.popular .cta{background:var(--blue-2);color:var(--white);border-color:var(--blue-2);}
  .price-card .cta:hover{background:var(--ink);color:var(--white);}
  .price-card.popular .cta:hover{background:var(--blue-3);border-color:var(--blue-3);}

  /* ===== COMPARISON TABLE ===== */
  .compare{padding:90px 0 110px;background:#F6F7FA;}
  .section-head{max-width:560px;margin-bottom:50px;}
  /* Wide enough for the longer intro sentence to wrap to 2 balanced
     lines instead of 3. */
  .pricing-head{max-width:820px;}
  /* Single-line title and description for the process section. */
  .mp-process-head{max-width:none;}
  .mp-process-head h2{white-space:nowrap;}
  .mp-process-head p{white-space:nowrap;}
  /* Single-line title for the reviews section. */
  .testimonials-head{max-width:none;}
  .testimonials-head h2{white-space:nowrap;}
  /* "Website Maintenance Plan Features" is too wide for the default
     560px section-head to hold on one line at this heading size. */
  .features .section-head{max-width:700px;}
  .section-head .tag{color:var(--blue-2);font-size:14px;font-weight:600;margin-bottom:14px;}
  .section-head h2{font-size:clamp(26px,3.4vw,36px);font-weight:700;letter-spacing:-.02em;line-height:1.15;}
  .section-head p{margin-top:14px;color:var(--muted-dark);font-size:15.5px;line-height:1.6;}

  .table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:16px;border:1px solid #E4E7ED;background:var(--white);}
  table.compare-table{width:100%;border-collapse:collapse;min-width:720px;}
  .compare-table thead th{
    text-align:left;padding:22px 22px 18px;font-family:'Space Grotesk',sans-serif;font-size:16px;font-weight:700;
    border-bottom:1px solid #E9EBF0;white-space:nowrap;
  }
  .compare-table thead th:first-child{min-width:200px;}
  .compare-table thead th:not(:first-child){text-align:center;}
  .compare-table thead th span.sub{display:block;font-family:'Inter',sans-serif;font-weight:600;font-size:12.5px;color:var(--muted-dark);margin-top:4px;}
  .compare-table thead th.hl{background:#F0F6FF;}
  .compare-table tbody td, .compare-table tbody th{
    padding:15px 22px;border-bottom:1px solid #F0F1F5;font-size:13.5px;color:#333A47;text-align:left;
  }
  .compare-table tbody th{font-weight:600;color:var(--ink);white-space:nowrap;}
  .compare-table tbody td{text-align:center;}
  .compare-table tbody td.hl{background:#F7FAFF;}
  .compare-table tbody tr:last-child td, .compare-table tbody tr:last-child th{border-bottom:none;}
  .yes{color:var(--blue-2);font-weight:700;}
  .no{color:#C7CCD6;}

  /* ===== BOTTOM CTA (matches the homepage's closing CTA section;
     named .closing-cta instead of .cta since the pricing card buttons
     above already use class="cta") ===== */
  .closing-cta{background:var(--bg);color:var(--white);padding:120px 0;text-align:center;position:relative;overflow:hidden;}
  .closing-cta h2{font-size:clamp(30px,4.4vw,52px);font-weight:700;letter-spacing:-.02em;max-width:680px;margin:0 auto;line-height:1.1;}
  .closing-cta p{color:var(--muted);margin-top:18px;font-size:16px;}
  .closing-cta .hero-actions{justify-content:center;margin-top:34px;}
  .cta-glow{
    position:absolute;width:600px;height:600px;border-radius:50%;
    background:radial-gradient(circle,rgba(59,158,245,.18),transparent 70%);
    top:-260px;left:50%;transform:translateX(-50%);
  }
  .hero-actions{display:flex;gap:14px;margin-top:36px;align-items:center;}
  .btn-primary{
    background:var(--amber);color:#211603;padding:14px 26px;border-radius:9px;
    font-weight:600;font-size:15px;display:inline-flex;align-items:center;gap:8px;
    transition:transform .2s,box-shadow .2s;
  }
  .btn-primary:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(255,176,32,.25);}
  .btn-ghost{
    color:var(--white);padding:14px 8px;font-weight:600;font-size:15px;
    border-bottom:1px solid rgba(255,255,255,.3);transition:border-color .2s;
  }
  .btn-ghost:hover{border-color:var(--white);}

  /* ===== PLAN FEATURES ===== */
  .features{padding:100px 0;background:#F6F7FA;}
  .feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
  .feature-card{background:var(--white);border:1px solid #E9EBF0;border-radius:16px;padding:30px 28px;}
  .feature-card .ficon{
    width:40px;height:40px;border-radius:11px;background:#EAF2FF;display:flex;align-items:center;justify-content:center;margin-bottom:20px;
  }
  .feature-card h3{font-size:16.5px;font-weight:700;margin-bottom:8px;letter-spacing:-.005em;}
  .feature-card p{color:var(--muted-dark);font-size:13.5px;line-height:1.6;}

  /* ===== IDEAL FOR BUSINESSES ===== */
  .audience{padding:100px 0;background:var(--white);}
  .audience-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
  .audience-card{border:1px solid #E9EBF0;border-radius:16px;padding:30px 28px;transition:border-color .2s,box-shadow .2s;}
  .audience-card:hover{border-color:var(--blue-2);box-shadow:0 20px 40px rgba(27,107,240,.1);}
  .audience-card .aicon{
    width:40px;height:40px;border-radius:11px;background:#EAF2FF;display:flex;align-items:center;justify-content:center;margin-bottom:20px;
  }
  .audience-card h3{font-size:17px;font-weight:700;margin-bottom:8px;letter-spacing:-.005em;}
  .audience-card p{color:var(--muted-dark);font-size:13.5px;line-height:1.6;}

  /* ===== TESTIMONIALS ===== */
  .testimonials{padding:100px 0;background:#F6F7FA;text-align:center;}
  .section-head.center{margin-left:auto;margin-right:auto;text-align:center;}
  /* Wraps the [trustindex] shortcode output (live Google reviews) --
     the widget lays itself out, so this just gives it full width. */
  .review-grid{text-align:left;}

  /* ===== FAQ (accordion) ===== */
  .faq{padding:100px 0;background:var(--white);}
  /* Two independent flex columns (not CSS column-count, not a grid row):
     column-count rebalances and migrates items between columns whenever
     an item's height changes (i.e. every open/close), and a 2-col grid
     would stretch the whole row to match the tallest cell. Fixed PHP-side
     column membership plus a flex column each avoids both problems. */
  .faq-list{display:grid;grid-template-columns:1fr 1fr;gap:20px;width:100%;}
  .faq-col{display:flex;flex-direction:column;gap:14px;}
  .faq-item{border:1px solid #E9EBF0;border-radius:12px;padding:20px 22px;}
  .faq-item summary{
    list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;
    font-size:14.5px;font-weight:600;color:var(--ink);
  }
  .faq-item summary::-webkit-details-marker{display:none;}
  .faq-item summary .chev{
    flex-shrink:0;width:22px;height:22px;border-radius:50%;background:#EAF2FF;color:var(--blue-2);
    display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:700;transition:transform .2s;
  }
  .faq-item[open] summary .chev{transform:rotate(45deg);}
  .faq-item p{margin-top:14px;color:var(--muted-dark);font-size:13.5px;line-height:1.6;}
  .faq-item p a{color:var(--blue-2);font-weight:600;}

  /* Footer styling now lives in the shared style.css (footer.php is a
     shared template part, loaded on every page). */

  /* ===== RESPONSIVE ===== */
  @media (max-width:980px){
    .price-grid{grid-template-columns:1fr 1fr;}
    .feature-grid{grid-template-columns:1fr 1fr;}
    }
  @media (max-width:900px){
    .page-hero .wrap{grid-template-columns:1fr;}
    .maint-graphic{height:auto;margin-top:44px;}
    .mp-steps{display:flex;flex-direction:column;gap:30px;max-width:640px;}
    .mp-steps::before{top:6px;bottom:6px;left:19px;right:auto;width:1px;height:auto;}
    .mp-step{display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;column-gap:20px;align-items:start;padding-right:0;}
    .mp-step .marker{grid-column:1;grid-row:1 / 3;margin-bottom:0;}
    .mp-step h3{grid-column:2;grid-row:1;padding-top:7px;}
    .mp-step p{grid-column:2;grid-row:2;}
  }
  @media (max-width:640px){
    .price-grid{grid-template-columns:1fr;}
    .page-hero{padding:64px 0 54px;}
    .browser-frame{max-width:100%;}
    .gear-badge{width:52px;height:52px;top:-16px;right:-8px;}
    .feature-grid{grid-template-columns:1fr;}
    .audience-grid{grid-template-columns:1fr;}
    .faq-list{grid-template-columns:1fr;}
    .mp-process{padding:60px 0 70px;}
    .mp-process-head h2,.mp-process-head p{white-space:normal;}
    .testimonials-head h2{white-space:normal;}
  }
  @media (max-width:520px){
    .wrap{padding:0 20px;}
  }

/* ===== PACKAGE ENQUIRY MODAL (opened by the .cta buttons above) ===== */
.pkg-modal-overlay{
  position:fixed;inset:0;z-index:500;background:rgba(10,14,23,.6);
  display:flex;align-items:center;justify-content:center;padding:24px;
  opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease;
}
.pkg-modal-overlay.open{opacity:1;visibility:visible;}
.pkg-modal{
  background:var(--white);border-radius:18px;padding:40px 36px;max-width:480px;width:100%;
  max-height:90vh;overflow-y:auto;position:relative;box-shadow:0 30px 70px rgba(10,14,23,.35);
  transform:translateY(14px);transition:transform .25s ease;
}
.pkg-modal-overlay.open .pkg-modal{transform:translateY(0);}
.pkg-modal-close{
  position:absolute;top:16px;right:16px;width:34px;height:34px;border-radius:50%;border:none;
  background:#F1F3F7;color:var(--ink);font-size:20px;line-height:1;cursor:pointer;
  display:flex;align-items:center;justify-content:center;transition:background .2s;
}
.pkg-modal-close:hover{background:#E3E7EF;}
.pkg-modal h2{font-size:22px;font-weight:700;letter-spacing:-.01em;padding-right:30px;}
.pkg-modal-sub{color:var(--muted-dark);font-size:14px;line-height:1.55;margin-top:8px;margin-bottom:26px;}
.pkg-modal .field{margin-bottom:18px;}
.pkg-modal .field-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.pkg-modal .field label{display:block;font-size:13px;font-weight:600;color:var(--ink);margin-bottom:8px;}
.pkg-modal .field input,
.pkg-modal .field textarea{
  width:100%;border:1px solid #DEE1E8;border-radius:10px;padding:13px 14px;font-family:'Inter',sans-serif;
  font-size:14.5px;color:var(--ink);background:#FAFBFD;transition:border-color .2s,background .2s;
}
.pkg-modal .field input:focus,
.pkg-modal .field textarea:focus{outline:none;border-color:var(--blue-2);background:var(--white);}
.pkg-modal .field textarea{resize:vertical;min-height:90px;font-family:inherit;}
.pkg-modal .submit-btn{
  width:100%;background:var(--blue-2);color:var(--white);border:none;padding:15px 0;border-radius:10px;
  font-weight:600;font-size:15px;cursor:pointer;transition:background .2s,transform .2s;
  display:flex;align-items:center;justify-content:center;gap:8px;margin-top:4px;
}
.pkg-modal .submit-btn:hover{background:var(--ink);transform:translateY(-1px);}
.pkg-modal .submit-btn:disabled{opacity:.6;cursor:default;transform:none;}
.pkg-modal .form-note{font-size:12px;color:var(--muted-dark);margin-top:14px;text-align:center;}
.pkg-modal .form-error{font-size:13px;color:#D9483B;margin-top:12px;text-align:center;}
.pkg-modal .form-error:empty{display:none;}

body.pkg-modal-open{overflow:hidden;}

/* The package CTAs are now <button> elements (to attach the click
   handler that opens the modal above) styled identically to the .cta
   anchor rules already defined for .price-card .cta -- this just strips
   the default button chrome, including its non-inherited line-height,
   so it renders identically to the old <a>. */
.price-card button.cta{
  appearance:none;-webkit-appearance:none;background:none;font-family:inherit;
  width:100%;cursor:pointer;line-height:inherit;margin:0;
}

@media (max-width:640px){
  .pkg-modal{padding:30px 22px;}
  .pkg-modal .field-row{grid-template-columns:1fr;gap:0;}
}
