/* Harbor Point Construction INC — Residential Building & Renovation */

:root {
  --bg:         #f7f5f0;
  --surface:    #ffffff;
  --surface-2:  #eef0f4;
  --surface-dark: #1a2332;
  --border:     rgba(26, 35, 50, 0.1);
  --text:       #1a2332;
  --muted:      #5c6578;
  --navy:       #1a2332;
  --navy-deep:  #0f1623;
  --gold:       #c9a227;
  --gold-lt:    #dbb84a;
  --copper:     #b87333;
  --gradient:   linear-gradient(135deg, #1a2332 0%, #2d3f5c 50%, #c9a227 100%);
  --gradient-gold: linear-gradient(135deg, #c9a227 0%, #dbb84a 100%);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', system-ui, sans-serif;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 20px 50px rgba(26, 35, 50, 0.12);
  --shadow-lg:  0 32px 70px rgba(26, 35, 50, 0.18);
  --ease:       0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }

.container { width: min(1180px, 92vw); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); }

em {
  font-style: italic;
  color: var(--gold);
}

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-sm { padding: 2.5rem 0; }

.label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.lead { font-size: 1.12rem; color: var(--text); margin-bottom: 1rem; line-height: 1.75; }

.section-head.center { text-align: center; max-width: 700px; margin-inline: auto; }
.section-desc { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.85rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--ease);
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 6px 24px rgba(26, 35, 50, 0.25);
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(201, 162, 39, 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
}

.btn-full { width: 100%; }

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--ease);
}

.header.scrolled {
  box-shadow: 0 4px 24px rgba(26, 35, 50, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: 0.75rem; }

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--navy);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--navy); }
.brand-inc { font-weight: 500; color: var(--muted); font-size: 0.78rem; font-family: var(--font-body); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--ease);
}

.nav-menu a:hover { color: var(--navy); }

.btn-nav {
  padding: 0.55rem 1.25rem !important;
  background: var(--navy) !important;
  color: #fff !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  font-size: 0.78rem !important;
}

.btn-nav:hover { background: var(--gold) !important; color: var(--navy) !important; }

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--ease);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 8rem 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img { height: 100%; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(15, 22, 35, 0.95) 0%, rgba(15, 22, 35, 0.4) 45%, rgba(15, 22, 35, 0.25) 100%),
    linear-gradient(to right, rgba(15, 22, 35, 0.7) 0%, transparent 60%);
}

.hero-body {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: #fff;
}

.hero-body .label { color: var(--gold-lt); }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 1.5rem 0 2rem;
  max-width: 620px;
  line-height: 1.75;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--gold-lt);
  margin-bottom: 0.25rem;
}

.stat span { font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); line-height: 1.4; }

/* Marquee */
.marquee {
  background: var(--navy);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

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

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-list {
  list-style: none;
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.15);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}

.about-visual { position: relative; }

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.about-img-accent {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  width: 45%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid var(--bg);
  box-shadow: var(--shadow);
  aspect-ratio: 1;
}

.about-badge {
  position: absolute;
  top: 1.5rem;
  right: -1rem;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.about-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
}

.about-badge span {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Clients */
.clients {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.logos-label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
}

.logo-row span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  font-style: italic;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--ease);
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.service-img { aspect-ratio: 16/10; overflow: hidden; }
.service-card.featured .service-img { aspect-ratio: auto; min-height: 320px; }

.service-body { padding: 2rem; }

.service-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.service-card h3 { margin-bottom: 0.85rem; color: var(--navy); }
.service-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1rem; }

.service-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-card ul li {
  font-size: 0.88rem;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
}

.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 0.75rem;
}

.gallery-item { border-radius: var(--radius); overflow: hidden; }
.gallery-item.wide { grid-column: span 2; }

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.process-step {
  position: relative;
  padding: 2rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--ease);
}

.process-step:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.process-num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.6;
}

.process-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  color: var(--navy);
}

.process-icon svg { width: 100%; height: 100%; }

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
  color: var(--navy);
}

.process-step p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--ease);
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.project-img { aspect-ratio: 16/10; overflow: hidden; }
.project-body { padding: 1.75rem; }

.project-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.project-body h3 {
  margin: 0.6rem 0 0.75rem;
  font-size: 1.15rem;
  color: var(--navy);
}

.project-body p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.project-meta span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  background: var(--surface-2);
  border-radius: 4px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Metrics */
.metrics {
  background: var(--navy);
  color: #fff;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.metric-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gold-lt);
  margin-bottom: 0.35rem;
}

.metric-item span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

/* Why */
.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.why-item {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.why-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 0.5rem;
}

.why-item h4 { font-size: 0.95rem; margin-bottom: 0.4rem; color: var(--navy); }
.why-item p { font-size: 0.85rem; color: var(--muted); }

.why-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}

.why-quote {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.why-quote p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.why-quote span { font-size: 0.78rem; color: var(--muted); }

/* FAQ */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--navy);
  transition: color var(--ease);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--gold);
  font-family: var(--font-body);
  transition: transform var(--ease);
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}

.faq-item a { color: var(--copper); text-decoration: underline; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.contact-item strong,
.contact-item address,
.contact-item span { font-style: normal; font-size: 0.95rem; }

.contact-item a { color: var(--navy); font-weight: 600; transition: color var(--ease); }
.contact-item a:hover { color: var(--gold); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* Footer */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 0;
}

.footer .brand-name { color: #fff; }
.footer .brand-inc { color: rgba(255, 255, 255, 0.5); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 300px;
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--ease);
}
.footer-links a:hover { color: #fff; }

.footer-contact address {
  font-style: normal;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.footer-contact a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.35rem;
  transition: color var(--ease);
}

.footer-contact a:hover { color: var(--gold-lt); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .about-grid,
  .contact-grid,
  .why-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-card.featured { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-img-accent { left: 1rem; bottom: -1.5rem; }
  .about-badge { right: 1rem; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    inset: 0;
    top: 0;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.98);
    gap: 2rem;
    transform: translateX(100%);
    transition: transform var(--ease);
  }

  .nav-menu.open { transform: translateX(0); }
  .nav-menu a { font-size: 1.1rem; color: var(--navy); }
  .menu-btn { display: flex; z-index: 1001; }

  .hero { min-height: auto; padding: 7rem 0 3rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item.wide { grid-column: span 2; }
  .process-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { aspect-ratio: 16/10; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
