/* =========================================================
   HARTIES GARAGE DOORS — DESIGN TOKENS
   Navy + Teal, matched to logo. "Speed line" motif used as
   the signature recurring element (echoes the logo mark).
   ========================================================= */
:root {
  --navy-950: #0A1420;
  --navy-900: #0F1B2D;
  --navy-800: #16273F;
  --navy-700: #1F3752;
  --teal-500: #2EC4C6;
  --teal-400: #4FD8D8;
  --teal-100: #E4FAFA;
  --ink: #1B2733;
  --grey-600: #5A6B7B;
  --grey-300: #D7DEE5;
  --grey-100: #F4F7F9;
  --white: #FFFFFF;
  --success: #1E9E6B;
  --error: #C0392B;
  --font-display: 'Sora', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --radius: 10px;
  --shadow-sm: 0 2px 10px rgba(15,27,45,.08);
  --shadow-md: 0 12px 32px rgba(15,27,45,.14);
  --container-w: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy-900); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--grey-600); }
ul { list-style: none; margin: 0; padding: 0; }
.container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 2px; }

/* Signature "speed line" motif -------------------------------------- */
.speed-lines { position: relative; }
.speed-lines::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 46px; height: 4px;
  background: var(--teal-500);
  transform: translateY(-50%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; font-size: .78rem; color: var(--teal-400);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--teal-500); display: inline-block; }
.section-eyebrow { color: var(--teal-500); }

/* Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-family: var(--font-display);
  font-weight: 700; font-size: .95rem; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--teal-500); color: var(--navy-950); }
.btn-primary:hover { background: var(--teal-400); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-whatsapp { background: #25D366; color: #06301c; }
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-light { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-outline-light:hover { border-color: var(--teal-500); color: var(--teal-400); }
.btn-block { width: 100%; }

/* Topbar --------------------------------------------------------------*/
.topbar { background: var(--navy-950); color: rgba(255,255,255,.8); font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; flex-wrap: wrap; gap: 6px; }
.topbar-contact a { margin-left: 18px; color: var(--teal-400); font-weight: 600; }

/* Header / Nav --------------------------------------------------------*/
.site-header { background: var(--white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 500; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; gap: 20px; }
.logo-img { height: 62px; width: auto; }
.main-nav ul { display: flex; align-items: center; gap: 2px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block; padding: 12px 14px; font-family: var(--font-display);
  font-weight: 600; font-size: .93rem; color: var(--navy-900); border-radius: 6px;
}
.main-nav > ul > li > a:hover { color: var(--teal-500); }
.nav-cta { background: var(--navy-900); color: var(--white) !important; padding: 10px 20px !important; border-radius: 999px; }
.nav-cta:hover { background: var(--teal-500); color: var(--navy-950) !important; }
.has-dropdown .dropdown {
  display: none; position: absolute; top: 100%; left: 0; min-width: 260px;
  background: var(--white); box-shadow: var(--shadow-md); border-radius: 10px;
  padding: 10px; border-top: 3px solid var(--teal-500);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
.dropdown li a { display: block; padding: 10px 14px; border-radius: 6px; font-size: .9rem; color: var(--ink); }
.dropdown li a:hover { background: var(--grey-100); color: var(--teal-500); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy-900); border-radius: 2px; }

/* Breadcrumbs ----------------------------------------------------------*/
.breadcrumbs { background: var(--white); border-bottom: 1px solid var(--grey-100); padding: 14px 0; }
.breadcrumbs ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0;
  max-width: var(--container-w); margin: 0 auto; padding: 0 24px;
  font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .01em;
}
.breadcrumbs li { display: flex; align-items: center; color: var(--grey-600); }
.breadcrumbs li:not(:last-child)::after {
  content: ""; width: 5px; height: 5px; border-top: 2px solid var(--grey-300); border-right: 2px solid var(--grey-300);
  transform: rotate(45deg); margin: 0 12px; display: inline-block;
}
.breadcrumbs a { color: var(--grey-600); padding: 4px 2px; border-radius: 4px; transition: color .15s ease; }
.breadcrumbs a:hover { color: var(--teal-500); }
.breadcrumbs li[aria-current="page"] { color: var(--navy-900); }

/* Hero ------------------------------------------------------------------*/
.hero {
  background: linear-gradient(115deg, var(--navy-950), var(--navy-800));
  background-size: cover; background-position: center;
  color: var(--white); position: relative; overflow: hidden;
  display: flex; align-items: center;
  min-height: calc(100vh - var(--chrome-h, 130px));
  min-height: calc(100svh - var(--chrome-h, 130px));
  padding: 44px 0;
}
.hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px;
  border-radius: 50%; background: radial-gradient(circle, rgba(46,196,198,.22), transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; position: relative; z-index: 2; width: 100%; }
.hero-inner.hero-inner--single { grid-template-columns: 1fr; max-width: 780px; }
.hero h1 { color: var(--white); }
.hero-sub { color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; }
.trust-strip li { font-size: .84rem; font-weight: 600; color: var(--teal-400); padding-left: 20px; position: relative; }
.trust-strip li::before { content: "✓"; position: absolute; left: 0; }
.hero-form-card { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-md); color: var(--ink); max-height: calc(100vh - var(--chrome-h, 130px) - 88px); overflow-y: auto; }
.hero-form-card h2 { font-size: 1.2rem; }
.hero-form-card > p { font-size: .86rem; }

/* Forms -------------------------------------------------------------------*/
form label { display: block; font-size: .82rem; font-weight: 600; color: var(--navy-800); margin-bottom: 14px; }
form input, form select, form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1.5px solid var(--grey-300);
  border-radius: 8px; font-family: var(--font-body); font-size: .95rem; color: var(--ink); background: var(--white);
}
form input:focus, form select:focus, form textarea:focus { border-color: var(--teal-500); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-microcopy { font-size: .78rem; color: var(--grey-600); margin-top: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }

/* Sections generic ----------------------------------------------------------*/
.intro-section { }
.intro-section .lede { font-size: 1.08rem; max-width: 72ch; }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }

/* Service cards ---------------------------------------------------------------*/
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 36px; }
.service-card {
  background: var(--white); border: 1px solid var(--grey-300); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease;
  border-top: 4px solid var(--teal-500);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card h3 { margin-bottom: 10px; }
.service-card a.card-link { color: var(--teal-500); font-weight: 700; font-size: .88rem; }

/* Why choose us icons list ------------------------------------------------------*/
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 36px; }
.why-item { text-align: left; padding: 22px; border-radius: var(--radius); background: var(--grey-100); }
.why-item .why-mark { display: block; width: 34px; height: 4px; border-radius: 999px; background: var(--teal-500); margin-bottom: 16px; }

/* Gallery ------------------------------------------------------------------------*/
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.gallery-grid img { border-radius: var(--radius); height: 220px; width: 100%; object-fit: cover; box-shadow: var(--shadow-sm); }

/* Image placeholder ---------------------------------------------------------------*/
.image-placeholder { margin: 0; }
.placeholder-box {
  aspect-ratio: 4/3; width: 100%; border-radius: var(--radius); background: var(--grey-100);
  border: 2px dashed var(--grey-300); display: flex; align-items: center; justify-content: center;
  color: var(--grey-600); font-family: var(--font-display); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; font-size: .8rem;
}
.image-placeholder figcaption { font-size: .78rem; color: var(--grey-600); margin-top: 8px; text-align: center; }
.image-caption-text { font-size: .78rem; color: var(--grey-600); margin-top: 8px; text-align: center; }

/* Areas grid ----------------------------------------------------------------------*/
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.area-chip {
  background: var(--white); border: 1px solid var(--grey-300); border-radius: var(--radius);
  padding: 20px; text-align: center; font-family: var(--font-display); font-weight: 700; color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.area-chip:hover { border-color: var(--teal-500); color: var(--teal-500); }

/* CTA banner --------------------------------------------------------------------------*/
.cta-banner { background: var(--navy-900); color: var(--white); }
.cta-banner-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-banner h2 { color: var(--white); margin-bottom: 6px; }
.cta-banner p { color: rgba(255,255,255,.78); margin: 0; }
.cta-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* FAQ / accordion -----------------------------------------------------------------------*/
.faq-section { background: var(--grey-100); }
.accordion { margin-top: 26px; max-width: 860px; }
.accordion-item { background: var(--white); border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.accordion-trigger {
  width: 100%; text-align: left; background: none; border: 0; padding: 18px 22px; font-family: var(--font-display);
  font-weight: 700; font-size: 1rem; color: var(--navy-900); display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.accordion-icon { color: var(--teal-500); font-size: 1.3rem; transition: transform .2s ease; }
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .25s ease; padding: 0 22px; }
.accordion-panel p { padding-bottom: 18px; margin: 0; }

/* Testimonials --------------------------------------------------------------------------*/
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.testimonial-card { background: var(--white); border: 1px solid var(--grey-300); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.testimonial-card .stars { color: var(--teal-500); margin-bottom: 10px; letter-spacing: 2px; }
.testimonial-card .name { font-family: var(--font-display); font-weight: 700; color: var(--navy-900); margin-top: 12px; }

/* Footer -----------------------------------------------------------------------------------*/
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.75); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-logo { height: 54px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-col h3 { color: var(--white); font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; font-size: .88rem; }
.footer-col a:hover { color: var(--teal-400); }
.footer-hours { font-size: .82rem; color: var(--teal-400); }
.footer-cta { margin-top: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; margin-top: 10px; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .78rem; }

/* WhatsApp float (bottom LEFT, pulsing glow) ------------------------------------------------*/
.whatsapp-float {
  position: fixed; bottom: 24px; left: 24px; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); z-index: 900; transition: transform .15s ease;
  animation: whatsappPulse 2.4s ease-out infinite;
}
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes whatsappPulse {
  0%   { box-shadow: var(--shadow-md), 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow: var(--shadow-md), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: var(--shadow-md), 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { animation: none; }
}

/* Modal (Call Me Back on floating trigger, if used) ---------------------------------------------*/
.modal { position: fixed; inset: 0; z-index: 1000; display: none; }
.modal.is-open { display: block; }
.modal-overlay { position: absolute; inset: 0; background: rgba(10,20,32,.6); }
.modal-panel {
  position: relative; max-width: 460px; margin: 8vh auto; background: var(--white); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-md); z-index: 2;
}
.modal-close { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--grey-600); }

/* Utility band (used on homepage) ------------------------------------------------------------------*/
.stat-band { background: var(--navy-900); color: var(--white); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-grid .stat-num { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--teal-400); }
.stat-grid .stat-label { font-size: .85rem; color: rgba(255,255,255,.7); }

/* Toast for form submit status --------------------------------------------------------------------*/
.form-status { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-weight: 600; font-size: .9rem; }
.form-status.success { background: #E4F7EF; color: var(--success); }
.form-status.error { background: #FBE9E7; color: var(--error); }

/* Map embed --------------------------------------------------------------------------------------*/
.map-embed { width: 100%; height: 360px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 980px) {
  .hero { padding: 32px 0 44px; min-height: calc(100svh - var(--chrome-h, 116px)); }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .trust-strip { gap: 12px; margin-top: 14px; }
  .hero-actions { margin: 18px 0; }
  .services-grid, .why-grid, .gallery-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: -100%; width: min(320px, 84vw); height: 100vh; background: var(--white);
    box-shadow: var(--shadow-md); transition: right .25s ease; padding: 90px 24px 24px; overflow-y: auto;
  }
  .main-nav.is-open { right: 0; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .has-dropdown .dropdown { position: static; display: block; box-shadow: none; border-top: none; padding-left: 12px; }
  .topbar-inner { flex-direction: column; align-items: flex-start; }
  .services-grid, .why-grid, .gallery-grid, .testimonial-grid, .areas-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .logo-img { height: 48px; }
  .cta-banner-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
}
