<!DOCTYPE html>

<html lang="en">

<head>

  <meta charset="UTF-8" />

  <meta name="viewport" content="width=device-width, initial-scale=1.0" />

  <title>Coffey Control Systems</title>

  <meta name="description" content="Smart home, audio/video, security, HVAC diagnostics, and independent advisory services in Hudson Valley and NYC." />

 

  <style>

    :root{

      --bg:#0f172a;

      --card:#020617;

      --line:#334155;

      --text:#e5e7eb;

      --muted:#94a3b8;

      --primary:#2563eb;

      --secondary:#475569;

    }

 

    *{ box-sizing:border-box; }

 

    body{

      margin:0;

      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;

      background:var(--bg);

      color:var(--text);

      line-height:1.6;

    }

 

    .container{

      max-width:1100px;

      margin:0 auto;

      padding:60px 24px;

    }

 

    h1{

      font-size:2.8rem;

      margin:0 0 12px 0;

      line-height:1.15;

    }

 

    h2{

      margin:70px 0 14px 0;

      font-size:1.8rem;

      border-bottom:1px solid var(--line);

      padding-bottom:10px;

    }

 

    p{

      font-size:1.05rem;

      max-width:820px;

      margin:0 0 14px 0;

    }

 

    .hero{

      display:grid;

      grid-template-columns:1.1fr 0.9fr;

      gap:40px;

      align-items:center;

    }

 

    .hero-img{

      width:100%;

      border-radius:12px;

      display:block;

    }

 

    .logo{

      display:block;

      max-width:200px;

      margin-bottom:18px;

      border-radius:10px;

    }

 

    .cta{

      margin-top:22px;

      display:flex;

      gap:12px;

      flex-wrap:wrap;

    }

 

    .btn{

      display:inline-block;

      padding:14px 22px;

      border-radius:10px;

      background:var(--primary);

      color:#fff;

      text-decoration:none;

      font-weight:700;

      border:0;

      cursor:pointer;

      transition:transform .05s ease;

    }

    .btn:active{ transform:translateY(1px); }

 

    .btn.secondary{ background:var(--secondary); }

 

    .services-sub{

      color:var(--muted);

      max-width:900px;

      margin-top:12px;

    }

 

    .services-grid{

      display:grid;

      grid-template-columns:repeat(4, minmax(0, 1fr));

      gap:22px;

      margin-top:26px;

    }

 

    .card{

      background:var(--card);

      border-radius:14px;

      overflow:hidden;

      border:1px solid rgba(51,65,85,.35);

    }

 

    .card img{

      width:100%;

      height:150px;

      object-fit:cover;

      display:block;

    }

 

    .card-body{

      padding:16px 16px 18px 16px;

    }

 

    .card-title{

      font-weight:800;

      font-size:1.05rem;

      margin:0 0 8px 0;

    }

 

    .card-text{

      margin:0;

      color:var(--muted);

      font-size:.98rem;

    }

 

    footer{

      margin-top:70px;

      color:var(--muted);

      font-size:.9rem;

      text-align:center;

    }

 

    /* Modal (Get In Touch) */

    .modal-backdrop{

      position:fixed;

      inset:0;

      background:rgba(2,6,23,.88);

      display:none;

      align-items:center;

      justify-content:center;

      padding:18px;

      z-index:9999;

    }

 

    .modal{

      width:min(720px, 100%);

      background:var(--bg);

      border:1px solid rgba(51,65,85,.65);

      border-radius:16px;

      overflow:hidden;

      box-shadow:0 30px 80px rgba(0,0,0,.45);

    }

 

    .modal-header{

      padding:18px 18px 12px 18px;

      display:flex;

      align-items:center;

      justify-content:space-between;

      border-bottom:1px solid rgba(51,65,85,.45);

    }

 

    .modal-title{

      font-size:1.15rem;

      font-weight:900;

      margin:0;

    }

 

    .modal-close{

      background:transparent;

      border:0;

      color:var(--muted);

      font-weight:800;

      cursor:pointer;

      font-size:1rem;

      padding:8px 10px;

      border-radius:10px;

    }

    .modal-close:hover{ background:rgba(148,163,184,.12); }

 

    .modal-body{

      padding:18px;

    }

 

    .form-actions{

      display:flex;

      gap:10px;

      margin-top:14px;

      flex-wrap:wrap;

    }

 

    .note{

      color:var(--muted);

      font-size:.95rem;

      margin-top:12px;

    }

 

    /* Responsive */

    @media (max-width: 980px){

      .services-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }

    }

 

    @media (max-width: 900px){

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

      h1{ font-size:2.3rem; }

    }

 

    @media (max-width: 560px){

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

    }

  </style>

</head>

 

<body>

  <div class="container">

 

    <!-- HERO -->

    <section class="hero">

      <div>

        <!-- Replace this with your real logo later (e.g., logo.png in same folder) -->

        <img class="logo" src="https://via.placeholder.com/240x70?text=CCS+Logo" alt="Coffey Control Systems logo" />

 

        <h1>Coffey Control Systems</h1>

        <p><strong>Smart Home, Audio/Video & Security Setup<br>

          Troubleshooting, HVAC Diagnostics, and Problem Resolution</strong></p>

        <p>Serving the Hudson Valley & New York City</p>

 

        <div class="cta">

          <a class="btn" href="tel:19177277525">Call (917) 727-7525</a>

          <button class="btn secondary" id="openModal" type="button">Get In Touch</button>