/* Connolly & Co Construction – brand colours taken from the logo */
:root {
  --navy: #04489b;
  --navy-dark: #03366f;
  --sky: #81cceb;
  --sky-soft: #eaf6fc;
  --ink: #142235;
  --muted: #5b6b7f;
  --white: #ffffff;
  --radius: 10px;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e6edf4;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { height: 38px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; color: var(--navy); }
.brand-name { font-weight: 800; font-size: 1.1rem; }
.brand-sub { font-weight: 500; font-size: .85rem; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); }
.site-nav a:hover { color: var(--navy); }
.site-nav a:not(.nav-cta) { position: relative; padding: 6px 0; }
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; border-radius: 2px; background: var(--sky);
  transform: scaleX(0); transition: transform .25s ease;
}
.site-nav a.active { color: var(--navy); }
.site-nav a.active::after, .site-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.site-nav .nav-cta {
  background: var(--navy); color: var(--white);
  padding: 10px 18px; border-radius: 999px;
}
.site-nav .nav-cta:hover { background: var(--navy-dark); color: var(--white); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

/* Hero */
.hero {
  position: relative;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(129,204,235,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129,204,235,.09) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--white);
  padding: 120px 0 128px;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -80px; bottom: -60px;
  width: 460px; height: 330px;
  background: url("assets/logo-mark.png") no-repeat center / contain;
  opacity: .12; pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; line-height: 1.08; margin: 12px 0 20px; }
.hero-lead { max-width: 560px; font-size: 1.1rem; color: #dcebf7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--sky); }
.eyebrow-dark { color: var(--navy); }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 14px 28px; border-radius: 999px; transition: .2s ease;
  border: 2px solid transparent;
}
.btn-light { background: var(--sky); color: var(--navy-dark); }
.btn-light:hover { background: var(--white); }
.btn-outline { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); }

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: var(--sky-soft); }
#about { padding-bottom: 56px; }
#services { padding-top: 72px; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; line-height: 1.15; color: var(--navy); margin: 10px 0 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.about-photo { margin-top: 32px; }
.about-photo img { border-radius: var(--radius); box-shadow: 0 10px 30px rgba(4,72,155,.15); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.about-photo figcaption { margin-top: 10px; font-size: .88rem; color: var(--muted); font-style: italic; }
.about-copy p { color: var(--muted); margin-bottom: 18px; font-size: 1.02rem; }
.values { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.values li {
  display: grid; grid-template-columns: 110px 1fr; gap: 12px;
  padding: 16px 18px; border-left: 4px solid var(--sky);
  background: #f7fafd; border-radius: 0 var(--radius) var(--radius) 0;
}
.values strong { color: var(--navy); }
.values span { color: var(--muted); font-size: .95rem; }

/* Highlights banner */
.highlights {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(129,204,235,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129,204,235,.08) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--white); padding: 64px 0;
}
.highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.highlight-icon {
  width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%;
  background: rgba(129,204,235,.15); border: 2px solid var(--sky);
  display: grid; place-items: center;
}
.highlight-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--sky); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.highlight h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.highlight p { color: #dcebf7; font-size: .95rem; max-width: 300px; margin: 0 auto; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.service {
  background: var(--white); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: 0 1px 2px rgba(4,72,155,.06), 0 8px 24px rgba(4,72,155,.06);
  border-top: 4px solid var(--navy);
  transition: transform .2s ease;
}
.service:hover { transform: translateY(-4px); }
.service-icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--sky-soft);
  display: grid; place-items: center; margin-bottom: 18px;
}
.service-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 8px; }
.service p { color: var(--muted); font-size: .95rem; }

/* Projects (for later) */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 40px; }
.projects-grid img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }
.projects-grid figcaption { margin-top: 8px; font-weight: 600; }

/* Contact */
.contact { background: var(--navy); color: var(--white); }
.contact h2 { color: var(--white); }
.contact-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.contact-lead { color: #dcebf7; margin-top: 16px; font-size: 1.05rem; max-width: 460px; }
.contact-card {
  background: var(--white); color: var(--ink); border-radius: 14px; padding: 36px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  border-top: 6px solid var(--sky);
}
.contact-name { font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.contact-role { color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.contact-phone { color: var(--navy); font-weight: 800; font-size: 1.35rem; text-decoration: none; }
.contact-email { color: var(--navy); font-weight: 600; word-break: break-all; margin-bottom: 18px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--sky-soft); }
.contact-area { color: var(--muted); font-size: .9rem; margin-top: 14px; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #b9cde3; padding: 28px 0; font-size: .88rem; }
.footer-inner { display: flex; align-items: center; gap: 14px; }
.site-footer a { color: inherit; }
.footer-mark { height: 26px; filter: brightness(0) invert(1); opacity: .8; }

/* Responsive */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .highlights { padding: 48px 0; }
  .highlights-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid #e6edf4;
    display: none; padding: 8px 24px 20px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid #eef2f6; }
  .site-nav a:not(.nav-cta) { padding: 14px 0; }
  .site-nav a:not(.nav-cta)::after { right: auto; width: 48px; bottom: 8px; }
  .site-nav .nav-cta { text-align: center; margin-top: 14px; border-bottom: 0; }
  .hero { padding: 88px 0 96px; }
  .hero::after { width: 280px; height: 200px; right: -60px; }
  .section { padding: 72px 0; }
  #about { padding-bottom: 40px; }
  #services { padding-top: 56px; }
  .services-grid { grid-template-columns: 1fr; }
  .values li { grid-template-columns: 1fr; gap: 4px; }
}
