@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&display=swap');

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

:root {
  --navy:   #0B1F3A;
  --navy2:  #132D52;
  --blue:   #1E6FD9;
  --blue2:  #1558B0;
  --white:  #FFFFFF;
  --offwhite: #F4F6F9;
  --grey:   #E2E8F0;
  --steel:  #64748B;
  --dark:   #1E293B;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-top: 4px solid var(--blue);
  background: var(--white);
  box-shadow: 0 1px 0 var(--grey), 0 2px 12px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 68px;
}
.nav-logo { text-decoration: none; display: flex; flex-direction: column; gap: 0; }
.nav-logo-main {
  font-size: 1.2rem; font-weight: 800; color: var(--navy);
  letter-spacing: -0.02em; line-height: 1.1;
}
.nav-logo-main span { color: var(--blue); }
.nav-logo-sub {
  font-size: 0.65rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--steel);
}
.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links a {
  display: block; padding: 0 1.1rem; height: 68px; line-height: 68px;
  font-size: 0.875rem; font-weight: 500; color: var(--steel);
  text-decoration: none; border-bottom: 3px solid transparent;
  margin-bottom: -4px; transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); border-color: var(--blue); }
.nav-cta {
  font-size: 0.875rem; font-weight: 600;
  background: var(--blue); color: var(--white);
  padding: 0.6rem 1.4rem; border-radius: 6px;
  text-decoration: none; transition: background 0.2s;
}
.nav-cta:hover { background: var(--blue2); }
.nav-mobile-btn {
  display: none; background: none; border: none;
  cursor: pointer; padding: 0.5rem; color: var(--navy);
}
.mobile-menu {
  display: none; background: var(--white);
  border-top: 1px solid var(--grey);
  padding: 1rem 2rem 1.5rem;
  flex-direction: column; gap: 0;
}
.mobile-menu a {
  display: block; padding: 0.75rem 0;
  font-size: 0.95rem; font-weight: 500; color: var(--dark);
  text-decoration: none; border-bottom: 1px solid var(--grey);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu.open { display: flex; }

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

/* ── HERO (home) ── */
.home-hero {
  background: var(--navy);
  min-height: 88vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 4rem 2rem;
}
.home-hero::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 45%; height: 100%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy2) 100%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: 0.35;
}
.hero-content {
  max-width: 1100px; margin: 0 auto; width: 100%;
  position: relative; z-index: 2;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(30,111,217,0.15); border: 1px solid rgba(30,111,217,0.3);
  color: #60A5FA; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.35rem 0.85rem; border-radius: 20px; margin-bottom: 1.75rem;
}
.hero-badge::before { content:''; width:6px; height:6px; background:#60A5FA; border-radius:50%; }
.hero-h1 {
  font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 800;
  line-height: 1.05; letter-spacing: -0.03em;
  color: var(--white); margin-bottom: 1.5rem; max-width: 680px;
}
.hero-h1 span { color: #60A5FA; }
.hero-p {
  font-size: 1.1rem; line-height: 1.75; color: #94A3B8;
  max-width: 500px; margin-bottom: 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  font-size: 0.95rem; font-weight: 600;
  background: var(--blue); color: var(--white);
  padding: 0.9rem 2rem; border-radius: 6px;
  text-decoration: none; transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--blue2); transform: translateY(-1px); }
.btn-secondary {
  font-size: 0.95rem; font-weight: 500;
  border: 1.5px solid #2D4A6B; color: #94A3B8;
  padding: 0.9rem 2rem; border-radius: 6px;
  text-decoration: none; transition: all 0.2s; display: inline-block;
}
.btn-secondary:hover { border-color: #60A5FA; color: var(--white); }
.hero-trust {
  margin-top: 3.5rem;
  display: flex; gap: 2.5rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 0.6rem;
}
.trust-check {
  width: 20px; height: 20px; background: var(--blue);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-check svg { width: 10px; height: 10px; color: white; }
.trust-text { font-size: 0.85rem; color: #94A3B8; font-weight: 500; }

/* ── SECTION BASICS ── */
.section { padding: 5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 0.6rem;
}
.section-h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800;
  letter-spacing: -0.025em; line-height: 1.1; color: var(--navy);
  margin-bottom: 1rem;
}
.section-lead {
  font-size: 1rem; line-height: 1.75; color: var(--steel);
  max-width: 560px; margin-bottom: 3rem;
}
.bg-off { background: var(--offwhite); }
.bg-navy { background: var(--navy); }
.bg-navy .section-h2 { color: var(--white); }
.bg-navy .section-lead { color: #64748B; }
.bg-navy .section-tag { color: #60A5FA; }

/* ── CARDS GRID ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--white); border: 1.5px solid var(--grey);
  border-radius: 10px; padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: var(--blue); box-shadow: 0 4px 20px rgba(30,111,217,0.1); }
.card-icon {
  width: 2.75rem; height: 2.75rem; color: var(--blue); margin-bottom: 1.25rem;
}
.card-title {
  font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem;
}
.card-desc { font-size: 0.875rem; line-height: 1.7; color: var(--steel); }

/* ── STATS ROW ── */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 10px; overflow: hidden; margin-top: 3rem;
}
.stat-cell {
  padding: 2.25rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em;
  color: var(--white); line-height: 1; margin-bottom: 0.35rem;
}
.stat-num span { color: #60A5FA; }
.stat-label { font-size: 0.82rem; color: #64748B; font-weight: 500; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy);
  padding: 4rem 2rem 3.5rem;
  text-align: left;
}
.page-hero-inner { max-width: 1100px; margin: 0 auto; }
.page-hero-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: #60A5FA; margin-bottom: 0.75rem;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800;
  letter-spacing: -0.03em; color: var(--white); line-height: 1.1;
  margin-bottom: 0.75rem;
}
.page-hero p {
  font-size: 1rem; color: #64748B; max-width: 500px; line-height: 1.7;
}
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.breadcrumb a { font-size: 0.8rem; color: #64748B; text-decoration: none; }
.breadcrumb a:hover { color: #60A5FA; }
.breadcrumb span { font-size: 0.8rem; color: #2D4A6B; }

/* ── SERVICES PAGE ── */
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.service-card {
  border: 1.5px solid var(--grey); border-radius: 10px;
  padding: 2rem 2.25rem; transition: all 0.2s;
  display: flex; gap: 1.5rem; align-items: flex-start;
}
.service-card:hover { border-color: var(--blue); box-shadow: 0 4px 20px rgba(30,111,217,0.08); }
.service-icon-wrap {
  width: 3rem; height: 3rem; background: #EFF6FF;
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.service-icon-wrap svg { width: 1.4rem; height: 1.4rem; color: var(--blue); }
.service-card-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.service-card-desc { font-size: 0.875rem; line-height: 1.7; color: var(--steel); }
.service-features { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.3rem; }
.service-features li {
  font-size: 0.82rem; color: var(--steel);
  display: flex; gap: 0.5rem; align-items: flex-start; list-style: none;
}
.service-features li::before { content: '→'; color: var(--blue); font-weight: 700; flex-shrink: 0; }

/* ── ABOUT PAGE ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-visual {
  position: relative; height: 420px;
  background: var(--offwhite); border-radius: 12px; overflow: hidden;
}
.about-vis-block1 {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=800&q=80') center/cover;
}
.about-vis-block2 {
  position: absolute; bottom: 2rem; right: 2rem; left: 2rem;
  background: var(--white); border-radius: 8px;
  padding: 1.5rem; box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.about-vis-block2 p { font-size: 0.85rem; color: var(--steel); font-style: italic; line-height: 1.6; }
.about-vis-block2 cite {
  display: block; margin-top: 0.5rem; font-size: 0.78rem;
  font-style: normal; font-weight: 700; color: var(--blue);
}
.about-years-badge {
  position: absolute; top: 2rem; left: 2rem;
  background: var(--blue); color: var(--white);
  border-radius: 8px; padding: 1rem 1.25rem; text-align: center;
}
.about-years-num { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.about-years-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; }
.about-body { font-size: 0.95rem; line-height: 1.8; color: var(--steel); margin-bottom: 1.25rem; }
.about-body strong { color: var(--navy); font-weight: 600; }
.accreditations {
  display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem;
}
.accred-badge {
  border: 1.5px solid var(--grey); border-radius: 6px;
  padding: 0.5rem 1rem; font-size: 0.78rem; font-weight: 700;
  color: var(--navy); letter-spacing: 0.05em;
}
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.team-card {
  background: var(--white); border: 1.5px solid var(--grey);
  border-radius: 10px; overflow: hidden; text-align: center;
}
.team-avatar {
  height: 140px;
  display: flex; align-items: center; justify-content: center;
}
.team-avatar-inner {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 800; color: var(--white);
}
.team-info { padding: 1.25rem; }
.team-name { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.2rem; }
.team-role { font-size: 0.8rem; color: var(--blue); font-weight: 600; margin-bottom: 0.5rem; }
.team-bio { font-size: 0.82rem; color: var(--steel); line-height: 1.6; }

/* ── PROJECTS PAGE ── */
.projects-filter {
  display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.filter-btn {
  font-size: 0.82rem; font-weight: 600; padding: 0.5rem 1.1rem;
  border-radius: 20px; border: 1.5px solid var(--grey);
  background: var(--white); color: var(--steel); cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--blue); color: var(--white); border-color: var(--blue);
}
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.project-card {
  border-radius: 10px; overflow: hidden;
  border: 1.5px solid var(--grey); transition: all 0.2s;
}
.project-card:hover { border-color: var(--blue); box-shadow: 0 4px 20px rgba(30,111,217,0.1); transform: translateY(-2px); }
.project-thumb {
  height: 200px; position: relative; overflow: hidden;
}
.project-thumb-fill { position: absolute; inset: 0; transition: transform 0.4s ease; }
.project-card:hover .project-thumb-fill { transform: scale(1.04); }
/* pt1 = Extension - modern dark timber house */
.pt1 { background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=800&q=80') center/cover; }
/* pt2 = Loft Conversion - roof/attic interior */
.pt2 { background: url('https://images.unsplash.com/photo-1595521624992-8f7e8046e09f?w=800&q=80') center/cover; }
/* pt3 = Renovation - construction worker with plans */
.pt3 { background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=800&q=80') center/cover; }
/* pt4 = Kitchen - modern white kitchen */
.pt4 { background: url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=800&q=80') center/cover; }
/* pt5 = Extension - house exterior */
.pt5 { background: url('https://images.unsplash.com/photo-1570129477492-45c003edd2be?w=800&q=80') center/cover; }
/* pt6 = Loft Conversion - bedroom with skylights */
.pt6 { background: url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?w=800&q=80') center/cover; }
/* pt7 = Renovation - interior refurb */
.pt7 { background: url('https://images.unsplash.com/photo-1484154218962-a197022b5858?w=800&q=80') center/cover; }
/* pt8 = Kitchen & Bath - kitchen shelves */
.pt8 { background: url('https://images.unsplash.com/photo-1600489000022-c2086d79f9d4?w=800&q=80') center/cover; }
/* pt9 = Extension - house exterior */
.pt9 { background: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?w=800&q=80') center/cover; }
.project-thumb-label {
  position: absolute; bottom: 0.75rem; left: 0.75rem;
  background: var(--blue); color: var(--white);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 3px;
}
.project-info { padding: 1.25rem; }
.project-name { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.project-meta { font-size: 0.8rem; color: var(--steel); }

/* ── CONTACT PAGE ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.contact-info-block { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.ci-icon-wrap {
  width: 2.5rem; height: 2.5rem; background: #EFF6FF;
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.ci-icon-wrap svg { width: 1.1rem; height: 1.1rem; color: var(--blue); }
.ci-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); margin-bottom: 0.2rem; }
.ci-val { font-size: 0.92rem; color: var(--dark); line-height: 1.5; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.cf2-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cf2-group { display: flex; flex-direction: column; gap: 0.35rem; }
.cf2-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); }
.cf2-input, .cf2-select, .cf2-textarea {
  border: 1.5px solid var(--grey); border-radius: 6px;
  background: var(--white); color: var(--dark);
  font-family: 'DM Sans', sans-serif; font-size: 0.92rem;
  padding: 0.75rem 1rem; outline: none;
  transition: border-color 0.2s;
}
.cf2-input:focus, .cf2-select:focus, .cf2-textarea:focus { border-color: var(--blue); }
.cf2-input::placeholder, .cf2-textarea::placeholder { color: #CBD5E1; }
.cf2-textarea { resize: vertical; min-height: 120px; }
.cf2-select { cursor: pointer; -webkit-appearance: none; }
.cf2-submit { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.cf2-note { font-size: 0.78rem; color: #CBD5E1; font-style: italic; }
.btn-cf2 {
  font-size: 0.9rem; font-weight: 700;
  background: var(--blue); color: var(--white);
  padding: 0.9rem 2rem; border: none; border-radius: 6px;
  cursor: pointer; transition: background 0.2s; white-space: nowrap;
}
.btn-cf2:hover { background: var(--blue2); }
.cf2-success {
  display: none; background: #EFF6FF; border: 1.5px solid #BFDBFE;
  border-radius: 8px; padding: 1.25rem 1.5rem;
  color: var(--steel); font-size: 0.9rem; line-height: 1.65;
}
.cf2-success strong { color: var(--blue); }
.map-placeholder {
  height: 280px; border-radius: 10px; overflow: hidden;
  background: var(--offwhite); border: 1.5px solid var(--grey);
  display: flex; align-items: center; justify-content: center;
  position: relative; margin-top: 2rem;
}
.map-placeholder-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--grey) 1px, transparent 1px), linear-gradient(90deg, var(--grey) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
}
.map-pin { position: relative; z-index: 2; text-align: center; }
.map-pin svg { width: 2.5rem; height: 2.5rem; color: var(--blue); }
.map-pin p { font-size: 0.82rem; color: var(--steel); margin-top: 0.5rem; font-weight: 500; }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  border-top: 4px solid var(--blue);
  padding: 3.5rem 2rem 2rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand-name { font-size: 1.1rem; font-weight: 800; color: var(--white); margin-bottom: 0.2rem; }
.footer-brand-name span { color: #60A5FA; }
.footer-brand-tagline { font-size: 0.78rem; color: #334D6E; margin-bottom: 1rem; }
.footer-brand-desc { font-size: 0.82rem; line-height: 1.7; color: #334D6E; }
.footer-col-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #334D6E; margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.85rem; color: #4A6A8A; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #60A5FA; }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem; flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.78rem; color: #2D4A6B; }
.footer-badges { display: flex; gap: 0.75rem; }
.footer-badge {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
  border: 1px solid #1A3A5C; color: #334D6E;
  padding: 0.25rem 0.65rem; border-radius: 4px;
}

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-btn { display: block; }
  .cards-grid, .services-grid, .team-grid, .projects-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { height: 280px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cf2-row { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 2.5rem; }
}
