/* ============================================================
   Anderson & Evans Ltd — Main Stylesheet
   Modern, clean, responsive. Brand: teal #88bcc0 / charcoal #3b3a3a
   ============================================================ */

/* ---- Reset & Base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:       #88bcc0;
  --teal-dark:  #5a8e92;
  --teal-light: #b5d8db;
  --charcoal:   #3b3a3a;
  --mid-grey:   #5c5c5c;
  --light-grey: #f4f6f7;
  --white:      #ffffff;
  --text:       #2d2d2d;
  --text-light: #6b7280;
  --shadow:     0 4px 24px rgba(0,0,0,.12);
  --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
  --radius:     6px;
  --radius-lg:  12px;
  --transition: .3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---- Typography ------------------------------------------ */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  color: var(--charcoal);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- Buttons --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 2rem;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(88,142,146,.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--teal-dark);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}
.btn-dark:hover {
  background: var(--mid-grey);
  border-color: var(--mid-grey);
  transform: translateY(-2px);
}

/* ---- Section helpers ------------------------------------- */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-dark { background: var(--charcoal); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-teal { background: var(--teal); color: var(--white); }
.section-teal h2, .section-teal h3 { color: var(--white); }
.section-light { background: var(--light-grey); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .subtitle {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: .75rem;
}
.section-dark .subtitle, .section-teal .subtitle {
  color: var(--teal-light);
}
.section-header p {
  max-width: 600px;
  margin: 1rem auto 0;
  color: var(--text-light);
}
.section-dark .section-header p, .section-teal .section-header p {
  color: rgba(255,255,255,.75);
}
.divider {
  width: 56px; height: 3px;
  background: var(--teal);
  margin: 1rem auto;
  border-radius: 2px;
}
.section-dark .divider { background: var(--teal-light); }

/* ---- Header / Nav ---------------------------------------- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0;
}
#site-header.transparent { background: var(--charcoal); }
#site-header.scrolled {
  background: var(--charcoal);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.logo-wrap img {
  height: 70px;
  width: auto;
}
.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1.2;
  display: none;
}
.logo-text span { display: block; font-size: .7rem; font-weight: 400; opacity: .75; letter-spacing: .05em; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-cta .phone-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--teal-light);
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
}
.nav-cta .phone-link:hover { color: var(--white); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--teal); }
.mobile-nav .mobile-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 2rem;
  cursor: pointer;
  color: var(--white);
  background: none;
  border: none;
  line-height: 1;
}

/* ---- Hero Slideshow -------------------------------------- */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 950px;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(59,58,58,.72) 0%,
    rgba(59,58,58,.35) 60%,
    rgba(88,142,146,.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-text { max-width: 680px; }
.hero-text .badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(136,188,192,.2);
  border: 1px solid rgba(136,188,192,.4);
  color: var(--teal-light);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-text h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hero-text p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.88);
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero dots */
.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .6rem;
  z-index: 3;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.hero-dot.active {
  background: var(--teal);
  transform: scale(1.3);
}

/* Hero arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
  font-size: 1.3rem;
}
.hero-arrow:hover {
  background: var(--teal);
  border-color: var(--teal);
}
.hero-arrow-prev { left: 2rem; }
.hero-arrow-next { right: 2rem; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.6);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}
.scroll-indicator .line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: .6; }
  50%       { transform: scaleY(.6); opacity: .3; }
}

/* ---- Stats bar ------------------------------------------- */
.stats-bar {
  background: var(--charcoal);
  padding: 32px 0;
  display: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item {
  border-right: 1px solid rgba(255,255,255,.1);
  padding: 0 1rem;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.6);
  margin-top: .4rem;
}

/* ---- Intro / About block --------------------------------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-image-wrap {
  position: relative;
}
.intro-image-wrap img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.intro-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--teal);
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  box-shadow: var(--shadow);
}
.intro-badge .num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.intro-badge .lbl { font-size: .7rem; font-weight: 600; letter-spacing: .05em; opacity: .9; }
.intro-text .subtitle {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--teal-dark);
  display: block;
  margin-bottom: .5rem;
}
.intro-text h2 { margin-bottom: 1.25rem; }
.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .75rem;
  font-size: .95rem;
}
.tick-list li::before {
  content: '✓';
  color: var(--teal-dark);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .1rem;
}

/* ---- Services -------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.service-card-img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
}
.service-card-body {
  padding: 1.75rem;
}
.service-icon {
  width: 52px; height: 52px;
  background: var(--light-grey);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.service-card p { font-size: .9rem; color: var(--text-light); }
.service-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--teal);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 50px;
}

/* ---- CTA Banner ------------------------------------------ */
.cta-banner {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60%; right: -10%;
  width: 500px; height: 500px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.85); margin-bottom: 2rem; font-size: 1.1rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Projects Grid --------------------------------------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.project-card:hover img { transform: scale(1.06); }
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(59,58,58,.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  transition: background var(--transition);
}
.project-card:hover .project-card-overlay {
  background: linear-gradient(to top, rgba(59,58,58,.9) 0%, rgba(88,142,146,.25) 100%);
}
.project-card-overlay h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: .3rem;
}
.project-card-overlay .project-type {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--teal-light);
  font-weight: 600;
}
.project-arrow {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 38px; height: 38px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: .9rem;
  transform: scale(0);
  transition: transform var(--transition);
}
.project-card:hover .project-arrow { transform: scale(1); }

/* ---- Testimonials ---------------------------------------- */
.testimonials-wrap {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.testimonial {
  display: none;
  animation: fadeIn .5s ease;
}
.testimonial.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.testimonial blockquote {
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255,255,255,.9);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.testimonial blockquote::before { content: '\201C'; font-size: 3rem; color: var(--teal-light); line-height: 0; vertical-align: -.6rem; margin-right: .2rem; }
.testimonial blockquote::after  { content: '\201D'; font-size: 3rem; color: var(--teal-light); line-height: 0; vertical-align: -.6rem; margin-left: .2rem; }
.testimonial-author { font-weight: 600; color: var(--teal-light); }
.testi-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 2rem; }

/* ---- About page ------------------------------------------ */
.about-hero {
  background: var(--charcoal);
  padding: 140px 0 80px;
  text-align: center;
}
.about-hero h1 { color: var(--white); }
.page-hero {
  background: var(--charcoal);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--charcoal) 60%, var(--teal-dark) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero p  { color: rgba(255,255,255,.75); font-size: 1.1rem; }
.breadcrumb   {
  display: flex;
  justify-content: center;
  gap: .5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  margin-top: .75rem;
  font-family: 'Montserrat', sans-serif;
}
.breadcrumb a { color: var(--teal-light); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { opacity: .5; }

/* Team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-sm);
}
.team-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--teal);
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .05em;
}
.team-card h3 { margin-bottom: .4rem; }
.team-card .role { font-size: .85rem; color: var(--teal-dark); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.team-card p { margin-top: .75rem; font-size: .9rem; color: var(--text-light); }

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.value-card {
  text-align: center;
  padding: 2rem 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
}
.value-icon { font-size: 2.4rem; margin-bottom: 1rem; }
.value-card h4 { color: var(--white); margin-bottom: .5rem; }
.value-card p { font-size: .85rem; color: rgba(255,255,255,.65); margin: 0; }

/* ---- Services page --------------------------------------- */
.services-list { display: grid; gap: 3rem; }
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.service-row:nth-child(even) .service-row-img { order: 1; }
.service-row:nth-child(even) .service-row-text { order: 0; }
.service-row-img img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.service-tag-sm {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .3rem .75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.service-row-text h2 { font-size: 1.8rem; margin-bottom: 1rem; }
.service-row-text ul { margin: 1rem 0 1.5rem; }
.service-row-text ul li {
  padding: .3rem 0;
  padding-left: 1.25rem;
  position: relative;
  font-size: .95rem;
  color: var(--text-light);
}
.service-row-text ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal-dark);
  font-weight: 700;
}

/* ---- Projects Index -------------------------------------- */
.projects-filter {
  display: flex;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: .5rem 1.5rem;
  border: 2px solid var(--light-grey);
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  background: var(--white);
  color: var(--text-light);
  transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

/* ---- Project Detail -------------------------------------- */
.project-detail-hero {
  height: 55vh;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.project-detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(59,58,58,.5) 0%, rgba(59,58,58,.75) 100%);
}
.project-detail-hero .container {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 3rem;
  padding-top: 100px;
}
.project-detail-hero h1 { color: var(--white); margin-bottom: .5rem; }
.project-detail-hero .project-type { color: var(--teal-light); font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

.project-body {
  padding: 70px 0;
}
.project-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}
.project-description {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}
.project-sidebar {
  border-left: 3px solid var(--teal);
  padding-left: 2rem;
}
.project-sidebar h4 { margin-bottom: 1rem; }
.project-meta-item { margin-bottom: .75rem; font-size: .9rem; }
.project-meta-item strong { display: block; color: var(--teal-dark); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: '⊕';
  position: absolute;
  inset: 0;
  background: rgba(88,142,146,.0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  opacity: 0;
  transition: all var(--transition);
}
.gallery-item:hover::after {
  background: rgba(88,142,146,.4);
  opacity: 1;
}
.gallery-item.featured {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.93);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  position: relative;
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
}
.lightbox img {
  max-height: 85vh;
  width: auto;
  max-width: 100%;
  border-radius: var(--radius);
  margin: 0 auto;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}
.lb-close {
  position: absolute;
  top: -48px; right: 0;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: .8;
  transition: opacity var(--transition);
  background: none;
  border: none;
}
.lb-close:hover { opacity: 1; }
.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background var(--transition);
}
.lb-prev:hover, .lb-next:hover { background: var(--teal); }
.lb-prev { left: -64px; }
.lb-next { right: -64px; }
.lb-counter {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  font-size: .8rem;
  font-family: 'Montserrat', sans-serif;
}

/* ---- Contact -------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.contact-icon {
  width: 52px; height: 52px;
  background: var(--teal);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  color: var(--white);
}
.contact-detail-text strong { display: block; font-family: 'Montserrat', sans-serif; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--teal-dark); margin-bottom: .25rem; }
.contact-detail-text a:hover { color: var(--teal-dark); }
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  background: var(--light-grey);
}
.contact-map iframe { width: 100%; height: 100%; border: none; display: block; }

/* ---- Footer ---------------------------------------------- */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand img {
  height: 48px;
  margin-bottom: 1rem;
}
.footer-brand p { font-size: .9rem; color: rgba(255,255,255,.55); }
.footer-col h4 {
  color: var(--white);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: .6rem; }
.footer-col a { font-size: .9rem; color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-col a:hover { color: var(--teal-light); }
.footer-contact-item { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .75rem; font-size: .9rem; color: rgba(255,255,255,.55); }
.footer-contact-item span { font-size: 1rem; margin-top: .1rem; }
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom a { color: rgba(255,255,255,.35); }
.footer-bottom a:hover { color: var(--teal-light); }

/* ---- Utility -------------------------------------------- */
.text-teal    { color: var(--teal); }
.text-teal-dk { color: var(--teal-dark); }
.mb-2 { margin-bottom: 2rem; }

/* ---- Back-to-top ----------------------------------------- */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px; height: 46px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 500;
  box-shadow: var(--shadow);
}
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
#back-to-top:hover { background: var(--teal-dark); transform: translateY(-3px); }

/* ---- Responsive ------------------------------------------ */
@media (max-width: 1100px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .intro-grid     { grid-template-columns: 1fr; gap: 3rem; }
  .intro-badge    { bottom: -16px; right: 16px; }
  .service-row    { grid-template-columns: 1fr; gap: 2rem; }
  .service-row:nth-child(even) .service-row-img  { order: 0; }
  .service-row:nth-child(even) .service-row-text { order: 1; }
  .contact-layout { grid-template-columns: 1fr; }
  .project-layout { grid-template-columns: 1fr; }
  .project-sidebar { border-left: none; border-top: 3px solid var(--teal); padding-left: 0; padding-top: 1.5rem; }
  .team-grid      { grid-template-columns: 1fr; max-width: 400px; }
  .stats-grid     { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-item:nth-child(2) { border-right: none; }
  .gallery-grid   { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.featured { grid-column: span 2; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-arrow { display: none; }
  .projects-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid   { grid-template-columns: 1fr 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .lb-prev { left: -12px; }
  .lb-next { right: -12px; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .values-grid   { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: 1fr; }
  .gallery-item.featured { grid-column: span 1; aspect-ratio: 4/3; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .cta-btns      { flex-direction: column; align-items: center; }
}

/* ---- Animations ------------------------------------------ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }
