/* ============================================
   Palm Coast Handyman Painting & Home Repair
   Coastal turquoise (from real brand logo) + warm sand,
   friendly handyman feel
   ============================================ */

:root{
  --terracotta:#0E7A8C;
  --terracotta-dark:#0A5F6E;
  --terracotta-light:#2AEAFF;
  --clay:#0B4650;
  --cream:#FCF6EC;
  --cream-dark:#F4E9D8;
  --sand:#EDDCC0;
  --ink:#3A2A1E;
  --ink-soft:#6B5A4A;
  --line:#E4D3BA;
  --white:#FFFFFF;
  --radius-sm:10px;
  --radius-md:18px;
  --radius-lg:32px;
  --shadow:0 12px 30px -14px rgba(60, 35, 15, 0.35);
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Nunito Sans', sans-serif;
  background:var(--cream);
  color:var(--ink);
  line-height:1.6;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.brand-text{
  font-family:'Quicksand', sans-serif;
  font-weight:700;
  color:var(--clay);
  line-height:1.2;
}
img{max-width:100%; display:block;}
a{color:inherit;}
.wrap{max-width:1180px; margin:0 auto; padding:0 24px;}

.skip-link{
  position:absolute; left:-999px; top:0;
  background:var(--terracotta); color:var(--white);
  padding:12px 20px; border-radius:0 0 8px 0; z-index:200;
}
.skip-link:focus{left:0;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:14px 26px;
  border-radius:999px;
  font-family:'Quicksand', sans-serif;
  font-weight:700;
  font-size:1rem;
  text-decoration:none;
  min-height:48px;
  border:2px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary{
  background:var(--terracotta);
  color:var(--white);
  box-shadow:var(--shadow);
}
.btn-primary:hover{background:var(--terracotta-dark); transform:translateY(-2px);}
.btn-secondary{
  background:transparent;
  border-color:var(--terracotta);
  color:var(--terracotta-dark);
}
.btn-secondary:hover{background:var(--sand); transform:translateY(-2px);}

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(252,246,236,0.94);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 24px;
  gap:16px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none;
}
.brand-mark{display:flex; flex-shrink:0;}
.logo{height:34px; width:auto; display:block;}
.brand-text{
  font-size:1.05rem;
  color:var(--clay);
}
.brand-text em{
  font-style:normal;
  font-weight:600;
  color:var(--terracotta);
  font-size:0.85rem;
  display:block;
}

.main-nav{
  display:none;
  align-items:center;
  gap:8px;
}
.main-nav a{
  text-decoration:none;
  font-weight:600;
  color:var(--ink);
  padding:10px 14px;
  border-radius:999px;
  min-height:44px;
  display:flex;
  align-items:center;
}
.main-nav a:hover{background:var(--sand);}
.nav-cta{
  background:var(--terracotta);
  color:var(--white) !important;
  padding:10px 20px !important;
}
.nav-cta:hover{background:var(--terracotta-dark) !important;}

.menu-toggle{
  display:flex; flex-direction:column; justify-content:center; gap:5px;
  width:46px; height:46px;
  background:var(--sand);
  border:none; border-radius:12px;
  cursor:pointer;
  padding:0;
}
.menu-toggle span{
  display:block; height:3px; width:24px; margin:0 auto;
  background:var(--clay); border-radius:2px;
  transition:transform .2s ease, opacity .2s ease;
}
.menu-toggle.open span:nth-child(1){transform:translateY(8px) rotate(45deg);}
.menu-toggle.open span:nth-child(2){opacity:0;}
.menu-toggle.open span:nth-child(3){transform:translateY(-8px) rotate(-45deg);}

.main-nav.mobile-open{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  position:absolute;
  top:100%; left:0; right:0;
  background:var(--cream);
  border-bottom:1px solid var(--line);
  padding:10px 24px 20px;
  box-shadow:var(--shadow);
}
.main-nav.mobile-open a{
  padding:14px 16px;
  border-bottom:1px solid var(--line);
  border-radius:0;
}
.main-nav.mobile-open a:last-child{border-bottom:none; margin-top:8px;}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  overflow:hidden;
  padding:56px 0 90px;
  background:linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}
.hero-inner{
  display:flex;
  flex-direction:column;
  gap:44px;
}
.eyebrow{
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.08em;
  font-size:0.78rem;
  color:var(--terracotta-dark);
  margin-bottom:14px;
}
.eyebrow.center{text-align:center;}
.hero h1{
  font-size:clamp(2.1rem, 6vw, 3.2rem);
  margin-bottom:18px;
}
.hero h1 span{color:var(--terracotta);}
.hero-sub{
  font-size:1.08rem;
  color:var(--ink-soft);
  max-width:52ch;
  margin-bottom:28px;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-bottom:24px;
}
.hero-rating{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:0.95rem;
  color:var(--ink-soft);
}
.stars{color:var(--terracotta); font-size:1.1rem; letter-spacing:1px;}

.hero-art{
  position:relative;
  min-height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-blob{
  width:260px; height:260px;
  background:var(--terracotta-light);
  opacity:0.35;
  border-radius:62% 38% 55% 45% / 45% 55% 45% 55%;
  position:absolute;
  left:50%; top:50%;
  transform:translate(-50%,-50%);
}
.hero-card{
  position:relative;
  background:var(--white);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow);
  padding:16px 20px;
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:700;
  font-family:'Quicksand', sans-serif;
  color:var(--clay);
  max-width:230px;
}
.hero-card-icon{font-size:1.5rem;}
.hero-card-1{align-self:flex-start; margin-right:auto;}
.hero-card-2{align-self:flex-end; margin-left:auto; margin-top:-10px;}

.hero-wave{
  position:absolute;
  left:0; right:0; bottom:-1px;
  height:46px;
  background:var(--cream-dark);
  clip-path:polygon(0 40%, 8% 55%, 18% 40%, 28% 60%, 38% 42%, 48% 58%, 58% 40%, 68% 60%, 78% 42%, 88% 58%, 100% 40%, 100% 100%, 0 100%);
}

/* ---------- Trust strip ---------- */
.strip{
  background:var(--terracotta);
  color:var(--white);
  padding:20px 0;
}
.strip-inner{
  display:flex;
  flex-wrap:wrap;
  gap:16px 28px;
  justify-content:center;
  font-weight:700;
  font-family:'Quicksand', sans-serif;
  font-size:0.95rem;
}
.strip-item{display:flex; align-items:center; gap:8px;}

/* ---------- Generic section ---------- */
.section{padding:72px 0;}
.section-alt{background:var(--cream-dark);}
.section h2{
  font-size:clamp(1.6rem, 4vw, 2.3rem);
  margin-bottom:14px;
}
.section h2.center{text-align:center;}
.section-sub{
  color:var(--ink-soft);
  max-width:56ch;
  margin-bottom:40px;
}
.section-sub.center{margin-left:auto; margin-right:auto; text-align:center;}

/* ---------- About ---------- */
.about-grid{
  display:flex;
  flex-direction:column-reverse;
  gap:40px;
  align-items:center;
}
.about-art{
  position:relative;
  width:100%;
  max-width:340px;
  height:240px;
  flex-shrink:0;
}
.swatch-terracotta,.swatch-cream,.swatch-clay{
  position:absolute;
  border-radius:var(--radius-lg);
}
.swatch-terracotta{
  width:70%; height:70%;
  background:var(--terracotta);
  top:0; left:0;
}
.swatch-cream{
  width:55%; height:55%;
  background:var(--white);
  border:1px solid var(--line);
  bottom:0; right:0;
  box-shadow:var(--shadow);
}
.swatch-clay{
  width:34%; height:34%;
  background:var(--clay);
  bottom:10%; left:8%;
  border-radius:50%;
}
.about-copy p{margin-bottom:16px; color:var(--ink-soft);}
.about-quote{
  margin-top:24px;
  padding:20px 24px;
  background:var(--white);
  border-left:5px solid var(--terracotta);
  border-radius:var(--radius-sm);
  box-shadow:var(--shadow);
}
.about-quote p{
  font-family:'Quicksand', sans-serif;
  font-weight:600;
  font-size:1.1rem;
  color:var(--clay);
  margin-bottom:6px;
}
.about-quote span{font-size:0.9rem; color:var(--ink-soft);}

/* ---------- Services ---------- */
.services-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
  margin-top:8px;
}
.service-card{
  background:var(--white);
  border-radius:var(--radius-md);
  padding:28px 24px;
  box-shadow:var(--shadow);
  border-top:4px solid var(--terracotta);
}
.service-icon{
  font-size:1.9rem;
  display:inline-block;
  margin-bottom:14px;
}
.service-card h3{
  font-size:1.15rem;
  margin-bottom:8px;
}
.service-card p{color:var(--ink-soft); font-size:0.96rem;}

.services-footnote{
  text-align:center;
  margin-top:36px;
  color:var(--ink-soft);
  max-width:60ch;
  margin-left:auto; margin-right:auto;
}
.services-cta{
  display:flex;
  justify-content:center;
  margin-top:28px;
}

/* ---------- Testimonial carousel (React island) ---------- */
#testimonial-carousel-root{
  max-width:680px;
  margin:0 auto;
}
.tc-wrap, .tc-fallback{
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:40px clamp(24px, 5vw, 48px);
  box-shadow:var(--shadow);
  text-align:center;
}
.tc-quote p{
  font-family:'Quicksand', sans-serif;
  font-size:1.2rem;
  font-weight:600;
  color:var(--clay);
  margin-bottom:16px;
}
.tc-quote footer{
  color:var(--ink-soft);
  font-size:0.92rem;
}
.tc-controls{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  margin-top:28px;
}
.tc-btn{
  width:44px; height:44px;
  border-radius:50%;
  border:2px solid var(--terracotta);
  background:var(--white);
  color:var(--terracotta-dark);
  font-size:1.3rem;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background .15s ease, color .15s ease;
}
.tc-btn:hover{background:var(--terracotta); color:var(--white);}
.tc-dots{display:flex; gap:8px;}
.tc-dot{
  width:12px; height:12px;
  border-radius:50%;
  border:none;
  background:var(--sand);
  cursor:pointer;
  padding:0;
}
.tc-dot-active{background:var(--terracotta);}

/* ---------- Contact ---------- */
.contact-grid{
  display:flex;
  flex-direction:column;
  gap:40px;
}
.contact-copy p{color:var(--ink-soft); margin-bottom:24px;}
.contact-list{
  list-style:none;
  margin-bottom:28px;
}
.contact-list li{
  display:flex;
  align-items:center;
  gap:14px;
  padding:10px 0;
  font-weight:600;
}
.contact-list a{text-decoration:none; color:var(--terracotta-dark);}
.contact-icon{
  width:40px; height:40px;
  border-radius:50%;
  background:var(--sand);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}

.contact-form{
  display:flex;
  flex-direction:column;
  gap:6px;
  background:var(--white);
  padding:28px;
  border-radius:var(--radius-md);
  box-shadow:var(--shadow);
}
.contact-form label{
  font-weight:700;
  font-family:'Quicksand', sans-serif;
  color:var(--clay);
  margin-top:12px;
  font-size:0.92rem;
}
.contact-form input,
.contact-form textarea{
  font-family:inherit;
  font-size:1rem;
  padding:12px 14px;
  border-radius:var(--radius-sm);
  border:2px solid var(--line);
  background:var(--cream);
  color:var(--ink);
  min-height:44px;
  resize:vertical;
}
.contact-form input:focus,
.contact-form textarea:focus{
  outline:none;
  border-color:var(--terracotta);
}
.contact-form button{margin-top:20px; align-self:flex-start;}

.contact-map{
  border-radius:var(--radius-md);
  overflow:hidden;
  box-shadow:var(--shadow);
  aspect-ratio:4/3;
  width:100%;
}
.contact-map iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
}

/* ---------- Footer ---------- */
.site-footer{
  background:var(--clay);
  color:var(--cream);
  padding:40px 0 28px;
}
.footer-inner{
  display:flex;
  flex-direction:column;
  gap:24px;
}
.footer-brand .brand-text{color:var(--cream);}
.footer-brand .brand-text em{color:var(--terracotta-light);}
.footer-brand p{
  margin-top:8px;
  font-size:0.88rem;
  color:var(--sand);
}
.footer-contact{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:0.95rem;
}
.footer-contact a{
  text-decoration:none;
  color:var(--cream);
  font-weight:700;
}
.footer-legal{
  font-size:0.82rem;
  color:var(--sand);
  border-top:1px solid rgba(252,246,236,0.15);
  padding-top:20px;
}

/* =====================================================
   Tablet (>= 768px)
   ===================================================== */
@media (min-width: 768px){
  .header-inner{padding:16px 24px;}
  .menu-toggle{display:none;}
  .main-nav{display:flex;}

  .hero-inner{
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
  }
  .hero-copy{flex:1 1 55%;}
  .hero-art{flex:1 1 40%;}

  .about-grid{
    flex-direction:row;
    align-items:center;
  }
  .about-art{flex:0 0 320px;}
  .about-copy{flex:1;}

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

  .contact-grid{
    flex-direction:row;
    align-items:flex-start;
  }
  .contact-copy{flex:1 1 50%;}
  .contact-map{flex:1 1 50%; position:sticky; top:100px;}

  .footer-inner{
    flex-direction:row;
    justify-content:space-between;
    align-items:flex-start;
  }
  .footer-legal{
    border-top:none;
    padding-top:0;
    align-self:flex-end;
  }
}

/* =====================================================
   Desktop (>= 1200px)
   ===================================================== */
@media (min-width: 1200px){
  .services-grid{grid-template-columns:repeat(3, 1fr);}
  .hero{padding:80px 0 110px;}
  .section{padding:96px 0;}
}
