/* ============================================================
   Keep It Cool Orlando — single page site
   ============================================================ */

:root{
  --blue:        #4a7ab5;
  --blue-dark:   #3a6294;
  --blue-darker: #2d4d76;
  --ink:         #2b2b2b;
  --body:        #6f6f6f;
  --line:        #e4e4e4;
  --alt-bg:      #f4f6f9;
  --dark:        #2b2b2b;
  --white:       #ffffff;

  --h: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --b: 'Open Sans', 'Segoe UI', Arial, sans-serif;

  --wrap: 1170px;
}

*,*::before,*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; scroll-padding-top:70px; }

body{
  margin:0;
  font-family:var(--b);
  font-size:15px;
  line-height:1.8;
  color:var(--body);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }

a{ color:inherit; text-decoration:none; }

h1,h2,h3,h4{
  font-family:var(--h);
  color:var(--ink);
  margin:0 0 14px;
  line-height:1.3;
  font-weight:800;
}

p{ margin:0 0 14px; }

.container{
  width:100%;
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 20px;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;
  font-family:var(--h);
  font-weight:700;
  font-size:12px;
  letter-spacing:.6px;
  padding:12px 26px;
  border:2px solid transparent;
  border-radius:3px;
  cursor:pointer;
  transition:background .25s, color .25s, border-color .25s, transform .15s;
  text-align:center;
}
.btn:active{ transform:translateY(1px); }

.btn-primary{ background:var(--blue); color:#fff; border-color:var(--blue); }
.btn-primary:hover{ background:var(--blue-darker); border-color:var(--blue-darker); }

.btn-white{ background:#fff; color:var(--blue-dark); border-color:#fff; }
.btn-white:hover{ background:transparent; color:#fff; border-color:#fff; }

.btn-sm{ padding:9px 20px; font-size:11px; }
.btn-lg{ padding:15px 38px; font-size:13px; }

/* ---------- Top bar ---------- */
.topbar{
  background:var(--blue);
  color:#fff;
  font-size:12.5px;
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:44px;
  flex-wrap:wrap;
}
.topbar-contact{ display:flex; gap:22px; flex-wrap:wrap; }
.topbar-contact a{ display:inline-flex; align-items:center; gap:7px; opacity:.95; }
.topbar-contact a:hover{ opacity:1; text-decoration:underline; }
.topbar .ic{ font-size:13px; }
.topbar .btn-white{ color:var(--blue-dark); }
.topbar .btn-white:hover{ background:var(--blue-darker); border-color:var(--blue-darker); color:#fff; }

/* ---------- Header ---------- */
.header{
  position:sticky;
  top:0;
  z-index:60;
  background:#fff;
  box-shadow:0 1px 10px rgba(0,0,0,.07);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:72px;
  gap:16px;
}

.logo{ display:flex; align-items:center; gap:10px; }
.logo-mark{
  width:40px; height:40px;
  display:grid; place-items:center;
  border:2px solid var(--blue);
  border-radius:50%;
  flex:0 0 auto;
}
.logo-mark svg{
  width:22px; height:22px;
  fill:none; stroke:var(--blue); stroke-width:1.6;
  stroke-linecap:round; stroke-linejoin:round;
}
.logo-text{
  font-family:var(--h);
  font-size:18px;
  font-weight:600;
  color:var(--blue-dark);
  line-height:1.15;
}
.logo-text strong{ display:block; font-weight:800; letter-spacing:.5px; }

.nav{ display:flex; align-items:center; gap:26px; }
.nav a{
  font-family:var(--h);
  font-size:13px;
  font-weight:600;
  color:var(--ink);
  letter-spacing:.3px;
  transition:color .2s;
}
.nav a:hover{ color:var(--blue); }
.nav .nav-cta{ color:#fff; }
.nav .nav-cta:hover{ color:#fff; }

.nav-toggle{
  display:none;
  width:42px; height:36px;
  background:none; border:0;
  cursor:pointer;
  padding:8px 6px;
}
.nav-toggle span{
  display:block; height:2px; background:var(--ink);
  margin:5px 0; border-radius:2px; transition:.25s;
}
.nav-toggle.is-open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  min-height:520px;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:var(--blue-darker);
}
.slides{ position:absolute; inset:0; }
.slide{
  position:absolute; inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1.06);
  transition:opacity 1s ease, transform 6s ease;
}
.slide.is-active{ opacity:1; transform:scale(1); }

.hero-overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(20,40,66,.62), rgba(20,40,66,.72));
}

.hero-content{
  position:relative;
  z-index:2;
  text-align:center;
  color:#fff;
  padding-top:60px;
  padding-bottom:60px;
}
.hero-eyebrow{
  font-family:var(--h);
  font-style:italic;
  font-size:16px;
  margin-bottom:14px;
  opacity:.95;
}
.hero-title{
  color:#fff;
  font-size:clamp(24px, 4.4vw, 44px);
  line-height:1.25;
  letter-spacing:.5px;
  margin-bottom:20px;
  text-shadow:0 2px 12px rgba(0,0,0,.3);
}
.hero-sub{
  max-width:680px;
  margin:0 auto 28px;
  font-size:15.5px;
  line-height:1.7;
  opacity:.95;
}

.hero-arrow{
  position:absolute;
  top:50%; transform:translateY(-50%);
  z-index:3;
  width:44px; height:44px;
  display:grid; place-items:center;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.45);
  border-radius:50%;
  color:#fff; font-size:26px; line-height:1;
  cursor:pointer;
  transition:background .2s;
}
.hero-arrow:hover{ background:rgba(255,255,255,.35); }
.hero-arrow.prev{ left:22px; }
.hero-arrow.next{ right:22px; }

.hero-dots{
  position:absolute;
  bottom:22px; left:0; right:0;
  z-index:3;
  display:flex; justify-content:center; gap:9px;
}
.hero-dots button{
  width:10px; height:10px; padding:0;
  border-radius:50%;
  border:1px solid #fff;
  background:transparent;
  cursor:pointer;
  transition:background .2s;
}
.hero-dots button.is-active{ background:#fff; }

/* ---------- Sections ---------- */
.section{ padding:80px 0; }
.section-alt{ background:var(--alt-bg); }

.sec-head{ text-align:center; margin-bottom:48px; }
.sec-head h2{
  font-size:clamp(22px, 3vw, 30px);
  letter-spacing:1px;
  margin-bottom:10px;
}
.sec-head h2 span{ color:var(--blue); }
.sec-tag{
  font-style:italic;
  font-size:13.5px;
  color:#9a9a9a;
  margin:0;
}

.sec-orn{
  display:flex; align-items:center; justify-content:center;
  gap:10px; margin-bottom:14px;
}
.sec-orn i{ width:46px; height:1px; background:var(--line); display:block; }
.sec-orn svg{
  width:20px; height:20px;
  fill:none; stroke:var(--blue); stroke-width:1.6;
  stroke-linecap:round; stroke-linejoin:round;
}

.sec-head-light h2{ color:#fff; }
.sec-head-light .sec-orn i{ background:rgba(255,255,255,.25); }

/* ---------- About ---------- */
.about-grid{
  display:grid;
  grid-template-columns:1fr 1.35fr 1fr;
  gap:26px;
  align-items:start;
}
.feature-col{ display:flex; flex-direction:column; gap:26px; }

.feature{
  background:#fff;
  border:1px solid var(--line);
  border-radius:4px;
  padding:26px 18px;
  text-align:center;
  transition:box-shadow .25s, transform .25s;
}
.feature:hover{ box-shadow:0 10px 26px rgba(0,0,0,.09); transform:translateY(-3px); }
.feature-ic{
  width:56px; height:56px;
  margin:0 auto 14px;
  border-radius:50%;
  background:var(--blue);
  display:grid; place-items:center;
}
.feature-ic svg{
  width:26px; height:26px;
  fill:none; stroke:#fff; stroke-width:1.7;
  stroke-linecap:round; stroke-linejoin:round;
}
.feature h3{
  font-size:13px;
  letter-spacing:.4px;
  margin:0;
}

.about-copy{
  background:#fff;
  border:1px solid var(--line);
  border-radius:4px;
  padding:30px 28px;
  font-size:13.5px;
  text-align:center;
}
.about-copy p:last-child{ margin-bottom:0; }

/* ---------- Services ---------- */
.svc-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:26px;
}
.svc{
  display:flex;
  gap:18px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:4px;
  padding:26px 24px;
  transition:box-shadow .25s, transform .25s, border-color .25s;
}
.svc:hover{
  box-shadow:0 12px 30px rgba(0,0,0,.09);
  transform:translateY(-3px);
  border-color:#d3dfee;
}
.svc-ic{ flex:0 0 auto; padding-top:2px; }
.svc-ic svg{
  width:40px; height:40px;
  fill:none; stroke:var(--blue); stroke-width:1.4;
  stroke-linecap:round; stroke-linejoin:round;
}
.svc-body h3{
  font-size:15px;
  margin-bottom:8px;
  letter-spacing:.3px;
}
.svc-body p{ font-size:13px; margin:0; }

/* ---------- Gallery ---------- */
.filters{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:26px;
  margin-bottom:34px;
}
.filter{
  background:none; border:0;
  padding:6px 2px;
  font-family:var(--h);
  font-size:12.5px;
  font-weight:600;
  color:var(--body);
  cursor:pointer;
  border-bottom:2px solid transparent;
  transition:color .2s, border-color .2s;
}
.filter:hover{ color:var(--blue); }
.filter.is-active{ color:var(--ink); border-bottom-color:var(--blue); }

.gal-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
}
.gal-item{
  position:relative;
  margin:0;
  overflow:hidden;
  border-radius:4px;
  background:var(--alt-bg);
}
.gal-item img{
  width:100%;
  height:250px;
  object-fit:cover;
  transition:transform .5s ease;
}
.gal-item:hover img{ transform:scale(1.08); }

.gal-item figcaption{
  position:absolute; inset:0;
  display:flex; align-items:flex-end;
  padding:18px;
  background:linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(20,40,66,.82));
  opacity:0;
  transition:opacity .3s;
}
.gal-item:hover figcaption{ opacity:1; }
.gal-item figcaption span{
  font-family:var(--h);
  font-size:13px;
  font-weight:700;
  color:#fff;
  letter-spacing:.4px;
}

.gal-item.is-hidden{ display:none; }

/* ---------- Estimate ---------- */
.estimate{
  background:var(--dark);
  padding:80px 0;
}
.est-card{
  max-width:560px;
  margin:0 auto;
  background:#333333;
  border-radius:4px;
  padding:40px 34px;
}
.est-card .sec-head{ margin-bottom:28px; }

.est-form .row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.est-form .row-3{ grid-template-columns:1fr 1fr 1fr; }
.field{ margin-bottom:12px; }

.est-form input,
.est-form select,
.est-form textarea{
  width:100%;
  background:#3d3d3d;
  border:1px solid #4a4a4a;
  border-radius:3px;
  padding:11px 13px;
  color:#eee;
  font-family:var(--b);
  font-size:13px;
  transition:border-color .2s, background .2s;
}
.est-form textarea{ resize:vertical; min-height:96px; }
.est-form input::placeholder,
.est-form textarea::placeholder{ color:#9a9a9a; }
.est-form select{ color:#9a9a9a; }
.est-form select:valid{ color:#eee; }
.est-form input:focus,
.est-form select:focus,
.est-form textarea:focus{
  outline:none;
  border-color:var(--blue);
  background:#454545;
}
.est-form input.has-error,
.est-form select.has-error{ border-color:#d9534f; }

.form-note{
  font-size:12.5px;
  min-height:20px;
  margin:4px 0 10px;
  color:#8fd18f;
}
.form-note.is-error{ color:#f0a2a0; }
.form-note.is-ok{
  color:#8fd18f;
  border:1px solid rgba(143,209,143,.35);
  background:rgba(143,209,143,.1);
  border-radius:4px;
  padding:12px 14px;
  margin-bottom:20px;
  font-size:13.5px;
  line-height:1.6;
}

/* Server-side validation messages, one per field. */
.field-err{
  display:block;
  margin-top:6px;
  font-size:12px;
  color:#f0a2a0;
}

/* Honeypot — kept out of sight without display:none, which some bots detect. */
.hp-field{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}

.est-actions{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}
.or-call{
  font-family:var(--h);
  font-size:13px;
  font-weight:700;
  color:#fff;
}
.or-call a{ color:#fff; }
.or-call a:hover{ color:var(--blue); }

/* ---------- Testimonials ---------- */
.tst-wrap{
  position:relative;
  max-width:760px;
  margin:0 auto;
  text-align:center;
}
.tst-slider{ position:relative; min-height:150px; }
.tst{
  margin:0;
  position:absolute; inset:0;
  opacity:0; visibility:hidden;
  transition:opacity .5s ease;
}
.tst.is-active{ opacity:1; visibility:visible; position:relative; }
.tst p{
  font-style:italic;
  font-size:16px;
  line-height:1.9;
  color:#7d7d7d;
  margin:0 0 22px;
}
.tst footer{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
}
.tst .q{
  font-size:30px;
  color:var(--blue);
  line-height:1;
  display:block;
  margin-bottom:2px;
}
.tst cite{
  font-family:var(--h);
  font-style:normal;
  font-weight:700;
  font-size:14px;
  color:var(--ink);
  letter-spacing:.3px;
}

.tst-dots{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:28px;
}
.tst-dots button{
  width:9px; height:9px; padding:0;
  border-radius:50%;
  border:1px solid var(--blue);
  background:transparent;
  cursor:pointer;
  transition:background .2s;
}
.tst-dots button.is-active{ background:var(--blue); }

/* ---------- CTA ---------- */
.cta{
  background:linear-gradient(rgba(74,122,181,.93), rgba(58,98,148,.95)), url('../images/cta-bg.jpg') center/cover no-repeat;
  color:#fff;
  text-align:center;
  padding:70px 0;
}
.cta h2{
  color:#fff;
  font-size:clamp(19px, 2.6vw, 26px);
  letter-spacing:.6px;
  margin-bottom:14px;
}
.cta-lead{
  max-width:760px;
  margin:0 auto;
  font-size:14.5px;
  opacity:.95;
}
.cta .btn{ margin-top:26px; }

/* ---------- Footer ---------- */
.footer{
  background:var(--blue-darker);
  color:rgba(255,255,255,.85);
  padding:22px 0;
  font-size:12.5px;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.footer p{ margin:0; }
.footer a:hover{ text-decoration:underline; }
.footer .sep{ margin:0 8px; opacity:.5; }

/* ---------- Back to top ---------- */
.to-top{
  position:fixed;
  right:22px; bottom:22px;
  z-index:70;
  width:44px; height:44px;
  display:grid; place-items:center;
  background:var(--blue);
  color:#fff;
  border-radius:3px;
  font-size:18px;
  box-shadow:0 6px 18px rgba(0,0,0,.22);
  opacity:0; visibility:hidden;
  transform:translateY(10px);
  transition:.25s;
}
.to-top.is-visible{ opacity:1; visibility:visible; transform:translateY(0); }
.to-top:hover{ background:var(--blue-darker); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991px){
  .about-grid{ grid-template-columns:1fr 1fr; }
  .about-copy{ grid-column:1 / -1; order:-1; }
  .feature-col{ flex-direction:row; }
  .feature{ flex:1; }

  .svc-grid{ grid-template-columns:1fr; }
  .gal-grid{ grid-template-columns:repeat(2, 1fr); }

  .tst p{ font-size:15px; }

  .nav-toggle{ display:block; }
  .nav{
    position:absolute;
    top:100%; left:0; right:0;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    background:#fff;
    border-top:1px solid var(--line);
    box-shadow:0 12px 24px rgba(0,0,0,.1);
    max-height:0;
    overflow:hidden;
    transition:max-height .3s ease;
  }
  .nav.is-open{ max-height:420px; }
  .nav a{
    padding:14px 20px;
    border-bottom:1px solid var(--line);
  }
  .nav .nav-cta{
    margin:14px 20px;
    border-bottom:0;
    border-radius:3px;
  }
  .header-inner{ position:relative; }
}

@media (max-width: 640px){
  .section{ padding:56px 0; }
  .estimate{ padding:56px 0; }

  .topbar-inner{ justify-content:center; text-align:center; padding-top:8px; padding-bottom:8px; }
  .topbar-contact{ gap:14px; justify-content:center; }

  .hero{ min-height:440px; }
  .hero-arrow{ width:36px; height:36px; font-size:22px; }
  .hero-arrow.prev{ left:8px; }
  .hero-arrow.next{ right:8px; }

  .about-grid{ grid-template-columns:1fr; }
  .feature-col{ flex-direction:column; }

  .gal-grid{ grid-template-columns:1fr; }
  .gal-item img{ height:220px; }

  .est-card{ padding:28px 20px; }
  .est-form .row,
  .est-form .row-3{ grid-template-columns:1fr; }

  .svc{ flex-direction:column; }

  .footer-inner{ justify-content:center; text-align:center; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:.01ms !important;
    transition-duration:.01ms !important;
  }
}
