/* ==========================================================================
   Ophelia Homes — Base styles (mobile-first)
   Responsive overrides live in assets/css/media/media.css (single
   consolidated, mobile-first file — see its own header for breakpoints).
   ========================================================================== */

:root {
  --color-gold: #c9973a;
  --color-gold-dark: #b3822a;
  --color-dark: #1a1a1a;
  --color-text: #3d3d3d;
  --color-text-light: #6b6b6b;
  --color-bg: #faf7f1;
  --color-bg-alt: #f8f4ec;
  --color-border: #e8e2d8;
  --color-section-dark: #16181c;
  --color-border-dark: #33363c;
  --color-text-muted: #a8a8a8;

  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;

  --container-width: 1400px;
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: clip;
  width: 100%;
}

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

.accent {
  font-size: inherit;
}

/* ========================================
   GLOBAL — TYPOGRAPHY
   ======================================== */

p,
li,
span,
a,
button {
  font-size: 14px;
}

h2 {
  font-size: 32px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* ========================================
   GLOBAL — SECTION SPACING
   ======================================== */

section {
  padding: 2rem 1.5rem;
}
.topbar,.site-header,.site-footer{
  padding: 1rem 1.5rem;
}

/* ========================================
   GLOBAL — BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1.5px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--color-gold);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-gold-dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-dark);
  color: var(--color-dark);
}

.btn-outline:hover {
  background: var(--color-dark);
  color: #fff;
}

/* ========================================
   GLOBAL — TOP BAR
   ======================================== */

.topbar {
  background: var(--color-dark);
}

.topbar-inner {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 10px 12px;
  padding: 8px 0;
  text-align: center;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.8);
}

/* Address hidden on mobile, phone + email sit in a row; address returns at tablet+ */
.topbar-inner span.topbar-item {
  display: none;
}

.topbar-item svg {
  flex-shrink: 0;
  width:20px;
  height:20px;
  color: var(--color-gold);
}
.topbar-item span{
  font-size: 12px;
}
a.topbar-item:hover {
  color: #fff;
}

/* ========================================
   GLOBAL — HEADER & NAVIGATION
   ======================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

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

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--color-dark);
}

.logo-img {
  height: 80px;
  width: auto;
  display: block;
}

/* Nav — off-canvas on mobile, inline from media.css (1024px) up */

.main-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: #fff;
  box-shadow: -6px 0 24px rgba(0, 0, 0, 0.12);
  padding: 100px 28px 28px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1001;
}

.main-nav.is-open {
  transform: translateX(0);
}

.main-nav ul {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.main-nav a {
  font-weight: 500;
  color: var(--color-dark);
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--color-gold);
}

.header-cta {
  display: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 1002;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.nav-locked {
  overflow: hidden;
}

/* ========================================
   GLOBAL — HERO SECTION (shared by every page)
   ======================================== */

.hero-wrap {
  position: relative;
}

.hero {
  background: linear-gradient(180deg, #fdfcfa 0%, #ffffff 60%);
}

.hero-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.eyebrow {
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 18px;
}

.hero-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 36px;
  line-height: 1.12;
  color: var(--color-dark);
  margin-bottom: 20px;
}

.hero-heading .accent {
  color: var(--color-gold);
}

.hero-divider {
  width: 50px;
  height: 3px;
  background: var(--color-gold);
  margin-bottom: 20px;
}

.hero-text {
  max-width: 46ch;
  color: var(--color-text-light);
  margin-bottom: 30px;
}

.herofeature {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 40ch;
  padding-top: 22px;
  border-top: 1px solid var(--color-border);
}

.herofeature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.herofeature-icon svg {
  width: 35px;
  height: 35px;
}

.herofeature p {
  line-height: 1.45;
  color: var(--color-text-light);
  margin: 0;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-trust p {
  color: var(--color-text-light);
}

.hero-trust strong {
  color: var(--color-gold);
}

.avatar-stack {
  display: flex;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -12px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-gold), var(--color-dark));
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.avatar:first-child {
  margin-left: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-container::after {
  content: '';
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  background: url('../images/service-5.jpg?v=3') center / cover no-repeat;
}

/* ========================================
   GLOBAL — HERO SECTION — DARK VARIANT (About, Services, Projects, Why Choose Us, Contact)
   ======================================== */
/* Same structure/mechanism as the Home hero (same image, same mask/split
   at desktop) — only the background + text colors flip to a dark theme. */

.hero.hero-dark {
  background: linear-gradient(180deg, #0c0c0e 0%, #16181c 60%);
}

.hero-dark .hero-container::after {
  filter: brightness(0.55) saturate(0.85);
}

.hero-dark .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-gold);
}

.hero-dark .eyebrow::before {
  content: '';
  width: 20px;
  height: 1.5px;
  background: var(--color-gold);
  flex-shrink: 0;
}

.hero-dark .hero-heading {
  color: #fff;
}

.hero-dark .hero-heading .accent {
  color: var(--color-gold);
}

.hero-dark .hero-text {
  color: rgba(255, 255, 255, 0.82);
}

.hero-dark .hero-divider {
  background: var(--color-gold);
}

/* Per-page hero images (each page gets its own, distinct from Home) */
#about-hero .hero-container::after {
  background-image: url('../images/service-4.png?v=3');
}

#services-hero .hero-container::after {
  background-image: url('../images/service-2.jpg?v=3');
}

#projects-hero .hero-container::after {
  background-image: url('../images/building.png');
}

#contact-hero .hero-container::after {
  content: 'Ophelia';
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 26px;
  background-image: linear-gradient(180deg, rgba(12, 12, 14, 0) 45%, rgba(12, 12, 14, 0.85) 100%),
    url('../images/contact-hero.jpg');
  background-size: 100% 100%, 130% 130%;
  background-position: center, 35% 35%;
  background-repeat: no-repeat, no-repeat;
  filter: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

#why-choose-hero .hero-container::after {
  background-image: url('../images/service-1.webp?v=3');
}

/* ---------- Hero image motion: a different Ken-Burns-style treatment per page ---------- */

#home .hero-container::after {
  animation: heroZoomHome 18s ease-in-out infinite alternate;
  transform-origin: center;
}

#about-hero .hero-container::after {
  animation: heroZoomPanAbout 20s ease-in-out infinite alternate;
  transform-origin: left bottom;
}

#services-hero .hero-container::after {
  animation: heroPanServices 22s ease-in-out infinite alternate;
  transform-origin: center;
}

#projects-hero .hero-container::after {
  animation: heroZoomOutProjects 18s ease-in-out infinite alternate;
  transform-origin: center;
}

#why-choose-hero .hero-container::after {
  animation: heroZoomPanWhyUs 24s ease-in-out infinite alternate;
  transform-origin: top right;
}

#contact-hero .hero-container::after {
  animation: heroPanContact 22s ease-in-out infinite alternate;
}

@keyframes heroZoomHome {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

@keyframes heroZoomPanAbout {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1.5%, -1.5%); }
}

@keyframes heroPanServices {
  0% { transform: scale(1.08) translateX(-2%); }
  100% { transform: scale(1.08) translateX(2%); }
}

@keyframes heroZoomOutProjects {
  0% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

@keyframes heroZoomPanWhyUs {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(-2%, 2%); }
}

@keyframes heroPanContact {
  0% { background-position: center, 25% 25%; }
  100% { background-position: center, 65% 65%; }
}

@media (prefers-reduced-motion: reduce) {
  #home .hero-container::after,
  #about-hero .hero-container::after,
  #services-hero .hero-container::after,
  #projects-hero .hero-container::after,
  #why-choose-hero .hero-container::after,
  #contact-hero .hero-container::after {
    animation: none;
  }
}

/* ========================================
   HOME PAGE — WHAT WE BUILD SECTION
   ======================================== */

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.eyebrow.center {
  text-align: center;
}

.section-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-dark);
}

.section-heading .accent {
  color: var(--color-gold);
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.divider span {
  width: 34px;
  height: 1px;
  background: var(--color-border);
}

.divider i {
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.service-item {
  padding: 26px 12px;
  text-align: center;
}

.service-item:not(:first-child) {
  border-top: 1px solid var(--color-border);
}

.service-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  color: var(--color-gold);
}

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

.service-item h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.service-item p {
  color: var(--color-text-light);
  max-width: 26ch;
  margin-inline: auto;
}

/* ========================================
   HOME PAGE — OUR PROJECTS SECTION
   ======================================== */

.btn-line {
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold);
  background: transparent;
  padding: 12px 20px;
}

.btn-line:hover {
  background: var(--color-gold);
  color: #fff;
}

.projects {
  background: var(--color-section-dark);
  overflow: hidden;
}

.projects-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}

.projects .eyebrow {
  color: var(--color-gold);
}

.section-heading.light {
  color: #fff;
}

.heading-underline {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-gold);
  margin-top: 10px;
}

.heading-underline span {
  width: 30px;
  height: 1.5px;
  background: var(--color-gold);
}

.projects-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-padding-left: 20px;
  padding-bottom: 4px;
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
  scrollbar-width: none;
}

.projects-track::-webkit-scrollbar {
  display: none;
}

.project-card {
  flex: 0 0 82%;
  border-radius: 10px;
  overflow: hidden;
  background: #1e2126;
}

.project-media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #3a3f47, #202327);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
}

.project-info h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin-bottom: 4px;
}

.project-info p {
  color: var(--color-text-muted);
}

.project-arrow {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--color-border-dark);
  color: var(--color-gold);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.project-arrow:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #fff;
}

.projects-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: var(--color-border-dark);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.dot.is-active {
  background: var(--color-gold);
  transform: scale(1.2);
}

/* ========================================
   HOME PAGE — WHY CHOOSE US SECTION (home preview grid)
   ======================================== */

.why-us {
  background: var(--color-bg-alt);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 6px;
}

.why-item:not(:first-child) {
  border-top: 1px solid var(--color-border);
}

.why-icon {
  flex-shrink: 0;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--color-dark);
  border: 2px solid var(--color-gold);
  box-shadow: 0 0 0 3px var(--color-bg-alt), 0 4px 10px rgba(0, 0, 0, 0.12);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon svg {
  width: 30px;
  height: 30px;
}

.why-text h3 {
  font-family: var(--font-heading);

  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.why-text p {
  color: var(--color-text-light);
}

/* ========================================
   GLOBAL — OUR PROCESS SECTION (shared: Home + Services)
   ======================================== */

.process {
  position: relative;
  background:
    linear-gradient(180deg, rgba(22, 24, 28, 0.88), rgba(22, 24, 28, 0.94)),
    url('../images/stats-bg.jpg') center / cover no-repeat,
    var(--color-section-dark);
}

#our-process {
  background:
    linear-gradient(180deg, rgba(22, 24, 28, 0.88), rgba(22, 24, 28, 0.94)),
    url('../images/process-bg.jpg') center / cover no-repeat,
    var(--color-section-dark);
}

.process .container {
  position: relative;
  z-index: 1;
}

#process .process-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.process-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.process .eyebrow {
  color: var(--color-gold);
}

.process-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}

.process-head .section-heading.light {
  margin-top: 10px;
}

.process-text {
  color: var(--color-text-muted);
  max-width: 42ch;
  margin: 16px 0 24px;
}

.process-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.step-badge {
  position: relative;
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #1e2126;
  border: 2px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-number {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gold);
  color: #181a1f;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 10px;
  white-space: nowrap;
}

.step-icon {
  display: flex;
  color: #fff;
}

.step-icon svg {
  width: 26px;
  height: 26px;
}

.process-step h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  margin-bottom: 6px;
}

.process-step p {
  color: var(--color-text-muted);
  max-width: 32ch;
  margin: 0 auto;
}

/* ========================================
   GLOBAL — TESTIMONIALS SECTION (shared: Home + Projects + Why Choose Us)
   ======================================== */

.testimonials {
  background: var(--color-bg-alt);
}

.testimonial-track {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.testimonial-slide {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
}

.testimonial-slide.is-active {
  display: flex;
}

.quote-mark {
  font-family: var(--font-heading);
  font-size: 51px;
  line-height: 1;
  color: var(--color-gold);
  opacity: 0.85;
}

.testimonial-text {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
  flex-shrink: 0;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--color-gold), var(--color-dark));
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.stars {
  color: var(--color-gold);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 3px;
}

.author-info p {
  color: var(--color-text-light);
}

.testimonial-nav {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.nav-arrow {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--color-gold);
  background: transparent;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-arrow:hover {
  background: var(--color-gold);
  color: #fff;
}

/* ========================================
   HOME PAGE — STATS SECTION
   ======================================== */

.stats {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20, 15, 10, 0.65), rgba(20, 15, 10, 0.8)),
    url('../images/project/construction-4.jpeg') center / cover no-repeat,
    var(--color-section-dark);
}

.stats .container {
  position: relative;
  z-index: 1;
}

.stats-frame {
  background-color: #8080804f;
  border-radius: 6px;
  padding: 28px 16px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 8px;
}

.stat-item:not(:nth-child(2n+1)) {
  border-left: 1.5px solid rgba(255, 255, 255, 0.4);
}

.stat-item:nth-child(n+3) {
  border-top: 1.5px solid rgba(255, 255, 255, 0.4);
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 34px;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.stat-label {
  color: #f2ede4;
  letter-spacing: 0.02em;
}

/* ========================================
   GLOBAL — CONTACT CTA SECTION (shared: Home + About)
   ======================================== */

.contact-cta {
  background: var(--color-section-dark);
}

.contact-cta-container {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contact-cta .eyebrow {
  color: var(--color-gold);
}

.contact-text {
  color: var(--color-text-muted);
  max-width: 42ch;
  margin: 14px 0 22px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-item {
  padding: 22px 4px;
}

.contact-item:not(:first-child) {
  border-top: 1px solid var(--color-border-dark);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold);
  margin-bottom: 14px;
}

.contact-icon svg {
  width: 30px;
  height: 30px;
}

.contact-item h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
}

.contact-item p {
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* ========================================
   ABOUT PAGE — INTRO SECTION
   ======================================== */

.about-container {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.about-media {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content .section-heading {
  margin-bottom: 20px;
}

.about-text {
  color: var(--color-text-light);
  margin-bottom: 16px;
}

/* ========================================
   GLOBAL — ABOUT STATS SECTION (shared: About + Projects + Why Choose Us)
   ======================================== */

.aboutstats {
  background: var(--color-section-dark);
}

.aboutstats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.aboutstat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 10px;
}

.aboutstat:not(:nth-child(2n+1)) {
  border-left: 1px solid var(--color-border-dark);
}

.aboutstat:nth-child(n+3) {
  border-top: 1px solid var(--color-border-dark);
}

.aboutstat-icon {
  flex-shrink: 0;
  color: var(--color-gold);
}

.aboutstat-icon svg {
  width: 40px;
  height: 40px;
}

.aboutstat-text {
  display: flex;
  flex-direction: column;
}

.aboutstat-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 26px;
  color: var(--color-gold);
  line-height: 1.2;
}

.aboutstat-label {
  color: #f2ede4;
}

/* ========================================
   ABOUT PAGE — VALUES SECTION
   ======================================== */

.values {
  background: var(--color-bg-alt);
}

.values-frame {
  border: 1.5px solid var(--color-dark);
  padding: 40px 20px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.value-item {
  padding: 26px 12px;
  text-align: center;
}

.value-item:not(:first-child) {
  border-top: 1px solid var(--color-border);
}

.value-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  color: var(--color-gold);
}

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

.value-item h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.value-item p {
  color: var(--color-text-light);
  max-width: 26ch;
  margin-inline: auto;
}

/* ========================================
   SERVICES PAGE — OFFER SECTION (What We Offer grid)
   ======================================== */

.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.offer-card {
  display: flex;
  flex-direction: column;
}

.offer-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #2b2f33, #4a4f55);
  margin-bottom: 34px;
}

.offer-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.offer-icon {
  position: absolute;
  left: 20px;
  bottom: -26px;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: var(--color-dark);
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-icon svg {
  width: 36px;
  height: 36px;
}

.offer-body h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.offer-body p {
  color: var(--color-text-light);
  margin-bottom: 14px;
}

.offer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.offer-link svg {
  transition: transform 0.2s ease;
}

.offer-link:hover svg {
  transform: translateX(3px);
}

/* ========================================
   ABOUT PAGE — PROMISE SECTION
   ======================================== */

.promise {
  background: var(--color-section-dark);
}

.promise-container {
  display: flex;
  flex-direction: column;
}

.promise-content {
  padding: 48px 24px;
}

.promise-content .eyebrow {
  color: var(--color-gold);
}

.promise-content .section-heading.light {
  line-height: 1.3;
}

.promise-divider {
  width: 50px;
  height: 3px;
  background: var(--color-gold);
  margin: 20px 0 22px;
}

.promise-text {
  color: var(--color-text-muted);
  max-width: 40ch;
  margin-bottom: 26px;
}

.promise-media {
  width: 100%;
  aspect-ratio: 16 / 11;
}

.promise-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   SERVICES PAGE — PROJECT CTA SECTION
   ======================================== */

.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fdfcfa 0%, #ffffff 60%);
}

.cta-container {
  display: flex;
  flex-direction: column;
}

.cta-content {
  padding: 0 20px;
  max-width: 560px;
}

.eyebrow-dash {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.eyebrow-dash span {
  width: 20px;
  height: 1.5px;
  background: var(--color-gold);
  flex-shrink: 0;
}

.cta-content .section-heading {
  margin-bottom: 16px;
}

.cta-text {
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.cta-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 8px;
}

.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   GLOBAL — FOOTER
   ======================================== */

.site-footer {
  background: var(--color-section-dark);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

.footer-inner .logo-img {
  height: 38px;
}

.footer-copyright {
  color: var(--color-text-muted);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-social {
  color: #fff;
  display: flex;
  transition: color 0.2s ease;
}

.footer-social svg {
  width: 35px;
  height: 35px;
}

.footer-social:hover {
  color: var(--color-gold);
}

/* ========================================
   PROJECTS PAGE — PROJECTS GRID & FILTER SECTION
   ======================================== */

/*
.projects-filter {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
}

.filter-tab {
  background: none;
  border: none;
  padding: 0 0 10px;
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-light);
  cursor: pointer;
  position: relative;
}

.filter-tab.is-active {
  color: var(--color-gold);
}

.filter-tab.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--color-gold);
}

.filter-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
  background: transparent;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  cursor: pointer;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.projectgrid-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  background: linear-gradient(135deg, #2b2f33, #4a4f55);
}

.projectgrid-card.is-hidden {
  display: none;
}

.projectgrid-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projectgrid-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  background: linear-gradient(180deg, transparent 35%, rgba(8, 8, 10, 0.88) 100%);
}

.projectgrid-text {
  min-width: 0;
}

.projectgrid-tag {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.projectgrid-text h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 8px;
}

.projectgrid-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.8);
}

.projectgrid-location svg {
  flex-shrink: 0;
}

.projectgrid-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.projectgrid-arrow:hover {
  background: var(--color-gold);
  color: #fff;
}

.load-more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
*/

/* ========================================
   PROJECTS PAGE — CONSTRUCTION PROGRESS SECTION
   ======================================== */

.construction {
  background: var(--color-bg-alt);
}

.construction-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.construction-item {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 24px rgba(20, 15, 10, 0.05);
}

.construction-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.construction-item figcaption {
  padding: 14px 16px;
  font-weight: 600;
  color: var(--color-dark);
}

/* ========================================
   PROJECTS PAGE — PROJECT VIDEO GALLERY SECTION
   ======================================== */

.projectvideos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.projectvideo-item {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 24px rgba(20, 15, 10, 0.05);
}

.projectvideo-item video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #16181c;
}

.projectvideo-label {
  display: block;
  padding: 10px 14px;
  color: var(--color-dark);
  font-weight: 600;
}

/* ========================================
   GLOBAL — FINAL CTA SECTION (shared: Projects + Why Choose Us)
   ======================================== */

.finalcta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, 0.85), rgba(10, 10, 12, 0.9)),
    url('../images/service-4.png?v=3') center / cover no-repeat,
    var(--color-section-dark);
}

.finalcta .container {
  position: relative;
  z-index: 1;
}

.finalcta-content {
  max-width: 480px;
}

.finalcta-content .section-heading {
  margin-bottom: 14px;
}

.finalcta-text {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 26px;
}

.finalcta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

.btn-outline.light:hover {
  background: #fff;
  color: var(--color-dark);
  border-color: #fff;
}

/* ========================================
   WHY CHOOSE US PAGE — KEY REASONS SECTION
   ======================================== */

.divider-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.divider-icon span {
  width: 50px;
  height: 1px;
  background: var(--color-border);
}

.divider-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-gold);
  flex-shrink: 0;
}

.reasons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.reason-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(20, 15, 10, 0.05);
}

.reason-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}

.reason-icon svg {
  width: 36px;
  height: 36px;
}

.reason-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.reason-card p {
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ========================================
   WHY CHOOSE US PAGE — STAND OUT SECTION
   ======================================== */

.standout-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.standout-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
}

.standout-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.standout-text {
  color: var(--color-text-light);
  line-height: 1.7;
  margin: 18px 0 26px;
}

.standout-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.standout-item {
  display: flex;
  gap: 14px;
}

.standout-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.standout-icon svg {
  width: 16px;
  height: 16px;
}

.standout-item h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.standout-item p {
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ========================================
   CONTACT PAGE — CONTACT PAGE SECTION (Info Cards + Form)
   ======================================== */

.contactpage {
  background: var(--color-bg-alt);
}

.contactpage-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contactinfo-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contactinfo-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 22px;
  box-shadow: 0 4px 24px rgba(20, 15, 10, 0.05);
}

.contactinfo-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contactinfo-icon svg {
  width: 22px;
  height: 22px;
}

.contactinfo-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.contactinfo-card p {
  color: var(--color-text-light);
  line-height: 1.55;
}

.contactform-wrap {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 30px 22px;
  box-shadow: 0 4px 28px rgba(20, 15, 10, 0.06);
}

.contactform-wrap .section-heading {
  margin-bottom: 8px;
}

.contactform-subtext {
  color: var(--color-text-light);
  margin-bottom: 26px;
}

.contactform {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-status {
  display: none;
  padding: 12px 16px;
  border-radius: 6px;
  line-height: 1.5;
}

.form-status:empty {
  display: none;
}

.form-status.is-pending,
.form-status.is-success,
.form-status.is-error {
  display: block;
}

.form-status.is-pending {
  background: var(--color-bg-alt);
  color: var(--color-text-light);
}

.form-status.is-success {
  background: #eaf6ec;
  color: #256d33;
}

.form-status.is-error {
  background: #fbeaea;
  color: #a12b2b;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  padding: 13px 16px;
  transition: border-color 0.2s ease;
}

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

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

.contactform .btn {
  align-self: flex-start;
  margin-top: 4px;
}

.contact-map {
  width: 100%;
  aspect-ratio: 32 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-top: 40px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
}

/* ========================================
   GLOBAL — QUOTE MODAL (shared component, injected on every page)
   ======================================== */

.quotemodal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.quotemodal.is-open {
  display: flex;
}

.quotemodal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.7);
}

.quotemodal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.quotemodal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border: none;
  border-radius: 50%;
  color: var(--color-dark);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.quotemodal-close:hover {
  background: var(--color-gold);
  color: #fff;
}

.quotemodal-panel .contactform-subtext {
  margin-bottom: 22px;
}

/* ========================================
   SCROLL REVEAL ANIMATIONS (shared across all pages)
   ======================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========================================
   IMAGE HOVER ZOOM (shared across all pages)
   ======================================== */

.promise-media {
  overflow: hidden;
  border-radius: 10px;
}

.project-media img,
.about-media img,
.construction-item img,
.standout-media img,
.promise-media img,
.cta-media img {
  transition: transform 0.5s ease;
}

.project-card:hover .project-media img,
.about-media:hover img,
.construction-item:hover img,
.standout-media:hover img,
.promise-media:hover img,
.cta-media:hover img {
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .project-media img,
  .about-media img,
  .construction-item img,
  .standout-media img,
  .promise-media img,
  .cta-media img {
    transition: none;
  }

  .project-card:hover .project-media img,
  .about-media:hover img,
  .construction-item:hover img,
  .standout-media:hover img,
  .promise-media:hover img,
  .cta-media:hover img {
    transform: none;
  }
}
