/* ─────────────────────────────────────────────
   HandKind Construction — Main Stylesheet
   ───────────────────────────────────────────── */

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

:root {
  --navy:       #1c2e4a;
  --navy-dark:  #111e32;
  --navy-mid:   #243a5e;
  --navy-pale:  #e8eef6;
  --navy-light: #c8d8ee;
  --ink:        #0f0f0e;
  --ink-mid:    #2a2a28;
  --stone:      #6e6e6a;
  --cream:      #f8f7f4;
  --white:      #ffffff;
  --border:     rgba(15,15,14,0.1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 3.5rem;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

.nav-cta {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: var(--navy-dark);
  color: #fff !important;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--navy-mid); }

/* ── PAGE WRAPPER ── */
.page-body { padding-top: 74px; }

/* ── SECTION SHARED ── */
.section { padding: 7rem 5rem; }
.section--cream { background: var(--cream); }
.section--navy  { background: var(--navy-dark); }
.section--mid   { background: var(--navy); }

.section-label {
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--navy);
}

.section-label--light { color: var(--navy-light); }
.section-label--light::before { background: var(--navy-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.2vw, 3rem);
  font-weight: 300;
  color: var(--ink);
  max-width: 560px;
}

.section-title em { font-style: italic; color: var(--navy-mid); }
.section-title--light { color: #fff; }
.section-title--light em { color: var(--navy-light); }

.inner { max-width: 1200px; margin: 0 auto; }
.inner--narrow { max-width: 800px; margin: 0 auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 1rem 2.25rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s, opacity 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn--dark  { background: var(--navy-dark); color: #fff; }
.btn--dark:hover { background: var(--navy-mid); }
.btn--white { background: #fff; color: var(--navy-dark); }
.btn--white:hover { opacity: 0.88; }
.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn--outline:hover { background: var(--navy-pale); }

.btn-text {
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.btn-text::after { content: '→'; font-size: 1rem; }
.btn-text:hover  { color: var(--ink); }
.btn-text--light { color: var(--navy-light); }
.btn-text--light:hover { color: #fff; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy-dark);
  padding: 6rem 5rem 5rem;
}

.page-hero .section-label { color: var(--navy-light); }
.page-hero .section-label::before { background: var(--navy-light); }

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.08;
  max-width: 700px;
  margin-top: 0.5rem;
}

.page-hero-title em { font-style: italic; color: var(--navy-light); }

.page-hero-body {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  max-width: 480px;
  margin-top: 1.5rem;
  line-height: 1.8;
}

/* ── MARQUEE ── */
.marquee-strip {
  background: var(--navy-dark);
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-inner {
  display: inline-flex;
  animation: marquee 32s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2rem;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}

.marquee-dot {
  width: 3px; height: 3px;
  background: rgba(200,216,238,0.55);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── FOOTER ── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.35);
  padding: 2.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.footer-logo img {
  height: 34px;
  width: auto;
  opacity: 0.7;
  filter: brightness(0) invert(1);
}

.footer-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255,255,255,0.65); }

.footer-right {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-align: right;
  line-height: 1.8;
}

/* ── CARDS (services / why) ── */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(15,15,14,0.08); border: 1px solid rgba(15,15,14,0.08); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.service-card {
  background: var(--cream);
  padding: 2.5rem 1.75rem;
  transition: background 0.25s;
}

.service-card:hover { background: #fff; }

.service-number {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--navy);
  margin-bottom: 1.75rem;
  opacity: 0.45;
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.service-location {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.55;
  margin-bottom: 0.85rem;
}

.service-desc {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--stone);
}

.service-link {
  margin-top: 1.75rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  opacity: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity 0.2s, gap 0.2s;
}

.service-card:hover .service-link { opacity: 1; gap: 0.65rem; }

/* ── WHY GRID ── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 4rem; }

.why-item { border-top: 1px solid var(--border); padding-top: 1.5rem; }

.why-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.why-desc {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--stone);
}

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.faq-item:first-of-type { border-top: 1px solid var(--border); }

.faq-q {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  user-select: none;
}

.faq-toggle {
  font-size: 1.2rem;
  color: var(--navy);
  flex-shrink: 0;
  transition: transform 0.2s;
  margin-top: 2px;
}

.faq-item.open .faq-toggle { transform: rotate(45deg); }

.faq-a {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--stone);
  display: none;
  margin-top: 0.85rem;
}

.faq-item.open .faq-a { display: block; }

/* ── PROCESS ── */
.process-steps {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 10%; right: 10%;
  height: 1px;
  background: rgba(15,15,14,0.08);
}

.section--navy .process-steps::before { background: rgba(255,255,255,0.07); }

.process-step { padding: 0 1rem; }

.step-number-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem; height: 3rem;
  border: 1px solid rgba(28,46,74,0.2);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  background: var(--cream);
  position: relative;
  z-index: 2;
}

.section--navy .step-number-wrap {
  border-color: rgba(200,216,238,0.25);
  background: var(--navy-dark);
}

.step-number {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--navy);
}

.section--navy .step-number { color: var(--navy-light); }

.step-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.65rem;
}

.section--navy .step-name { color: #fff; }

.step-desc {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--stone);
}

.section--navy .step-desc { color: rgba(255,255,255,0.35); }

/* ── CTA SECTION ── */
.cta-section {
  text-align: center;
  padding: 7rem 5rem;
  background: var(--navy-dark);
}

.cta-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-light);
  opacity: 0.6;
  margin-bottom: 1.5rem;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.cta-title em { font-style: italic; opacity: 0.6; }

.cta-slogan {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--navy-light);
  margin-bottom: 1.5rem;
  opacity: 0.75;
}

.cta-sub {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  max-width: 420px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.cta-address {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-top: 2rem;
}

/* ── AREAS ── */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
  margin-top: 3rem;
}

.area-card {
  background: var(--navy-dark);
  padding: 2rem 1.75rem;
  transition: background 0.2s;
}

.area-card:hover { background: var(--navy-mid); }

.area-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.6rem;
}

.area-desc {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
}

.area-services {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.area-tag {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-light);
  border: 1px solid rgba(200,216,238,0.2);
  padding: 0.2rem 0.6rem;
  opacity: 0.7;
}

/* ── REVIEWS ── */
.review-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.75rem;
}

.review-stars {
  color: var(--navy-light);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.review-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.review-author {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.review-location {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.2);
  margin-top: 0.2rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .nav { padding: 0.85rem 2rem; }
  .nav-links { gap: 1.25rem; }
  .section { padding: 5rem 3rem; }
  .page-hero { padding: 5rem 3rem 4rem; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .grid-4, .grid-3 { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .areas-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .process-steps::before { display: none; }
  .footer { grid-template-columns: 1fr; text-align: center; gap: 1.25rem; }
  .footer-right { text-align: center; }
}

@media (max-width: 580px) {
  .grid-4, .grid-3, .grid-2, .why-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .section { padding: 4rem 1.5rem; }
  .page-hero { padding: 4rem 1.5rem 3rem; }
  .cta-section { padding: 5rem 2rem; }
  .footer { padding: 2rem 1.5rem; }
}
