/*
Theme Name: Allied Commercial Cleaning
Theme URI: https://alliedcleaning.com.au
Author: Allied Commercial Cleaning
Author URI: https://alliedcleaning.com.au
Description: Custom one-page theme for Allied Commercial Cleaning — professional commercial cleaning services across Newcastle NSW.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: allied-cleaning
*/


  :root{
    --charcoal:#181b21;
    --charcoal-2:#22262e;
    --orange:#f47920;
    --orange-deep:#d95f0a;
    --orange-light:#ffb877;
    --cream:#faf8f5;
    --paper:#ffffff;
    --grey:#6b7280;
    --grey-dark:#42474f;
    --line:#e7e3dc;
    --radius:2px;
  }
  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    font-family:'Inter',sans-serif;
    color:var(--charcoal);
    background:var(--cream);
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  h1,h2,h3,h4{
    font-family:'Barlow Condensed',sans-serif;
    text-transform:uppercase;
    line-height:0.95;
    letter-spacing:0.01em;
  }
  .mono{
    font-family:'IBM Plex Mono',monospace;
    letter-spacing:0.02em;
  }
  .eyebrow{
    font-family:'IBM Plex Mono',monospace;
    font-size:12px;
    letter-spacing:0.18em;
    text-transform:uppercase;
    color:var(--orange);
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:14px;
  }
  .eyebrow::before{
    content:"";
    width:22px;height:2px;
    background:var(--orange);
    display:inline-block;
  }
  a{color:inherit;text-decoration:none;}
  img,svg{display:block;}
  .wrap{max-width:1240px;margin:0 auto;padding:0 40px;}
  @media(max-width:720px){.wrap{padding:0 22px;}}

  /* ===== NAV ===== */
  header{
    position:sticky;top:0;z-index:50;
    background:rgba(250,248,245,0.9);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
  }
  nav.wrap{
    display:flex;align-items:center;justify-content:space-between;
    height:78px;
  }
  .logo{display:flex;align-items:center;}
  .logo-img{height:42px;width:auto;display:block;}
  @media(max-width:480px){.logo-img{height:34px;}}
  .nav-links{display:flex;gap:36px;align-items:center;font-size:14px;font-weight:500;}
  .nav-links a{color:var(--grey-dark);transition:color .2s;position:relative;}
  .nav-links a:hover{color:var(--orange);}
  .nav-cta{
    background:var(--charcoal);color:#fff;
    padding:11px 22px;font-family:'IBM Plex Mono',monospace;font-size:13px;font-weight:500;
    border:1px solid var(--charcoal);transition:.2s;
  }
  .nav-cta:hover{background:var(--orange);border-color:var(--orange);}
  @media(max-width:860px){.nav-links{display:none;}}

  /* ===== HERO ===== */
  .hero{
    position:relative;
    display:grid;grid-template-columns:1.05fr 0.95fr;
    min-height:640px;
    overflow:hidden;
  }
  .hero-left{
    background:var(--cream);
    display:flex;flex-direction:column;justify-content:center;
    padding:80px 60px 80px 40px;
    position:relative;z-index:2;
  }
  .hero-left h1{
    font-size:clamp(42px,5.4vw,72px);
    font-weight:800;
    color:var(--charcoal);
  }
  .hero-left h1 em{
    font-style:normal;color:var(--orange);
    background:linear-gradient(180deg,transparent 62%,rgba(244,121,32,0.18) 62%);
  }
  .hero-underline{width:64px;height:4px;background:var(--orange);margin:24px 0;}
  .hero-left p{
    font-size:16.5px;line-height:1.65;color:var(--grey-dark);max-width:460px;margin-bottom:14px;
  }
  .hero-btns{display:flex;gap:14px;margin-top:26px;flex-wrap:wrap;}
  .btn-primary{
    background:var(--orange);color:#fff;padding:15px 30px;font-family:'IBM Plex Mono',monospace;
    font-size:13px;font-weight:600;letter-spacing:.04em;transition:.2s;
  }
  .btn-primary:hover{background:var(--orange-deep);}
  .btn-secondary{
    border:1px solid var(--charcoal);padding:15px 30px;font-family:'IBM Plex Mono',monospace;
    font-size:13px;font-weight:600;letter-spacing:.04em;transition:.2s;color:var(--charcoal);
  }
  .btn-secondary:hover{background:var(--charcoal);color:#fff;}

  .hero-right{
    position:relative;background:var(--charcoal);
    clip-path:polygon(14% 0, 100% 0, 100% 100%, 0% 100%);
    display:flex;align-items:center;justify-content:center;
    padding:60px;
  }
  @media(max-width:900px){
    .hero{grid-template-columns:1fr;}
    .hero-right{clip-path:none;padding:0 40px 70px;min-height:460px;}
    .hero-left{padding:60px 22px 40px;}
  }

  /* ===== SIGNATURE: COVERAGE SLIDER ===== */
  .slider-card{
    width:100%;max-width:420px;
    background:var(--charcoal-2);
    border:1px solid #363c46;
  }
  .slider-label-row{
    display:flex;justify-content:space-between;align-items:center;
    padding:16px 20px;border-bottom:1px solid #363c46;
  }
  .slider-label-row .mono{font-size:11px;color:#8b93a1;letter-spacing:.12em;text-transform:uppercase;}
  .slider-viewport{
    position:relative;height:280px;
    overflow:hidden;cursor:ew-resize;
    user-select:none;
  }
  .slider-layer{
    position:absolute;inset:0;
  }
  .slider-layer svg{width:100%;height:100%;display:block;}
  .layer-before::after{
    content:"BEFORE";position:absolute;bottom:14px;left:16px;
    font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:.15em;color:#fff;
    text-shadow:0 1px 3px rgba(0,0,0,0.5);
  }
  .layer-after{
    clip-path:inset(0 0 0 0);
  }
  .layer-after::after{
    content:"AFTER";position:absolute;bottom:14px;left:16px;
    font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:.15em;color:#3a4048;
  }
  .slider-handle{
    position:absolute;top:0;bottom:0;width:2px;background:var(--orange);
    box-shadow:0 0 0 100vmax rgba(0,0,0,0);
    pointer-events:none;
  }
  .slider-handle::before{
    content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
    width:38px;height:38px;border-radius:50%;background:var(--orange);
    box-shadow:0 4px 14px rgba(0,0,0,0.4);
  }
  .slider-handle::after{
    content:"↔";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
    color:#fff;font-size:16px;font-weight:700;
  }
  .slider-foot{
    padding:14px 20px;font-size:12.5px;color:#8b93a1;font-family:'IBM Plex Mono',monospace;
    border-top:1px solid #363c46;
  }

  /* ===== SERVICES ===== */
  .services{padding:110px 0 100px;}
  .section-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:56px;gap:30px;flex-wrap:wrap;}
  .section-head h2{font-size:clamp(32px,3.6vw,48px);font-weight:800;}
  .section-head p{color:var(--grey);max-width:380px;font-size:15px;line-height:1.6;}

  .service-grid{
    display:grid;grid-template-columns:repeat(4,1fr);gap:1px;
    background:var(--line);border:1px solid var(--line);
  }
  @media(max-width:900px){.service-grid{grid-template-columns:repeat(2,1fr);}}
  @media(max-width:520px){.service-grid{grid-template-columns:1fr;}}
  .service-item{
    background:var(--paper);padding:34px 26px;
    transition:.25s;position:relative;
  }
  .service-item:hover{background:var(--charcoal);}
  .service-item:hover h4, .service-item:hover .snum{color:#fff;}
  .service-item:hover svg *{stroke:var(--orange);}
  .snum{
    font-family:'IBM Plex Mono',monospace;font-size:11px;color:var(--grey);letter-spacing:.1em;
    display:block;margin-bottom:22px;
  }
  .service-item svg{width:30px;height:30px;margin-bottom:20px;}
  .service-item svg *{stroke:var(--charcoal);transition:.25s;}
  .service-item h4{font-size:21px;font-weight:700;color:var(--charcoal);transition:.25s;}

  /* ===== WHY CHOOSE ===== */
  .why{background:var(--charcoal);color:#fff;padding:110px 0;position:relative;}
  .why .section-head p{color:#9aa0aa;}
  .why-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:1px;background:#2c313a;}
  @media(max-width:1000px){.why-grid{grid-template-columns:repeat(2,1fr);}}
  @media(max-width:560px){.why-grid{grid-template-columns:1fr;}}
  .why-item{background:var(--charcoal);padding:32px 24px;}
  .why-check{
    width:26px;height:26px;border:1.5px solid var(--orange);border-radius:50%;
    display:flex;align-items:center;justify-content:center;margin-bottom:22px;
  }
  .why-check svg{width:13px;height:13px;}
  .why-item h4{font-size:19px;font-weight:700;margin-bottom:10px;letter-spacing:.02em;}
  .why-item p{font-size:14px;line-height:1.6;color:#9aa0aa;}

  /* ===== CONTACT ===== */
  .contact{padding:110px 0;}
  .contact-grid{
    display:grid;grid-template-columns:1.1fr 0.9fr;gap:70px;
  }
  @media(max-width:880px){.contact-grid{grid-template-columns:1fr;gap:50px;}}
  .contact-copy h2{font-size:clamp(32px,3.6vw,46px);font-weight:800;margin-bottom:22px;}
  .contact-copy p{color:var(--grey-dark);line-height:1.7;font-size:15.5px;margin-bottom:16px;max-width:480px;}
  .contact-tag{
    margin-top:30px;display:inline-flex;align-items:center;gap:12px;
    border:1px solid var(--line);padding:14px 20px;font-family:'IBM Plex Mono',monospace;font-size:12.5px;
    color:var(--grey-dark);
  }
  .contact-tag .dot{width:8px;height:8px;background:var(--orange);border-radius:50%;flex-shrink:0;}

  .details-card{background:var(--paper);border:1px solid var(--line);}
  .details-row{
    display:flex;gap:18px;padding:24px 28px;border-bottom:1px solid var(--line);align-items:flex-start;
  }
  .details-row:last-child{border-bottom:none;}
  .d-icon{
    width:38px;height:38px;background:var(--orange);border-radius:50%;flex-shrink:0;
    display:flex;align-items:center;justify-content:center;
  }
  .d-icon svg{width:17px;height:17px;stroke:#fff;}
  .details-row .label{
    font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:.14em;color:var(--orange);
    text-transform:uppercase;margin-bottom:4px;
  }
  .details-row .value{font-size:15.5px;font-weight:600;line-height:1.5;color:var(--charcoal);}

  /* ===== FOOTER BAND ===== */
  .footband{
    display:grid;grid-template-columns:1.3fr 1fr;
  }
  @media(max-width:800px){.footband{grid-template-columns:1fr;}}
  .fb-orange{
    background:linear-gradient(120deg,var(--orange-deep),var(--orange));
    color:#fff;padding:60px 50px;
  }
  .fb-dark{
    background:var(--charcoal);color:#fff;padding:60px 50px;
  }
  .fb-icon{
    width:52px;height:52px;border:1.5px solid rgba(255,255,255,0.5);border-radius:50%;
    display:flex;align-items:center;justify-content:center;margin-bottom:24px;
  }
  .fb-icon svg{width:22px;height:22px;stroke:#fff;}
  .footband h3{font-size:26px;font-weight:800;margin-bottom:14px;}
  .footband p{font-size:14.5px;line-height:1.7;max-width:420px;}
  .fb-dark p{color:#9aa0aa;}
  .fb-dark span{color:var(--orange);}

  footer{
    background:var(--charcoal);color:#767c85;padding:26px 0;
    border-top:1px solid #2c313a;
  }
  footer .wrap{display:flex;justify-content:space-between;font-size:12.5px;font-family:'IBM Plex Mono',monospace;flex-wrap:wrap;gap:10px;}

  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    .service-item, .btn-primary, .btn-secondary, .nav-cta{transition:none;}
  }
