/*
Theme Name:   Climate Control Specialists Child
Theme URI:    https://climatecontrol.net
Description:  Custom child theme for GeneratePress, reproducing the original one-page Climate Control Specialists design (teal/sky HVAC/R theme) inside WordPress.
Author:       Climate Control Specialists
Template:     generatepress
Version:      1.0.0
Text Domain:  ccs-child
*/

/* ==========================================================================
   Original site design system, ported into WordPress.
   Colors, type, and component classes are unchanged from the source HTML
   so the front-end look and feel is preserved exactly.
   ========================================================================== */

  :root{
    --teal-900:#052229;
    --teal-800:#073640;
    --teal-700:#045766;
    --teal-600:#0C7086;
    --sky-400:#83D7FD;
    --sky-300:#A6E2FE;
    --sky-100:#DDF3FE;
    --sky-050:#EAF0F3;
    --white:#FFFFFF;
    --ink:#052229;
    --line: rgba(5,34,41,0.12);
    --line-on-dark: rgba(255,255,255,0.16);
    --shadow: 0 20px 50px -25px rgba(5,34,41,0.45);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 18px;
    --maxw: 1180px;
    --display: 'Oswald', 'Arial Narrow', sans-serif;
    --body: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'IBM Plex Mono', 'Courier New', monospace;
  }

  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
  }
  body{
    margin:0;
    font-family:var(--body);
    color:var(--ink);
    background:var(--white);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  img,svg{display:block; max-width:100%;}
  a{color:inherit;}
  h1,h2,h3,h4{
    font-family:var(--display);
    text-transform:uppercase;
    letter-spacing:0.01em;
    margin:0;
    line-height:1.08;
    font-weight:600;
  }
  p{margin:0;}
  ul{margin:0; padding:0; list-style:none;}
  button{font-family:inherit; cursor:pointer;}

  :focus-visible{
    outline:3px solid var(--sky-400);
    outline-offset:3px;
  }

  .wrap{
    max-width:var(--maxw);
    margin:0 auto;
    padding:0 28px;
  }
  .eyebrow{
    font-family:var(--mono);
    font-size:12.5px;
    letter-spacing:0.16em;
    text-transform:uppercase;
    color:var(--teal-600);
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:500;
  }
  .eyebrow::before{
    content:"";
    width:26px;
    height:1px;
    background:var(--sky-400);
    display:inline-block;
  }
  .eyebrow.on-dark{color:var(--sky-300);}

  .btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:14px 26px;
    border-radius:3px;
    font-family:var(--display);
    text-transform:uppercase;
    letter-spacing:0.05em;
    font-size:14.5px;
    font-weight:600;
    border:1.5px solid transparent;
    text-decoration:none;
    white-space:nowrap;
    flex-shrink:0;
    transition:transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  }
  .btn:hover{transform:translateY(-2px);}
  .btn-primary{background:var(--sky-400); color:var(--teal-900); border-color:var(--sky-400);}
  .btn-primary:hover{background:var(--sky-300); border-color:var(--sky-300);}
  .btn-outline{background:transparent; color:var(--white); border-color:var(--line-on-dark);}
  .btn-outline:hover{border-color:var(--sky-400); color:var(--sky-400);}
  .btn-outline-dark{background:transparent; color:var(--teal-700); border-color:var(--teal-700);}
  .btn-outline-dark:hover{background:var(--teal-700); color:var(--white);}

  /* ---------- HEADER ---------- */
  header{
    position:sticky; top:0; z-index:100;
    background:rgba(5,34,41,0.92);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line-on-dark);
  }
  .nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:16px 28px;
    max-width:var(--maxw);
    margin:0 auto;
  }
  .brand{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:var(--white);
    flex-shrink:0;
  }
  .brand-mark{
    width:46px; height:46px;
    border-radius:10px;
    background:var(--sky-050);
    display:flex; align-items:center; justify-content:center;
    flex-shrink:0;
    overflow:hidden;
    border:1px solid rgba(131,215,253,0.4);
  }
  .brand-mark img{width:100%; height:100%; object-fit:cover;}
  .brand-text{display:flex; flex-direction:column; line-height:1.15;}
  .brand-text strong{
    font-family:var(--display);
    font-size:17px;
    letter-spacing:0.03em;
    text-transform:uppercase;
  }
  .brand-text span{
    font-family:var(--mono);
    font-size:10.5px;
    letter-spacing:0.14em;
    color:var(--sky-300);
    text-transform:uppercase;
  }
  .nav-links{
    display:flex;
    align-items:center;
    gap:26px;
    margin-left:48px;
  }
  .nav-links a{
    text-decoration:none;
    color:rgba(255,255,255,0.82);
    font-size:14.5px;
    font-weight:500;
    letter-spacing:0.01em;
    white-space:nowrap;
    transition:color 0.15s ease;
    position:relative;
  }
  .nav-links a:hover{color:var(--sky-400);}
  .mobile-cta-item{display:none;}
  .nav-cta{display:flex; align-items:center; gap:18px; flex-shrink:0; margin-left:40px;}
  .nav-toggle{
    display:none;
    background:none; border:none; color:var(--white);
    padding:6px;
  }
  .nav-toggle svg{width:26px; height:26px;}

  @media (max-width:1320px){
    .nav-links{
      position:fixed; inset:73px 0 0 0;
      background:var(--teal-900);
      flex-direction:column;
      align-items:flex-start;
      padding:30px 28px;
      gap:22px;
      margin-left:0;
      transform:translateX(100%);
      transition:transform 0.25s ease;
      overflow-y:auto;
    }
    .nav-links.open{transform:translateX(0);}
    .nav-links a{font-size:19px; white-space:normal;}
    .mobile-cta-item{display:list-item; margin-top:6px;}
    .nav-cta .btn-outline{display:none;}
    .nav-toggle{display:block;}
  }

  /* ---------- HERO ---------- */
  .hero{
    background:
      radial-gradient(ellipse 900px 500px at 88% -10%, rgba(131,215,253,0.16), transparent 60%),
      linear-gradient(175deg, var(--teal-900) 0%, var(--teal-800) 62%, var(--teal-700) 100%);
    color:var(--white);
    padding:76px 0 64px;
    position:relative;
    overflow:hidden;
  }
  .hero-grid{
    display:grid;
    grid-template-columns:1.05fr 0.95fr;
    gap:40px;
    align-items:center;
  }
  .hero h1{
    font-size:clamp(38px, 5.4vw, 62px);
    margin:18px 0 0;
    color:var(--white);
  }
  .hero h1 em{
    font-style:normal;
    color:var(--sky-400);
  }
  .hero-sub{
    font-family:var(--display);
    text-transform:uppercase;
    color:var(--sky-300);
    font-size:clamp(15px,1.6vw,19px);
    letter-spacing:0.03em;
    margin-top:14px;
    font-weight:500;
  }
  .hero-copy{
    margin-top:22px;
    max-width:490px;
    color:rgba(255,255,255,0.78);
    font-size:16.5px;
  }
  .hero-actions{
    display:flex;
    gap:14px;
    margin-top:34px;
    flex-wrap:wrap;
  }
  .hero-diagram-wrap{
    position:relative;
  }
  .hero-diagram-frame{
    border:1px solid var(--line-on-dark);
    border-radius:var(--radius-lg);
    background:rgba(255,255,255,0.03);
    padding:22px;
  }
  .hero-diagram-label{
    font-family:var(--mono);
    font-size:10.5px;
    letter-spacing:0.14em;
    color:var(--sky-300);
    text-transform:uppercase;
    display:flex;
    justify-content:space-between;
    margin-bottom:8px;
    opacity:0.8;
  }

  /* refrigerant loop animation */
  .flow-line{
    stroke-dasharray: 6 10;
    animation: flow 1.6s linear infinite;
  }
  @media (prefers-reduced-motion: reduce){
    .flow-line{animation:none;}
  }
  @keyframes flow{
    to{ stroke-dashoffset:-64; }
  }

  @media (max-width:920px){
    .hero-grid{grid-template-columns:1fr;}
    .hero-diagram-wrap{order:-1;}
  }

  /* ---------- STAT STRIP ---------- */
  .stats{
    background:var(--sky-050);
    border-bottom:1px solid var(--line);
  }
  .stats-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:0;
  }
  .stat-cell{
    padding:38px 30px;
    text-align:left;
    border-left:1px solid var(--line);
  }
  .stat-cell:first-child{border-left:none;}
  .stat-num{
    font-family:var(--mono);
    font-size:clamp(30px,4vw,42px);
    font-weight:600;
    color:var(--teal-700);
    display:flex;
    align-items:baseline;
    gap:4px;
  }
  .stat-num span{font-size:17px; color:var(--teal-600);}
  .stat-label{
    margin-top:8px;
    font-size:14.5px;
    color:var(--teal-900);
    max-width:280px;
  }
  @media (max-width:760px){
    .stats-grid{grid-template-columns:1fr;}
    .stat-cell{border-left:none; border-top:1px solid var(--line);}
    .stat-cell:first-child{border-top:none;}
  }

  /* ---------- SECTION shared ---------- */
  section{padding:88px 0;}
  .section-head{
    max-width:640px;
    margin-bottom:50px;
  }
  .section-head h2{
    font-size:clamp(28px,3.6vw,40px);
    color:var(--teal-900);
    margin-top:14px;
  }
  .section-head p{
    margin-top:16px;
    font-size:16.5px;
    color:var(--teal-700);
  }
  .section-alt{background:var(--sky-050);}

  /* ---------- RESPONSE TIMES ---------- */
  .gauge-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
  }
  .gauge-card{
    background:var(--white);
    border:1px solid var(--line);
    border-radius:var(--radius-lg);
    padding:32px 28px 30px;
    box-shadow:var(--shadow);
  }
  .gauge-card .gauge-tag{
    font-family:var(--mono);
    font-size:11.5px;
    letter-spacing:0.12em;
    text-transform:uppercase;
    color:var(--teal-600);
  }
  .gauge-visual{
    display:flex;
    justify-content:center;
    margin:14px 0 8px;
  }
  .gauge-num{
    font-family:var(--mono);
    text-anchor:middle;
    fill:var(--teal-900);
    font-weight:600;
  }
  .gauge-card h3{
    font-size:20px;
    color:var(--teal-900);
    text-align:center;
    margin-top:6px;
  }
  .gauge-card p{
    text-align:center;
    color:var(--teal-700);
    font-size:14.5px;
    margin-top:10px;
  }
  @media (max-width:820px){
    .gauge-grid{grid-template-columns:1fr;}
  }

  /* ---------- SERVICES ---------- */
  .services-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1px;
    background:var(--line);
    border:1px solid var(--line);
    border-radius:var(--radius-lg);
    overflow:hidden;
  }
  .service-card{
    background:var(--white);
    padding:34px 28px;
    transition:background 0.15s ease;
  }
  .service-card:hover{background:var(--sky-050);}
  .service-icon{
    width:46px; height:46px;
    border-radius:10px;
    background:var(--teal-900);
    display:flex; align-items:center; justify-content:center;
    margin-bottom:18px;
  }
  .service-icon svg{width:24px; height:24px; stroke:var(--sky-400);}
  .service-card h3{
    font-size:18px;
    color:var(--teal-900);
  }
  .service-card p{
    margin-top:8px;
    font-size:14.5px;
    color:var(--teal-700);
  }
  @media (max-width:820px){
    .services-grid{grid-template-columns:1fr;}
  }
  @media (min-width:821px) and (max-width:1080px){
    .services-grid{grid-template-columns:repeat(2,1fr);}
  }

  /* ---------- PM INTRO ---------- */
  .pm-intro{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:56px;
    align-items:center;
  }
  .pm-intro-copy p{color:var(--teal-700); font-size:16px; margin-top:16px;}
  .pm-fee-card{
    background:var(--teal-900);
    color:var(--white);
    border-radius:var(--radius-lg);
    padding:34px;
  }
  .pm-fee-card h3{
    color:var(--sky-400);
    font-size:19px;
  }
  .pm-fee-card ul{margin-top:18px; display:flex; flex-direction:column; gap:14px;}
  .pm-fee-card li{
    display:flex;
    gap:12px;
    font-size:14.5px;
    color:rgba(255,255,255,0.82);
    line-height:1.55;
  }
  .pm-fee-card li svg{flex-shrink:0; width:18px; height:18px; margin-top:2px; stroke:var(--sky-400);}
  .pm-fee-card .divider{height:1px; background:var(--line-on-dark); margin:6px 0;}
  .pm-fee-note{
    margin-top:18px;
    font-family:var(--mono);
    font-size:12.5px;
    color:var(--sky-300);
    padding-top:16px;
    border-top:1px solid var(--line-on-dark);
    line-height:1.6;
  }
  @media (max-width:920px){
    .pm-intro{grid-template-columns:1fr;}
  }

  /* ---------- CHECKLIST TABS ---------- */
  .checklist-panel{
    margin-top:64px;
    background:var(--white);
    border:1px solid var(--line);
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow);
    overflow:hidden;
  }
  .tabs-bar{
    display:flex;
    flex-wrap:wrap;
    background:var(--teal-900);
  }
  .tab-btn{
    background:none;
    border:none;
    color:rgba(255,255,255,0.62);
    font-family:var(--display);
    text-transform:uppercase;
    letter-spacing:0.04em;
    font-size:14px;
    font-weight:500;
    padding:20px 22px;
    border-bottom:3px solid transparent;
    flex:1 1 auto;
    white-space:nowrap;
    transition:color 0.15s ease, background 0.15s ease;
  }
  .tab-btn:hover{color:var(--white);}
  .tab-btn.active{
    color:var(--white);
    background:rgba(131,215,253,0.08);
    border-bottom-color:var(--sky-400);
  }
  .tab-panel{
    display:none;
    padding:40px;
  }
  .tab-panel.active{display:block;}
  .tab-panel-head{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap:20px;
    margin-bottom:26px;
    padding-bottom:20px;
    border-bottom:1px solid var(--line);
    flex-wrap:wrap;
  }
  .tab-panel-head h3{
    font-size:23px;
    color:var(--teal-900);
  }
  .tab-count{
    font-family:var(--mono);
    font-size:12.5px;
    color:var(--teal-600);
    letter-spacing:0.06em;
  }
  .check-list{
    columns:2;
    column-gap:36px;
  }
  .check-list li{
    display:flex;
    gap:10px;
    font-size:14.5px;
    color:var(--teal-900);
    padding:9px 0;
    border-bottom:1px dashed var(--line);
    break-inside:avoid;
    line-height:1.45;
  }
  .check-list li svg{
    flex-shrink:0;
    width:16px; height:16px;
    margin-top:3px;
    stroke:var(--teal-600);
  }
  @media (max-width:760px){
    .check-list{columns:1;}
    .tab-panel{padding:26px 22px;}
  }

  /* ---------- ABOUT ---------- */
  .about-grid{
    display:grid;
    grid-template-columns:0.9fr 1.1fr;
    gap:60px;
    align-items:start;
  }
  .about-copy p{color:var(--teal-700); font-size:16px; margin-top:16px;}
  .about-copy p + p{margin-top:14px;}
  .about-intro{
    display:flex;
    align-items:flex-end;
    gap:22px;
  }
  .about-mascot{
    width:108px;
    height:auto;
    flex-shrink:0;
    border-radius:12px;
  }
  @media (max-width:560px){
    .about-intro{align-items:center;}
    .about-mascot{width:76px;}
  }
  .about-list{
    display:flex; flex-direction:column; gap:22px;
  }
  .about-item{
    display:flex; gap:18px;
    padding:22px;
    border:1px solid var(--line);
    border-radius:var(--radius-md);
    background:var(--sky-050);
  }
  .about-item .num{
    font-family:var(--mono);
    font-size:22px;
    font-weight:600;
    color:var(--sky-400);
    background:var(--teal-900);
    width:44px; height:44px;
    border-radius:8px;
    display:flex; align-items:center; justify-content:center;
    flex-shrink:0;
  }
  .about-item h4{
    font-size:16px;
    color:var(--teal-900);
    text-transform:none;
    font-family:var(--body);
    font-weight:700;
  }
  .about-item p{
    margin-top:6px;
    font-size:14.5px;
    color:var(--teal-700);
  }
  @media (max-width:920px){
    .about-grid{grid-template-columns:1fr;}
  }

  /* ---------- SERVICE AREA ---------- */
  .coverage-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
    align-items:stretch;
  }
  .coverage-highlights{
    display:flex;
    flex-direction:column;
    gap:16px;
  }
  .coverage-item{
    display:flex;
    gap:16px;
    padding:22px;
    border:1px solid var(--line);
    border-radius:var(--radius-md);
    background:var(--white);
  }
  .coverage-item .icon-box{
    width:40px; height:40px;
    border-radius:8px;
    background:var(--sky-050);
    display:flex; align-items:center; justify-content:center;
    flex-shrink:0;
  }
  .coverage-item .icon-box svg{width:19px; height:19px; stroke:var(--teal-700);}
  .coverage-item h4{
    font-size:16px;
    color:var(--teal-900);
    text-transform:none;
    font-family:var(--body);
    font-weight:700;
  }
  .coverage-item p{
    margin-top:4px;
    font-size:14px;
    color:var(--teal-700);
  }
  .coverage-item p.coverage-placeholder{
    color:var(--teal-600);
    font-style:italic;
  }
  .coverage-panel{
    background:var(--teal-900);
    color:var(--white);
    border-radius:var(--radius-lg);
    padding:32px;
    display:flex;
    flex-direction:column;
  }
  .coverage-kicker{
    font-family:var(--display);
    text-transform:uppercase;
    font-size:22px;
    color:var(--sky-400);
    letter-spacing:0.01em;
  }
  .coverage-clients-label{
    margin-top:20px;
    font-family:var(--mono);
    font-size:11px;
    letter-spacing:0.1em;
    text-transform:uppercase;
    color:var(--sky-300);
  }
  .client-logos{
    margin-top:12px;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
  }
  .client-logos span{
    font-family:var(--display);
    text-transform:uppercase;
    font-size:13px;
    letter-spacing:0.02em;
    padding:8px 14px;
    border:1px solid var(--line-on-dark);
    border-radius:20px;
    color:rgba(255,255,255,0.85);
  }
  .coverage-pm-note{
    margin-top:auto;
    padding-top:22px;
    margin-top:22px;
    border-top:1px solid var(--line-on-dark);
    display:flex;
    gap:12px;
    font-size:14px;
    color:rgba(255,255,255,0.78);
    line-height:1.55;
  }
  .coverage-pm-note svg{flex-shrink:0; width:19px; height:19px; margin-top:2px; stroke:var(--sky-400);}
  @media (max-width:920px){
    .coverage-grid{grid-template-columns:1fr;}
  }

  /* ---------- CTA / CONTACT ---------- */
  .contact{
    background:linear-gradient(175deg, var(--teal-900), var(--teal-800));
    color:var(--white);
  }
  .contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:56px;
  }
  .contact-copy p{
    margin-top:16px;
    color:rgba(255,255,255,0.75);
    font-size:16px;
    max-width:420px;
  }
  .contact-facts{
    margin-top:30px;
    display:flex;
    flex-direction:column;
    gap:16px;
  }
  .contact-fact{
    display:flex;
    gap:14px;
    align-items:flex-start;
    font-size:14.5px;
    color:rgba(255,255,255,0.85);
  }
  .contact-fact svg{width:19px; height:19px; stroke:var(--sky-400); flex-shrink:0; margin-top:2px;}
  .contact-fact strong{display:block; color:var(--white); font-size:14px; margin-bottom:2px;}
  .contact-fact .placeholder{color:var(--sky-300); font-style:italic;}

  .form-card{
    background:var(--white);
    color:var(--ink);
    border-radius:var(--radius-lg);
    padding:32px;
  }
  .form-card h3{font-size:19px; color:var(--teal-900);}
  .form-row{display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:20px;}
  .field{display:flex; flex-direction:column; gap:6px;}
  .field.full{grid-column:1 / -1;}
  .field label{
    font-family:var(--mono);
    font-size:11px;
    letter-spacing:0.08em;
    text-transform:uppercase;
    color:var(--teal-600);
  }
  .field input, .field select, .field textarea{
    border:1.5px solid var(--line);
    border-radius:6px;
    padding:11px 12px;
    font-family:var(--body);
    font-size:14.5px;
    color:var(--ink);
    background:var(--white);
    resize:vertical;
  }
  .field input:focus, .field select:focus, .field textarea:focus{
    border-color:var(--teal-600);
    outline:none;
  }
  .form-card .btn{width:100%; justify-content:center; margin-top:22px;}
  .form-note{
    margin-top:14px;
    font-size:12.5px;
    color:var(--teal-600);
    text-align:center;
  }
  .form-success{
    display:none;
    margin-top:20px;
    padding:16px;
    background:var(--sky-050);
    border:1px solid var(--sky-300);
    border-radius:8px;
    font-size:14px;
    color:var(--teal-800);
  }
  .form-success.show{display:block;}
  @media (max-width:920px){
    .contact-grid{grid-template-columns:1fr;}
  }
  @media (max-width:560px){
    .form-row{grid-template-columns:1fr;}
  }

  /* ---------- FOOTER ---------- */
  footer{
    background:var(--teal-900);
    color:rgba(255,255,255,0.6);
    padding:40px 0 28px;
    border-top:1px solid var(--line-on-dark);
  }
  .footer-grid{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
  }
  .footer-links{display:flex; gap:26px; flex-wrap:wrap;}
  .footer-links a{text-decoration:none; color:rgba(255,255,255,0.6); font-size:13.5px;}
  .footer-links a:hover{color:var(--sky-400);}
  .footer-fine{font-size:12.5px; margin-top:22px; color:rgba(255,255,255,0.4);}

  ::selection{background:var(--sky-400); color:var(--teal-900);}

/* ---------- WORDPRESS-SPECIFIC ADDITIONS ---------- */
/* Keep the sticky header correctly positioned under wp-admin toolbar */
.admin-bar header{ top:32px; }
@media screen and (max-width: 782px){
  .admin-bar header{ top:46px; }
}
/* Screen-reader text (WP standard, used by skip links) */
.screen-reader-text{
  border:0; clip:rect(1px,1px,1px,1px); clip-path:inset(50%);
  height:1px; margin:-1px; overflow:hidden; padding:0; position:absolute;
  width:1px; word-wrap:normal !important;
}
.screen-reader-text:focus{
  background:#fff; clip:auto !important; clip-path:none; color:#052229;
  display:block; height:auto; left:5px; line-height:normal;
  padding:15px 23px 14px; text-decoration:none; top:5px; width:auto; z-index:100000;
}
/* WordPress-generated alignment/caption defaults kept minimal since content is template-driven */
.alignwide{max-width:var(--maxw);}
img{height:auto;}
